// Библиотека https://github.com/sql-js/sql.js/
// Версия Release v1.10.2

// We are modularizing this manually because the current modularize setting in Emscripten has some issues:
// https://github.com/kripken/emscripten/issues/5820
// In addition, When you use emcc's modularization, it still expects to export a global object called `Module`,
// which is able to be used/called before the WASM is loaded.
// The modularization below exports a promise that loads and resolves to the actual sql.js module.
// That way, this module can't be used before the WASM is finished loading.

// We are going to define a function that a user will call to start loading initializing our Sql.js library
// However, that function might be called multiple times, and on subsequent calls, we don't actually want it to instantiate a new instance of the Module
// Instead, we want to return the previously loaded module

// TODO: Make this not declare a global if used in the browser
var initSqlJsPromise = undefined;

var initSqlJs = function (moduleConfig) {

    if (initSqlJsPromise){
      return initSqlJsPromise;
    }
    // If we're here, we've never called this function before
    initSqlJsPromise = new Promise(function (resolveModule, reject) {

        // We are modularizing this manually because the current modularize setting in Emscripten has some issues:
        // https://github.com/kripken/emscripten/issues/5820

        // The way to affect the loading of emcc compiled modules is to create a variable called `Module` and add
        // properties to it, like `preRun`, `postRun`, etc
        // We are using that to get notified when the WASM has finished loading.
        // Only then will we return our promise

        // If they passed in a moduleConfig object, use that
        // Otherwise, initialize Module to the empty object
        var Module = typeof moduleConfig !== 'undefined' ? moduleConfig : {};

        // EMCC only allows for a single onAbort function (not an array of functions)
        // So if the user defined their own onAbort function, we remember it and call it
        var originalOnAbortFunction = Module['onAbort'];
        Module['onAbort'] = function (errorThatCausedAbort) {
            reject(new Error(errorThatCausedAbort));
            if (originalOnAbortFunction){
              originalOnAbortFunction(errorThatCausedAbort);
            }
        };

        Module['postRun'] = Module['postRun'] || [];
        Module['postRun'].push(function () {
            // When Emscripted calls postRun, this promise resolves with the built Module
            resolveModule(Module);
        });

        // There is a section of code in the emcc-generated code below that looks like this:
        // (Note that this is lowercase `module`)
        // if (typeof module !== 'undefined') {
        //     module['exports'] = Module;
        // }
        // When that runs, it's going to overwrite our own modularization export efforts in shell-post.js!
        // The only way to tell emcc not to emit it is to pass the MODULARIZE=1 or MODULARIZE_INSTANCE=1 flags,
        // but that carries with it additional unnecessary baggage/bugs we don't want either.
        // So, we have three options:
        // 1) We undefine `module`
        // 2) We remember what `module['exports']` was at the beginning of this function and we restore it later
        // 3) We write a script to remove those lines of code as part of the Make process.
        //
        // Since those are the only lines of code that care about module, we will undefine it. It's the most straightforward
        // of the options, and has the side effect of reducing emcc's efforts to modify the module if its output were to change in the future.
        // That's a nice side effect since we're handling the modularization efforts ourselves
        module = undefined;

        // The emcc-generated code and shell-post.js code goes below,
        // meaning that all of it runs inside of this promise. If anything throws an exception, our promise will abort
var f;f||=typeof Module !== 'undefined' ? Module : {};"use strict";
f.onRuntimeInitialized=function(){function a(g,k){switch(typeof k){case "boolean":nc(g,k?1:0);break;case "number":oc(g,k);break;case "string":pc(g,k,-1,-1);break;case "object":if(null===k)nb(g);else if(null!=k.length){var n=aa(k,ba);qc(g,n,k.length,-1);ca(n)}else Da(g,"Wrong API use : tried to return a value of an unknown type ("+k+").",-1);break;default:nb(g)}}function b(g,k){for(var n=[],r=0;r<g;r+=1){var w=m(k+4*r,"i32"),z=rc(w);if(1===z||2===z)w=sc(w);else if(3===z)w=tc(w);else if(4===z){z=w;
w=uc(z);z=vc(z);for(var N=new Uint8Array(w),L=0;L<w;L+=1)N[L]=p[z+L];w=N}else w=null;n.push(w)}return n}function c(g,k){this.La=g;this.db=k;this.Ja=1;this.fb=[]}function d(g,k){this.db=k;k=da(g)+1;this.Ya=ea(k);if(null===this.Ya)throw Error("Unable to allocate memory for the SQL string");fa(g,q,this.Ya,k);this.eb=this.Ya;this.Ua=this.ib=null}function e(g){this.filename="dbfile_"+(4294967295*Math.random()>>>0);if(null!=g){var k=this.filename,n="/",r=k;n&&(n="string"==typeof n?n:ha(n),r=k?t(n+"/"+k):
n);k=ia(!0,!0);r=ja(r,(void 0!==k?k:438)&4095|32768,0);if(g){if("string"==typeof g){n=Array(g.length);for(var w=0,z=g.length;w<z;++w)n[w]=g.charCodeAt(w);g=n}ka(r,k|146);n=la(r,577);ma(n,g,0,g.length,0);na(n);ka(r,k)}}this.handleError(u(this.filename,h));this.db=m(h,"i32");qb(this.db);this.Za={};this.Na={}}var h=x(4),l=f.cwrap,u=l("sqlite3_open","number",["string","number"]),y=l("sqlite3_close_v2","number",["number"]),v=l("sqlite3_exec","number",["number","string","number","number","number"]),F=l("sqlite3_changes",
"number",["number"]),G=l("sqlite3_prepare_v2","number",["number","string","number","number","number"]),rb=l("sqlite3_sql","string",["number"]),wc=l("sqlite3_normalized_sql","string",["number"]),sb=l("sqlite3_prepare_v2","number",["number","number","number","number","number"]),xc=l("sqlite3_bind_text","number",["number","number","number","number","number"]),tb=l("sqlite3_bind_blob","number",["number","number","number","number","number"]),yc=l("sqlite3_bind_double","number",["number","number","number"]),
zc=l("sqlite3_bind_int","number",["number","number","number"]),Ac=l("sqlite3_bind_parameter_index","number",["number","string"]),Bc=l("sqlite3_step","number",["number"]),Cc=l("sqlite3_errmsg","string",["number"]),Dc=l("sqlite3_column_count","number",["number"]),Ec=l("sqlite3_data_count","number",["number"]),Fc=l("sqlite3_column_double","number",["number","number"]),ub=l("sqlite3_column_text","string",["number","number"]),Gc=l("sqlite3_column_blob","number",["number","number"]),Hc=l("sqlite3_column_bytes",
"number",["number","number"]),Ic=l("sqlite3_column_type","number",["number","number"]),Jc=l("sqlite3_column_name","string",["number","number"]),Kc=l("sqlite3_reset","number",["number"]),Lc=l("sqlite3_clear_bindings","number",["number"]),Mc=l("sqlite3_finalize","number",["number"]),vb=l("sqlite3_create_function_v2","number","number string number number number number number number number".split(" ")),rc=l("sqlite3_value_type","number",["number"]),uc=l("sqlite3_value_bytes","number",["number"]),tc=l("sqlite3_value_text",
"string",["number"]),vc=l("sqlite3_value_blob","number",["number"]),sc=l("sqlite3_value_double","number",["number"]),oc=l("sqlite3_result_double","",["number","number"]),nb=l("sqlite3_result_null","",["number"]),pc=l("sqlite3_result_text","",["number","string","number","number"]),qc=l("sqlite3_result_blob","",["number","number","number","number"]),nc=l("sqlite3_result_int","",["number","number"]),Da=l("sqlite3_result_error","",["number","string","number"]),wb=l("sqlite3_aggregate_context","number",
["number","number"]),qb=l("RegisterExtensionFunctions","number",["number"]);c.prototype.bind=function(g){if(!this.La)throw"Statement closed";this.reset();return Array.isArray(g)?this.wb(g):null!=g&&"object"===typeof g?this.xb(g):!0};c.prototype.step=function(){if(!this.La)throw"Statement closed";this.Ja=1;var g=Bc(this.La);switch(g){case 100:return!0;case 101:return!1;default:throw this.db.handleError(g);}};c.prototype.rb=function(g){null==g&&(g=this.Ja,this.Ja+=1);return Fc(this.La,g)};c.prototype.Ab=
function(g){null==g&&(g=this.Ja,this.Ja+=1);g=ub(this.La,g);if("function"!==typeof BigInt)throw Error("BigInt is not supported");return BigInt(g)};c.prototype.Bb=function(g){null==g&&(g=this.Ja,this.Ja+=1);return ub(this.La,g)};c.prototype.getBlob=function(g){null==g&&(g=this.Ja,this.Ja+=1);var k=Hc(this.La,g);g=Gc(this.La,g);for(var n=new Uint8Array(k),r=0;r<k;r+=1)n[r]=p[g+r];return n};c.prototype.get=function(g,k){k=k||{};null!=g&&this.bind(g)&&this.step();g=[];for(var n=Ec(this.La),r=0;r<n;r+=
1)switch(Ic(this.La,r)){case 1:var w=k.useBigInt?this.Ab(r):this.rb(r);g.push(w);break;case 2:g.push(this.rb(r));break;case 3:g.push(this.Bb(r));break;case 4:g.push(this.getBlob(r));break;default:g.push(null)}return g};c.prototype.getColumnNames=function(){for(var g=[],k=Dc(this.La),n=0;n<k;n+=1)g.push(Jc(this.La,n));return g};c.prototype.getAsObject=function(g,k){g=this.get(g,k);k=this.getColumnNames();for(var n={},r=0;r<k.length;r+=1)n[k[r]]=g[r];return n};c.prototype.getSQL=function(){return rb(this.La)};
c.prototype.getNormalizedSQL=function(){return wc(this.La)};c.prototype.run=function(g){null!=g&&this.bind(g);this.step();return this.reset()};c.prototype.nb=function(g,k){null==k&&(k=this.Ja,this.Ja+=1);g=oa(g);var n=aa(g,ba);this.fb.push(n);this.db.handleError(xc(this.La,k,n,g.length-1,0))};c.prototype.vb=function(g,k){null==k&&(k=this.Ja,this.Ja+=1);var n=aa(g,ba);this.fb.push(n);this.db.handleError(tb(this.La,k,n,g.length,0))};c.prototype.mb=function(g,k){null==k&&(k=this.Ja,this.Ja+=1);this.db.handleError((g===
(g|0)?zc:yc)(this.La,k,g))};c.prototype.yb=function(g){null==g&&(g=this.Ja,this.Ja+=1);tb(this.La,g,0,0,0)};c.prototype.ob=function(g,k){null==k&&(k=this.Ja,this.Ja+=1);switch(typeof g){case "string":this.nb(g,k);return;case "number":this.mb(g,k);return;case "bigint":this.nb(g.toString(),k);return;case "boolean":this.mb(g+0,k);return;case "object":if(null===g){this.yb(k);return}if(null!=g.length){this.vb(g,k);return}}throw"Wrong API use : tried to bind a value of an unknown type ("+g+").";};c.prototype.xb=
function(g){var k=this;Object.keys(g).forEach(function(n){var r=Ac(k.La,n);0!==r&&k.ob(g[n],r)});return!0};c.prototype.wb=function(g){for(var k=0;k<g.length;k+=1)this.ob(g[k],k+1);return!0};c.prototype.reset=function(){this.freemem();return 0===Lc(this.La)&&0===Kc(this.La)};c.prototype.freemem=function(){for(var g;void 0!==(g=this.fb.pop());)ca(g)};c.prototype.free=function(){this.freemem();var g=0===Mc(this.La);delete this.db.Za[this.La];this.La=0;return g};d.prototype.next=function(){if(null===
this.Ya)return{done:!0};null!==this.Ua&&(this.Ua.free(),this.Ua=null);if(!this.db.db)throw this.gb(),Error("Database closed");var g=pa(),k=x(4);qa(h);qa(k);try{this.db.handleError(sb(this.db.db,this.eb,-1,h,k));this.eb=m(k,"i32");var n=m(h,"i32");if(0===n)return this.gb(),{done:!0};this.Ua=new c(n,this.db);this.db.Za[n]=this.Ua;return{value:this.Ua,done:!1}}catch(r){throw this.ib=ra(this.eb),this.gb(),r;}finally{sa(g)}};d.prototype.gb=function(){ca(this.Ya);this.Ya=null};d.prototype.getRemainingSQL=
function(){return null!==this.ib?this.ib:ra(this.eb)};"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator&&(d.prototype[Symbol.iterator]=function(){return this});e.prototype.run=function(g,k){if(!this.db)throw"Database closed";if(k){g=this.prepare(g,k);try{g.step()}finally{g.free()}}else this.handleError(v(this.db,g,0,0,h));return this};e.prototype.exec=function(g,k,n){if(!this.db)throw"Database closed";var r=pa(),w=null;try{var z=ta(g),N=x(4);for(g=[];0!==m(z,"i8");){qa(h);qa(N);this.handleError(sb(this.db,
z,-1,h,N));var L=m(h,"i32");z=m(N,"i32");if(0!==L){var K=null;w=new c(L,this);for(null!=k&&w.bind(k);w.step();)null===K&&(K={columns:w.getColumnNames(),values:[]},g.push(K)),K.values.push(w.get(null,n));w.free()}}return g}catch(O){throw w&&w.free(),O;}finally{sa(r)}};e.prototype.each=function(g,k,n,r,w){"function"===typeof k&&(r=n,n=k,k=void 0);g=this.prepare(g,k);try{for(;g.step();)n(g.getAsObject(null,w))}finally{g.free()}if("function"===typeof r)return r()};e.prototype.prepare=function(g,k){qa(h);
this.handleError(G(this.db,g,-1,h,0));g=m(h,"i32");if(0===g)throw"Nothing to prepare";var n=new c(g,this);null!=k&&n.bind(k);return this.Za[g]=n};e.prototype.iterateStatements=function(g){return new d(g,this)};e.prototype["export"]=function(){Object.values(this.Za).forEach(function(k){k.free()});Object.values(this.Na).forEach(ua);this.Na={};this.handleError(y(this.db));var g=va(this.filename);this.handleError(u(this.filename,h));this.db=m(h,"i32");qb(this.db);return g};e.prototype.close=function(){null!==
this.db&&(Object.values(this.Za).forEach(function(g){g.free()}),Object.values(this.Na).forEach(ua),this.Na={},this.handleError(y(this.db)),wa("/"+this.filename),this.db=null)};e.prototype.handleError=function(g){if(0===g)return null;g=Cc(this.db);throw Error(g);};e.prototype.getRowsModified=function(){return F(this.db)};e.prototype.create_function=function(g,k){Object.prototype.hasOwnProperty.call(this.Na,g)&&(ua(this.Na[g]),delete this.Na[g]);var n=xa(function(r,w,z){w=b(w,z);try{var N=k.apply(null,
w)}catch(L){Da(r,L,-1);return}a(r,N)},"viii");this.Na[g]=n;this.handleError(vb(this.db,g,k.length,1,0,n,0,0,0));return this};e.prototype.create_aggregate=function(g,k){var n=k.init||function(){return null},r=k.finalize||function(K){return K},w=k.step;if(!w)throw"An aggregate function must have a step function in "+g;var z={};Object.hasOwnProperty.call(this.Na,g)&&(ua(this.Na[g]),delete this.Na[g]);k=g+"__finalize";Object.hasOwnProperty.call(this.Na,k)&&(ua(this.Na[k]),delete this.Na[k]);var N=xa(function(K,
O,Wa){var Y=wb(K,1);Object.hasOwnProperty.call(z,Y)||(z[Y]=n());O=b(O,Wa);O=[z[Y]].concat(O);try{z[Y]=w.apply(null,O)}catch(Oc){delete z[Y],Da(K,Oc,-1)}},"viii"),L=xa(function(K){var O=wb(K,1);try{var Wa=r(z[O])}catch(Y){delete z[O];Da(K,Y,-1);return}a(K,Wa);delete z[O]},"vi");this.Na[g]=N;this.Na[k]=L;this.handleError(vb(this.db,g,w.length-1,1,0,0,N,L,0));return this};f.Database=e};
var ya=Object.assign({},f),za="./this.program",Aa="object"==typeof window,Ba="function"==typeof importScripts,Ca="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,A="",Ea,Fa,Ga;
if(Ca){var fs=require("fs"),Ha=require("path");A=Ba?Ha.dirname(A)+"/":__dirname+"/";Ea=(a,b)=>{a=Ia(a)?new URL(a):Ha.normalize(a);return fs.readFileSync(a,b?void 0:"utf8")};Ga=a=>{a=Ea(a,!0);a.buffer||(a=new Uint8Array(a));return a};Fa=(a,b,c,d=!0)=>{a=Ia(a)?new URL(a):Ha.normalize(a);fs.readFile(a,d?void 0:"utf8",(e,h)=>{e?c(e):b(d?h.buffer:h)})};!f.thisProgram&&1<process.argv.length&&(za=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);"undefined"!=typeof module&&(module.exports=f);f.inspect=
()=>"[Emscripten Module object]"}else if(Aa||Ba)Ba?A=self.location.href:"undefined"!=typeof document&&document.currentScript&&(A=document.currentScript.src),A=0!==A.indexOf("blob:")?A.substr(0,A.replace(/[?#].*/,"").lastIndexOf("/")+1):"",Ea=a=>{var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText},Ba&&(Ga=a=>{var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),Fa=(a,b,c)=>{var d=new XMLHttpRequest;d.open("GET",
a,!0);d.responseType="arraybuffer";d.onload=()=>{200==d.status||0==d.status&&d.response?b(d.response):c()};d.onerror=c;d.send(null)};var Ja=f.print||console.log.bind(console),B=f.printErr||console.error.bind(console);Object.assign(f,ya);ya=null;f.thisProgram&&(za=f.thisProgram);var Ka;f.wasmBinary&&(Ka=f.wasmBinary);function La(){this.buffer=new ArrayBuffer(Ma/65536*65536)}function Na(a){this.exports=(
// EMSCRIPTEN_START_ASM
function instantiate(Ma){function e(f){f.grow=function(b){var a=this.length;this.length=this.length+b;return a};f.set=function(c,d){this[c]=d};f.get=function(c){return this[c]};return f}var g;var h=new Uint8Array(123);for(var c=25;c>=0;--c){h[48+c]=52+c;h[65+c]=c;h[97+c]=26+c}h[43]=62;h[47]=63;function n(o,p,q){var i,j,c=0,k=p,l=q.length,m=p+(l*3>>2)-(q[l-2]=="=")-(q[l-1]=="=");for(;c<l;c+=4){i=h[q.charCodeAt(c+1)];j=h[q.charCodeAt(c+2)];o[k++]=h[q.charCodeAt(c)]<<2|i>>4;if(k<m)o[k++]=i<<4|j>>2;if(k<m)o[k++]=j<<6|h[q.charCodeAt(c+3)]}}function r(s){n(g,1024,"My40NS4wAHt9ACVzLiV6AGluZmluaXR5AGFmZmluaXR5AFJlYWxBZmZpbml0eQBidXN5AHRlbXBfc3RvcmVfZGlyZWN0b3J5AG5vdCBhIHdyaXRhYmxlIGRpcmVjdG9yeQBvcGVuRGlyZWN0b3J5AHNocmlua19tZW1vcnkAb3V0IG9mIG1lbW9yeQBmYWlsZWQgdG8gYWxsb2NhdGUgJXUgYnl0ZXMgb2YgbWVtb3J5AEhBVklORyBjbGF1c2Ugb24gYSBub24tYWdncmVnYXRlIHF1ZXJ5AEludENvcHkAU0NvcHkAVkRlc3Ryb3kATXVsdGlwbHkAcXVlcnlfb25seQB1bmxpa2VseQB0YWJsZSAiJXMiIGhhcyBtb3JlIHRoYW4gb25lIHByaW1hcnkga2V5AGZvcmVpZ24ga2V5AGpzb25fZ3JvdXBfYXJyYXkAanNvbmJfZ3JvdXBfYXJyYXkAanNvbl9hcnJheQBqc29uYl9hcnJheQBqdWxpYW5kYXkAZnRzNGF1eAB1bml4AHNxbGl0ZV9yZW5hbWVfcXVvdGVmaXgAcHJlZml4AExJS0Ugb3IgR0xPQiBwYXR0ZXJuIHRvbyBjb21wbGV4AHVuaGV4AGNoYXJpbmRleABPcGVuQXV0b2luZGV4AGF1dG9tYXRpY19pbmRleABhdXRvLWluZGV4AG9ycGhhbiBpbmRleABEcm9wSW5kZXgAaWR4AFJlb3BlbklkeABwY3gAbWF4AE1lbU1heAAlMDJ4ADB4ACBGUk9NICclcScuJyVxJXMnIEFTIHgAQ1JFQVRFIFRBQkxFIHgAcncAcHNvdwBpbXBsaWVzX25vbm51bGxfcm93AG5vdwBpbnRlZ2VyIG92ZXJmbG93AHBhcnNlciBzdGFjayBvdmVyZmxvdwB3aW5kb3cAc2hhZG93AFJlc3VsdFJvdwBJZk51bGxSb3cAbmV3AG5vIHN1Y2ggdmlldwBjYW5ub3QgbW9kaWZ5ICVzIGJlY2F1c2UgaXQgaXMgYSB2aWV3AENhbm5vdCBhZGQgYSBjb2x1bW4gdG8gYSB2aWV3AGNhbm5vdCBVUFNFUlQgYSB2aWV3AFByZXYAc3RkZXYAICVsbHUAJWMldQBGYWlsZWQgdG8gcmVhZCBwdHJtYXAga2V5PSV1ACUuKno6JXUAT2Zmc2V0ICV1IG91dCBvZiByYW5nZSAldS4uJXUAaW52YWxpZCBwYWdlIG51bWJlciAldQBmYWlsZWQgdG8gZ2V0IHBhZ2UgJXUAMm5kIHJlZmVyZW5jZSB0byBwYWdlICV1AEZyYWdtZW50YXRpb24gb2YgJXUgYnl0ZXMgcmVwb3J0ZWQgYXMgJXUgb24gcGFnZSAldQBmcmVlbGlzdCBsZWFmIGNvdW50IHRvbyBiaWcgb24gcGFnZSAldQBNdWx0aXBsZSB1c2VzIGZvciBieXRlICV1IG9mIHBhZ2UgJXUAJXMgaXMgJXUgYnV0IHNob3VsZCBiZSAldQB1bmFibGUgdG8gdXNlIGZ1bmN0aW9uICVzIGluIHRoZSByZXF1ZXN0ZWQgY29udGV4dABTb3J0ZXJOZXh0AFZOZXh0AGluY29tcGxldGUgaW5wdXQAYnVzeV90aW1lb3V0AGxvY2FsaG9zdABjYW5ub3QgZHJvcCBjb2x1bW4gIiVzIjogbm8gb3RoZXIgY29sdW1ucyBleGlzdABwZXJzaXN0AGZvcmVpZ25fa2V5X2xpc3QAaW5kZXhfbGlzdABmdW5jdGlvbl9saXN0AGNvbGxhdGlvbl9saXN0AGRhdGFiYXNlX2xpc3QAbW9kdWxlX2xpc3QAUFJBR01BIHRhYmxlX2xpc3QAcHJhZ21hX2xpc3QAc2V0IGxpc3QAVmFsdWVMaXN0AHNxbGl0ZV9yZW5hbWVfdGVzdABSb3dTZXRUZXN0AFNlcXVlbmNlVGVzdABmYXN0AExhc3QAQ2FzdABzcXJ0AFNvcnRlclNvcnQAIlwvYmZucnQAanNvbl9pbnNlcnQAanNvbmJfaW5zZXJ0AElkeEluc2VydABTb3J0ZXJJbnNlcnQAcmVzdGFydABjb3QAQml0Tm90AElmTm90AFBhZ2Vjb3VudABmcmVlbGlzdF9jb3VudABtYXhfcGFnZV9jb3VudABSZXNldENvdW50AHdhbF9hdXRvY2hlY2twb2ludAB3YWxfY2hlY2twb2ludABDaGVja3BvaW50AFNhdmVwb2ludABhIENIRUNLIGNvbnN0cmFpbnQAJXNPTiBDT05GTElDVCBjbGF1c2UgZG9lcyBub3QgbWF0Y2ggYW55IFBSSU1BUlkgS0VZIG9yIFVOSVFVRSBjb25zdHJhaW50AEN1cnNvckhpbnQAX2NvbnRlbnQAcGFyZW50AERJU1RJTkNUIGFnZ3JlZ2F0ZXMgbXVzdCBoYXZlIGV4YWN0bHkgb25lIGFyZ3VtZW50AGNvbW1lbnQAQVBJIGNhbGxlZCB3aXRoIGZpbmFsaXplZCBwcmVwYXJlZCBzdGF0ZW1lbnQAQVBJIGNhbGxlZCB3aXRoIE5VTEwgcHJlcGFyZWQgc3RhdGVtZW50AE1heFBnY250AGRlZmF1bHQgdmFsdWUgb2YgY29sdW1uIFslc10gaXMgbm90IGNvbnN0YW50AE11c3RCZUludABDYW5ub3QgYWRkIGEgY29sdW1uIHdpdGggbm9uLWNvbnN0YW50IGRlZmF1bHQASGFsdABsYW5vaXQAc3RhdF9pbml0AEluaXQAQXV0b0NvbW1pdABhbmFseXNpc19saW1pdABzb2Z0X2hlYXBfbGltaXQAaGFyZF9oZWFwX2xpbWl0AGpvdXJuYWxfc2l6ZV9saW1pdABPZmZzZXRMaW1pdABTZWVrSGl0AE9OIGNsYXVzZSByZWZlcmVuY2VzIHRhYmxlcyB0byBpdHMgcmlnaHQAU2hpZnRSaWdodABoZ2h0AFNoaWZ0TGVmdABPZmZzZXQAcmVzZXQAanNvbl9zZXQAanNvbmJfc2V0AHRvbyBtYW55IGNvbHVtbnMgaW4gcmVzdWx0IHNldAAlciBPUkRFUiBCWSB0ZXJtIGRvZXMgbm90IG1hdGNoIGFueSBjb2x1bW4gaW4gdGhlIHJlc3VsdCBzZXQAc25pcHBldABzdGF0X2dldABzcWxpdGVfY29tcGlsZW9wdGlvbl9nZXQAc3RyaWN0AE5vQ29uZmxpY3QAanNvbl9ncm91cF9vYmplY3QAanNvbmJfZ3JvdXBfb2JqZWN0AGpzb25fb2JqZWN0AGpzb25iX29iamVjdABqc29uX2V4dHJhY3QAanNvbmJfZXh0cmFjdABTdWJ0cmFjdABsc3RhdABmc3RhdAAlc19zdGF0AHRibCxpZHgsc3RhdAB1bnN1cHBvcnRlZCBmaWxlIGZvcm1hdABncm91cF9jb25jYXQAQ29uY2F0AEx0AEd0AGRlZmVyX2ZvcmVpZ25fa2V5cwBhbHdheXMAcGFyYW1ldGVycyBhcmUgbm90IGFsbG93ZWQgaW4gdmlld3MAY29uY2F0X3dzAHN0YXR1cwBzeW5jaHJvbm91cwBpbmRleCAlcyBhbHJlYWR5IGV4aXN0cwBvdXRwdXQgZmlsZSBhbHJlYWR5IGV4aXN0cwAlcyAlVCBhbHJlYWR5IGV4aXN0cwB0cmlnZ2VyICVUIGFscmVhZHkgZXhpc3RzAE5vdEV4aXN0cwBpZ25vcmVfY2hlY2tfY29uc3RyYWludHMAQ0hFQ0sgY29uc3RyYWludHMAZXhwcmVzc2lvbnMgcHJvaGliaXRlZCBpbiBQUklNQVJZIEtFWSBhbmQgVU5JUVVFIGNvbnN0cmFpbnRzAGpzb25fb2JqZWN0KCkgcmVxdWlyZXMgYW4gZXZlbiBudW1iZXIgb2YgYXJndW1lbnRzAGpzb25fJXMoKSBuZWVkcyBhbiBvZGQgbnVtYmVyIG9mIGFyZ3VtZW50cwAlc19zZWdtZW50cwB1bmFibGUgdG8gZGVsZXRlL21vZGlmeSB1c2VyLWZ1bmN0aW9uIGR1ZSB0byBhY3RpdmUgc3RhdGVtZW50cwB1bmFibGUgdG8gZGVsZXRlL21vZGlmeSBjb2xsYXRpb24gc2VxdWVuY2UgZHVlIHRvIGFjdGl2ZSBzdGF0ZW1lbnRzAG9mZnNldHMAcmV2ZXJzZV91bm9yZGVyZWRfc2VsZWN0cwBpaXNzc3NzcwBpc3MAc2VzcwB1bmNvbXByZXNzAGNhbm5vdCBvcGVuIHNhdmVwb2ludCAtIFNRTCBzdGF0ZW1lbnRzIGluIHByb2dyZXNzAGNhbm5vdCByZWxlYXNlIHNhdmVwb2ludCAtIFNRTCBzdGF0ZW1lbnRzIGluIHByb2dyZXNzAGNhbm5vdCBjb21taXQgdHJhbnNhY3Rpb24gLSBTUUwgc3RhdGVtZW50cyBpbiBwcm9ncmVzcwBjYW5ub3QgVkFDVVVNIC0gU1FMIHN0YXRlbWVudHMgaW4gcHJvZ3Jlc3MAYWNjZXNzAHBhcmFtZXRlcnMAcmVjdXJzaXZlX3RyaWdnZXJzAHRoZSBJTkRFWEVEIEJZIGNsYXVzZSBpcyBub3QgYWxsb3dlZCBvbiBVUERBVEUgb3IgREVMRVRFIHN0YXRlbWVudHMgd2l0aGluIHRyaWdnZXJzAHRoZSBOT1QgSU5ERVhFRCBjbGF1c2UgaXMgbm90IGFsbG93ZWQgb24gVVBEQVRFIG9yIERFTEVURSBzdGF0ZW1lbnRzIHdpdGhpbiB0cmlnZ2VycwBxdWFsaWZpZWQgdGFibGUgbmFtZXMgYXJlIG5vdCBhbGxvd2VkIG9uIElOU0VSVCwgVVBEQVRFLCBhbmQgREVMRVRFIHN0YXRlbWVudHMgd2l0aGluIHRyaWdnZXJzAENoaWxkIHBhZ2UgZGVwdGggZGlmZmVycwB1bmFibGUgdG8gY2xvc2UgZHVlIHRvIHVuZmluYWxpemVkIHN0YXRlbWVudHMgb3IgdW5maW5pc2hlZCBiYWNrdXBzAGFjb3MASWZQb3MAY29tcGlsZV9vcHRpb25zAERJU1RJTkNUIGlzIG5vdCBzdXBwb3J0ZWQgZm9yIHdpbmRvdyBmdW5jdGlvbnMARklMVEVSIGNsYXVzZSBtYXkgb25seSBiZSB1c2VkIHdpdGggYWdncmVnYXRlIHdpbmRvdyBmdW5jdGlvbnMAbm9uLWRldGVybWluaXN0aWMgZnVuY3Rpb25zAGluZGV4IGV4cHJlc3Npb25zAFNFTEVDVHMgdG8gdGhlIGxlZnQgYW5kIHJpZ2h0IG9mICVzIGRvIG5vdCBoYXZlIHRoZSBzYW1lIG51bWJlciBvZiByZXN1bHQgY29sdW1ucwB2aXJ0dWFsIHRhYmxlcyBjYW5ub3QgdXNlIGNvbXB1dGVkIGNvbHVtbnMAZ2VuZXJhdGVkIGNvbHVtbnMAdGFibGUgJXMgaGFzICVkIHZhbHVlcyBmb3IgJWQgY29sdW1ucwByYWRpYW5zAGFsbCBWQUxVRVMgbXVzdCBoYXZlIHRoZSBzYW1lIG51bWJlciBvZiB0ZXJtcwBlbXB0eV9yZXN1bHRfY2FsbGJhY2tzAExvYWRBbmFseXNpcwBmbGdzAGZsYWdzAHZmcwAlZCBjb2x1bW5zIGFzc2lnbmVkICVkIHZhbHVlcwBKU09OIGNhbm5vdCBob2xkIEJMT0IgdmFsdWVzAGZhaWxlZCBtZW1vcnkgcmVzaXplICV1IHRvICV1IGJ5dGVzAHBhcnRpYWwgaW5kZXggV0hFUkUgY2xhdXNlcwBzaG9ydF9jb2x1bW5fbmFtZXMAZnVsbF9jb2x1bW5fbmFtZXMAdW5hYmxlIHRvIG9wZW4gYSB0ZW1wb3JhcnkgZGF0YWJhc2UgZmlsZSBmb3Igc3RvcmluZyB0ZW1wb3JhcnkgdGFibGVzAGNhbm5vdCBjcmVhdGUgdHJpZ2dlcnMgb24gc2hhZG93IHRhYmxlcwBjYW5ub3QgY3JlYXRlIHRyaWdnZXJzIG9uIHZpcnR1YWwgdGFibGVzACVzIFJFVFVSTklORyBpcyBub3QgYXZhaWxhYmxlIG9uIHZpcnR1YWwgdGFibGVzAGNhbm5vdCBqb2luIHVzaW5nIGNvbHVtbiAlcyAtIGNvbHVtbiBub3QgcHJlc2VudCBpbiBib3RoIHRhYmxlcwBBVVRPSU5DUkVNRU5UIG5vdCBhbGxvd2VkIG9uIFdJVEhPVVQgUk9XSUQgdGFibGVzACVzIGNhbm5vdCB1c2UgdmFyaWFibGVzAHRvbyBtYW55IFNRTCB2YXJpYWJsZXMAc3VicXVlcmllcwBjYW5ub3QgdXNlIHdpbmRvdyBmdW5jdGlvbnMgaW4gcmVjdXJzaXZlIHF1ZXJpZXMAY291bnRfY2hhbmdlcwB0b3RhbF9jaGFuZ2VzAGRlZ3JlZXMAUkVUVVJOSU5HIG1heSBub3QgdXNlICJUQUJMRS4qIiB3aWxkY2FyZHMAdGhyZWFkcwBhYnMALiUuKnMAQ1JFQVRFICVzICUuKnMAQ1JFQVRFJXMgSU5ERVggJS4qcwBpbnZhbGlkIHVyaSBhdXRob3JpdHk6ICUuKnMAdW5rbm93biB0YWJsZSBvcHRpb246ICUuKnMAJS4qcyVzACwlcyVzJXMAU0NBTiAlcyVzJXMAc3FsaXRlX2FsdGVydGFiXyVzAFNDQU4gJWQgQ09OU1RBTlQgUk9XJXMAJVElcwAgVklSVFVBTCBUQUJMRSBJTkRFWCAlZDolcwAlczogJXMuJXMuJXMAbWlzc2luZyBkYXRhdHlwZSBmb3IgJXMuJXMAY2Fubm90IHN0b3JlICVzIHZhbHVlIGluICVzIGNvbHVtbiAlcy4lcwBub24tJXMgdmFsdWUgaW4gJXMuJXMAVEVYVCB2YWx1ZSBpbiAlcy4lcwBOVUxMIHZhbHVlIGluICVzLiVzAE5VTUVSSUMgdmFsdWUgaW4gJXMuJXMAbWFsZm9ybWVkIGludmVydGVkIGluZGV4IGZvciBGVFMlZCB0YWJsZSAlcy4lcwAlczogJXMuJXMAbm8gc3VjaCB0YWJsZSBjb2x1bW46ICVzLiVzAC4uJXMAJS4xOHMtJXMAIFVTSU5HIElOVEVHRVIgUFJJTUFSWSBLRVkgKCVzAHVzZSBEUk9QIFZJRVcgdG8gZGVsZXRlIHZpZXcgJXMAcm93IG5vdCBpbiBQUklNQVJZIEtFWSBvcmRlciBmb3IgJXMAaWxsZWdhbCBmaXJzdCBhcmd1bWVudCB0byAlcwBtaXN1c2Ugb2YgYWxpYXNlZCB3aW5kb3cgZnVuY3Rpb24gJXMAdG9vIG1hbnkgY29sdW1ucyBvbiAlcwB0b28gbWFueSBjb2x1bW5zIGluICVzACVzIHByb2hpYml0ZWQgaW4gJXMAQ0hFQ0sgY29uc3RyYWludCBmYWlsZWQgaW4gJXMAbm9uLWRldGVybWluaXN0aWMgdXNlIG9mICVzKCkgaW4gJXMAcmVjb3ZlcmVkICVkIHBhZ2VzIGZyb20gJXMAbWlzdXNlIG9mIGFsaWFzZWQgYWdncmVnYXRlICVzACVzICVUIGNhbm5vdCByZWZlcmVuY2Ugb2JqZWN0cyBpbiBkYXRhYmFzZSAlcwBjYW5ub3QgZGV0YWNoIGRhdGFiYXNlICVzAGEgSk9JTiBjbGF1c2UgaXMgcmVxdWlyZWQgYmVmb3JlICVzAGNhbm5vdCBvcGVuIHZhbHVlIG9mIHR5cGUgJXMAY2Fubm90IGZzdGF0IGRiIGZpbGUgJXMAcmVjb3ZlcmVkICVkIGZyYW1lcyBmcm9tIFdBTCBmaWxlICVzAFBSSU1BUlkgS0VZIG1pc3Npbmcgb24gdGFibGUgJXMAdXNlIERST1AgVEFCTEUgdG8gZGVsZXRlIHRhYmxlICVzAFNFTEVDVCAlcyBPUkRFUiBCWSByb3dpZCAlcwBTRUxFQ1QgJXMgV0hFUkUgcm93aWQgQkVUV0VFTiAlbGxkIEFORCAlbGxkIE9SREVSIEJZIHJvd2lkICVzAHRoZXJlIGlzIGFscmVhZHkgYW4gaW5kZXggbmFtZWQgJXMAdGFibGUgJVMgaGFzIG5vIGNvbHVtbiBuYW1lZCAlcwB0aGVyZSBpcyBhbHJlYWR5IGEgdGFibGUgbmFtZWQgJXMAc3RhdGVtZW50IGFib3J0cyBhdCAlZDogWyVzXSAlcwBDT1ZFUklORyBJTkRFWCAlcwBTRUxFQ1QgJXMAdW5zdXBwb3J0ZWQgdXNlIG9mIE5VTExTICVzAFVTRSBURU1QIEItVFJFRSBGT1IgJXMALS0gVFJJR0dFUiAlcwBSSUdIVC1KT0lOICVzAD4/IEFORCAlcwAlejogJXMAcmVjdXJzaXZlIHJlZmVyZW5jZSBpbiBhIHN1YnF1ZXJ5OiAlcwB2dGFibGUgY29uc3RydWN0b3IgY2FsbGVkIHJlY3Vyc2l2ZWx5OiAlcwBubyBzdWNoIGluZGV4OiAlcwBubyBzdWNoIHdpbmRvdzogJXMAY2Fubm90IG92ZXJyaWRlICVzIG9mIHdpbmRvdzogJXMAY2Fubm90IG9wZW4gdmlldzogJXMAbm8gc3VjaCBzYXZlcG9pbnQ6ICVzAG5vIHN1Y2ggdmZzOiAlcwBtdWx0aXBsZSByZWN1cnNpdmUgcmVmZXJlbmNlczogJXMAZXJyb3IgaW4gJXMgJXMlcyVzOiAlcwB1bmFibGUgdG8gdmFsaWRhdGUgdGhlIGludmVydGVkIGluZGV4IGZvciBGVFMlZCB0YWJsZSAlcy4lczogJXMAZXJyb3IgaW4gJXMgJXMgYWZ0ZXIgJXM6ICVzAHVua25vd24gdG9rZW5pemVyOiAlcwBlcnJvciBwYXJzaW5nIHByZWZpeCBwYXJhbWV0ZXI6ICVzAHVucmVjb2duaXplZCBwYXJhbWV0ZXI6ICVzAHVucmVjb2duaXplZCBvcmRlcjogJXMAdW5yZWNvZ25pemVkIG1hdGNoaW5mbzogJXMAbm8gc3VjaCBjb2x1bW46ICVzAGZpbGUgcmVuYW1lZCB3aGlsZSBvcGVuOiAlcwBmaWxlIHVubGlua2VkIHdoaWxlIG9wZW46ICVzAHVuc3VwcG9ydGVkIGVuY29kaW5nOiAlcwBjYW5ub3QgbGltaXQgV0FMIHNpemU6ICVzAE1KIGRlbGV0ZTogJXMAdGFyZ2V0IG9iamVjdC9hbGlhcyBtYXkgbm90IGFwcGVhciBpbiBGUk9NIGNsYXVzZTogJXMAb2JqZWN0IG5hbWUgcmVzZXJ2ZWQgZm9yIGludGVybmFsIHVzZTogJXMAdW5rbm93biBkYXRhYmFzZTogJXMAdW5hYmxlIHRvIG9wZW4gZGF0YWJhc2U6ICVzAG5vIHN1Y2ggZGF0YWJhc2U6ICVzAHRoZXJlIGlzIGFscmVhZHkgYW5vdGhlciB0YWJsZSBvciBpbmRleCB3aXRoIHRoaXMgbmFtZTogJXMAZHVwbGljYXRlIGNvbHVtbiBuYW1lOiAlcwBkdXBsaWNhdGUgV0lUSCB0YWJsZSBuYW1lOiAlcwBubyBzdWNoIG1vZHVsZTogJXMAbXVsdGlwbGUgbGlua3MgdG8gZmlsZTogJXMAY2Fubm90IG9wZW4gdmlydHVhbCB0YWJsZTogJXMAbm8gc3VjaCB0YWJsZTogJXMAbXVsdGlwbGUgcmVmZXJlbmNlcyB0byByZWN1cnNpdmUgdGFibGU6ICVzAG5vIHN1Y2ggJXMgbW9kZTogJXMATUogY29sbGlkZTogJXMAbm8gc3VjaCBjb2xsYXRpb24gc2VxdWVuY2U6ICVzAGNpcmN1bGFyIHJlZmVyZW5jZTogJXMAY2Fubm90IG9wZW4gdGFibGUgd2l0aG91dCByb3dpZDogJXMAJXMgbW9kZSBub3QgYWxsb3dlZDogJXMAdnRhYmxlIGNvbnN0cnVjdG9yIGZhaWxlZDogJXMAYXV0b21hdGljIGV4dGVuc2lvbiBsb2FkaW5nIGZhaWxlZDogJXMAZGF0YWJhc2UgdGFibGUgaXMgbG9ja2VkOiAlcwBkYXRhYmFzZSBzY2hlbWEgaXMgbG9ja2VkOiAlcwB2dGFibGUgY29uc3RydWN0b3IgZGlkIG5vdCBkZWNsYXJlIHNjaGVtYTogJXMAYWJvcnQgYXQgJWQgaW4gWyVzXTogJXMALS0gJXMAJXogLSAlcwBvc191bml4LmM6JWQ6ICglZCkgJXMoJXMpIC0gJXMAd3IAcmlnaHRzdHIAbGVmdHN0cgBpbnN0cgBzdWJzdHIAZXhwcl9pbXBsaWVzX2V4cHIAaW52YWxpZCBhcmd1bWVudHMgdG8gZnRzNGF1eCBjb25zdHJ1Y3RvcgBtaXNzaW5nICVzIHBhcmFtZXRlciBpbiBmdHM0IGNvbnN0cnVjdG9yAHRoZSAiLiIgb3BlcmF0b3IAZnRzM2N1cnNvcgBuZWFyICIlVCI6IHN5bnRheCBlcnJvcgB1bmtub3duIGVycm9yAGRvbWFpbiBlcnJvcgBub3QgYW4gZXJyb3IAU1FMIGxvZ2ljIGVycm9yAGRpc2sgSS9PIGVycm9yAGZsb29yAHJtZGlyAG1rZGlyAHNlZ2RpcgBmdHMzX3Rva2VuaXplcgB1bmtub3duIHRva2VuaXplcgBwb3dlcgBsb3dlcgBzcWxpdGVfdGVtcF9tYXN0ZXIAc3FsaXRlX21hc3RlcgBwb3J0ZXIAUmVzZXRTb3J0ZXIARmtDb3VudGVyAEFQSSBjYWxsIHdpdGggJXMgZGF0YWJhc2UgY29ubmVjdGlvbiBwb2ludGVyAHN0cmZpbHRlcgBWRmlsdGVyAEVTQ0FQRSBleHByZXNzaW9uIG11c3QgYmUgYSBzaW5nbGUgY2hhcmFjdGVyAHVwcGVyAHByb3BlcgBJZlNtYWxsZXIAY2Fubm90IHVzZSBSRVRVUk5JTkcgaW4gYSB0cmlnZ2VyAERyb3BUcmlnZ2VyAHNlY29uZCBhcmd1bWVudCB0byBudGhfdmFsdWUgbXVzdCBiZSBhIHBvc2l0aXZlIGludGVnZXIAYXJndW1lbnQgb2YgbnRpbGUgbXVzdCBiZSBhIHBvc2l0aXZlIGludGVnZXIAZnJhbWUgc3RhcnRpbmcgb2Zmc2V0IG11c3QgYmUgYSBub24tbmVnYXRpdmUgaW50ZWdlcgBmcmFtZSBlbmRpbmcgb2Zmc2V0IG11c3QgYmUgYSBub24tbmVnYXRpdmUgaW50ZWdlcgBJbnRlZ2VyAFJvd2lkICVsbGQgb3V0IG9mIG9yZGVyAFJlbWFpbmRlcgBmcmFtZSBzdGFydGluZyBvZmZzZXQgbXVzdCBiZSBhIG5vbi1uZWdhdGl2ZSBudW1iZXIAZnJhbWUgZW5kaW5nIG9mZnNldCBtdXN0IGJlIGEgbm9uLW5lZ2F0aXZlIG51bWJlcgBhZGRyAHBhZHIAY2hhcgB5ZWFyAENsZWFyAEJpdE9yAHNlcQBDb2xsU2VxAEVsc2VFcQByZWdleHAAT3BlbkR1cABOb29wAEp1bXAAL3Vzci90bXAAL3Zhci90bXAAdGVtcABjdXJyZW50X3RpbWVzdGFtcABBZ2dTdGVwAG1vZGVTdGVwAHZhcmlhbmNlU3RlcABtdW5tYXAAbW1hcABtcmVtYXAAc3FsaXRlX3JldHVybmluZ18lcAB2dGFiOiVwAHNzZW5zdW8AaWxzdW8AYXV0bwBHb3RvAGludG8AaW5jcmVtZW50YWxfdmFjdXVtIGVuYWJsZWQgd2l0aCBhIG1heCByb290cGFnZSBvZiB6ZXJvAElmTm90WmVybwBEZWNySnVtcFplcm8ARmtJZlplcm8Ac2Vxbm8AaW5kZXhfeGluZm8AdGFibGVfeGluZm8AbWF0Y2hpbmZvAGluZGV4X2luZm8AdGFibGVfaW5mbwBPcGVuUHNldWRvAGZjaG93bgBCZWdpblN1YnJ0bgBSZXR1cm4AanNvbgBubyBxdWVyeSBzb2x1dGlvbgBpbmRleCBjb3JydXB0aW9uAGRhdGFiYXNlIGNvcnJ1cHRpb24AZnJlZSBzcGFjZSBjb3JydXB0aW9uAGpzb25fZXJyb3JfcG9zaXRpb24AdW5rbm93biBjb2x1bW4gIiVzIiBpbiBmb3JlaWduIGtleSBkZWZpbml0aW9uACVzLnhCZXN0SW5kZXggbWFsZnVuY3Rpb24AYXV0aG9yaXplciBtYWxmdW5jdGlvbgAlI1QoKSBtYXkgbm90IGJlIHVzZWQgYXMgYSB3aW5kb3cgZnVuY3Rpb24AJyVzJyBpcyBub3QgYSBmdW5jdGlvbgBGdW5jdGlvbgBjYW5ub3Qgc3RhcnQgYSB0cmFuc2FjdGlvbiB3aXRoaW4gYSB0cmFuc2FjdGlvbgBjYW5ub3QgY2hhbmdlICVzIHdhbCBtb2RlIGZyb20gd2l0aGluIGEgdHJhbnNhY3Rpb24AdGVtcG9yYXJ5IHN0b3JhZ2UgY2Fubm90IGJlIGNoYW5nZWQgZnJvbSB3aXRoaW4gYSB0cmFuc2FjdGlvbgBjYW5ub3QgVkFDVVVNIGZyb20gd2l0aGluIGEgdHJhbnNhY3Rpb24AU2FmZXR5IGxldmVsIG1heSBub3QgYmUgY2hhbmdlZCBpbnNpZGUgYSB0cmFuc2FjdGlvbgBUcmFuc2FjdGlvbgBQZXJtdXRhdGlvbgB1bmtub3duIG9wZXJhdGlvbgB1bnN1cHBvcnRlZCBmcmFtZSBzcGVjaWZpY2F0aW9uAFJBTkdFIHdpdGggb2Zmc2V0IFBSRUNFRElORy9GT0xMT1dJTkcgcmVxdWlyZXMgb25lIE9SREVSIEJZIGV4cHJlc3Npb24AdG9vIG1hbnkgbGV2ZWxzIG9mIHRyaWdnZXIgcmVjdXJzaW9uAHVzZXJfdmVyc2lvbgBzcWxpdGVfdmVyc2lvbgBkYXRhX3ZlcnNpb24Ac2NoZW1hX3ZlcnNpb24Ac3FsaXRlX2Ryb3BfY29sdW1uAHNxbGl0ZV9yZW5hbWVfY29sdW1uAGFmdGVyIGRyb3AgY29sdW1uAG5vIHN1Y2ggY29sdW1uAG11c3QgaGF2ZSBhdCBsZWFzdCBvbmUgbm9uLWdlbmVyYXRlZCBjb2x1bW4AY2Fubm90IHVzZSBERUZBVUxUIG9uIGEgZ2VuZXJhdGVkIGNvbHVtbgBhZGQgY29sdW1uAENhbm5vdCBhZGQgYSBQUklNQVJZIEtFWSBjb2x1bW4AQ2Fubm90IGFkZCBhIFVOSVFVRSBjb2x1bW4AY2Fubm90IGFkZCBhIFNUT1JFRCBjb2x1bW4AVkNvbHVtbgBidWlsdGluAGFzaW4AYXQgbW9zdCAlZCB0YWJsZXMgaW4gYSBqb2luAG1pbgBvcmlnaW4AVkJlZ2luAG1haW4ARXhwbGFpbgBzaWduAHNzZW4Ab3BlbgBJZk5vdE9wZW4AU29ydGVyT3BlbgBWT3BlbgBoaWRkZW4AYXRhbgBtZWRpYW4AU2Vla1NjYW4AVkluaXRJbgBhdXRvX3ZhY3V1bQBpbmNyZW1lbnRhbF92YWN1dW0ASW5jclZhY3V1bQBzdW0AZmxleG51bQBwbQBkcm9wIGNvbHVtbiBmcm9tAC9kZXYvdXJhbmRvbQBBZGRJbW0AcnRyaW0AbHRyaW0AcmVhZG9ubHlfc2htACVzLXNobQB0bmVtAFJBSVNFKCkgbWF5IG9ubHkgYmUgdXNlZCB3aXRoaW4gYSB0cmlnZ2VyLXByb2dyYW0AUHJvZ3JhbQBQYXJhbQBmdWwAZmNudGwAaW9jdGwAaWdvbABsb2NraW5nIHByb3RvY29sAG5jb2wAbm90bnVsbABpZm51bGwAL2Rldi9udWxsAGRhdGFiYXNlIG9yIGRpc2sgaXMgZnVsbABOb3ROdWxsAFNvZnROdWxsAElzTnVsbABaZXJvT3JOdWxsAEhhbHRJZk51bGwAY29sbABjYWNoZV9zcGlsbABSb3dDZWxsAGNlaWwAZGV0YWlsAHBhZGwAdW5peC1leGNsAHRibAB3YWwAdmlydHVhbAB0b3RhbABpbmNyZW1lbnRhbABPcGVuRXBoZW1lcmFsAEFnZ0ZpbmFsAG5vcm1hbABJbmRleCBhbHJlYWR5IG9wdGltYWwAcGFydGlhbAByZWFsAFJlYWwAcGsAb2sAdW5saW5rAHJlYWRsaW5rAEZpbmlzaFNlZWsARGVmZXJyZWRTZWVrAG5vbG9jawBDdXJzb3JVbmxvY2sAYmxvY2sAJXMubG9jawBDdXJzb3JMb2NrAFRhYmxlTG9jawBpbnRlZ3JpdHlfY2hlY2sAZm9yZWlnbl9rZXlfY2hlY2sAcXVpY2tfY2hlY2sAY2VsbF9zaXplX2NoZWNrAGludGVncml0eS1jaGVjawBGa0NoZWNrAFR5cGVDaGVjawBWQ2hlY2sASW50ZWdyaXR5Q2sAcmV6aQBub2l0YXppAGl0aXZpAHNzZW5ldmkAaXRpAGlzc2lzaQBpc2lzaQBwaQBub2kAZ25pAHNpc3NpaQBpc3Npc2lpAHNzc2lpaQBzZWkAaXRpY2kAZXRhY2kAbGFjaQBjb3RoAG1vbnRoAGpzb25fYXJyYXlfbGVuZ3RoAG9jdGV0X2xlbmd0aABvdmVyZmxvdyBsaXN0IGxlbmd0aAB3ZHRoAHN0YXRfcHVzaABmbHVzaABhY29zaABhc2luaABhdGFuaABqc29uX3BhdGNoAGpzb25iX3BhdGNoAGRhdGF0eXBlIG1pc21hdGNoAGFyZ3VtZW50IHR5cGUgbWlzbWF0Y2gAYWJicmV2aWF0ZWQgcXVlcnkgYWxnb3JpdGhtIHNlYXJjaAB1bml4ZXBvY2gAc3FsaXRlX2F0dGFjaABzcWxpdGVfZGV0YWNoAGpzb25fZWFjaABhdmcAbmFyZwBzcWxpdGVfbG9nAHN0YXRlbWVudCB0b28gbG9uZwBjYW5ub3Qgb3BlbiAlcyBjb2x1bW4gZm9yIHdyaXRpbmcAc3Vic3RyaW5nAFN0cmluZwBlbmNvZGluZwBzdHJpbmcgb3IgYmxvYiB0b28gYmlnAHN0cmluZ19hZ2cAUmVsZWFzZVJlZwAlLjE2ZwAlITAuMTVnACUhLjE1ZwBzc2VubHVmAHByaW50ZgB0eXBlb2YAbW9kZW9mAG91dCBvZgByZW5hbWUgY29sdW1ucyBvZgBpbmYALUluZgBudWxsaWYAaWlmAG9mZgB0aW1lZGlmZgAwMTIzNDU2Nzg5YWJjZGVmAElmACVjJTA0ZC0lMDJkLSUwMmQgJTAyZDolMDJkOiUwNi4zZgAlLjNmADUwZgA0MGYAJSEuKmYAZ2V0cGFnZXNpemUAZG9jc2l6ZQBtbWFwX3NpemUAZGVmYXVsdF9jYWNoZV9zaXplAFBSQUdNQSAlUS5wYWdlX3NpemUAZnRzM3Rva2VuaXplAG9wdGltaXplAGpzb25fcmVtb3ZlAGpzb25iX3JlbW92ZQBNb3ZlAGNhbm5vdCBjb21taXQgLSBubyB0cmFuc2FjdGlvbiBpcyBhY3RpdmUAY2Fubm90IHJvbGxiYWNrIC0gbm8gdHJhbnNhY3Rpb24gaXMgYWN0aXZlAGV4Y2x1c2l2ZQB0cnVlAElzVHJ1ZQB1bmlxdWUAZGZsdF92YWx1ZQBDYW5ub3QgYWRkIGEgUkVGRVJFTkNFUyBjb2x1bW4gd2l0aCBub24tTlVMTCBkZWZhdWx0IHZhbHVlAEFnZ1ZhbHVlAGpzb25fcXVvdGUAcHdyaXRlAE9wZW5Xcml0ZQBvbl9kZWxldGUAc2VjdXJlX2RlbGV0ZQBJZHhEZWxldGUAcHJpdmF0ZQBhZ2dyZWdhdGUAVkNyZWF0ZQBvbl91cGRhdGUAVlVwZGF0ZQBjdXJyZW50X2RhdGUAZmFsbG9jYXRlAGZ0cnVuY2F0ZQByZXBsaWNhdGUAYmFkIHBhcmFtZXRlciBvciBvdGhlciBBUEkgbWlzdXNlAHRvbyBtYW55IHRlcm1zIGluICVzIEJZIGNsYXVzZQB0b28gbWFueSB0ZXJtcyBpbiBPUkRFUiBCWSBjbGF1c2UAYWdncmVnYXRlIGZ1bmN0aW9ucyBhcmUgbm90IGFsbG93ZWQgaW4gdGhlIEdST1VQIEJZIGNsYXVzZQBQQVJUSVRJT04gY2xhdXNlAGEgTkFUVVJBTCBqb2luIG1heSBub3QgaGF2ZSBhbiBPTiBvciBVU0lORyBjbGF1c2UAZGF0YWJhc2UgJXMgaXMgYWxyZWFkeSBpbiB1c2UAQWdnSW52ZXJzZQByZXZlcnNlAGNsb3NlAENsb3NlAGZhbHNlAGF0dGVtcHQgdG8gd3JpdGUgYSByZWFkb25seSBkYXRhYmFzZQBjb3JydXB0IGRhdGFiYXNlAGF0dGFjaGVkIGRhdGFiYXNlcyBtdXN0IHVzZSB0aGUgc2FtZSB0ZXh0IGVuY29kaW5nIGFzIG1haW4gZGF0YWJhc2UAZmlsZSBpcyBub3QgYSBkYXRhYmFzZQB0ZW1wX3N0b3JlACVzIGNsYXVzZSBzaG91bGQgY29tZSBhZnRlciAlcyBub3QgYmVmb3JlAEV4cGlyZQBzcXVhcmUAZXhwcl9jb21wYXJlAFNvcnRlckNvbXBhcmUAc3VidHlwZQBTZXRTdWJ0eXBlAEdldFN1YnR5cGUAQ2xyU3VidHlwZQBqc29uX3R5cGUASXNUeXBlAElmTm9Ib3BlAGlsdG5lAHVuaXgtbm9uZQBJbml0Q29yb3V0aW5lAEVuZENvcm91dGluZQBpY25lAGxvY2FsdGltZQBzdHJmdGltZQBkYXRldGltZQBjdXJyZW50X3RpbWUAdG5lbWUAYWZ0ZXIgcmVuYW1lAG5vbi10ZXh0IGZpbGVuYW1lAFZSZW5hbWUAYW1iaWd1b3VzIGNvbHVtbiBuYW1lAHRlbXBvcmFyeSB0cmlnZ2VyIG1heSBub3QgaGF2ZSBxdWFsaWZpZWQgbmFtZQBzaW1wbGUAbG93ZXJfcXVhcnRpbGUAdXBwZXJfcXVhcnRpbGUAdW5peC1kb3RmaWxlAGNhbm5vdCBvcGVuIGZpbGUAdW5hYmxlIHRvIG9wZW4gZGF0YWJhc2UgZmlsZQBpbW11dGFibGUAQWJvcnRhYmxlAGxlZ2FjeV9hbHRlcl90YWJsZQBzcWxpdGVfcmVuYW1lX3RhYmxlAGNhbm5vdCBjcmVhdGUgdHJpZ2dlciBvbiBzeXN0ZW0gdGFibGUAdmlydHVhbCB0YWJsZQBubyBzdWNoIHRhYmxlAG51bWJlciBvZiBjb2x1bW5zIGluIGZvcmVpZ24ga2V5IGRvZXMgbm90IG1hdGNoIHRoZSBudW1iZXIgb2YgY29sdW1ucyBpbiB0aGUgcmVmZXJlbmNlZCB0YWJsZQBsb2NhbCB0aW1lIHVuYXZhaWxhYmxlAGFub3RoZXIgcm93IGF2YWlsYWJsZQBubyBtb3JlIHJvd3MgYXZhaWxhYmxlAFZhcmlhYmxlAERyb3BUYWJsZQB1dGYxNmxlAFVURjE2bGUAVVRGLTE2bGUAY2FzZV9zZW5zaXRpdmVfbGlrZQBTZXRDb29raWUAUmVhZENvb2tpZQBjYWNoZQBjb2x1bW4gaW5kZXggb3V0IG9mIHJhbmdlAG5vdGlmaWNhdGlvbiBtZXNzYWdlAHdhcm5pbmcgbWVzc2FnZQBpbnZhbGlkIHJvb3RwYWdlAEV4dGVuZHMgb2ZmIGVuZCBvZiBwYWdlAE1BWF9QQUdFX0NPVU5UPTB4ZmZmZmZmZmUAanNvbl90cmVlAENyZWF0ZUJ0cmVlAGRlZQBqb3VybmFsX21vZGUAbG9ja2luZ19tb2RlAG9wY29kZQB1bmljb2RlAEpvdXJuYWxNb2RlAERpdmlkZQBjb2FsZXNjZQBzcWxpdGVfc2VxdWVuY2UAU2VxdWVuY2UAZGlmZmVyZW5jZQB2YXJpYW5jZQBPbmNlAFRyYWNlAGpzb25fcmVwbGFjZQBqc29uYl9yZXBsYWNlAHV0ZjE2YmUAVVRGMTZiZQBVVEYtMTZiZQBOZQBMZQBHZQAyMGM6MjBlADIwYjoyMGUAJSEuMjBlAGdldGN3ZABNYWtlUmVjb3JkAHRoc3RuZHJkAGxpa2VsaWhvb2QAZmNobW9kAHJvdW5kAE5vdEZvdW5kAHN1YnNlY29uZABSZXdpbmQAU2Vla0VuZABCaXRBbmQAb2xkACVsbGQgJWxsZABubyBzdWNoIHJvd2lkOiAlbGxkAHJlYnVpbGQAWWllbGQAbGFzdF9pbnNlcnRfcm93aWQAJXMucm93aWQAU0VMRUNUKkZST00iJXciLiVzIE9SREVSIEJZIHJvd2lkAFNFTEVDVCpGUk9NIiV3Ii4lcyBXSEVSRSAlcyBPUkRFUiBCWSByb3dpZABJZHhSb3dpZABOZXdSb3dpZABTZWVrUm93aWQAZ2V0ZXVpZABpbnZhbGlkAGpzb25fdmFsaWQAZmtpZABfX2xhbmdpZAAleiwgbGFuZ2lkAGxhbmd1YWdlaWQAZG9jaWQAYXBwbGljYXRpb25faWQAc3FsaXRlX3NvdXJjZV9pZABub3QgYXV0aG9yaXplZABJbmRleCBvcHRpbWl6ZWQAbm90aW5kZXhlZAB1bmFibGUgdG8gaWRlbnRpZnkgdGhlIG9iamVjdCB0byBiZSByZWluZGV4ZWQAdmlld3MgbWF5IG5vdCBiZSBpbmRleGVkAHZpcnR1YWwgdGFibGVzIG1heSBub3QgYmUgaW5kZXhlZAB0YWJsZSAlcyBtYXkgbm90IGJlIGluZGV4ZWQAcmVhZF91bmNvbW1pdHRlZAByZWN1cnNpdmUgYWdncmVnYXRlIHF1ZXJpZXMgbm90IHN1cHBvcnRlZABxdWVyeSBhYm9ydGVkAHJvd3MgaW5zZXJ0ZWQAaW50ZXJydXB0ZWQAY2hlY2twb2ludGVkAGFjY2VzcyB0byAleiBpcyBwcm9oaWJpdGVkAGFjY2VzcyB0byB2aWV3ICIlcyIgcHJvaGliaXRlZAByb3dzIGRlbGV0ZWQAZ2VuZXJhdGVkAHJvd3MgdXBkYXRlZABub3R1c2VkAHJvdyB2YWx1ZSBtaXN1c2VkAHNxbGl0ZV9jb21waWxlb3B0aW9uX3VzZWQAUGFnZSAldTogbmV2ZXIgdXNlZABDb2x1bW5zVXNlZABzdG9yZWQAdmlydHVhbCB0YWJsZXMgbWF5IG5vdCBiZSBhbHRlcmVkAHZpZXcgJXMgbWF5IG5vdCBiZSBhbHRlcmVkAHRhYmxlICVzIG1heSBub3QgYmUgYWx0ZXJlZABzaGFyZWQAaW5kZXggYXNzb2NpYXRlZCB3aXRoIFVOSVFVRSBvciBQUklNQVJZIEtFWSBjb25zdHJhaW50IGNhbm5vdCBiZSBkcm9wcGVkAHRhYmxlICVzIG1heSBub3QgYmUgZHJvcHBlZAB2aWV3ICVzIGlzIGNpcmN1bGFybHkgZGVmaW5lZAB1bm9wZW5lZABkYXRhYmFzZSBkaXNrIGltYWdlIGlzIG1hbGZvcm1lZAAlcyBjb25zdHJhaW50IGZhaWxlZABGT1JFSUdOIEtFWSBjb25zdHJhaW50IGZhaWxlZABsYXJnZSBmaWxlIHN1cHBvcnQgaXMgZGlzYWJsZWQAZnRzM3Rva2VuaXplIGRpc2FibGVkAGRhdGFiYXNlICVzIGlzIGxvY2tlZABkYXRhYmFzZSBpcyBsb2NrZWQAZGF0YWJhc2UgdGFibGUgaXMgbG9ja2VkAGF1dGhvcml6YXRpb24gZGVuaWVkAGFjY2VzcyBwZXJtaXNzaW9uIGRlbmllZAB0YWJsZSAlUyBoYXMgJWQgY29sdW1ucyBidXQgJWQgdmFsdWVzIHdlcmUgc3VwcGxpZWQAdGVtcG9yYXJ5IHRhYmxlIG5hbWUgbXVzdCBiZSB1bnF1YWxpZmllZAB0YWJsZSAlcyBtYXkgbm90IGJlIG1vZGlmaWVkAGNvbmZsaWN0aW5nIE9OIENPTkZMSUNUIGNsYXVzZXMgc3BlY2lmaWVkAG5vIHRhYmxlcyBzcGVjaWZpZWQAZGF0YWJhc2UgaXMgYWxyZWFkeSBhdHRhY2hlZABkYXRhYmFzZSBzY2hlbWEgaGFzIGNoYW5nZWQAZXhjbHVkZWQAUGFnZSAldTogcG9pbnRlciBtYXAgcmVmZXJlbmNlZABSb3dTZXRBZGQARmlsdGVyQWRkAHByZWFkAFJvd1NldFJlYWQAT3BlblJlYWQAJTA0ZAAlMDNkACUwMmQ6JTAyZDolMDJkACUwNGQtJTAyZC0lMDJkACUyZAAyMDI0LTAxLTE1IDE3OjAxOjEzIDEwNjY2MDJiMmIxOTc2ZmU1OGI1MTUwNzc3Y2NlZDg5NGFmMTdjODAzZTA2OGY1OTE4MzkwZDY5MTViNDZlMWQANDBmLTIxYS0yMWQANTBmLTIwYS0yMGQANDBmLTIwYS0yMGQAc3FsaXRlX3N0YXQlZABjb2x1bW4lZABzcWxpdGVfYXV0b2luZGV4XyVzXyVkAHZhcmlhYmxlIG51bWJlciBtdXN0IGJlIGJldHdlZW4gPzEgYW5kID8lZAB1bmFibGUgdG8gZ2V0IHRoZSBwYWdlLiBlcnJvciBjb2RlPSVkAGsoJWQAVVBEQVRFICVRLnNxbGl0ZV9tYXN0ZXIgU0VUIHJvb3RwYWdlPSVkIFdIRVJFICMlZCBBTkQgcm9vdHBhZ2U9IyVkAFVQREFURSAlUS5zcWxpdGVfbWFzdGVyIFNFVCB0eXBlPSclcycsIG5hbWU9JVEsIHRibF9uYW1lPSVRLCByb290cGFnZT0jJWQsIHNxbD0lUSBXSEVSRSByb3dpZD0jJWQAVVBEQVRFICVRLnNxbGl0ZV9tYXN0ZXIgU0VUIHR5cGU9J3RhYmxlJywgbmFtZT0lUSwgdGJsX25hbWU9JVEsIHJvb3RwYWdlPTAsIHNxbD0lUSBXSEVSRSByb3dpZD0jJWQAdG9vIG1hbnkgYXR0YWNoZWQgZGF0YWJhc2VzIC0gbWF4ICVkAHRvbyBtYW55IGFyZ3VtZW50cyBvbiAlcygpIC0gbWF4ICVkAGV4cGVjdGVkICVkIGNvbHVtbnMgZm9yICclcycgYnV0IGdvdCAlZABhdHRlbXB0IHRvIG9wZW4gIiVzIiBhcyBmaWxlIGRlc2NyaXB0b3IgJWQAYnRyZWVJbml0UGFnZSgpIHJldHVybnMgZXJyb3IgY29kZSAlZAAlciAlcyBCWSB0ZXJtIG91dCBvZiByYW5nZSAtIHNob3VsZCBiZSBiZXR3ZWVuIDEgYW5kICVkAHN1Yi1zZWxlY3QgcmV0dXJucyAlZCBjb2x1bW5zIC0gZXhwZWN0ZWQgJWQASU4oLi4uKSBlbGVtZW50IGhhcyAlZCB0ZXJtJXMgLSBleHBlY3RlZCAlZAAlc0xJU1QgU1VCUVVFUlkgJWQAUkVVU0UgTElTVCBTVUJRVUVSWSAlZAAlc1NDQUxBUiBTVUJRVUVSWSAlZABSRVVTRSBTVUJRVUVSWSAlZABJTkRFWCAlZAB0b28gbWFueSBGUk9NIGNsYXVzZSB0ZXJtcywgbWF4OiAlZAByd2MAdXRjAGRlc2MAYXNjAGNoZWNrcG9pbnRfZnVsbGZzeW5jAGZ1bGxfZnN5bmMAY2hhcmluZGV4RnVuYwBzcXJ0RnVuYwBjb3RGdW5jAHJpZ2h0RnVuYwBsZWZ0RnVuYwBhY29zRnVuYwBmbG9vckZ1bmMAcG93ZXJGdW5jAHN0cmZpbHRlckZ1bmMAcHJvcGVyRnVuYwBwYWRyRnVuYwBleHBGdW5jAGFzaW5GdW5jAHNpZ25GdW5jAGF0YW5GdW5jAGNlaWxGdW5jAHBhZGxGdW5jAGNvdGhGdW5jAGFjb3NoRnVuYwBhc2luaEZ1bmMAYXRhbmhGdW5jAGxvZ0Z1bmMAcmFkMmRlZ0Z1bmMAcmV2ZXJzZUZ1bmMAUHVyZUZ1bmMAc3F1YXJlRnVuYwBkaWZmZXJlbmNlRnVuYwBkZWcycmFkRnVuYwBwYWRjRnVuYwBhdG4yRnVuYwBsb2cxMEZ1bmMAZW5jAG51bWVyaWMAMT09YXJnYwBTcWxFeGVjAHN1YnNlYwBwYWRjACUuNGMlcyUuMTZjAHNxbGl0ZS1zcmMvc3FsaXRlLWFtYWxnYW1hdGlvbi0zNDUwMDAwL2V4dGVuc2lvbi1mdW5jdGlvbnMuYwAlcy9ldGlscXNfJWxseCVjAHVucmVjb2duaXplZCBtYXRjaGluZm8gcmVxdWVzdDogJWMAR29zdWIAZ2xvYgB6ZXJvYmxvYgByYW5kb21ibG9iAEJsb2IAanNvbmIAaWxiAGl0aWxpYgBtZW1kYgBBVFRBQ0ggJVEgQVMgdmFjdXVtX2RiAHJvdGEAZXZpdGEAbGFub2l0YQBldGEAUm93RGF0YQBTb3J0ZXJEYXRhAGljbmEAc3FsaXRlX3RlbXBfc2NoZW1hAHNxbGl0ZV9zY2hlbWEAd3JpdGFibGVfc2NoZW1hAHRydXN0ZWRfc2NoZW1hAGNvcnJ1cHQgc2NoZW1hAFBhcnNlU2NoZW1hAGlsbGEAZXppbGEAaXRpbGEAbXNpbGEAc3FsaXRlXwBwcmFnbWFfAFNRTElURV8AX1JPV0lEXwAlcyBhdCBsaW5lICVkIG9mIFslLjEwc10AYmluZCBvbiBhIGJ1c3kgcHJlcGFyZWQgc3RhdGVtZW50OiBbJXNdAG1hbGZvcm1lZCBNQVRDSCBleHByZXNzaW9uOiBbJXNdAFslbGxkXQBbXQBbAExFRlQtTU9TVCBTVUJRVUVSWQBDT01QT1VORCBRVUVSWQBBTlkAZ2VuZXJhdGVkIGNvbHVtbnMgY2Fubm90IGJlIHBhcnQgb2YgdGhlIFBSSU1BUlkgS0VZAEFVVE9JTkNSRU1FTlQgaXMgb25seSBhbGxvd2VkIG9uIGFuIElOVEVHRVIgUFJJTUFSWSBLRVkAZG9jaWQgSU5URUdFUiBQUklNQVJZIEtFWQBGT1JFSUdOIEtFWQBVU0UgVEVNUCBCLVRSRUUgRk9SICVzT1JERVIgQlkAR1JPVVAgQlkAaWlzWABpc2lYAEFVVE9NQVRJQyBQQVJUSUFMIENPVkVSSU5HIElOREVYAEFVVE9NQVRJQyBDT1ZFUklORyBJTkRFWAAtbWolMDZYOSUwMlgAU0NBTiBDT05TVEFOVCBST1cAVklFVwBqc29uX29iamVjdCgpIGxhYmVscyBtdXN0IGJlIFRFWFQARklSU1QATEFTVABFWENFUFQATk9UACBJTlQASWR4TFQAU2Vla0xUAFNFVCBERUZBVUxUAE1VVEVYX09NSVQAQ09NTUlUAExJTUlUAFJJR0hUAElkeEdUAFNlZWtHVABMRUZUAERJU1RJTkNUAFJFU1RSSUNUAElOVEVSU0VDVAB0b28gbWFueSB0ZXJtcyBpbiBjb21wb3VuZCBTRUxFQ1QAdW5rbm93biBqb2luIHR5cGU6ICVUJXMlVCVzJVQALSVUAHRvbyBtYW55IGFyZ3VtZW50cyBvbiBmdW5jdGlvbiAlVAB1bmtub3duIGRhdGFiYXNlICVUAGZvcmVpZ24ga2V5IG9uICVzIHNob3VsZCByZWZlcmVuY2Ugb25seSBvbmUgY29sdW1uIG9mIHRhYmxlICVUAENSRUFURSBWSVJUVUFMIFRBQkxFICVUAGhleCBsaXRlcmFsIHRvbyBiaWc6ICVzJSNUAG5vIHN1Y2ggZnVuY3Rpb246ICUjVABub3QgYXV0aG9yaXplZCB0byB1c2UgZnVuY3Rpb246ICUjVABERUZBVUxUX1JFQ1VSU0lWRV9UUklHR0VSUwBJTlMARU5BQkxFX0ZUUzNfUEFSRU5USEVTSVMARElTQUJMRV9MRlMAJXMgJVMAbm8gc3VjaCBpbmRleDogJVMAY2Fubm90IGNyZWF0ZSAlcyB0cmlnZ2VyIG9uIHZpZXc6ICVTAG5vIHN1Y2ggdHJpZ2dlcjogJVMAY2Fubm90IGNyZWF0ZSBJTlNURUFEIE9GIHRyaWdnZXIgb24gdGFibGU6ICVTAE1BVEVSSUFMSVpFICUhUwBDTy1ST1VUSU5FICUhUwBVU0lORyBJTkRFWCAlcyBGT1IgSU4tT1BFUkFUT1IAVVNJTkcgUk9XSUQgU0VBUkNIIE9OIFRBQkxFICVzIEZPUiBJTi1PUEVSQVRPUgBNVUxUSS1JTkRFWCBPUgBTUUxJVEVfVE1QRElSAEFGVEVSAElOVEVHRVIAT1JERVIATkVBUgBERUxFVEUgRlJPTSAlUS4lcyBXSEVSRSAlcz0lUQBuYW1lPSVRIEFORCBzcWw9JVEAREVMRVRFIEZST00gJVEuc3FsaXRlX3NlcXVlbmNlIFdIRVJFIG5hbWU9JVEALCB4LiVRAFNFTEVDVCAqIEZST00gJVEuJVEAVVBEQVRFICIldyIuc3FsaXRlX3NlcXVlbmNlIHNldCBuYW1lID0gJVEgV0hFUkUgbmFtZSA9ICVRAFVQREFURSAiJXciLnNxbGl0ZV9tYXN0ZXIgU0VUIHNxbCA9IHByaW50ZignJSUuJWRzLCAnLHNxbCkgfHwgJVEgfHwgc3Vic3RyKHNxbCwxK2xlbmd0aChwcmludGYoJyUlLiVkcycsc3FsKSkpIFdIRVJFIHR5cGUgPSAndGFibGUnIEFORCBuYW1lID0gJVEAYmFkIEpTT04gcGF0aDogJVEAU0VUVVAAR1JPVVAAUkVDVVJTSVZFIFNURVAAU05hTgBRTmFOAG1hbGZvcm1lZCBKU09OAE5PIEFDVElPTgBPTUlUX0xPQURfRVhURU5TSU9OAFVOSU9OACBMRUZULUpPSU4AQkVHSU4ALGFyZyBISURERU4ALHNjaGVtYSBISURERU4AU0NBTgBERUZBVUxUX0FVVE9WQUNVVU0AIE5VTQBQTQBSVFJJTQBBTQBDYW5ub3QgYWRkIGEgTk9UIE5VTEwgY29sdW1uIHdpdGggZGVmYXVsdCB2YWx1ZSBOVUxMAE5PVCBOVUxMAFNFVCBOVUxMAFNFTEVDVCAxIEZST00gJVEuJyVxX3NlZ21lbnRzJyBXSEVSRSBibG9ja2lkPT8gQU5EIGJsb2NrIElTIE5VTEwAVU5JT04gQUxMACBSRUFMAENIRUNLAGFib3J0IGR1ZSB0byBST0xMQkFDSwBNQVRDSABTRUFSQ0gAVVNJTkcARU5BQkxFX05PUk1BTElaRQAgVU5JUVVFAERFTEVURQBVUERBVEUAUkVMRUFTRQBOT0NBU0UAQkVGT1JFAENSRQBOT05FAElkeExFAFNlZWtMRQBUQUJMRQAxNkxFAElkeEdFAFNlZWtHRQAlcyBVU0lORyBURU1QIEItVFJFRQBDQVNDQURFADE2QkUAQU5EAFJPV0lEAE9JRABESVJFQ1RfT1ZFUkZMT1dfUkVBRABERVNDAFNFTEVDVCBpZHgsIHN0YXJ0X2Jsb2NrLCBsZWF2ZXNfZW5kX2Jsb2NrLCBlbmRfYmxvY2ssIHJvb3QgRlJPTSAlUS4nJXFfc2VnZGlyJyBXSEVSRSBsZXZlbCA9ID8gT1JERVIgQlkgaWR4IEFTQwBTRUxFQ1QgaWR4LCBzdGFydF9ibG9jaywgbGVhdmVzX2VuZF9ibG9jaywgZW5kX2Jsb2NrLCByb290IEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgQkVUV0VFTiA/IEFORCA/T1JERVIgQlkgbGV2ZWwgREVTQywgaWR4IEFTQwBTRUxFQ1QgbGV2ZWwsIGlkeCwgZW5kX2Jsb2NrIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgQkVUV0VFTiA/IEFORCA/IE9SREVSIEJZIGxldmVsIERFU0MsIGlkeCBBU0MAU0VMRUNUIGlkeCBGUk9NICVRLiclcV9zZWdkaXInIFdIRVJFIGxldmVsPT8gT1JERVIgQlkgMSBBU0MAU1lTVEVNX01BTExPQwBCTE9CAEJCQgBAAFVQREFURSBPUiBGQUlMICVRLiclcV9zZWdkaXInIFNFVCBsZXZlbD0tMSxpZHg9PyBXSEVSRSBsZXZlbD0/IEFORCBpZHg9PwBVUERBVEUgJVEuJyVxX3NlZ2RpcicgU0VUIGlkeCA9ID8gV0hFUkUgbGV2ZWw9PyBBTkQgaWR4PT8AJXM9PwBTRUxFQ1QgJXMgV0hFUkUgcm93aWQ9PwBTRUxFQ1Qgc2l6ZSBGUk9NICVRLiclcV9kb2NzaXplJyBXSEVSRSBkb2NpZD0/AFNFTEVDVCB2YWx1ZSBGUk9NICVRLiclcV9zdGF0JyBXSEVSRSBpZD0/AD8sPyw/AERFTEVURSBGUk9NICVRLiclcV9zZWdkaXInIFdIRVJFIGxldmVsIEJFVFdFRU4gPyBBTkQgPwBTRUxFQ1QgbWF4KGxldmVsKSBGUk9NICVRLiclcV9zZWdkaXInIFdIRVJFIGxldmVsIEJFVFdFRU4gPyBBTkQgPwBERUxFVEUgRlJPTSAlUS4nJXFfc2VnbWVudHMnIFdIRVJFIGJsb2NraWQgQkVUV0VFTiA/IEFORCA/AFVQREFURSAlUS4nJXFfc2VnZGlyJyBTRVQgc3RhcnRfYmxvY2sgPSA/LCByb290ID0gP1dIRVJFIGxldmVsID0gPyBBTkQgaWR4ID0gPwBTRUxFQ1QgaWR4LCBzdGFydF9ibG9jaywgbGVhdmVzX2VuZF9ibG9jaywgZW5kX2Jsb2NrLCByb290IEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/IEFORCBpZHggPSA/AERFTEVURSBGUk9NICVRLiclcV9zZWdkaXInIFdIRVJFIGxldmVsID0gPyBBTkQgaWR4ID0gPwBERUxFVEUgRlJPTSAlUS4nJXFfc2VnZGlyJyBXSEVSRSBsZXZlbCA9ID8AU0VMRUNUIGNvdW50KCopIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/AFNFTEVDVCAlcyBXSEVSRSByb3dpZCA9ID8AREVMRVRFIEZST00gJVEuJyVxX2NvbnRlbnQnIFdIRVJFIHJvd2lkID0gPwBERUxFVEUgRlJPTSAlUS4nJXFfZG9jc2l6ZScgV0hFUkUgZG9jaWQgPSA/ACwgPwA8ZXhwcj4APGI+ADxiPi4uLjwvYj4ALT4+AC0+AHNlcGFyYXRvcnM9AHRva2VuY2hhcnM9AGF1dG9tZXJnZT0APABJTlNFUlQgSU5UTyAlUS5zcWxpdGVfbWFzdGVyIFZBTFVFUygnaW5kZXgnLCVRLCVRLCMlZCwlUSk7AENSRUFURSBUQUJMRSAlUS4nJXFfc2VnbWVudHMnKGJsb2NraWQgSU5URUdFUiBQUklNQVJZIEtFWSwgYmxvY2sgQkxPQik7AENSRUFURSBUQUJMRSAlUS4nJXFfZG9jc2l6ZScoZG9jaWQgSU5URUdFUiBQUklNQVJZIEtFWSwgc2l6ZSBCTE9CKTsAQ1JFQVRFIFRBQkxFIElGIE5PVCBFWElTVFMgJVEuJyVxX3N0YXQnKGlkIElOVEVHRVIgUFJJTUFSWSBLRVksIHZhbHVlIEJMT0IpOwBDUkVBVEUgVEFCTEUgJVEuJyVxX3NlZ2RpcicobGV2ZWwgSU5URUdFUixpZHggSU5URUdFUixzdGFydF9ibG9jayBJTlRFR0VSLGxlYXZlc19lbmRfYmxvY2sgSU5URUdFUixlbmRfYmxvY2sgSU5URUdFUixyb290IEJMT0IsUFJJTUFSWSBLRVkobGV2ZWwsIGlkeCkpOwBVUERBVEUgJVEuc3FsaXRlX21hc3RlciBTRVQgdGJsX25hbWUgPSAlUSwgbmFtZSA9IENBU0UgV0hFTiB0eXBlPSd0YWJsZScgVEhFTiAlUSBXSEVOIG5hbWUgTElLRSAnc3FsaXRlWF9hdXRvaW5kZXglJScgRVNDQVBFICdYJyAgICAgIEFORCB0eXBlPSdpbmRleCcgVEhFTiAnc3FsaXRlX2F1dG9pbmRleF8nIHx8ICVRIHx8IHN1YnN0cihuYW1lLCVkKzE4KSBFTFNFIG5hbWUgRU5EIFdIRVJFIHRibF9uYW1lPSVRIENPTExBVEUgbm9jYXNlIEFORCAodHlwZT0ndGFibGUnIE9SIHR5cGU9J2luZGV4JyBPUiB0eXBlPSd0cmlnZ2VyJyk7AElOU0VSVCBJTlRPICIldyIuIiV3IigiJXciKSBWQUxVRVMoJ2ludGVncml0eS1jaGVjaycpOwBEUk9QIFRBQkxFIElGIEVYSVNUUyAlUS4nJXFfc2VnbWVudHMnO0RST1AgVEFCTEUgSUYgRVhJU1RTICVRLiclcV9zZWdkaXInO0RST1AgVEFCTEUgSUYgRVhJU1RTICVRLiclcV9kb2NzaXplJztEUk9QIFRBQkxFIElGIEVYSVNUUyAlUS4nJXFfc3RhdCc7JXMgRFJPUCBUQUJMRSBJRiBFWElTVFMgJVEuJyVxX2NvbnRlbnQnOwBBTFRFUiBUQUJMRSAlUS4nJXFfY29udGVudCcgIFJFTkFNRSBUTyAnJXFfY29udGVudCc7AEFMVEVSIFRBQkxFICVRLiclcV9zdGF0JyAgUkVOQU1FIFRPICclcV9zdGF0JzsAQUxURVIgVEFCTEUgJVEuJyVxX3NlZ21lbnRzJyBSRU5BTUUgVE8gJyVxX3NlZ21lbnRzJzsAQUxURVIgVEFCTEUgJVEuJyVxX3NlZ2RpcicgICBSRU5BTUUgVE8gJyVxX3NlZ2Rpcic7AEFMVEVSIFRBQkxFICVRLiclcV9kb2NzaXplJyAgUkVOQU1FIFRPICclcV9kb2NzaXplJzsAOm1lbW9yeToAZmlsZToALTllOTk5ADkuMGU5OTkAKy0gCgkwMTIzNDU2Nzg5AFx1MDAwOQBTdHJpbmc4AHV0ZjgAVVRGOABVVEYtOABNQVhfRlVOQ1RJT05fQVJHPTEyNwBERUZBVUxUX1NFQ1RPUl9TSVpFPTQwOTYAREVGQVVMVF9QQUdFX1NJWkU9NDA5NgBNQVhfVkFSSUFCTEVfTlVNQkVSPTMyNzY2AE1BWF9QQUdFX1NJWkU9NjU1MzYAVVRGMTYAVVRGLTE2AHA1AHRvbyBtYW55IHJlZmVyZW5jZXMgdG8gIiVzIjogbWF4IDY1NTM1AEZMQUdTIHBhcmFtZXRlciB0byBqc29uX3ZhbGlkKCkgbXVzdCBiZSBiZXR3ZWVuIDEgYW5kIDE1AHNxbGl0ZV9zdGF0NABmdHM0AHA0AERFRkFVTFRfRklMRV9GT1JNQVQ9NABJbnQ2NABwd3JpdGU2NABwcmVhZDY0AE1BTExPQ19TT0ZUX0xJTUlUPTEwMjQAc3FsaXRlX3N0YXQzAFNBVkVQT0lOVCBmdHMzAFJPTExCQUNLIFRPIGZ0czMAUkVMRUFTRSBmdHMzAHAzAEVOQUJMRV9GVFMzAHAyAGF0bjIAYXRhbjIAcmVtb3ZlX2RpYWNyaXRpY3M9MgBERUZBVUxUX1NZTkNIUk9OT1VTPTIAREVGQVVMVF9XQUxfU1lOQ0hST05PVVM9MgBhcmdjPT0zIHx8YXJnYz09MgBNQVhfREVGQVVMVF9QQUdFX1NJWkU9ODE5MgBTRUxFQ1QgdGJsLGlkeCxzdGF0IEZST00gJVEuc3FsaXRlX3N0YXQxAEFnZ1N0ZXAxAHJlbW92ZV9kaWFjcml0aWNzPTEAQVRPTUlDX0lOVFJJTlNJQ1M9MQBURU1QX1NUT1JFPTEAYXJnYz09MQB1bmljb2RlNjEAVVBEQVRFIE9SIEZBSUwgJVEuJyVxX3NlZ2RpcicgU0VUIGxldmVsPT8gV0hFUkUgbGV2ZWw9LTEAREVGQVVMVF9KT1VSTkFMX1NJWkVfTElNSVQ9LTEAU0VMRUNUIGxldmVsLCBjb3VudCgqKSBBUyBjbnQgRlJPTSAlUS4nJXFfc2VnZGlyJyAgIEdST1VQIEJZIGxldmVsIEhBVklORyBjbnQ+PT8gIE9SREVSIEJZIChsZXZlbCAlJSAxMDI0KSBBU0MsIDIgREVTQyBMSU1JVCAxAFNFTEVDVCAoU0VMRUNUIG1heChpZHgpIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/KSArIDEAU0VMRUNUJ0lOU0VSVCBJTlRPIHZhY3V1bV9kYi4nfHxxdW90ZShuYW1lKXx8JyBTRUxFQ1QqRlJPTSIldyIuJ3x8cXVvdGUobmFtZSlGUk9NIHZhY3V1bV9kYi5zcWxpdGVfc2NoZW1hIFdIRVJFIHR5cGU9J3RhYmxlJ0FORCBjb2FsZXNjZShyb290cGFnZSwxKT4wAFNFTEVDVCBzcWwgRlJPTSAiJXciLnNxbGl0ZV9zY2hlbWEgV0hFUkUgdHlwZT0ndGFibGUnQU5EIG5hbWU8PidzcWxpdGVfc2VxdWVuY2UnIEFORCBjb2FsZXNjZShyb290cGFnZSwxKT4wAHJlbW92ZV9kaWFjcml0aWNzPTAATUFYX1dPUktFUl9USFJFQURTPTAAREVGQVVMVF9XT1JLRVJfVEhSRUFEUz0wAE1BWF9NTUFQX1NJWkU9MABERUZBVUxUX01NQVBfU0laRT0wAFRIUkVBRFNBRkU9MAA5MjIzMzcyMDM2ODU0Nzc1ODAAREVGQVVMVF9QQ0FDSEVfSU5JVFNaPTIwAGxvZzEwAE1BWF9BVFRBQ0hFRD0xMABcdTAwAE1BWF9DT01QT1VORF9TRUxFQ1Q9NTAwAD8wMDAATUFYX0NPTFVNTj0yMDAwAERFRkFVTFRfQ0FDSEVfU0laRT0tMjAwMABERUZBVUxUX1dBTF9BVVRPQ0hFQ0tQT0lOVD0xMDAwAE1BWF9FWFBSX0RFUFRIPTEwMDAATUFYX1RSSUdHRVJfREVQVEg9MTAwMABcdTAwMDAATUFYX0xJS0VfUEFUVEVSTl9MRU5HVEg9NTAwMDAATUFYX1ZEQkVfT1A9MjUwMDAwMDAwAE1BWF9MRU5HVEg9MTAwMDAwMDAwMABNQVhfU1FMX0xFTkdUSD0xMDAwMDAwMDAwAHNlY29uZCBhcmd1bWVudCB0byAlI1QoKSBtdXN0IGJlIGEgY29uc3RhbnQgYmV0d2VlbiAwLjAgYW5kIDEuMABDT01QSUxFUj1jbGFuZy0xOC4wLjAAL3Byb2Mvc2VsZi9mZC8AJVEuAE4uAC0tACwAbm9za2lwc2NhbioAdW5vcmRlcmVkKgBzej1bMC05XSoAKHN1YnF1ZXJ5LSV1KQAoam9pbi0ldSkAQmFkIHB0ciBtYXAgZW50cnkga2V5PSV1IGV4cGVjdGVkPSgldSwldSkgZ290PSgldSwldSkAbWF4IHJvb3RwYWdlICgldSkgZGlzYWdyZWVzIHdpdGggaGVhZGVyICgldSkAQ1JFQVRFIFRBQkxFIHgodHlwZSB0ZXh0LG5hbWUgdGV4dCx0YmxfbmFtZSB0ZXh0LHJvb3RwYWdlIGludCxzcWwgdGV4dCkAQ1JFQVRFIFRBQkxFICVRLiVzKCVzKQBhdXRvbWF0aWMgaW5kZXggb24gJXMoJXMpAEFOWSglcykASU5TRVJUIElOVE8gJVEuJyVxX2NvbnRlbnQnIFZBTFVFUyglcykAQ1JFQVRFIFRBQkxFICVRLiclcV9jb250ZW50JyglcykAbWFsZm9ybWVkIGRhdGFiYXNlIHNjaGVtYSAoJXMpAE1FUkdFICglcykAQ1JFQVRFIFRBQkxFICVRLnNxbGl0ZV9zZXF1ZW5jZShuYW1lLHNlcSkAQ1JFQVRFIFRBQkxFIHgoaW5wdXQsIHRva2VuLCBzdGFydCwgZW5kLCBwb3NpdGlvbikAVVBEQVRFICIldyIuc3FsaXRlX21hc3RlciBTRVQgc3FsID0gc3FsaXRlX2Ryb3BfY29sdW1uKCVkLCBzcWwsICVkKSBXSEVSRSAodHlwZT09J3RhYmxlJyBBTkQgdGJsX25hbWU9JVEgQ09MTEFURSBub2Nhc2UpAG1lbWRiKCVwLCVsbGQpACVzKCVkKQB6ZXJvYmxvYiglZCkARlRTIGV4cHJlc3Npb24gdHJlZSBpcyB0b28gbGFyZ2UgKG1heGltdW0gZGVwdGggJWQpAEV4cHJlc3Npb24gdHJlZSBpcyB0b28gbGFyZ2UgKG1heGltdW0gZGVwdGggJWQpAChibG9iKQBVU0UgVEVNUCBCLVRSRUUgRk9SICVzKE9SREVSIEJZKQBVU0UgVEVNUCBCLVRSRUUgRk9SICVzKERJU1RJTkNUKQBQUkFHTUEgIiV3Ii5pbnRlZ3JpdHlfY2hlY2soJVEpAFVQREFURSAiJXciLnNxbGl0ZV9tYXN0ZXIgU0VUIHNxbCA9IHNxbGl0ZV9yZW5hbWVfY29sdW1uKHNxbCwgdHlwZSwgbmFtZSwgJVEsICVRLCAlZCwgJVEsICVkLCAlZCkgV0hFUkUgbmFtZSBOT1QgTElLRSAnc3FsaXRlWF8lJScgRVNDQVBFICdYJyAgQU5EICh0eXBlICE9ICdpbmRleCcgT1IgdGJsX25hbWUgPSAlUSkAQ1JFQVRFIFRBQkxFIHgoa2V5LHZhbHVlLHR5cGUsYXRvbSxpZCxwYXJlbnQsZnVsbGtleSxwYXRoLGpzb24gSElEREVOLHJvb3QgSElEREVOKQBDUkVBVEUgVEFCTEUgeCh0ZXJtLCBjb2wsIGRvY3VtZW50cywgb2NjdXJyZW5jZXMsIGxhbmd1YWdlaWQgSElEREVOKQBDUkVBVEUgVEFCTEUgeCglcyAlUSBISURERU4sIGRvY2lkIEhJRERFTiwgJVEgSElEREVOKQAoTlVMTCkAJWM/KQBTRUxFQ1QgTk9UIEVYSVNUUyhTRUxFQ1QgZG9jaWQgRlJPTSAlUS4nJXFfY29udGVudCcgV0hFUkUgcm93aWQhPT8pAFJFUExBQ0UgSU5UTyAlUS4nJXFfc2VnZGlyJyBWQUxVRVMoPyw/LD8sPyw/LD8pAFJFUExBQ0UgSU5UTyAlUS4nJXFfc3RhdCcgVkFMVUVTKD8sPykAUkVQTEFDRSBJTlRPICVRLiclcV9kb2NzaXplJyBWQUxVRVMoPyw/KQAsJXMoPykAUkVQTEFDRSBJTlRPICVRLiclcV9zZWdtZW50cycoYmxvY2tpZCwgYmxvY2spIFZBTFVFUyg/LCA/KQBTRUxFQ1QgY29hbGVzY2UoKFNFTEVDVCBtYXgoYmxvY2tpZCkgRlJPTSAlUS4nJXFfc2VnbWVudHMnKSArIDEsIDEpAElOU0VSVCBJTlRPIHZhY3V1bV9kYi5zcWxpdGVfc2NoZW1hIFNFTEVDVCpGUk9NICIldyIuc3FsaXRlX3NjaGVtYSBXSEVSRSB0eXBlIElOKCd2aWV3JywndHJpZ2dlcicpIE9SKHR5cGU9J3RhYmxlJ0FORCByb290cGFnZT0wKQB3cm9uZyBudW1iZXIgb2YgYXJndW1lbnRzIHRvIGZ1bmN0aW9uIHNuaXBwZXQoKQBtaXN1c2Ugb2YgYWdncmVnYXRlOiAlcygpAG1pc3VzZSBvZiAlcyBmdW5jdGlvbiAlI1QoKQB3cm9uZyBudW1iZXIgb2YgYXJndW1lbnRzIHRvIGZ1bmN0aW9uICUjVCgpAHVuc2FmZSB1c2Ugb2YgJSNUKCkAT1JERVIgQlkgbWF5IG5vdCBiZSB1c2VkIHdpdGggbm9uLWFnZ3JlZ2F0ZSAlI1QoKQBGSUxURVIgbWF5IG5vdCBiZSB1c2VkIHdpdGggbm9uLWFnZ3JlZ2F0ZSAlI1QoKQB1bmtub3duIGZ1bmN0aW9uOiAlI1QoKQBtaXN1c2Ugb2YgYWdncmVnYXRlOiAlI1QoKQBhbWJpZ3VvdXMgcmVmZXJlbmNlIHRvICVzIGluIFVTSU5HKCkAVVBEQVRFIHRlbXAuc3FsaXRlX21hc3RlciBTRVQgc3FsID0gc3FsaXRlX3JlbmFtZV9jb2x1bW4oc3FsLCB0eXBlLCBuYW1lLCAlUSwgJVEsICVkLCAlUSwgJWQsIDEpIFdIRVJFIHR5cGUgSU4gKCd0cmlnZ2VyJywgJ3ZpZXcnKQBVUERBVEUgc3FsaXRlX3RlbXBfc2NoZW1hIFNFVCBzcWwgPSBzcWxpdGVfcmVuYW1lX3RhYmxlKCVRLCB0eXBlLCBuYW1lLCBzcWwsICVRLCAlUSwgMSksIHRibF9uYW1lID0gQ0FTRSBXSEVOIHRibF9uYW1lPSVRIENPTExBVEUgbm9jYXNlIEFORCAgIHNxbGl0ZV9yZW5hbWVfdGVzdCglUSwgc3FsLCB0eXBlLCBuYW1lLCAxLCAnYWZ0ZXIgcmVuYW1lJywgMCkgVEhFTiAlUSBFTFNFIHRibF9uYW1lIEVORCBXSEVSRSB0eXBlIElOICgndmlldycsICd0cmlnZ2VyJykALCVzKHguJ2MlZCVxJykASU5TRVJUIElOVE8gJVEuc3FsaXRlX21hc3RlciBWQUxVRVMoJ3RyaWdnZXInLCVRLCVRLDAsJ0NSRUFURSBUUklHR0VSICVxJykASU5TRVJUIElOVE8gJVEuJVEoJVEpIFZBTFVFUygnZmx1c2gnKQBTRUxFQ1QgMiAqIHRvdGFsKDEgKyBsZWF2ZXNfZW5kX2Jsb2NrIC0gc3RhcnRfYmxvY2spICAgRlJPTSAoU0VMRUNUICogRlJPTSAlUS4nJXFfc2VnZGlyJyAgICAgICAgIFdIRVJFIGxldmVsID0gPyBPUkRFUiBCWSBpZHggQVNDIExJTUlUID8gICkACikAQkxPT00gRklMVEVSIE9OICVTICgAU0VMRUNUIHNxbCBGUk9NICIldyIuc3FsaXRlX3NjaGVtYSBXSEVSRSB0eXBlPSdpbmRleCcAREVMRVRFIEZST00gJVEuc3FsaXRlX21hc3RlciBXSEVSRSBuYW1lPSVRIEFORCB0eXBlPSdpbmRleCcAbmFtZT0nJXEnIEFORCB0eXBlPSdpbmRleCcAREVMRVRFIEZST00gJVEuJyVxX2NvbnRlbnQnAERFTEVURSBGUk9NICVRLiclcV9zdGF0JwBERUxFVEUgRlJPTSAlUS4nJXFfc2VnbWVudHMnAERFTEVURSBGUk9NICVRLiclcV9zZWdkaXInAFNFTEVDVCA/IFVOSU9OIFNFTEVDVCBsZXZlbCAvICgxMDI0ICogPykgRlJPTSAlUS4nJXFfc2VnZGlyJwBTRUxFQ1QgbWF4KCBsZXZlbCAlJSAxMDI0ICkgRlJPTSAlUS4nJXFfc2VnZGlyJwBERUxFVEUgRlJPTSAlUS5zcWxpdGVfbWFzdGVyIFdIRVJFIG5hbWU9JVEgQU5EIHR5cGU9J3RyaWdnZXInAERFTEVURSBGUk9NICVRLnNxbGl0ZV9tYXN0ZXIgV0hFUkUgdGJsX25hbWU9JVEgYW5kIHR5cGUhPSd0cmlnZ2VyJwB0YmxfbmFtZT0nJXEnIEFORCB0eXBlIT0ndHJpZ2dlcicAJyUuKnEnACV6LCAnYyVkJXEnAHR5cGU9J3RyaWdnZXInIEFORCBuYW1lPSclcScALCB4LiclcScAaW5kZXggJyVxJwBERUxFVEUgRlJPTSAlUS4nJXFfZG9jc2l6ZScAVVBEQVRFICIldyIuc3FsaXRlX21hc3RlciBTRVQgc3FsID0gc3FsaXRlX3JlbmFtZV90YWJsZSglUSwgdHlwZSwgbmFtZSwgc3FsLCAlUSwgJVEsICVkKSBXSEVSRSAodHlwZSE9J2luZGV4JyBPUiB0YmxfbmFtZT0lUSBDT0xMQVRFIG5vY2FzZSlBTkQgICBuYW1lIE5PVCBMSUtFICdzcWxpdGVYXyUlJyBFU0NBUEUgJ1gnAFNFTEVDVCBDQVNFIFdIRU4gcXVpY2tfY2hlY2sgR0xPQiAnQ0hFQ0sqJyBUSEVOIHJhaXNlKEFCT1JULCdDSEVDSyBjb25zdHJhaW50IGZhaWxlZCcpIFdIRU4gcXVpY2tfY2hlY2sgR0xPQiAnbm9uLSogdmFsdWUgaW4qJyBUSEVOIHJhaXNlKEFCT1JULCd0eXBlIG1pc21hdGNoIG9uIERFRkFVTFQnKSBFTFNFIHJhaXNlKEFCT1JULCdOT1QgTlVMTCBjb25zdHJhaW50IGZhaWxlZCcpIEVORCAgRlJPTSBwcmFnbWFfcXVpY2tfY2hlY2soJVEsJVEpIFdIRVJFIHF1aWNrX2NoZWNrIEdMT0IgJ0NIRUNLKicgT1IgcXVpY2tfY2hlY2sgR0xPQiAnTlVMTConIE9SIHF1aWNrX2NoZWNrIEdMT0IgJ25vbi0qIHZhbHVlIGluKicAVVBEQVRFICIldyIuc3FsaXRlX21hc3RlciBTRVQgc3FsID0gc3FsaXRlX3JlbmFtZV9xdW90ZWZpeCglUSwgc3FsKVdIRVJFIG5hbWUgTk9UIExJS0UgJ3NxbGl0ZVhfJSUnIEVTQ0FQRSAnWCcgQU5EIHNxbCBOT1QgTElLRSAnY3JlYXRlIHZpcnR1YWwlJScAVVBEQVRFIHRlbXAuc3FsaXRlX21hc3RlciBTRVQgc3FsID0gc3FsaXRlX3JlbmFtZV9xdW90ZWZpeCgndGVtcCcsIHNxbClXSEVSRSBuYW1lIE5PVCBMSUtFICdzcWxpdGVYXyUlJyBFU0NBUEUgJ1gnIEFORCBzcWwgTk9UIExJS0UgJ2NyZWF0ZSB2aXJ0dWFsJSUnAHNxbGl0ZVxfJQAkAFNFTEVDVCpGUk9NIiV3IgBTRUxFQ1QqRlJPTSIldyIuIiV3IgBTRUxFQ1QgcmFpc2UoQUJPUlQsJVEpIEZST00gIiV3Ii4iJXciAEFOQUxZWkUgIiV3Ii4iJXciAGZvcmVpZ24ga2V5IG1pc21hdGNoIC0gIiV3IiByZWZlcmVuY2luZyAiJXciAGRvdWJsZS1xdW90ZWQgc3RyaW5nIGxpdGVyYWw6ICIldyIALiIlLipzIgBzeW50YXggZXJyb3IgYWZ0ZXIgY29sdW1uIG5hbWUgIiUuKnMiACVjIiVzIgAoIiVzIgBjYW5ub3QgJXMgJXMgIiVzIgBnZW5lcmF0ZWQgY29sdW1uIGxvb3Agb24gIiVzIgBjYW5ub3QgSU5TRVJUIGludG8gZ2VuZXJhdGVkIGNvbHVtbiAiJXMiAGVycm9yIGluIGdlbmVyYXRlZCBjb2x1bW4gIiVzIgBjYW5ub3QgVVBEQVRFIGdlbmVyYXRlZCBjb2x1bW4gIiVzIgAlcyBpbiAiJXMiAHRyaWdnZXIgIiVzIiBtYXkgbm90IHdyaXRlIHRvIHNoYWRvdyB0YWJsZSAiJXMiAFVQU0VSVCBub3QgaW1wbGVtZW50ZWQgZm9yIHZpcnR1YWwgdGFibGUgIiVzIgB1bnNhZmUgdXNlIG9mIHZpcnR1YWwgdGFibGUgIiVzIgBjYW5ub3QgY3JlYXRlIGEgVEVNUCBpbmRleCBvbiBub24tVEVNUCB0YWJsZSAiJXMiAG5vIHN1Y2ggaW5kZXg6ICIlcyIAdW5rbm93biBkYXRhdHlwZSBmb3IgJXMuJXM6ICIlcyIAY2Fubm90IGRyb3AgJXMgY29sdW1uOiAiJXMiAG5vIHN1Y2ggY29sdW1uOiAiJXMiAFwiAG5vIHN1Y2ggY29sdW1uOiAiJVQiAHVucmVjb2duaXplZCB0b2tlbjogIiVUIgAuIgB3ZWVrZGF5IABub24tdW5pcXVlIGVudHJ5IGluIGluZGV4IAB3cm9uZyAjIG9mIGVudHJpZXMgaW4gaW5kZXggACB2YWx1ZXMgZGlmZmVyIGZyb20gaW5kZXggACBtaXNzaW5nIGZyb20gaW5kZXggACBvZiBpbmRleCAAcm93aWQgbm90IGF0IGVuZC1vZi1yZWNvcmQgZm9yIHJvdyAAJXIgAHN0YXJ0IG9mIAAlZCAlZCAlZCAlZCAAIFVTSU5HIENPVkVSSU5HIElOREVYIABTRUxFQ1QgMSBGUk9NICIldyIuc3FsaXRlX21hc3RlciBXSEVSRSBuYW1lIE5PVCBMSUtFICdzcWxpdGVYXyUlJyBFU0NBUEUgJ1gnIEFORCBzcWwgTk9UIExJS0UgJ2NyZWF0ZSB2aXJ0dWFsJSUnIEFORCBzcWxpdGVfcmVuYW1lX3Rlc3QoJVEsIHNxbCwgdHlwZSwgbmFtZSwgJWQsICVRLCAlZCk9TlVMTCAAU0VMRUNUIDEgRlJPTSB0ZW1wLnNxbGl0ZV9tYXN0ZXIgV0hFUkUgbmFtZSBOT1QgTElLRSAnc3FsaXRlWF8lJScgRVNDQVBFICdYJyBBTkQgc3FsIE5PVCBMSUtFICdjcmVhdGUgdmlydHVhbCUlJyBBTkQgc3FsaXRlX3JlbmFtZV90ZXN0KCVRLCBzcWwsIHR5cGUsIG5hbWUsIDEsICVRLCAlZCk9TlVMTCAAIFVTSU5HIABSSUdIVCBQQVJUIE9GIABDUkVBVEUgAENSRUFURSBUQUJMRSAAIEFORCAAQ09SUkVMQVRFRCAAUFJBR01BIABUcmVlICV1IHBhZ2UgJXUgY2VsbCAldTogAFRyZWUgJXUgcGFnZSAldTogAEZyZWVsaXN0OiAAVHJlZSAldSBwYWdlICV1IHJpZ2h0IGNoaWxkOiAALS0gACV6JVEsIAAiJXciIABAICAALAogIAAqKiogaW4gZGF0YWJhc2UgJXMgKioqCgAAAABkCgEQAABzAAQFAABnAAEDHgB6AAQGAABxAAQJAABRAAQKAAB3AAQOAABjAAAIAABvCAAAAAJ1CgAQAAB4EAAAEAFYEAAAAARmAAEBAABlAAECHgBFAAECDgBHAAEDDgBpCgEQAABuAAAEAAAlAAAHAABwEAANAAFUAAALAABTAAAMAAByCgEPAAAAAAAAAAAwMTIzNDU2Nzg5QUJDREVGMDEyMzQ1Njc4OWFiY2RlZgAteDAAWDA=");n(g,30816,"ZXhwYW5kIDMyLWJ5dGUgawABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEiIyQlJicoKSorLC0uLzAxMjM0NTY3ODk6Ozw9Pj9AYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4ubq7vL2+v8DBwsPExcbHyMnKy8zNzs/Q0dLT1NXW19jZ2tvc3d7f4OHi4+Tl5ufo6err7O3u7/Dx8vP09fb3+Pn6+/z9/v8BAAABAQAAAQABAAEBAAEAAAEAAIgAAACJAAAAigAAAAQFAwUBBQEFAgUCBQEFAQUEBQMFAQUBBQIFAgUBBQEFAgUCBQIFAgUCBQIFAgUCBQQFAwUCBQIFAgUCBQIFAgWpAAAAcAAAAB8ABQFeAAABVAEAAEYAAAAqP1sAJV8AAQ==");n(g,31225,"AQEBAQE=");n(g,31248,"AQCAAEAAAIAAAAAAAAAAAAwMDAwMDAwMDAwAAAAAAAAACgoKCgoKAgICAgICAgICAgICAgICAgICAgKAAAAAQIAqKioqKioiIiIiIiIiIiIiIiIiIiIiIiIiIgAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBSRUlOREVYRURFU0NBUEVBQ0hFQ0tFWUJFRk9SRUlHTk9SRUdFWFBMQUlOU1RFQUREQVRBQkFTRUxFQ1RBQkxFRlRIRU5ERUZFUlJBQkxFTFNFWENMVURFTEVURU1QT1JBUllJU05VTExTQVZFUE9JTlRFUlNFQ1RJRVNOT1ROVUxMSUtFWENFUFRSQU5TQUNUSU9OQVRVUkFMVEVSQUlTRVhDTFVTSVZFWElTVFNDT05TVFJBSU5UT0ZGU0VUUklHR0VSQU5HRU5FUkFURURFVEFDSEFWSU5HTE9CRUdJTk5FUkVGRVJFTkNFU1VOSVFVRVJZV0lUSE9VVEVSRUxFQVNFQVRUQUNIQkVUV0VFTk9USElOR1JPVVBTQ0FTQ0FERUZBVUxUQ0FTRUNPTExBVEVDUkVBVEVDVVJSRU5UX0RBVEVJTU1FRElBVEVKT0lOU0VSVE1BVENIUExBTkFMWVpFUFJBR01BVEVSSUFMSVpFREVGRVJSRURJU1RJTkNUVVBEQVRFVkFMVUVTVklSVFVBTFdBWVNXSEVOV0hFUkVDVVJTSVZFQUJPUlRBRlRFUkVOQU1FQU5EUk9QQVJUSVRJT05BVVRPSU5DUkVNRU5UQ0FTVENPTFVNTkNPTU1JVENPTkZMSUNUQ1JPU1NDVVJSRU5UX1RJTUVTVEFNUFJFQ0VESU5HRkFJTEFTVEZJTFRFUkVQTEFDRUZJUlNURk9MTE9XSU5HRlJPTUZVTExJTUlUSUZPUkRFUkVTVFJJQ1RPVEhFUlNPVkVSRVRVUk5JTkdSSUdIVFJPTExCQUNLUk9XU1VOQk9VTkRFRFVOSU9OVVNJTkdWQUNVVU1WSUVXSU5ET1dCWUlOSVRJQUxMWVBSSU1BUlk=");n(g,32148,"AgACAAgACQAOABAAFAAXABkAGQAdACEAJAApAC4AMAA1ADYAOwA+AEEAQwBFAE4AUQBWAFoAWgBeAGMAZQBpAG8AdwB7AHsAewB+AIEAhACJAI4AkgCTAJgAnACgAKgArgC1ALgAuAC7AL0AwwDGAM4A0wDYANsA3gDiAOwA7wD0APQA+AD8AAMBCQEPARUBFQEbARwBIAEnASsBMgE4AUQBTQFPAVUBWgFcAWMBZwFyAXkBegGBAYcBjQGSAZgBnAGfAagBrQGxAbcBuQG8AcUBxwHJAdIB1gHcAeIB6gHvAe8B7wH/AQgCCwIPAhQCGwIgAikCLQIwAjUCNwI7AkMCSQJMAlUCWgJiAmICZgJvAnQCeQJ/AoIChQKIAooCjwKTAg==");n(g,32449,"BwcFBAYEBQMGBwMGBgcHAwgCBgUEBAMKBAcGCQQCBgUJCQQHAwIEBAYLBgIHBQUJBgoEBgIDBwUJBgYEBQUKBgUHBAUHBgcHBgUHAwcEBwYMCQQGBQQHBgwICAIGBgcGBAUJBQUGAwQJDQICBAYGCAURDAcJBAQGBwUJBAQFAgUIBgQJBQgEAwkFBQYEBgICCQMH");n(g,32608,"6gMAAABAAADrAwAAAAAEAPcDAAAAAACA7AMAAAAAQADtAwAAAAABAO4DAAAACAAA7wMAAAAAgADwAwAAAAAAAfEDAAAAAAAC8gMAAAAAABDzAwAAAQAACPQDAAAAAAAE9gMAAAAAACD1AwAAAAAAQPgDAAACAAAA+QMAAIAAAAD6AwAAAAQAAPsDAAAAEAAAAMqaOwDKmjvQBwAA6AMAAPQBAACAsuYOfwAAAAoAAABQwwAA/n8AAOgDAAAAAAAAAwAAAIsAAACMAAAAjQAAAI4AAACPAAAAkAAAAJEAAACSAAAAkwAAAJQAAACVAAAAlgAAAJcAAACYAAAAmQAAAJoAAACbAAAAnAAAAAMAAACzAAAAjAAAAI0AAACOAAAAjwAAAJAAAAC0AAAAtQAAALYAAACUAAAAlQAAAJYAAAAAAAAAmAAAAJkAAACaAAAAmwAAAJwAAAABAAAAtwAAAIwAAACNAAAAjgAAAI8AAACQAAAAuAAAALkAAAC6AAAAlAAAAJUAAACWAAAAAAAAAJgAAACZAAAAmgAAAJsAAACcAAAAAwAAALsAAAC8AAAAvQAAAL4AAAC/AAAAwAAAAMEAAADCAAAAAAAAAMMAAAAAAAAAxA==");n(g,33096,"xQAAAMY=");n(g,33112,"AQAAANIAAADTAAAA1AAAANUAAADWAAAA1w==");n(g,33188,"2dUF+SChY9c=");n(g,33232,"U1FMaXRlIGZvcm1hdCAzAAABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fAAECAwQFBgcICQoLDA0ODwABAgMEBQYHAAECAwABAABCSU5BUlk=");n(g,33328,"KlUAAItaAAChTwAA0E8AAJ0KAAA3DAAA3CkAAJIKAABWOQAAiiwAAF0kAABkMwAAMgwAAAknAACHRgAA/TUAAIQ6AADkCwAAeyYAAJ85AACRMQAANwoAAN01AAA5CgAAzAYAAJNJAACUTwAArE8AAMpJAAAoLAAA5DUAAIgNAAAxOgAANDoAAAQ7AAAFDwAA0QkAAJ8kAADgCQAA5gkAAEQ6AACsCAAAQAcAALgIAACOTwAAxEkAAI1JAABRJgAAVjoAAKZPAABkQAAAtAkAABwtAABhJwAAmC0AAIctAADeOQAAZCYAAEUOAADhOQAAQg4AAOQ5AABgJgAA/RIAAEonAABUJwAAhiwAALcIAABeJAAAl0UAANQoAADGJwAACzYAAKotAAAcDAAApCUAAJtbAADXMAAAuicAALAtAACPLQAApkYAADY4AAA9MgAA4gQAAOEEAADZBAAABC8AAMIGAABYJgAAviwAACIEAADWCQAA6CkAAKI1AAClMgAAny0AANsMAADKKwAADC8AACYEAAAFOgAAagoAAIA4AAB2OAAAJgYAAFM6AABOJgAA0QwAAMEMAABaQAAA7A0AAPAEAABiOQAAxCUAADsOAABvQAAAFDMAADAKAABuJgAA4gUAAHVaAAALLgAAMiwAAL8JAACoJwAArzQAADg9AABWLAAAkAwAAII5AAD7OgAAHQoAAMYtAAA5MwAAZQoAAJw1AAD4RgAA8EYAAAg7AADOBgAASzoAAA0KAAAXCgAANjMAAHIuAADyOgAAZy4AAOgEAABIJgAAECQAAB05AAD2RQAAV0cAALEUAAA/OAAAGAYAAEwuAADLJAAAHS8AAEpAAAAkLQAAHCQAADgGAACEDAAAljQAAKkmAAC6XAAA+TIAABkuAACBNQAAoS4AAIYuAACsLgAABSwAAFIzAADnBAAAPSwAABYvAABfLAAAySsAAGs2AAA9CgAArgsAAMg1AAC9NQAAsjUAAFRAAACkOQAAAwsAAAkxAAB2JgAAESwAACE3");n(g,34112,"tk4AAFpPAAAZTwAAtEgAAAAAAAABAgACAgABAgEBAQIBAhABAQEBAQECAQEQEBAAAgI=");n(g,34177,"AQIDBAYICAAAAAAAAAEBAgIDAwQEBQUGBgcHCAgJCQoKCwsMDA0NDg4PDxAQERESEhMTFBQVFRYWFxcYGBkZGhobGxwcHR0eHh8fICAhISIiIyMkJCUlJiYnJygoKSkqKisrLCwtLS4uLy8wMDExMjIzMzQ0NTU2Njc3ODg5ORBAAkA=");n(g,34320,"iUkAABRPAABtSQAAqFEAAARPAAAAAQIDBAYIAAAAAABSNgAA+CoAAGgrAAAhACAAHgAcABo=");n(g,34384,"LzMAABUJAABzMQAAhDMAAKsEAADtLQAAAQEDAAUABgAI");n(g,34440,"AQ==");n(g,34465,"BQwPEhUYGyMmLTUAAAAAYQBkAGQAcgAAAG8AcABjAG8AZABlAAAAcAAxAAAAcAAyAAAAcAAzAAAAcAA0AAAAcAA1AAAAYwBvAG0AbQBlAG4AdAAAAGkAZAAAAHAAYQByAGUAbgB0AAAAbgBvAHQAdQBzAGUAZAAAAGQAZQB0AGEAaQBs");n(g,34608,"NCYAAEc5AADAXAAAElwAAANcAACCWwAADVsAAFELAABwOwAAFwsAAPA8AADTLQAAHRwcHBwcHBwcBwccBwccHBwcHBwcHBwcHBwcHBwcHBwHDwgFBBYYCBESFRQXCxoQAwMDAwMDAwMDAwUTDA4NBgUBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQACAgkcHBwCCAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAICHAocGRwbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxsbGxseGxsbGxsbGxsbGxsbGxsbG1RchlJpHQAAXgBVSAA1I1YPACphNlmHEwAAjAAogQAWawAJAAB7UABOBgBBZ5MAiHMAADAAWhgAEQAbRhcaBTyObnoASVtHkT14SgAxAAspAHEAAABtCm90fQ4yfABkABJ5kDiCi1hTJR5+AABsM4OAACIAAIQAYiYnABQtdV0AAGJ0oSc6KXxDIYQ+Py8CQaMmGIoQdp8Lg6BbgBUVKzJSDYleMxNCeS+IBhxzdqJHCRR3l0VEgk1ZXyiTLwV2fXsDGlF2DiAwmFySIx94nXERZAiPfy4EHkZhB4wtgYtQYJ6VSBsdYyyFV34PMSQ8CiV2ZGRVWCpUpklTVo52lBKRSl2llnYMTEtahpBOT6Q9IkCHeg==");n(g,35205,"BAArAABqcgAAAAIAAI8AAAANAAAAAI0AAHc0AACJDAAAPgCKAIUAACQAABxNAAAAADsALw==");n(g,35267,"RQAAAAAAkgMAOgABSwAAAB8AAAAAAH8AaABAQj8AAAAAAC4AEAg=");n(g,35315,"UWUAcBUHQwBPYHYAAEQAAGMsADcATABfICE5GQBmAABX");n(g,35364,"EABBAAEBAQEDAwEBAwMBEgFJSUlJAUlJSUlJSUEBQUFBAUFBQUFBJiZBIwsBAQMDCwsLCwsLAQMDAwFBAQAAAgIIABAQEAAQABAQAAAQEAAAAAICAgAAEh4gQAAAABAQAEAmJiYmJiYmJiYmQAASQEAQQAAAAEAAQEAQEAAAAAAAQABQAEAEBABAUEAQAAAQAAAAAAAQAAAGEAAEGg==");n(g,35533,"QBBQQAAQEAISEg==");n(g,35560,"2AAAANkAAADaAAAAAAAAANsAAADcAAAA3QAAAN4AAADfAAAA4AAAAOE=");n(g,35664,"QgwAAAEQ");n(g,35680,"UzsAAAIUAAAIAAAAAAAAAGcsAAADlQ==");n(g,35712,"8AUAAAQUAAAAgAAAAAAAAM4IAAAFEDgBAAAAAAAAAADvMQAABpU=");n(g,35760,"ui0AAAeU");n(g,35776,"YjgAAAgC");n(g,35792,"5C4AAAQUAAAAACAAAAAAAIpEAAAEFAAAEAAAAAAAAABHCQAACRAmAgAAAAAAAAAAAxMAAAoQ");n(g,35856,"ERcAAAQUAAAAAAAAAQAAAK4qAAACGAAADwAAAAAAAABWCQAADBAvAwAAAAAAAAAA5zEAAA2VNwEAAAAAAAAAAEgOAAAEFAAAAAAIAAAAAACaFAAABBQAAAABAAAAAAAA3jAAAA4U");n(g,35968,"xi4AAA9xKwQAAAAAAAAAAB0JAAAQYQAIAAAAAAAAAABODgAABBQAAABAAAAAAAAARwoAAAIY");n(g,36032,"WxUAAAQUAAAEAAAAAAAAAJVEAAAEFAAACAAAAAAAAAA5CQAAERAbBgAAAAAAAAAAYQwAABIQ");n(g,36096,"Dw8AAAQUAAAAAgAAAAAAAHMsAAATAw==");n(g,36128,"kicAABRhFQMAAAAAAAAAAC4JAAAVYSYFAAAAAAAAAABwJwAAFGEVBgEAAAAAAAAAti4AABZx");n(g,36192,"LTkAABeR");n(g,36208,"cQwAABiQ");n(g,36224,"KzcAAAQUAAAAAAAEAAAAADo5AAAakA==");n(g,36256,"VgoAABuR");n(g,36272,"3TEAABw=");n(g,36288,"ZAkAAB0QCQEAAAAAAAAAABsyAAAeIQ==");n(g,36320,"WgoAABuR");n(g,36336,"BDIAAB+U");n(g,36352,"ggkAACAQCQEAAAAAAAAAAPkEAAAEFAAAAAAQAAAAAADYLgAAFnE=");n(g,36400,"IjwAAAQUAAAAAAAABAAAAIARAAAEFAAAACAAAAAAAABsEAAABBQAAAAQAAAAAAAAuyoAAAIUAAABAAAAAAAAACgzAAAhEA==");n(g,36480,"SBUAAAQUAABAAAAAAAAAAHAEAAAiAg==");n(g,36512,"UQwAACMQ");n(g,36528,"lw4AACSV");n(g,36544,"nScAACVhCAYAAAAAAAAAAHcJAAAmIQ8GAAAAAAAAAAB8JwAAJWEIBwEAAAAAAAAATDUAACcU");n(g,36608,"NAQAACgE");n(g,36624,"XxcAACkQ");n(g,36640,"OUcAAAQUAACAAAAAAAAAAJIqAAACFAAABgAAAAAAAABwCgAAKg==");n(g,36688,"gwoAACsBMgMAAAAAAAAAAClHAAAEFAAAAQAACAAAAABwOwAAVCYAAOw3AACsLAAAECcAAFozAAAeMwAAKzAAAE87AACyNgAA2DUAAFUtAACzMgAAUS4AAEMsAABQRwAAsjYAANg1AABQLQAAoiIAAIENAABqJwAATzsAALI2AACBRAAAtS0AAD4FAACyNgAA0SsAANg1AADiRQAAiDAAAMMUAADpLQAAIgYAAMovAADMDAAAvhQAAFQmAACyNgAArDIAAP4rAAA/LgAA7DcAAOw6AAAXCwAAKTsAAFQmAACyNgAAEjcAAC8EAACUMAAAhTwAAEM1AACQDgAA7zEAANMIAAADAgE=");n(g,36964,"OwA7ADsAOwAAADsAOwA7AAAAOwA7ADsAOwAAAAAAAAA7AAAAAAA7");n(g,37012,"OwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7AAAAAAAAADsAOw==");n(g,37080,"OwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7ADsAOwA7");n(g,37344,"//3//QD////+/v79+/r/AP3/APv+AP3+//4A/Pr+AAD+/fz8/P39+/78/P/+/fwA/wD+/v39/f7+///+/f4A/v4A//75+/v2AAD9AP7///z+APf8//38//3//v/39vz7//8AAPv9+/4AAP7+APv6+Pr6AP7//f/9+/3//v38/vwAAP3+AP37/f//AP7+AAD9AP4A/vz8+gD+AP7+/Pf7+f37+fgA/vT3+/j+/v8A/f3//f/9+//////9+vv4/Pr3+//7/f39/f39/f3+/fv+/f38+vv+/v79//77//77/fv7/Pv7/P4AAAD9/wD99P8AAP37/QD+/P79/gD9+/r7+v7++/X//gD///0A/v3+/f3+9/j6/fz6/////Pr9AP7//f/9+vn6//j//PgA//3//v3//v36//39+/v6/Pv+AP36///+//7+/gD+/v7//v7///z++//+///+/QD//v8A/v/8/v////////4A/vz+/v3/AP/////+//8A/////////////wD9/wD/AAD///3+APz+AP//");n(g,37760,"cAbFBfgEQgFCAQEAJwXGBdMFLQctBy0H1wEAAAAA1gBFBC0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQcPAQ8BwwTDBNgAWAABAAEAAQABAAEAKABvAAIBaQHVAQACRwJuArUC3AIjA0oDkQMxBEUERQRFBEUERQRFBEUERQRFBEUERQRFBEUERQRFBEUERQRFBFkERQTABL0DvQNjBn4G8QYtBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctBy0HLQctB4kAtQC1ALUAtQC1ALUAtQBeAK4BQgBBAHAAbgEVAhUC5ALpBBUCFQJPAE8AFQKcAZwBnAFNAJwBewBxAHEAcQAWABYANAg0CEgBSAFIAe8A1AHUAdQB1AH3A/cDmQFuAaME0AQVAhUCFQIVAhUCFQIVAhUCFQIVAhUCFQIVAhUCFQIVAhUCFQIVAhUCyQNtAm0CFQKCAhQDFANtBG0ENgM2A0MAqQQ0CDQINAg0CDQINAg0CBsFugO6A0kC2AGAAoMBtwIaAh0CvAIVAhUCFQIVAhUCFQIVAhUCFQIVAt4AFQIVAhUCFQIVAhUCFQIVAhUCFQIVAhUCvQS9BL0EFQIVAhUCNQIVAhUCFQKUA3sEFQIVAggFFQIVAhUCFQIVAhUCFQIVAn8CAAXRAGkEaQRpBGkERALRANEAuQQAA5UDiQIjBTYFlQE2BWcF+QAjBSMF+QAjBZUBZwWhBdAB3QSJBYkFiQUrBSsFKwUrBbgAuAA3BcQFWAPKBdAG0AaBBoEG7QbtBoEGhQaHBgoH9gYRBxEHEQcRB4EGGQeaBocGhwaaBgoH9gaaBvYGmgaBBhkHnQb/BoEGGQcoB4EGGQeBBhkHKAfYBtgG2AYNBzoHOgcoB9gG1QbYBg0H2AbYBrEGQgfvBu8GKAeBBgcHBwcfBx8H4QblBmIHgQbdBuEG6wbuBpoGZgd5B3kHiQeJB4kHNAg0CDQINAg0CDQINAg0CDQINAg0CDQINAg0CDQIzwDEBEsBbALHAyYDMgTbBZgFtwXHBYsFjgUVBugFPgY/BmwGbQZ2BnwGEwbhBZQGtgWGBhsGUwY5BowGjwZNBpAGEgYWBpkGnAZFBjUGowenB5UHCweeB58HmQeaBycHHAcyB5wHnAegBykHogcqB6kHugcuBzsHnAc8B4IHmwecBywHjAePB5AHlgdKB1kHrAdDB84HzAe8B2AHMweRB70HkweNB7AHTQdoB8QHyQfLB1wHYwfNB6EHzwfQB8oH0QelB64H0geLB8YH1geqB9MH1wfUB1oH2gfbB9wH2AfdB98HmAdqB+MH5AeIB94H5wdvB+YH4AfhB+IH5QetB7YHsgfoB7sHrwfpB/IH9Af1B/YH9wfsB4MHhAf8B+YH/gf/BwAIAQgCCAMIBggOCAcICAgJCAoIDAgNCAsIpAeSB50HpgcPCBAIFgglCCgI");n(g,38928,"wQDBAMEAEgETARQBwQASARMBFAHBAN8A2wDhAM4A0gDTANQAwQATANsA6QDYANgA2QDYANkAwQAnAdgA2QAfAMEA2ADZAMEA5ADVAOYAJwDOANgA2QArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQDBABMAuQC6ALsAvAC9AL4A/QASARMBFAHDAMEAxQDBAAUBEgETARQB/QDMAO4AzABRACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ABIBEwEUAQYBZgBnAGgAaQBqAGsAbABtAG4AbwBwAHEA7wDwAO8A8ADSANMA1AA6ATsBOgE7ADwBVgD8AFgA/AATADoBOwEAAQEBcQAZAEgAKAGKAIsACgFmAGcAaABpAGoAawBsAG0AbgBvAHAAcQArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQBRACQBOwAkASoBbABtAG4AbwBwAHEARQB0AHUAdgBIAGoAawDBAG8AcABxADYANwA4ADkAOgBmAGcAaABpAGoAawBsAG0AbgBvAHAAcQB4ABkA2ADZAJEAZgBnAGgAaQBqAGsAbABtAG4AbwBwAHEA5wCKAIsAdAB1AHYApACZABMAmwA2ADcAOAA5AGYAZwBoAGkAagBrAGwAbQBuAG8AcABxAIAAgQAuAC8AMAAxACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ANgAwQAZADsAwQATAKUApgDBAEMAGABmAGcAaABpAGoAawBsAG0AbgBvAHAAcQBJANgA2QA7ANgA2QArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQBmAGcAaABpAGoAawBsAG0AbgBvAHAAcQB5AJEAOwDBAHQAdQB2AHcAEQHMAHoAewB8ABMAFACGABYAiACJABMAhAB/AIAAgQAYABYAFwB0AHUAdgAkAMEAZgBnAGgAaQBqAGsAbABtAG4AbwBwAHEA7wDwADcBOAHXAGoAawDxABMAOwDYANkA3wD8AHMAdAB1AHYAlwB4ABoARwDBADQBNQHBAJUAgAA5AdgADQFRACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5AP0A2ADZAGQAXwCZADsAmwAFAWoAawAZAMEAZQDBAMEA5wByABkAdAB1AHYAcQAwAXkAwQDMADsAdwB4AHkAegB7AHwAfQDYANkAwQDYANkAgwCKAIsA5gBmAGcAaABpAGoAawBsAG0AbgBvAHAAcQCZAJoAmwCcAJ0A7wDwAHQAdQB2AEwAwQAXABMAGQAWAP0AFwD8AP0AbABXAMwAWQAFAcYAXAAFAXQAdQB2AMEAMgEzAdgA2QCWACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ADsAwQDYANkAEwDvAPAAGwEXAGoAawBsAG0AbgBvAHAAcQBJAPwA/QCOADQBNQGKAIsAUQA5AZEAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAMwFmAGcAaABpAGoAawBsAG0AbgBvAHAAcQAZAXQAdQB2AB0BFwDBABkAdwA7AMEAegB7AHwAOwB/AMsAOwDNABMADAGEABkAFwAWAMEAigCLAPkAzAD7AGYAZwBoAGkAagBrAGwAbQBuAG8AcABxACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ABMAFgAXADsAFwAZAO8A8AB0AHUAdgDBAAsAdAB1AHYAdAB1AHYA/AANARYAwQAPACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5ABEBjwDBAHYAjwBmAGcAaABpAGoAawBsAG0AbgBvAHAAcQBMAHYAOwDxAHQAdQB2ADAB2ADZACQBjwA8AFkA8QATAFwAwQDBABcAFgA3ATgB5wBlABYAjwBmAGcAaABpAGoAawBsAG0AbgBvAHAAcQArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQATAMEAwQA7ABcAdAB1AHYAOwDJABUA8QAwAcEAzgB/AIAAgQDBAIAAgQDrAOwAMAErACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQAWAMEA2ADZAMEAZgBnAGgAaQBqAGsAbABtAG4AbwBwAHEA5wDBAMEAwQB0AHUAdgDYANkAdAB1AHYA4gBQAMEAEwDrAOwAMAEXANMA1ADnAMwA2ADZAM0AZgBnAGgAaQBqAGsAbABtAG4AbwBwAHEAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAEwDBAHsATADvAPAAwQD9AO8A8ADvAPAA9ABqAGsAwQBZAPwAwQBcADsA/AD+APwAKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAHAGhANgA2QDBAGYAZwBoAGkAagBrAGwAbQBuAG8AcABxAOcAwQD0ALsAvAC9AL4ABwAIAAkANQHDAP4AxQA5ARMAfwCAAIEABgHMABYAdQAYANgA2QARAWYAZwBoAGkAagBrAGwAbQBuAG8AcABxACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5AMEA7wDwAMEAOwATALwA/QC+AMEANwE4ARAAwwD8AMUAwQATAC0BLgGHAMEAzADYANkAjADYANkACgHMAJ8ALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQBmAGcAaABpAGoAawBsAG0AbgBvAHAAcQAMAO8A8ADBACoB7gB1AP0A7wDwAO4AAwEEAcEA/AAbAMEATQDBAE8AzAD8AAYBwQArASwBwQBkAAoBFgEqAMwAZgBnAGgAaQBqAGsAbABtAG4AbwBwAHEAdQCfANgA2QB5ANgA2QA/AMEAwQDBAO8A8ABzAHQAwQAqAUkA8ADuAOcAEwDvAPAA/AAWABgA0wDUAAcB/ADYANkA2ADZAPwAmQCaAJsA/QDBABMAkADVAAwBKwAsAC0ALgAvADAAMQAyADMANAA1ADYANwA4ADkAwQATADsA2ADZACsALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5AMEAEwAYANgA2QArACwALQAuAC8AMAAxADIAMwA0ADUANgA3ADgAOQAcAcEA0ADRAGYAZwBoAGkAagBrAGwAbQBuAG8AcABxAB4BOwDBAOgAdQAjAcEAwQBmAGcAaABpAGoAawBsAG0AbgBvAHAAcQDBAMwAFgAXAMEAGQBCAMEAZgBnAGgAaQBqAGsAbABtAG4AbwBwAHEAwQDBAMEA2ADZAFUAwQDuABMAEADYANkA7gDBAF4AwQDvAPAA5wB1AAwBIwB0ANgA2QDYANkAFgAXAPwAGQDQANEALAAtAC4ALwAwADEAMgAzADQANQA2ADcAOAA5AMEAwQATAAUAOwBCAMEABwEKAAsADAANAA4ASgBlABEAwQAuAMEAkgDBAEwA1QBNAAcBTwAMAAQBHgAuACAACAFXAMEAWQAdAAcBXAAoACEA6AAbAMEAbABmAGcAaABpAGoAawBsAG0AbgBvAHAAcQAqAIoAiwBlAMEAdAB1AHYAEwAUAP8AFgBGAIIAhwBBAAABAQHBAIwATgA/AMEAUQDBACQAwQDYANkAwQBzAMEABwHBAJEADAE7ADAAwQDBAGIAwQBzAMEAIwHYANkAwQA7ANgA2QChANgA2QDYANkA2ADZAIMAwQBHAMEA2ADZANgA2QDYANkAwQAEAdgA2QATAAgBVQCFAPQAZADBAFoAigCLANgA2QDYANkA/gD0AMEAZADBANgA2QB0AHUAagBrAP4AeQDBAHMA2ADZAHIAogB0AHUAdgBzAPQAeQDYANkA2ADZAMEANQHBAB8A/gA5ATUB2ADZADUBOQEnAMEAOQE1AZkAmgCbADkBwQCWABkAkADYANkA2ADZAJkAmgCbAJwAnQAAAAEAAgDYANkABQCVAJYAFgDBAAoACwAMAA0ADgDBAJ4AEQCgAMEAEwAUAHQAFgAZAMEAGAAWAMEAGAAeAOIAIAATABQA4gAWACQAwQA1ACgAwQDYANkAwQAXAMEAGQDYANkAJADYANkAwQBjAMEAwQAWAMEAwQA7ANgA2QDBANgA2QDBANgA2QDBAEYAgQBHADsAgQDBANgA2QBOANgA2QBRANgA2QDBAEcAVQDBAIUAwQB+AFoA2ADZAJgAAgE9AJgAYgBVAMEAZADBABcAWgAZAHkAagBrABcA2ADZANgA2QBkAHIAgwB0AHUAdgBqAGsAeQDYANkA2ADZAMEAcgDBAHQAdQB2AIUAFgB5AMEAOwCKAIsAwQCOAMEAjQAXABcAGQAZAHgAeQDYANkA2ADZAJkAmgCbAJwAnQDYANkAEwCiANgA2QDYANkAmQCaAJsAnACdAAEAAgDBADsABQATABQAPgEWAAoACwAMAA0ADgDBADsAEQDBABcAFwAZABkAJAB1AMEA2ADZAMEAFwAeABkAIAATABQAFwAWABkA2ADZACgA2ADZAAcACAAXADsAGQBTAFQAJAAXAMEAGQAXABcAGQAZAEcAmQCRAJsAdQCZABcAmwAZABcAYQAZAEYAwQDBADsAdQDsAMEAwQBOAMEAwQBRAI0AwQDBAEcAwQBkACABHwHyAP8A/wBqAGsAbAD/AP8AYgDzACkBcgDWAHQAdQB2APUAvwB5AA8BJQELAQsB9gBkAPYA9QAPAQ8BJQFqAGsA3AAPAeUA4QD5ANsAcgADAXQAdQB2AIUAAwF5ANsA2wCKAIsAmQCaAJsAnACdABgB+QDzABMAFAD1ABYAxAADAYwAAwE8ACkBjQApAcgAyACiACYAyAAkACYBmQCaAJsAnACdAJcAlgAmARsBFgArAOoAEgDtAMgADgEQAe0A7QDtABIAOwDHAA4BlQD2ABABEAHIAOoA6gD2APYARwD2AMcAngAiAT4AFgDIABMAFADHABYAIQHdAN0AyADIAMcAxwBzANoAQADaANoAFgAkAOMAfgDjAGQApQDdAOAA4AAYAGoAawA4AdoAMQFxABoBWwByANwAdAB1AHYAOwAaAXkA2gDaANoAyAA9AT0BUgDdAAkBRwCUAJEACQEWABUByACeABcBjACTABkAkgDKAPgA+gD5APcADQD6AMIAwgCZAJoAmwCcAJ0ABgAvAWQAwADAAPYA1QDAAGoAawDPANUAzwDeANUA1QByAN4AdAB1AHYA1gDWAHkABADPANUAAwAWAC8BDwCjABAAFwAXAIsAlwCCABkAFACOABgAEACQAAEAjgCCAIIAPQAlADUALAGXADUANQCZAJoAmwCcAJ0ANQCCAHQAIgABAI0ABQAWAHMAoQBEABkARABLACkAjQBzABgAFAATAIMAfQAXABwAFgBDABYAFgAWAEMAOwAYAGAAFgBDABcAlQAWABkAFwAXABcAFgAiAI0AJQBhABcAFwB0ABYAjwAZACIASwAiACIAIgBYAEsAIgBWABcAFgAiAF0AGAAiABkAGQCOAI4AFwAsABcAFwAXABcACwAXABkAFgAWABYAjQAXABcAFgAWABkADwABABcAGQABAI0AhwA/AT8BPwE/AT8BPwE/AY0APwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AT8BPwE/AQAAAAAAADwC0gA8AncAdADnADwCdwB0AOcAPAIlBXsBEAWaATYCNgI2AjwCmwF8ASUF/wQqACoAKgAqANIA+QVIAEgAzgOlASoAKgDvATEBGQExAc8DjwFIAEgAfgB/AFEAwQTBBB4EIQQUBBQEfAB8AH0AfQB9AH0A4AGbAdwEAQABAEICAgDgBCoCdwB0AOcAPwHkAZMA5AEQAncAdADnABUCMgWjAQ8CjwB+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQB3AHQA5wBJAXsAewB7AHsAegB6AHkAeQB5AHgAdQDAAR4BHgEeAR4BvgG+Ab4BIAZ6ASIGqQR5AYwEOQKMBDkCmwEgBh0CBQHkAMABZgCSAMUBPgEzAvIAewB7AHsAewB6AHoAeQB5AHkAeAB1AMABfgB/AFEAwQTBBB4EIQQUBBQEfAB8AH0AfQB9AH0AjwAoAakEVQHEAXkAeQB5AHgAdQDAAYAAqQSqBKkElQC9AbwBPAJ4AHUAwAF9AH0AfQB9AHYAewB7AHsAewB6AHoAeQB5AHkAeAB1AMABygFyAA0ADQAmAnsAewB7AHsAegB6AHkAeQB5AHgAdQDAAagBPgEzAqkEqgSpBJYAyQSbAckEfQB9AH0AfQB7AHsAewB7AHoAegB5AHkAeQB4AHUAwAHVAVgBEQQRBB8EIgR+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQACBQ4C4ACpBDwCmwHiAAcCsQBTAFQAewB7AHsAewB6AHoAeQB5AHkAeAB1AMAB8gMQABAAqQSGAIYAfgB/AFEAwQTBBB4EIQQUBBQEfAB8AH0AfQB9AH0AewB7AHsAewB6AHoAeQB5AHkAeAB1AMABFQQmAqkEdwGpBKoEqQT+AJ4FkQH8AfkB+AFwADQCOgIEAKEDoQOzAfcBVgHQAUoBagGMAdYEqQSqBKkENwI8AnsAewB7AHsAegB6AHkAeQB5AHgAdQDAAR4BHgFzAS0GRwa9AbwBmwCbAcEBSABIAAkFOQLGBKkEqgSpBFYAyAQRATECIwIIAggCPAJjAMcEBgABBdwBjwB+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQAqAg0ADQAHBP8ByQSpBMkEKQJuAG4A4AA8AtcEsQA8Aq0BbwDHAMEBPQLBAbABEwb7A0cBKwKpBBABIQFyAQICbQEBAgMBSABIACMCSABIAGkBPgEzAk0GewB7AHsAewB6AHoAeQB5AHkAeAB1AMAB+wP7A/0D/gMcAB4BHgGpBKoEqQSHBDwCTAabAYgDwAAqAmYBOQIqAqwDGQIJAocEtQGfAYcELAKpBKoEqQQ8AiQCJAI0ADQA2AB+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQCpBN4BiACIAJsBHgEeAdUF/QF6AHoAeQB5AHkAeAB1AMAB8gM5AgoC2wAhAiECPgEzAo8ABgAYAn4AfwBRAMEEwQQeBCEEFAQUBHwAfAB9AH0AfQB9ABUGewB7AHsAewB6AHoAeQB5AHkAeAB1AMAB6QGpBKoEqQTmARsB9gTAA/4AqQR3AfwB+QH4AakEVgE+AqkEPgKbASYB9wHAA28DwQDkAT4BMwKCASQBfgF7AHsAewB7AHoAegB5AHkAeQB4AHUAwAF+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQCbAYwBcwSpBGgDZQAeAR4BqQSqBKkEdwFIBKkEqgSpBKkEqgSpBDkCywEhAHcB6wB+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQCdBcIDPALmAMEDewB7AHsAewB6AHoAeQB5AHkAeAB1AMABhwTmAKkEngCpBKoEqQQUBg0ADQAvAcAD0QSHBJoAmwGHBHcBMAaZBAUAcwEtBq8B1wQDAMADewB7AHsAewB6AHoAeQB5AHkAeAB1AMABfgB/AFEAwQTBBB4EIQQUBBQEfAB8AH0AfQB9AH0AmwHSADsCqQQIBKkEqgSpBKkEhgFXA5wAEwZ4AZQBTQRNBOwBPALVAVgBKgUqBRMGfgB/AFEAwQTBBB4EIQQUBBQEfAB8AH0AfQB9AH0AggA8Ag0ADQAUAnsAewB7AHsAegB6AHkAeQB5AHgAdQDAATABPALJAeUAqQSqBKkEDQANAKkEqgSpBBQF0wH2BJsBKAUoBRMG9wPJAcgBtAEtAUgASAD0BHsAewB7AHsAegB6AHkAeQB5AHgAdQDAAX4AfwBRAMEEwQQeBCEEFAQUBHwAfAB9AH0AfQB9AJsBgAE0BIcEHgEeAaUBOgEYARgBHwEfAc0BmAGXAQMGhwQ5AjwChwSsBDkCmQE5An4AfwBRAMEEwQQeBCEEFAQUBHwAfAB9AH0AfQB9AMkBzQUNAA0ABQZ7AHsAewB7AHoAegB5AHkAeQB4AHUAwAHKADwCzgEzBkICAgDgBEsDTANNAxsGPwGZAZMABgCbAQEBAAH/ANAAMgUJAKwECAFIAEgAnAV7AHsAewB7AHoAegB5AHkAeQB4AHUAwAF+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQA8Ah4BHgE8Ar0EmwFBAjsB4ASlAXMBLQZkAT8BOQKTAO8BEQJsBo0BpwPvATIFRwBHAKYDSABIAPIAMAVpAFEAwQTBBB4EIQQUBBQEfAB8AH0AfQB9AH0AewB7AHsAewB6AHoAeQB5AHkAeAB1AMABXQQeAR4BjgXEAfgFvQS7AR4BHgHUBUsFOQHeATkCXgTGAV8B7wFiAfIEOQLRADwCogGzADwCBwTyAIEBXwQLAnsAewB7AHsAegB6AHkAeQB5AHgAdQDAAfwDbABIAEgA+wMNAA0AkwM8AtoFPAIeAR4BYgASAgEGxAGUAzYFMQXLAJsBHgEeATkCmADTANoF3AWqATkCOAA4ADkAOQA5AvsD+wP9A78BPAKbARMCDAApAX4AfwBRAMEEwQQeBCEEFAQUBHwAfAB9AH0AfQB9ADwCmwFjAw8ADwB+AH8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQB1ARECCAEsACwAfgBzAFEAwQTBBB4EIQQUBBQEfAB8AH0AfQB9AH0A2gXeAfcEoQF7AHsAewB7AHoAegB5AHkAeQB4AHUAwAHNAL0E7wGuAWMD1AFCAe8BewB7AHsAewB6AHoAeQB5AHkAeAB1AMABPAItAnQEagaOBWoGHwI8AnsAewB7AHsAegB6AHkAeQB5AHgAdQDAATwCjgU8Ag0ADQAeAkMBLQWbAU4BOgA6AF0BjgWSBEYBHgEeASUCvQQsAX8DEgItAC0AOwA7AHQEawY5AmsGNQKhAX8AUQDBBMEEHgQhBBQEFAR8AHwAfQB9AH0AfQBXBXUB9AEiAakEAAJWBasBigGKAYkBEwGHAYADcgRUA94BAgGOBZIEzwGHBAwASwGsAU0BXQTMAewAAgFFAcwBIAIIBocESgTrAYcERAFKBLgBXgRPAQQCewB7AHsAewB6AHoAeQB5AHkAeAB1AMABXwQ+ATMCcgQ8AqkEqgSpBHAANALJAAQA7gCxAacD6gEdAeQA7QWmA6oAMAI8Ao4A7AU3AjwCPAA8ADwCoAE8ArkBPAIXAi4BawMIAOcBPALtADwCoAE8AuUBPQA9ADwCwQE+AD4ATAE/AD8ALgAuAC8ALwBpATwCMQI8AjAAMAAyADIAMwAzADwCJwFAAEAA4gEnARsCnAHXAQcEPAIaAj4BMwJBAEEAQgBCAJkB2wE8AgcEPAIOAA4AawP8A24AbgCZAfsDPALaAUMAQwBvAMcBwQE9AsEBYgA9AfsDhACEAIUAhQA8AhkGPALOA5kBBgAaBkQARAAYBgYAzwM8AgYAFwb7A/sD/QMGAFoB2gBlABMCNQA1AEUARQD7A/sD/QP+AxwAMgadBMMBRgBGACIBVwDXAB8AUwWKAYoBiQETAYcBXgFtAFQDawA8AnAANALjAQQAvAQ8Au8AmQA8AicA7AATBUUBcAA0AhIFBAA3AjwCIABEATwCNgA2ADwCbwRhAY4BpQClADcCpgCmADwCIwFjATwCEQBlATwCwQFNAE0AIQU3ADcAEQVJAEkAPALuANYBMQLBAdgBbAGHAIcAqgBKAEoAjgCjAKMAdgExAhsCPAJBATwCdgMcAokAiQBTAUkFpgEqAe0AGwI8AgcEPAJUARoCZQBxAW4AbgCiAIMAgwCkAKQABwRvAHABwQE9AsEBbgBuAPsDnQCdAI0AjQA8Am8APALBAT0CwQGcASAB+wM8AnIDPgEzAjwC2wA8AvEA9APdAQcBBwF+A30DjACMAIoAigD7A/sD/QP+AxwAiwCLAA0CxwFMAEwATgBOAPsD+wP9A/4DHACdBMMBPAI7BCIBcAA0AicGBACKAYoBiQETAYcBPAL/A1QDPALfAVkBBwFlADcCcgNgBUsASwCNBfUB7AAEAUUBcAA0AmcBBABlACsAKwBEATEAMQCFA4YDoQDBAWUA0QPSAzcCNwRFBQQBxQOkAwcBcgAxAkcEBQJHBDsERgRhA0YElwClA3gEcgDuAFEFLgLBAf8DLwKSBf4EqgD1BOkEjgBBBugE6gQxAjoGBwTwARYB1QBCBTYBbgBuAKsDNwE4Ae0ACwDqAG8A3QDBAT0CwQElAYsB+wOABVEBewV0BVIBBwQrAVcBhQWEBeEBbgBuAPoBkgHhABAFzgBvAW8ATgXBAT0CwQGcAU8F+wPRBdAFPgEzAvsD+wP9A/4DHAAyAs8A3ABQADQChQEEAD0GTQUoAkwF0QS1AAsB6AAABv4FxwHOBKQBNwJSAPsD+wP9A/4DHABWANkAVQDWBb4ArwC3ANEBuQDSASQAgQW6ALsAvADzAcEB9AAlAGMAkAGHBYYF6AGJBcIA2QGTATECywX4AFwA4QXuAcYAFwFwADQC+gAEAFwB8QGVAWAB6wT7APwAAwIkBbIBIwUiBV4ANwIbBXYDGgUHBOIAlgFLBkoGtgFuAG4ALAYGBQwCtwE0AQoBbwAFBcEBPQLBAcEBNQH7A24BBAVJBgkBHgYdBroBdAFlBTECgQAmAmQFCgC+BX8BagA8AScCZAAjABYCPwLUADsFfQGDAaMEOgUSARQB+wP7A/0D/gMcABUBnQEHBEAC5gSEAfEF4QRuAG4ApwDyBagAlADwBe8FbwAyAcEBPQLBAd4A3wD7A0cDqQBPAMIB1gCeAekAQAGRAEUEQwRIAbYAqwC8BJYDuADwAFAB8wBTBL0ArACtAKcBqQFYALQAvwBZAFoA+wP7A/0D/gMcAFsArgBWBPUAUgT2AJ8AEgD3AFsBSwQHAcMAywTtAfkAxAAmAFYD8gFwAf0AaAGBA8UA9gFdABMAFAD7AXQDawH+AV8AMwGgAGAABgJhAJcEJAR6BCgAFQDjALAAeQQaARwByQPIAMMDcgAGAY0EFgAXABgAiQSRBBkAiwR+BCIAGgCQBCICGwDMAGUAZwBoADIEBwAlBCMEJwRcBCgEWwQMAQ0BHQApAA4BAARiA3EAHgA4AogBnwSQALIAngQPAaAD3QTdBN0E3QTdBN0E3QRCBgAAAAAAAAAAcAZwBnAGxgXbBEoF2wTbBNsExgXGBcYF2wRoBWgF+wX8BNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTFBdsE2wTbBNsEHAYcBtsE2wTbBNsE2wTbBNsE2wRxBdsEeAXbBNsE2wTbBNsExwXIBdsE2wTbBPoF/AXXBX8FfgV9BXwF6QVcBXYFbwVzBcIFwwXBBVoGyAXHBdsEcgWiBbIFoQXbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBKoFsQWwBa8FuAWuBasFpAWjBaUFpgXbBNsE8wTbBNsE8AQmBdsE2wTbBNsE2wQOBg0G2wSnBdsE/ASbBZoFmQW1BagFtAWzBQIGQAY/BtgF2wTbBNsE2wTbBNsEHAbbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsEXgUcBhwG2wT8BBwGHAZfBV8F+AT4BGIF2wQJBkEFQQVBBUEFSgVBBdsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBP8F/QXbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wRGBdsE2wTbBNsE2wTbBNsE2wTbBNsE2wQ5BtsE5AU0BUYFRgVGBUYFSAU1BTMFQAX9BOIEaAaCBXcFRwV3BWUGdQWCBYIFdQWCBUcFZQYNBU8GCAVoBWgFaAVeBV4FXgVeBWIFYgXEBUcFQAXbBGgGaAZQBVAFZwZnBlAF2AVXBosFKQUvBS8FLwUvBVAF7QR1BVcGVwZ1BYsFKQV1BSkFdQVQBe0E6AViBlAF7QTOBVAF7QRQBe0EzgUnBScFJwUcBdsE2wTOBScFDQUnBRwFJwUnBS4G2wTSBdIFzgVQBSYGJgZrBWsFcAViBckFUAXbBHAFbgVsBXUFHwU8BjwGOAY4BjgGbQZtBgkGSAb8BPwE/AT8BEgGDwUPBf0E/QT8BEgG2wTbBNsE2wTbBNsEQwbbBAQG2QVUBdsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsEDwbbBNsE2wTbBNsE2wTbBNsE2wTbBJAF2wTeBAYG2wTbBNsE2wTbBNsE2wTbBHkFegVVBdsE2wTbBNsE2wTbBNsEiAXbBNsE2wSDBdsE2wTbBNsE2wTbBNsE2wRkBtsE2wTbBNsE2wTbBOcF5gXbBNsEUgXbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBAsF2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBG0F2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBCsGYwXbBNsE2wTbBFsG2wTbBNsE2wTbBNsE2wTbBNsE2wTbBNsE2wTbBFMGNwWRBdsElAXxBNsE5wTbBNsE");n(g,48880,"vQC9ALwAvgC/AL8AvwC/AL4AvgC+AL4AvgDDAMUAxwDHAMYAxgDEAMQAywDLAM0AzQDOANAA0ADQANEA1QDWANcA1wDXANcA1wDXANcA1wDXANcA1wDXANcA4ADgANwA3ADeAN4A4QDhAOEA4QDiAOIA4gDiAOIA3wDfAOMA4wDjAMoA5QDmAOYA5gDmAOYA6QDaANoA6gDqAOsA6wC+AO0A7QC+AL4AvgDMAMwAzADvAPIA8gDyAPAA8AD8APwA8wDzAPMA/gD0APQA9AD/AP8A9QD1AAEBAQEAAQABAAEAAQAByADIAO4A7gAGAQYBBgEGAQIBAgECAQIBAwEDAQMBCAEEAQQB+QD5AOcA5wDbANsA2wAJAQkBCQH3APcA+AD4APoA+gD6APoAvgD2APYACwELAQsBCwG+AAwBDAEMAQwBvgC+AA8BDwEPAQ8BDwEPARABDQENAQ4BDgEHAQcB2QDZANkA2QDYANgA2ADZANkA2QDZANkA2QDZANkA2QDYANkA2QDZANkA2QDZANkA2QDZABIB2QDZANkA2QDZANkA2QDZANkA2QDZANkAEwETAdkAFAEUAdkA2QDZANkA2QDZABcBFwEYARgBFgEFAf0A/QAVARUBvgAZARkB3QDdAOgA6AAaARoBvgC+AL4AGwEbAb4AvgC+AL4AvgDTANQAvgAdAR8BHwEfASABIAEgASIBIgEeAR4BJAElASUBIwEjASMBIwHZANkA7ADsAOwAvgC+AL4AJwEnAb4AvgC+AL4AvgC+AL4AKAG+AL4AvgAqASwBLQEtAS4BCgEKATEBMQExATAB8QDxADIBMwE0ATQBNAE0ATQBNQE1ATUBOQE7ATsBPAE8AToBOgE9AT0BPgE+AT4B+wARAREBEQE4ATgBNwG5ALoAugC7ALsAuwDAAMAAwADCAMIAvgDLAMkAyQDBAMEA0ADRANIA0gDPAM8A1wDXANcAygDkAOQA5QDpAOsA7wDwAP4A/wAIARAB2QASARYBBQEcARwBHAEcARwB0wAhASEBJAElASYBJgEpASkBKwErASwBLwEvAS8BCgEyATQBAAAAAAAASwAAACQACgBeAAAANAAJAIcAAABeAAEAVgAAAFAAAAAJAAsAJwACAEcAAAB6AAAAQgBDAEQARQBGAAAAN04AAG9PAAAsTwAAAgQIBgYAAAAAAHJvd19udW1iZXIAZGVuc2VfcmFuawByYW5rAHBlcmNlbnRfcmFuawBjdW1lX2Rpc3QAbnRpbGUAbGVhZABsYWc=");n(g,49856,"csIAAEwAAABaAAAAVQAAAH3CAABZAAAAWgAAAFUAAACIwgAAWQAAAFoAAABVAAAAjcIAAFwAAABVAAAAWgAAAJrCAABcAAAAVgAAAFoAAACkwgAATAAAAFUAAABaAAAAqsIAAEwAAABaAAAAWgAAAK/CAABMAAAAWgAAAFUAAABDQURERUIAAGk5AAAIAAAAnHcAAGxJAABwTgAAiEkAABNPAABwTgAAAwQDBwQEAAAKCgkJCAgHBwcGBgYFBQUEBAQEAwMDAwMDAgICAgICAm50aF92YWx1ZQBmaXJzdF92YWx1ZQA5NwAAAAAAAAAAKzAAAEAAAACNRgAAQgAAAHE4AABBAAAAZyYAAEMAAAAAACQgGBUXFi0pKConJiQgPCUAAHElAADXJAAAziUAAAIm");n(g,50176,"OQAAADkAAAA2AAAAOQAAADk=");n(g,50208,"bmF0dXJhbGVmdG91dGVyaWdodGZ1bGxpbm5lcmNyb3Nz");n(g,50257,"BwQGBCgKBSAOBTATBDgXBQEcBQM=");n(g,50288,"MwACAH8AAABhAAIAgAAAAHo=");n(g,50320,"AgAAAGMAAQM7AQgARwACAGsBAgE7AQgARwABALsAAABUAQE=");n(g,50368,"AgABAGMAAQQQAQAARgACAGQABwAfGBERExQAAAAAAABWAQAAPAEEAHUAAwBUAwEARgAAAHUAAwAJAAMAAAAAAIJaAAABAAAAh1oAAAEAAABZOAAAAgAAANU5AAADAAAAUTgAAAIAAADNOQAAAwAAAAZbAAAAAAAAAFs=");n(g,50504,"AgABAGQAAAACAAAAYwABAFQBAQAAAAAAb25vZmZhbHNleWVzdHJ1ZXh0cmFmdWxsAAABAgQJDA8UAgIDBQMEBQQBAAAAAQEDAg==");n(g,50596,"fVoAAEk4AADFOQAAJV8AAAMAAAAB");n(g,50628,"4g==");n(g,50644,"XjAAAAAAAAB4AAAApD0AAAAAAgBAMwAAAAAE");n(g,50688,"ZycAAAEAAABtBgAAAgAAAHlEAAAGAAAAqwQAAIA=");n(g,50728,"AQAAAAE=");n(g,50744,"4w==");n(g,50760,"bDAAAAAAAACtXAAACQ4AAHBbAAAAAAAAyVsAAAAAAAAEAAAAAQ==");n(g,50808,"5A==");n(g,50824,"KAwAAAAAAAACAAAAAQ==");n(g,50848,"5Q==");n(g,50864,"zy8AAAAAAAABAAAAAQ==");n(g,50888,"5g==");n(g,50904,"Xw0AAAAAAACD/90CFQPxACUBhf8//0H/Sf9F/6YA7gCFADH/Of/1/lD/+v/MAOkBQAJWAlH/rgJcA2cC1QL2AwoDDQNZA2gCdwNXAPAAQP+YAXICHANLA1YD7APx/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/vH+8f7x/lAAUwA5AXYDeAOWA6oD/QMKBAwEdQSHBIsEjgSQBJIEmASaBJwEoASsBK4EtQS/BMkEywTUBOQE5gTwBBcFHQUgBSoFLQUwBTkFPAU/BUkFWwVdBWgFagWDBYUFjAWQBZIFsgW+BcEF8f7x/vH+8f7x/vH+8f7x/vH+8f7x/ooAywGMAWL/1gEuASz/CQLJAD3/pP8vAnYCeAJ2AvH+eAKFAz8AlwGeAvH+8f7x/vH+oQChAKEA+wBPAU8D0wNJBBkCTAJqAnQCsAKwAlr/X/+iAhMDGgMfA1QD5AOG/0UDiP/6AwsEnwEXBOkDvgM6BJABSwQLA3EEdgQHATsEeQR+BBEEcwTFAxoEagFRA/ACdQKjAooElQRCBKsEPv84ALkAef/oAAoCMAI7AlkCaQKdAqsCxwJSA30D6AMQBBkEOQQ/BE0EiAFaBGMEgwSJBJcE9wQNBRMFMgU7BT4FQwVRAgIFBgVGBU8FWAUiBcgFywXjBT0EOgX2BfcFzwX7BTAC/AX+Bf8FAgYDBgUGqAWqBdgFzAXNBdEF0gUiBdgF2AXgBQAGHAarBc4F1AXlBdUFuQXrBdYF1wXtBdwF7wXCBQ4GBwYMBhQGHQYeBu4F8wUGBggG9QUJBukFEQYQBkQG5AXmBUgGSQbwBfgFTAYEBhcGGAY4BjcGOwY8Bj0GXQZmBjoGIQYiBkAGIAZKBkEGSwZDBmsGcwYaBiMGdwZ7BmgGfwaCBoAGgwZpBnIGdAZ1Bm8GeAZ5BnoGhAaIBpEGcQaSBpMGJQYuBkcGTwaVBqYGMgYzBmoGbgaJBosGZAayBmUGjQaKBo4Gnga3BsYGxwbSBtMG1gZhBn0GlgbKBsAGxQbIBskGzAa+BsIGzgbPBtQG2QYAAAEAAACDdwAAnCUAAEcuAACnCAAAoUYAAGkt");n(g,51776,"MDEyMzQ1Njc4OUFCQ0RFRmxhc3RfdmFsdWUAAAwADgAYAB8AOwB4OQAAAAAAAAAABnNlY29uZAAkINNXAACAPwZtaW51dGUA2TPhVAAAcEIEaG91cgAAALA58FEAAGFFA2RheQAAAABa/KNKAMCoRwVtb250aAAAgGgsSAA0HkoEeWVhcgAAAADkZUbAmfBLCQoNIA==");n(g,51968,"AQEAAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQFpSQMFBwAAAF8xAABWWgAAaUkIBQcAAAAQBAAAVloAAG5OAwAEAAAA9U0AAGktAABxUQQABAAAAPRNAABpLQAAc1MEAAQAAADvTQAAaS0=");n(g,52281,"AQEAAAE=");n(g,52304,"AQ==");n(g,52528,"Cww=");n(g,52552,"YnRuAGZy");n(g,52576,"aS0AAKAyAAC1NAAAnCUAAJwlAABHLgAARy4AAKcIAACnCAAApwgAAKcIAAB2BQAAyg0AAJx3AACcdwAAnHcAAJx3AABSAQAAUwEAAFQBAABVAQAAVgEAAFcBAABYAQAAAAAAAAEAAAAAAAAAWQEAAFoBAABbAQAAXAEAAF0BAABeAQAAXwEAAGABAABhAQAAYgEAAGMB");n(g,52736,"diMAAIMjAAAAAAAAFz8AAF08AADWPgAA6T4AAH4EAAC7NAAAeTwAAJMjAAA3PgAA9CkAAG4tAAD6NgAAPy0AAAAAAAAFQAAA5zAAAHk+AAAIMAAAlzMAAIs+AAACPwAAAAAAAJE4AAA1NQAAqzgAAMA4AAABAgUKDxQZGRkyMmQAAQMIEiE1TmeAsuRkAQAAZQEAAGYBAAAEAAAAZwEAAGgBAABpAQAAagEAAGsBAABsAQAAbQEAAG4BAABvAQAAcAEAAHEBAAByAQAAcwEAAHQBAAB1AQAAdgEAAHcBAAB4AQAAeQEAAHoBAAB7AQAAfAEAAH0BAAB+AQAAAAAAAH8BAACAAQAAgQEAAIIBAACDAQ==");n(g,53024,"MAAAAAfoAAAGbAEAL+wBAAesAgAB0AIAA9gCAAHsAgAB/AIAAVwDAAHcAwAECAsADkgLAAeUCwABtAsAgbwLAAHUDQAB+A0AAhAOAAEcDgAB2A8ACAgSAAZoFQACJBYAATwWADdEFgACzBcABQAYABYYGAACeBgAFSwZAASoGQABwBkAAVAbAA9YGwAHnBsAAvQbAA4AHAABPBwAAUQcABvAHAALmB4ACawfAATYHwAEWCAACWwgAAOUIAAFpCAAD8AgAANkIQABeCEAG5AjAAQAJAAD6CQAEvgkAAdEJQAEiCUAAcAlAAMEJgAB8CYAB/gmAAIcJwADLCcAAVwnAAKIJwACyCcAAugnAAMEKAAB8CgABfgoAAIcKQADLCkAAUQpAALAKQAB1CkAAwQqAAHwKgAI+CoAAxwrAAMsKwACiCsAAsArAAMELAAB8CwAB/gsAAIcLQADLC0AAlgtAAKILQABwC0AAQguAAX4LgADGC8ABCgvAAFcLwAIzC8AAwQwAAf4MAADGDEABCgxAAJUMQACiDEAAfwxAAIIMgAB8DIAB/gyAAMYMwAEKDMAAlQzAAKIMwACCDQAB/g0AAMYNQAEKDUAAVw1AAKINQAB5DUAAgg2AAEoNwAGPDcAAVg3AAhgNwADyDcAAcQ4AAfQOAAB/DgACRw5AAJoOQABxDoABtA6AALsOgAGIDsAHwQ8AAzQPAAXxD0ACzQ+ACRkPgAP+D4ADTg/ABSsQAAGKEEABFhBAAN4QQADiEEAB5xBAATEQQAMCEIAATxCAAZoQgAB7EMADHRNAApATgABAFAAArRZAAEAWgACbFoAA6xbAANIXAAFyFwAAkhdAALIXQAj0F4ABGBfAAF0XwAPAGAAAaRiAAyAZAAMwGQAAQBlAAIQZQARwGYAAiBnACJ4ZwAFXGgAAnhoAApUaQAdgGkAAfxpAAeAagAGoGoABQBsABHQbAAjaG0AAwBuAA2EbgAOmG8ABPBvABSQcAAF7HAAAvhxAAgAcwAZQHMAAbRzAAPIcwAnAHcABPB3AAH0fgAD/H4AAzR/AAN0fwADtH8AAvR/AGUAgAAGqIEABeiBAAUoggAagIIAIUCDAAIAhAAEDIQAAiCEAAFQhAADWIQABniEAAGUhAABnIQAAaSEAAG4hAAC6IQABQCFAAQohQABPIUAZEKGACcAkAALAJEATnCSAAAClAB1BJwAuVOeAApArQAGlLMAA7yzAATkswAC+LMAAcC1AAH8tQBPgLcADMC4ABoAugBZbLoA1gC8AAzAvwAFAMAAGSDAAAeowAAC2MAAA/TAAARkwgABgMIAAezDAAJAxgAKWMYAJADHAB8AyAAeqMgAAUDJACCAyQAnKMoAPwDLAAABzABAADcBN0CSAgL4kwIDNJgCELyZAgF8mgIIwJsCFwCcAgKAnAICJJ4CAQigAgEYoAIBLKACCYygAgTYoAIE0KECAgCiAhHQogICOKMCEoCjAgPgowIKmKQCDRylAgF8pQIEAKYCG8ymAgJ4pwIOpKgCAQypAgIwqQIEcKkCA9ypAgHsqQIBwKoCA8iqAgLcqgIC+KoCAQSrAgJ4qwIHrKsCAtSrAguMrwIBAGADAvxtAwL8bwMB/H8DAXjsAwGk7AMQyO4DAvj0AwLw9wMaAPgDB4D4AyPA+AMTUPkDBKD5AwH8+wMPBPwDB2j8Awbs/AMLbP0DB4D/Aweg/wMF5P8DAwAEBAncBAQR5AUEDEAGBC5ABwQBfA4EAUAPBAFcIQQBfCQEAfwkBAMEKAQCFCgEBDAoBAPgKAQB/CgECUApBAH8KQQH5CwEAwBABBbgQAQDAEIEEsBCBAMARAQOnEQEBABFBAMARgQOzEYEBBRHBA2sWgQEwJEELkS9BQQ8vgX2AEAHJwBEB7WkRAdGAEgHVwBMBwEEWwcBbFsHAexbBwFUXAcB1FwHATxdBwG8XQcBJF4HAaReBwEMXwcCwLsHLADAB2TAwAcPgMIHDsTCBw8EwwcPRMMHH0DEBzzAxAcrwMUHHZjHBytAyAcJAMkHAkDJByEAzAcGwMwHRtzMBxQAzgclgM4HBRjPBxGAzwc/ANAHAQDRB7YI0QcE5NMHPgDUBwQA1QcYQNUHRuzXBwsU2QdGANoHdADcBwEEADhggAA48AAEOAAAAAAAAAAA////////APwBAAD4AQAA+EEADhq1AEABwAAOF9gADgcAAQEwMgEBBjkBARBKAQEueAF0AXkBAQZ/AWgBgQEyAYIBAQSGASwBhwEAAYkBKgKLAQABjgEgAY8BJgGQASgBkQEAAZMBKgGUAS4BlgE0AZcBMAGYAQABnAE0AZ0BNgGfATgBoAEBBqYBPAGnAQABqQE8AawBAAGuATwBrwEAAbEBOgKzAQEEtwE+AbgBAAG8AQABxAECAcUBAAHHAQIByAEAAcoBAgHLAQES3gEBEvEBAgHyAQEE9gF6AfcBhgH4AQEoIAJuASICARI6AkYBOwIAAT0CbAE+AkQBQQIAAUMCagFEAhwBRQIeAUYCAQpFAyQBcAMBBHYDAAGGAxIBiAMQA4wDGgGOAxgCkQMOEaMDDgnCAwABzwMEAdADjAHRA44B1QOSAdYDkAHYAwEY8AOIAfEDigH0A4IB9QOAAfcDAAH5A5gB+gMAAf0DbgMABCIQEAQOIGAEASKKBAE2wAQGAcEEAQ7QBAFYMQUWJqAQQibHEEIBzRBCAQAeAZabHoQBnh5gAaAeAWAIH5YIGB+WBigflgg4H5YISB+WBlkflwhoH5YIiB+WCJgflgioH5YIuB+WAroffgK8H5QBvh9kAcgffATMH5QB2B+WAtofeALoH5YC6h92AuwfmAH4H3AC+h9yAvwflAEmIWIBKiFcASshXgEyIQwBYCEIEIMhAAG2JAoaACwWL2AsAAFiLFgBYyxmAWQsWgFnLAEGbSxUAW4sVgFvLFABcCxSAXIsAAF1LAABfixOAoAsAWTrLAEE8iwAAUCmAS6ApgEYIqcBDjKnAT55pwEEfadMAX6nAQqLpwABjadKAZCnAQSgpwEKqqdIASH/DhoAAAAAAQACAAgADwAQABoAHAAgACUAJgAoADAAPwBAAEUARwBPAFAAdADKAMsAzQDOAM8A0QDSANMA1QDWANkA2gDbAAcDYBwoKisqvFrYWvx1wdXh1eLV5NUD1gnWGdZB37rfQeKj4vvjGvH0/j3/Xf9+/4D/gv+H/5D/nP+f/6r/tv/A/8T/xv/I/8r/0P/i/+f/6v/x//f/+P/5/wAAAAAAAAAABQc4B0MHYweIB5QHywfoB/gHDAg+CHgIngjYCO4IKAlPCagJuAnUCSQKbAqsCt4KGgtOC4oLqAu4C9QLCA2ADXAOgA6QDqAOtg74DjgPSA9YD2gPgA+oD8gP2A8KECoQShBqEIoQqhDIENgQ+BA4EUgRWhF4EYgRmBEEGDYYeBiIGNgYHRlpGYEZCPAc8EjwXvCY8KrwyvDo8PjwCPEe8VjxaPF48YzxuPHI8drx/PEu8m7yqvLK8ujy+PIK8yzzXvOc88rz6vMO9Ej0WvR49Iz0sPS49MD0yPQK9S71bvWq9cz1/vU49kr2avaO9s72Cvcq9073iPee9wAAAAAAYWNlaW5vdXl5YWNkZWVnaGlqa2xub3JzdHV1d3l6b3VhaW919eFna2/vamdu4WFlaW9ydXN0aGFl72/veQAAAAAAAAAAYWLjZGTlZeVmZ2hoaelrbOxsbW7vcHLycnPzdHX1dnd3eHl6aHR3eWHh4eFl5eVpb+/v73X19XkAAAAAAACEAQAAhAEAAIUBAACGAQAAhgEAAIcBAACIAQAAiQEAAIoBAACLAQAAjAEAAI0B");n(g,55984,"0FQAADBmAACabAAAz2wAAOxsAABbbgAAtmwAADtSAADgXQAA+mYAADVnAAB0ZgAA/U8AAG1QAACCVAAA6VIAAFdUAAArUwAAaGIAAPxUAADKZgAAU1IAAIJSAACkZgAAnHcAAJx3AACyUgAAB20AAGFdAABnawAAIFQAAPxRAAC1UwAAZlMAAMhOAABeUQAARG0AAPRQAACzUQAACl0AAAAAAACOAQAAjwEAAJABAACRAQAAkgE=");n(g,56176,"kwEAAJQBAACVAQAAlgEAAJcB");n(g,56208,"AQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAQEBAAEBAQABAQEBAQABAQEBAQABAQECAQ==");n(g,56356,"AQ==");n(g,56368,"AQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAABTTAAAAgAEANVPAAADAQMAhEkAAAMBAgB4TAAABAABAA8LAADVMQAAtCMAANgPAAARDgAAAAAAAJgBAACYAQAAmQEAAJoBAACaAQAAmwEAAJwBAACdAQAAngEAAJ8BAACgAQAAoQE=");n(g,56608,"ejAAACAbAQATOQAAhBsBAAAAAgADAAUABgAHAAgACQDXXAAAGmEAAF1OAAALYAAAhVsAAENdAAB2XwAAu1oAAKpfAAAYSwAAoloAADRcAAAkYAAASlwAAE1fAADjTwAAT0sAAAZcAAA3SwAASE8AALJbAADJXwAA+18AAN5fAAB2XAAARGAAAI1aAACqYAAAdmAAAGZfAAD5OAAA7FoAAMBgAABYYAAA0loAAJRgAAA4XwAApkkAABJOAACaUQAA61wAAIpfAAAJTwAAfUkAAOhJAADfSQAAv04AAJpJAADITw==");n(g,56848,"+BIAAAEAAQCxAQAA2SsAAAEAAQCyAQAASiwAAAEAAQCzAQAAFVwAAAIAAQC0AQAAGlwAAAIAAQC0AQAA3y8AAAEAAQC1AQAA5S8AAAEAAQC2AQAA6y8AAAEAAQC3AQAAizkAAAIAAQC4AQAALRcAAAEAAQC5AQAAZBQAAAEAAQC6AQAA+RIAAAEAAQC7AQAA2isAAAEAAQC8AQAASywAAAEAAQC9AQAALAoAAAEAAQC+AQAA4C8AAAEAAQC/AQAA5i8AAAEAAQDAAQAA7C8AAAEAAQDBAQAAiy8AAAEAAQDCAQAAaiYAAAEAAQDDAQAAlDAAAAEAAQDEAQAAw18AAAEAAQDFAQAA3CMAAAIAAQDGAQAAGSwAAAEAAQDHAQAA2wkAAAEAAQDIAQAAiDUAAAEAAQDJAQAAzi0AAAEAAQDKAQAAoiMAAAEAAQDLAQAAVS8AAAAAAQHMAQAAjTMAAAIAAQDNAQAA2AUAAAIAAQDOAQAA2AUAAAMAAQDOAQAAriIAAAIAAQDPAQAApSIAAAIAAQDQAQAAoTQAAAEAAQDRAQAAmCQAAAEAAQDSAQAA2i0AAAIAAQDTAQAAOSYAAAIAAQDUAQAABUYAAAIAAQDVAQAAUyQAAAIAAQDWAQAARQcAAAEAAADXAQAA2AEAAJY5AAABAAAA1wEAANkBAABCOQAAAQAAANoBAADbAQAATywAAAEAAADaAQAA3AEAAL42AAABAAAA2gEAAN0BAADNNgAAAQAAANoBAADeAQ==");n(g,57490,"AQIDAAECAAACAgQFBQABAgYCAwABAAIAAgAAAAAAAAABAgMAAQIAAAICBAUFAAECBgIDAAEAAgAC");n(g,57680,"BAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAgICAgICAgICAgICAgICAgMDAwMDAwMDBAQEBAQEBAQAAAAAgDAAAIAgDgCAIMgDAAAAAID///8A+P//AAD//wAAAAAAAPA/AAAAAAAA+D8AAAAAAAAAAAbQz0Pr/Uw+");n(g,57883,"QAO44j/+gitlRxVnQAAAAAAAADhDAAD6/kIudr86O568mvcMvb39/////98/PFRVVVVVxT+RKxfPVVWlPxfQpGcREYE/AAAAAAAAyELvOfr+Qi7mPyTEgv+9v84/tfQM1whrrD/MUEbSq7KDP4Q6Tpvg11U/");n(g,58014,"8D9uv4gaTzubPDUz+6k99u8/XdzYnBNgcbxhgHc+muzvP9FmhxB6XpC8hX9u6BXj7z8T9mc1UtKMPHSFFdOw2e8/+o75I4DOi7ze9t0pa9DvP2HI5mFO92A8yJt1GEXH7z+Z0zNb5KOQPIPzxso+vu8/bXuDXaaalzwPiflsWLXvP/zv/ZIatY4890dyK5Ks7z/RnC9wPb4+PKLR0zLso+8/C26QiTQDarwb0/6vZpvvPw69LypSVpW8UVsS0AGT7z9V6k6M74BQvMwxbMC9iu8/FvTVuSPJkbzgLamumoLvP69VXOnj04A8UY6lyJh67z9Ik6XqFRuAvHtRfTy4cu8/PTLeVfAfj7zqjYw4+WrvP79TEz+MiYs8dctv61tj7z8m6xF2nNmWvNRcBITgW+8/YC86PvfsmjyquWgxh1TvP504hsuC54+8Hdn8IlBN7z+Nw6ZEQW+KPNaMYog7Ru8/fQTksAV6gDyW3H2RST/vP5SoqOP9jpY8OGJ1bno47z99SHTyGF6HPD+msk/OMe8/8ucfmCtHgDzdfOJlRSvvP14IcT97uJa8gWP14d8k7z8xqwlt4feCPOHeH/WdHu8/+r9vGpshPbyQ2drQfxjvP7QKDHKCN4s8CwPkpoUS7z+Py86JkhRuPFYvPqmvDO8/tquwTXVNgzwVtzEK/gbvP0x0rOIBQoY8MdhM/HAB7z9K+NNdOd2PPP8WZLII/O4/BFuOO4Cjhrzxn5JfxfbuP2hQS8ztSpK8y6k6N6fx7j+OLVEb+AeZvGbYBW2u7O4/0jaUPujRcbz3n+U02+fuPxUbzrMZGZm85agTwy3j7j9tTCqnSJ+FPCI0Ekym3u4/imkoemASk7wcgKwERdruP1uJF0iPp1i8Ki73IQrW7j8bmklnmyx8vJeoUNn10e4/EazCYO1jQzwtiWFgCM7uP+9kBjsJZpY8VwAd7UHK7j95A6Ha4cxuPNA8wbWixu4/MBIPP47/kzze09fwKsPuP7CvervOkHY8Jyo21dq/7j934FTrvR2TPA3d/ZmyvO4/jqNxADSUj7ynLJ12srnuP0mjk9zM3oe8QmbPotq27j9fOA+9xt54vIJPnVYrtO4/9lx77EYShrwPkl3KpLHuP47X/RgFNZM82ie1Nkev7j8Fm4ovt5h7PP3Hl9QSre4/CVQc4uFjkDwpVEjdB6vuP+rGGVCFxzQ8t0ZZiiap7j81wGQr5jKUPEghrRVvp+4/n3aZYUrkjLwJ3Ha54aXuP6hN7zvFM4y8hVU6sH6k7j+u6SuJeFOEvCDDzDRGo+4/WFhWeN3Ok7wlIlWCOKLuP2QZfoCqEFc8c6lM1FWh7j8oIl6/77OTvM07f2aeoO4/grk0h60Sary/2gt1EqDuP+6pbbjvZ2O8LxplPLKf7j9RiOBUPdyAvISUUfl9n+4/zz5afmQfeLx0X+zodZ/uP7B9i8BK7oa8dIGlSJqf7j+K5lUeMhmGvMlnQlbrn+4/09QJXsuckDw/Xd5PaaDuPx2lTbncMnu8hwHrcxSh7j9rwGdU/eyUPDLBMAHtoe4/VWzWq+HrZTxiTs8286LuP0LPsy/FoYi8Eho+VCek7j80NzvxtmmTvBPOTJmJpe4/Hv8ZOoRegLytxyNGGqfuP25XcthQ1JS87ZJEm9mo7j8Aig5bZ62QPJlmitnHqu4/tOrwwS+3jTzboCpC5azuP//nxZxgtmW8jES1FjKv7j9EX/NZg/Z7PDZ3FZmuse4/gz0epx8Jk7zG/5ELW7TuPykebIu4qV285cXNsDe37j9ZuZB8+SNsvA9SyMtEuu4/qvn0IkNDkrxQTt6fgr3uP0uOZtdsyoW8ugfKcPHA7j8nzpEr/K9xPJDwo4KRxO4/u3MK4TXSbTwjI+MZY8juP2MiYiIExYe8ZeVde2bM7j/VMeLjhhyLPDMtSuyb0O4/Fbu809G7kbxdJT6yA9XuP9Ix7pwxzJA8WLMwE57Z7j+zWnNuhGmEPL/9eVVr3u4/tJ2Ol83fgrx689O/a+PuP4czy5J3Gow8rdNamZ/o7j/62dFKj3uQvGa2jSkH7u4/uq7cVtnDVbz7FU+4ovPuP0D2pj0OpJC8OlnljXL57j80k6049NZovEde+/J2/+4/NYpYa+LukbxKBqEwsAXvP83dXwrX/3Q80sFLkB4M7z+smJL6+72RvAke11vCEu8/swyvMK5uczycUoXdmxnvP5T9n1wy4448etD/X6sg7z+sWQnRj+CEPEvRVy7xJ+8/ZxpOOK/NYzy15waUbS/vP2gZkmwsa2c8aZDv3CA37z/StcyDGIqAvPrDXVULP+8/b/r/P12tj7x8iQdKLUfvP0mpdTiuDZC88okNCIdP7z+nBz2mhaN0PIek+9wYWO8/DyJAIJ6RgryYg8kW42DvP6ySwdVQWo48hTLbA+Zp7z9LawGsWTqEPGC0AfMhc+8/Hz60ByHVgrxfm3szl3zvP8kNRzu5Kom8KaH1FEaG7z/TiDpgBLZ0PPY/i+cukO8/cXKdUezFgzyDTMf7UZrvP/CR048S94+82pCkoq+k7z99dCPimK6NvPFnji1Ir+8/CCCqQbzDjjwnWmHuG7rvPzLrqcOUK4Q8l7prNyvF7z/uhdExqWSKPEBFblt20O8/7eM75Lo3jrwUvpyt/dvvP53NkU07iXc82JCegcHn7z+JzGBBwQVTPPFxjyvC8+8/T7thBWes3T8YLURU+yHpP5v2gdILc+8/GC1EVPsh+T/iZS8ifyt6PAdcFDMmpoE8vcvweogHcDwHXBQzJqaRPBgtRFT7Iek/GC1EVPsh6b/SITN/fNkCQNIhM3982QLA");n(g,60159,"gBgtRFT7IQlAGC1EVPshCcADAAAABAAAAAQAAAAGAAAAg/miAERObgD8KRUA0VcnAN009QBi28AAPJmVAEGQQwBjUf4Au96rALdhxQA6biQA0k1CAEkG4AAJ6i4AHJLRAOsd/gApsRwA6D6nAPU1ggBEuy4AnOmEALQmcABBfl8A1pE5AFODOQCc9DkAi1+EACj5vQD4HzsA3v+XAA+YBQARL+8AClqLAG0fbQDPfjYACcsnAEZPtwCeZj8ALepfALondQDl68cAPXvxAPc5BwCSUooA+2vqAB+xXwAIXY0AMANWAHv8RgDwq2sAILzPADb0mgDjqR0AXmGRAAgb5gCFmWUAoBRfAI1AaACA2P8AJ3NNAAYGMQDKVhUAyahzAHviYABrjMAAGcRHAM1nwwAJ6NwAWYMqAIt2xACmHJYARK/dABlX0QClPgUABQf/ADN+PwDCMugAmE/eALt9MgAmPcMAHmvvAJ/4XgA1HzoAf/LKAPGHHQB8kCEAaiR8ANVu+gAwLXcAFTtDALUUxgDDGZ0ArcTCACxNQQAMAF0Ahn1GAONxLQCbxpoAM2IAALTSfAC0p5cAN1XVANc+9gCjEBgATXb8AGSdKgBw16sAY3z4AHqwVwAXFecAwElWADvW2QCnhDgAJCPLANaKdwBaVCMAAB+5APEKGwAZzt8AnzH/AGYeagCZV2EArPtHAH5/2AAiZbcAMuiJAOa/YADvxM0AbDYJAF0/1AAW3tcAWDveAN6bkgDSIigAKIboAOJYTQDGyjIACOMWAOB9ywAXwFAA8x2nABjgWwAuEzQAgxJiAINIAQD1jlsArbB/AB7p8gBISkMAEGfTAKrd2ACuX0IAamHOAAoopADTmbQABqbyAFx3fwCjwoMAYTyIAIpzeACvjFoAb9e9AC2mYwD0v8sAjYHvACbBZwBVykUAytk2ACio0gDCYY0AEsl3AAQmFAASRpsAxFnEAMjFRABNspEAABfzANRDrQApSeUA/dUQAAC+/AAelMwAcM7uABM+9QDs8YAAs+fDAMf4KACTBZQAwXE+AC4JswALRfMAiBKcAKsgewAutZ8AR5LCAHsyLwAMVW0AcqeQAGvnHwAxy5YAeRZKAEF54gD034kA6JSXAOLmhACZMZcAiO1rAF9fNgC7/Q4ASJq0AGekbABxckIAjV0yAJ8VuAC85QkAjTElAPd0OQAwBRwADQwBAEsIaAAs7lgAR6qQAHTnAgC91iQA932mAG5IcgCfFu8AjpSmALSR9gDRU1EAzwryACCYMwD1S34AsmNoAN0+XwBAXQMAhYl/AFVSKQA3ZMAAbdgQADJIMgBbTHUATnHUAEVUbgALCcEAKvVpABRm1QAnB50AXQRQALQ72wDqdsUAh/kXAElrfQAdJ7oAlmkpAMbMrACtFFQAkOJqAIjZiQAsclAABKS+AHcHlADzMHAAAPwnAOpxqABmwkkAZOA9AJfdgwCjP5cAQ5T9AA2GjAAxQd4AkjmdAN1wjAAXt+cACN87ABU3KwBcgKAAWoCTABARkgAP6NgAbICvANv/SwA4kA8AWRh2AGKlFQBhy7sAx4m5ABBAvQDS8gQASXUnAOu29gDbIrsAChSqAIkmLwBkg3YACTszAA6UGgBROqoAHaPCAK/trgBcJhIAbcJNAC16nADAVpcAAz+DAAnw9gArQIwAbTGZADm0BwAMIBUA2MNbAPWSxADGrUsATsqlAKc3zQDmqTYAq5KUAN1CaAAZY94AdozvAGiLUgD82zcArqGrAN8VMQAArqEADPvaAGRNZgDtBbcAKWUwAFdWvwBH/zoAavm5AHW+8wAok98Aq4AwAGaM9gAEyxUA+iIGANnkHQA9s6QAVxuPADbNCQBOQukAE76kADMjtQDwqhoAT2WoANLBpQALPw8AW3jNACP5dgB7iwQAiRdyAMamUwBvbuIA7+sAAJtKWADE2rcAqma6AHbPzwDRAh0AsfEtAIyZwQDDrXcAhkjaAPddoADGgPQArPAvAN3smgA/XLwA0N5tAJDHHwAq27YAoyU6AACvmgCtU5MAtlcEACkttABLgH4A2genAHaqDgB7WaEAFhIqANy3LQD65f0Aidv+AIm+/QDkdmwABqn8AD6AcACFbhUA/Yf/ACg+BwBhZzMAKhiGAE296gCz568Aj21uAJVnOQAxv1sAhNdIADDfFgDHLUMAJWE1AMlwzgAwy7gAv2z9AKQAogAFbOQAWt2gACFvRwBiEtIAuVyEAHBhSQBrVuAAmVIBAFBVNwAe1bcAM/HEABNuXwBdMOQAhS6pAB2ywwChMjYACLekAOqx1AAW9yEAj2nkACf/dwAMA4AAjUAtAE/NoAAgpZkAs6LTAC9dCgC0+UIAEdrLAH2+0ACb28EAqxe9AMqigQAIalwALlUXACcAVQB/FPAA4QeGABQLZACWQY0Ah77eANr9KgBrJbYAe4k0AAXz/gC5v54AaGpPAEoqqABPxFoALfi8ANdamAD0x5UADU2NACA6pgCkV18AFD+xAIA4lQDMIAEAcd2GAMnetgC/YPUATWURAAEHawCMsKwAssDQAFFVSAAe+w4AlXLDAKMGOwDAQDUABtx7AOBFzABOKfoA1srIAOjzQQB8ZN4Am2TYANm+MQCkl8MAd1jUAGnjxQDw2hMAujo8AEYYRgBVdV8A0r31AG6SxgCsLl0ADkTtABw+QgBhxIcAKf3pAOfW8wAifMoAb5E1AAjgxQD/140AbmriALD9xgCTCMEAfF10AGutsgDNbp0APnJ7AMYRagD3z6kAKXPfALXJugC3AFEA4rINAHS6JADlfWAAdNiKAA0VLACBGAwAfmaUAAEpFgCfenYA/f2+AFZF7wDZfjYA7NkTAIu6uQDEl/wAMagnAPFuwwCUxTYA2KhWALSotQDPzA4AEoktAG9XNAAsVokAmc7jANYguQBrXqoAPiqcABFfzAD9C0oA4fT7AI47bQDihiwA6dSEAPy0qQDv7tEALjXJAC85YQA4IUQAG9nIAIH8CgD7SmoALxzYAFO0hABOmYwAVCLMACpV3ADAxtYACxmWABpwuABplWQAJlpgAD9S7gB/EQ8A9LURAPzL9QA0vC0ANLzuAOhdzADdXmAAZ46bAJIz7wDJF7gAYVibAOFXvABRg8YA2D4QAN1xSAAtHN0ArxihACEsRgBZ89cA2XqYAJ5UwABPhvoAVgb8AOV5rgCJIjYAOK0iAGeT3ABV6KoAgiY4AMrnmwBRDaQAmTOxAKnXDgBpBUgAZbLwAH+IpwCITJcA+dE2ACGSswB7gkoAmM8hAECf3ADcR1UA4XQ6AGfrQgD+nd8AXtRfAHtnpAC6rHoAVfaiACuIIwBBulUAWW4IACEqhgA5R4MAiePmAOWe1ABJ+0AA/1bpABwPygDFWYoAlPorANPBxQAPxc8A21quAEfFhgCFQ2IAIYY7ACx5lAAQYYcAKkx7AIAsGgBDvxIAiCaQAHg8iQCoxOQA5dt7AMQ6wgAm9OoA92eKAA2SvwBloysAPZOxAL18CwCkUdwAJ91jAGnh3QCalBkAqCmVAGjOKAAJ7bQARJ8gAE6YygBwgmMAfnwjAA+5MgCn9Y4AFFbnACHxCAC1nSoAb35NAKUZUQC1+asAgt/WAJbdYQAWNgIAxDqfAIOioQBy7W0AOY16AIK4qQBrMlwARidbAAA07QDSAHcA/PRVAAFZTQDgcYA=");n(g,62963,"QPsh+T8AAAAALUR0PgAAAICYRvg8AAAAYFHMeDsAAACAgxvwOQAAAEAgJXo4AAAAgCKC4zYAAAAAHfNpNU5vIGVycm9yIGluZm9ybWF0aW9uAElsbGVnYWwgYnl0ZSBzZXF1ZW5jZQBEb21haW4gZXJyb3IAUmVzdWx0IG5vdCByZXByZXNlbnRhYmxlAE5vdCBhIHR0eQBQZXJtaXNzaW9uIGRlbmllZABPcGVyYXRpb24gbm90IHBlcm1pdHRlZABObyBzdWNoIGZpbGUgb3IgZGlyZWN0b3J5AE5vIHN1Y2ggcHJvY2VzcwBGaWxlIGV4aXN0cwBWYWx1ZSB0b28gbGFyZ2UgZm9yIGRhdGEgdHlwZQBObyBzcGFjZSBsZWZ0IG9uIGRldmljZQBPdXQgb2YgbWVtb3J5AFJlc291cmNlIGJ1c3kASW50ZXJydXB0ZWQgc3lzdGVtIGNhbGwAUmVzb3VyY2UgdGVtcG9yYXJpbHkgdW5hdmFpbGFibGUASW52YWxpZCBzZWVrAENyb3NzLWRldmljZSBsaW5rAFJlYWQtb25seSBmaWxlIHN5c3RlbQBEaXJlY3Rvcnkgbm90IGVtcHR5AENvbm5lY3Rpb24gcmVzZXQgYnkgcGVlcgBPcGVyYXRpb24gdGltZWQgb3V0AENvbm5lY3Rpb24gcmVmdXNlZABIb3N0IGlzIGRvd24ASG9zdCBpcyB1bnJlYWNoYWJsZQBBZGRyZXNzIGluIHVzZQBCcm9rZW4gcGlwZQBJL08gZXJyb3IATm8gc3VjaCBkZXZpY2Ugb3IgYWRkcmVzcwBCbG9jayBkZXZpY2UgcmVxdWlyZWQATm8gc3VjaCBkZXZpY2UATm90IGEgZGlyZWN0b3J5AElzIGEgZGlyZWN0b3J5AFRleHQgZmlsZSBidXN5AEV4ZWMgZm9ybWF0IGVycm9yAEludmFsaWQgYXJndW1lbnQAQXJndW1lbnQgbGlzdCB0b28gbG9uZwBTeW1ib2xpYyBsaW5rIGxvb3AARmlsZW5hbWUgdG9vIGxvbmcAVG9vIG1hbnkgb3BlbiBmaWxlcyBpbiBzeXN0ZW0ATm8gZmlsZSBkZXNjcmlwdG9ycyBhdmFpbGFibGUAQmFkIGZpbGUgZGVzY3JpcHRvcgBObyBjaGlsZCBwcm9jZXNzAEJhZCBhZGRyZXNzAEZpbGUgdG9vIGxhcmdlAFRvbyBtYW55IGxpbmtzAE5vIGxvY2tzIGF2YWlsYWJsZQBSZXNvdXJjZSBkZWFkbG9jayB3b3VsZCBvY2N1cgBTdGF0ZSBub3QgcmVjb3ZlcmFibGUAUHJldmlvdXMgb3duZXIgZGllZABPcGVyYXRpb24gY2FuY2VsZWQARnVuY3Rpb24gbm90IGltcGxlbWVudGVkAE5vIG1lc3NhZ2Ugb2YgZGVzaXJlZCB0eXBlAElkZW50aWZpZXIgcmVtb3ZlZABEZXZpY2Ugbm90IGEgc3RyZWFtAE5vIGRhdGEgYXZhaWxhYmxlAERldmljZSB0aW1lb3V0AE91dCBvZiBzdHJlYW1zIHJlc291cmNlcwBMaW5rIGhhcyBiZWVuIHNldmVyZWQAUHJvdG9jb2wgZXJyb3IAQmFkIG1lc3NhZ2UARmlsZSBkZXNjcmlwdG9yIGluIGJhZCBzdGF0ZQBOb3QgYSBzb2NrZXQARGVzdGluYXRpb24gYWRkcmVzcyByZXF1aXJlZABNZXNzYWdlIHRvbyBsYXJnZQBQcm90b2NvbCB3cm9uZyB0eXBlIGZvciBzb2NrZXQAUHJvdG9jb2wgbm90IGF2YWlsYWJsZQBQcm90b2NvbCBub3Qgc3VwcG9ydGVkAFNvY2tldCB0eXBlIG5vdCBzdXBwb3J0ZWQATm90IHN1cHBvcnRlZABQcm90b2NvbCBmYW1pbHkgbm90IHN1cHBvcnRlZABBZGRyZXNzIGZhbWlseSBub3Qgc3VwcG9ydGVkIGJ5IHByb3RvY29sAEFkZHJlc3Mgbm90IGF2YWlsYWJsZQBOZXR3b3JrIGlzIGRvd24ATmV0d29yayB1bnJlYWNoYWJsZQBDb25uZWN0aW9uIHJlc2V0IGJ5IG5ldHdvcmsAQ29ubmVjdGlvbiBhYm9ydGVkAE5vIGJ1ZmZlciBzcGFjZSBhdmFpbGFibGUAU29ja2V0IGlzIGNvbm5lY3RlZABTb2NrZXQgbm90IGNvbm5lY3RlZABDYW5ub3Qgc2VuZCBhZnRlciBzb2NrZXQgc2h1dGRvd24AT3BlcmF0aW9uIGFscmVhZHkgaW4gcHJvZ3Jlc3MAT3BlcmF0aW9uIGluIHByb2dyZXNzAFN0YWxlIGZpbGUgaGFuZGxlAFJlbW90ZSBJL08gZXJyb3IAUXVvdGEgZXhjZWVkZWQATm8gbWVkaXVtIGZvdW5kAFdyb25nIG1lZGl1bSB0eXBlAE11bHRpaG9wIGF0dGVtcHRlZABSZXF1aXJlZCBrZXkgbm90IGF2YWlsYWJsZQBLZXkgaGFzIGV4cGlyZWQAS2V5IGhhcyBiZWVuIHJldm9rZWQAS2V5IHdhcyByZWplY3RlZCBieSBzZXJ2aWNl");n(g,64946,"pQJbAPABtQWMBSUBgwYdA5QE/wDHAzEDCwa8AY8BfwPKBCsA2gavAEIDTgPcAQ4EFQChBg0BlAILAjgGZAK8Av8CXQPnBAsHzwLLBe8F2wXhAh4GRQKFAIICbANvBPEA8wMYBdkA2gNMBlQCewGdA70EAABRABUCuwCzA20A/wGFBC8F+QQ4AGUBRgGfALcGqAFzAlMB");n(g,65144,"IQQAAAAAAAAAAC8C");n(g,65176,"NQRHBFYE");n(g,65198,"oAQ=");n(g,65218,"RgVgBW4FYQYAAM8BAAAAAAAAAADJBukG+QYeBzkHSQdeBw==");n(g,65264,"Av8ABGQAIAAABP//BgABAAEAAQD//wH/Af//////Af8B/wH/Af8B/wH/Af8B//////8K/yAA//8D/wH/BP8eAAABBf//////YwAACGMA6AMCAAAA//////8AAAAB/wH//////////////w==");n(g,65385,"BA==");n(g,65398,"Af8B//////8AASAABACAAAAI//8B/wH/////////Af8G/wf/CP8J//////+8ArwCAQD//wEAAQD//wAA//////////8=");n(g,65482,"FA==");n(g,65514,"//8BAAr///////////8B/wH/AAAAAAAAAf8B/wH/");n(g,65562,"Af8AAAAAAAAB/wH/AQAAAAEAAAAB//////8AAAAAAf///wAAAAD/////////////KAAK//////8BAAr/////AP//////////");n(g,65734,"Af8B////AQD//////////////////wr//////wz/Df8=");n(g,65776,"AQAAAAEAAAEAAQEA/v//fwAAAACwBAAAKAAAAAAAAQ==");n(g,65968,"FA==");n(g,65980,"+g==");n(g,66027,"QA==");n(g,66044,"/v//f////38=");n(g,66076,"BwAAAAMAAAA0AAAAAAIAAAAAAACOBQAAhHkAAHwAAAB9AAAAfgAAAH8=");n(g,66136,"gAAAAIEAAACCAAAAgwAAAIQAAACFAAAAhgAAAIcAAAADAAAANAAAAAACAAAAAAAA8zUAAIh5AAB8AAAAfQAAAH4AAAB/");n(g,66224,"gAAAAIEAAACCAAAAgwAAAIQAAACFAAAAhgAAAIcAAAADAAAANAAAAAACAAAAAAAA3DYAAIx5AAB8AAAAfQAAAH4AAAB/");n(g,66312,"gAAAAIEAAACCAAAAgwAAAIQAAACFAAAAhgAAAIcAAAADAAAANAAAAAACAAAAAAAA3y0AAIR5AAB8AAAAfQAAAH4AAAB/");n(g,66400,"gAAAAIEAAACCAAAAgwAAAIQAAACFAAAAhgAAAIcAAAAAAABA");n(g,66448,"IywAAJ0AAAAAAAAAqTQAAJ4AAAAAAAAAbhEAAJ8AAAAAAAAA/jkAAKAAAAAAAAAAEQ4AAKEAAAAAAAAA+w0AAKIAAAAAAAAAgzMAAKMAAAAAAAAALi0AAKQAAAAAAAAAX0AAAKUAAAAAAAAAXkA=");n(g,66568,"qls=");n(g,66580,"DjMAAKYAAAAAAAAADTM=");n(g,66604,"oVs=");n(g,66616,"JDoAAKcAAAAAAAAAeTM=");n(g,66640,"Vy4AAKgAAAAAAAAAYgQAAKkAAAAAAAAAriMAAKoAAAAAAAAAqCMAAKsAAAAAAAAAsycAAKwAAAAAAAAADjsAAK0AAAAAAAAAziYAAK4AAAAAAAAAxyYAAK8AAAAAAAAA0yY=");n(g,66748,"yTEAALAAAAAAAAAAXi4AALEAAAAAAAAA9Q0AALIAAAAAAAAANC0=");n(g,66808,"iSYAAIAmAACNJgAARGEAAAIAAAAAAAAAAAQAAAAAAAC8RgAAAAAAAMcAAAAAAAAAyAAAAMkAAADKAAAAywAAAMwAAADNAAAAzgAAAM8AAAAAAAAA0AAAANE=");n(g,66912,"KkgAAKhRAACJSQAAakwAABRPAABtSQ==");n(g,66944,"AgAAAAFIxAABAAAAAAAAAOc=");n(g,66976,"dQYAAAAAAAACAAAAAUjEAAMAAAAAAAAA5w==");n(g,67016,"jzUAAAAAAAACAAAAAUjEAAIAAAAAAAAA5w==");n(g,67056,"wyIAAAAAAAABAAAAAUjEAAQAAAAAAAAA5w==");n(g,67096,"GQQAAAAAAAABAAAAASCA");n(g,67120,"6A==");n(g,67136,"Cj0AAAAAAAABAAAAASCA");n(g,67160,"6Q==");n(g,67176,"aA0AAAAAAAABAAAAAQzAAGMAAAAAAAAA5w==");n(g,67216,"BAUAAAAAAAACAAAAAQzAAGMAAAAAAAAA5w==");n(g,67256,"GToAAAAAAAABAAAAAQzAAGMAAAAAAAAA5w==");n(g,67296,"BgUAAAAAAAABAAAAAQiAAAEAAAAAAAAA6g==");n(g,67336,"yywAAAAAAAACAAAAAQiAAAEAAAAAAAAA6g==");n(g,67376,"yywAAAAAAAABAAAAAQiAAAIAAAAAAAAA6g==");n(g,67416,"xSwAAAAAAAACAAAAAQiAAAIAAAAAAAAA6g==");n(g,67456,"xSwAAAAAAAABAAAAAQiAAAMAAAAAAAAA6g==");n(g,67496,"zCwAAAAAAAACAAAAAQiAAAMAAAAAAAAA6g==");n(g,67536,"zCwAAAAAAAD/AAAAIQiA");n(g,67560,"6w==");n(g,67576,"+is=");n(g,67588,"IQiA");n(g,67616,"+isAAAAAAAABAAAAIRCACAAAAAAAAAAA7AAAAO0AAADuAAAAAAAAAPorAAAAAAAA/wAAACEIgAABAAAAAAAAAOs=");n(g,67696,"NAY=");n(g,67708,"IQiAAAE=");n(g,67736,"NAYAAAAAAAABAAAAIRCACAEAAAAAAAAA7AAAAO0AAADuAAAAAAAAADQGAAAAAAAAAQAAAIEIgA==");n(g,67800,"7w==");n(g,67816,"ODEAAAAAAAABAAAAgQiA");n(g,67840,"8A==");n(g,67856,"qjUAAAAAAAABAAAAQQiA");n(g,67880,"8Q==");n(g,67896,"wy8AAAAAAAABAAAAwQiA");n(g,67920,"8g==");n(g,67936,"qC8AAAAAAAACAAAAAQiA");n(g,67960,"8w==");n(g,67976,"tiIAAAAAAAD/AAAAAQiA");n(g,68e3,"9A==");n(g,68016,"MTEAAAAAAAD/AAAAAQiA");n(g,68040,"9A==");n(g,68056,"Jw4AAAAAAAABAAAAAQiA");n(g,68080,"9Q==");n(g,68096,"TjkAAAAAAAD/AAAAAQiA");n(g,68120,"9g==");n(g,68136,"PiYAAAAAAAABAAAAAQiA");n(g,68160,"9w==");n(g,68176,"ZxcAAAAAAAABAAAAAQiA");n(g,68200,"+A==");n(g,68216,"KzoAAAAAAAACAAAAAQiA");n(g,68240,"+A==");n(g,68256,"KzoAAAAAAAABAAAAAQiA");n(g,68280,"+Q==");n(g,68296,"kiQAAAAAAAABAAAAAQiA");n(g,68320,"+g==");n(g,68336,"4iMAAAAAAAABAAAAAQiA");n(g,68360,"+w==");n(g,68376,"1AUAAAAAAAABAAAAAQiA");n(g,68400,"/A==");n(g,68416,"0gUAAAAAAAACAAAAAQiA");n(g,68440,"/A==");n(g,68456,"0gUAAAAAAAD/AAAAAQiA");n(g,68480,"/Q==");n(g,68496,"NA4=");n(g,68508,"AQiA");n(g,68536,"NA4AAAAAAAD/AAAAAQiA");n(g,68560,"/g==");n(g,68576,"hg4=");n(g,68588,"AQiA");n(g,68616,"hg4AAAAAAAABAAAAAQiA");n(g,68656,"hg4AAAAAAAACAAAAAQjA");n(g,68680,"5w==");n(g,68696,"XS0=");n(g,68708,"AQCA");n(g,68720,"/w==");n(g,68736,"tywAAAAAAAABAAAAAQCA");n(g,68761,"AQ==");n(g,68776,"m0YAAAAAAAACAAAAIQiA");n(g,68800,"AQE=");n(g,68816,"aDE=");n(g,68828,"ASCA");n(g,68840,"5w==");n(g,68856,"nyo=");n(g,68868,"ASCA");n(g,68880,"AgE=");n(g,68896,"YjsAAAAAAAACAAAAAQiA");n(g,68920,"AwE=");n(g,68936,"jTAAAAAAAAABAAAAAQiA");n(g,68960,"BAE=");n(g,68976,"BzM=");n(g,68988,"AQCA");n(g,69e3,"BQE=");n(g,69016,"ijo=");n(g,69028,"AQCA");n(g,69040,"BgE=");n(g,69056,"JRc=");n(g,69068,"AQCA");n(g,69080,"BwE=");n(g,69096,"HxcAAAAAAAADAAAAAQiA");n(g,69120,"CAE=");n(g,69136,"vTkAAAAAAAABAAAAAQiA");n(g,69160,"CQE=");n(g,69176,"kkYAAAAAAAACAAAAAQiA");n(g,69200,"CgE=");n(g,69216,"vCIAAAAAAAADAAAAAQiA");n(g,69240,"CgE=");n(g,69256,"vCIAAAAAAAACAAAAAQiA");n(g,69280,"CgE=");n(g,69296,"zTAAAAAAAAADAAAAAQiA");n(g,69320,"CgE=");n(g,69336,"zTAAAAAAAAABAAAAAQCA");n(g,69360,"CwEAAAwBAAAMAQAADQEAAJEsAAAAAAAAAQAAAAEAgA==");n(g,69400,"CwEAAA4BAAAOAQAADQEAAPktAAAAAAAAAQAAAAEAgA==");n(g,69440,"CwEAAA8BAAAPAQAADQEAAIQw");n(g,69468,"AQGACAAAAAAAAAAAEAEAABEBAAARAQAAEgEAAF8KAAAAAAAAAQAAAAEAgAgAAAAAAAAAABABAAARAQAAEQEAABIBAABfCgAAAAAAAAEAAAABAIA=");n(g,69560,"EwEAABQBAAAVAQAAFgEAAC4OAAAAAAAAAgAAAAEAgA==");n(g,69600,"EwEAABQBAAAVAQAAFgEAAC4OAAAAAAAAAgAAAAEAgA==");n(g,69640,"EwEAABQBAAAVAQAAFgEAAP4wAAAAAAAAAgAAAA0IgADoeQAAAAAAACs=");n(g,69696,"jUYAAAAAAAACAAAABQiAAOx5AAAAAAAAKw==");n(g,69736,"cTgAAAAAAAADAAAABQiAAOx5AAAAAAAAKw==");n(g,69776,"cTgAAAAAAAABAAAAAQiA");n(g,69816,"aTk=");n(g,69828,"AQiA");n(g,69856,"aTkAAAAAAAABAAAAAQiA");n(g,69880,"FwE=");n(g,69896,"GSwAAAAAAAD/AAAAAQjA");n(g,69920,"5w==");n(g,69936,"aTkAAAAAAAADAAAAAQjAAAUAAAAAAAAA5w==");n(g,69976,"bzEAAAAAAAAJAAAAAQiE");n(g,7e4,"GAE=");n(g,70016,"3SoAAAAAAAAHAAAAAQiE");n(g,70040,"GQE=");n(g,70056,"PjcAAAAAAAAHAAAAAQiE");n(g,70080,"GgE=");n(g,70096,"oQkAAAAAAAADAAAAAQiE");n(g,70120,"GwE=");n(g,70136,"yioAAAAAAAACAAAAAQiE");n(g,70160,"HAE=");n(g,70176,"kwU=");n(g,70196,"AQCB");n(g,70208,"HQEAAB4BAAAeAQAAWgAAAHLC");n(g,70236,"AQCB");n(g,70248,"HwEAACABAAAgAQAAWgAAAH3C");n(g,70276,"AQCB");n(g,70288,"IQEAACIBAAAiAQAAWgAAAIjC");n(g,70316,"AQCB");n(g,70328,"IwEAACQBAAAkAQAAJQEAAI3C");n(g,70356,"AQCB");n(g,70368,"JgEAACcBAAAnAQAAKAEAAJrCAAAAAAAAAQAAAAEAgQ==");n(g,70408,"KQEAACoBAAAqAQAAKwEAAKTCAAAAAAAAAQAAAAEAgQ==");n(g,70448,"LAEAAC0BAAAuAQAALwEAAFDKAAAAAAAAAgAAAAEAgQ==");n(g,70488,"MAEAADEBAAAyAQAAWgAAAJDDAAAAAAAAAQAAAAEAgQ==");n(g,70528,"MwEAADQBAAAyAQAAWgAAAJrDAAAAAAAAAQAAAAEAgQ==");n(g,70568,"WgAAADIBAAAyAQAAWgAAAKrCAAAAAAAAAgAAAAEAgQ==");n(g,70608,"WgAAADIBAAAyAQAAWgAAAKrCAAAAAAAAAwAAAAEAgQ==");n(g,70648,"WgAAADIBAAAyAQAAWgAAAKrCAAAAAAAAAQAAAAEAgQ==");n(g,70688,"WgAAADIBAAAyAQAAWgAAAK/CAAAAAAAAAgAAAAEAgQ==");n(g,70728,"WgAAADIBAAAyAQAAWgAAAK/CAAAAAAAAAwAAAAEAgQ==");n(g,70768,"WgAAADIBAAAyAQAAWgAAAK/C");n(g,70800,"/wAAAAEogADwAAEAAAAAADUB");n(g,70832,"fAUAAAAAAAD/AAAAASiAAPAAAQAAAAAANgE=");n(g,70872,"VDAAAAAAAAD/AAAAASiAAPAAAQAAAAAANwE=");n(g,70912,"dDMAAAAAAAD/AAAAASiAAPAAAQAAAAAAOAE=");n(g,70952,"QTYAAAAAAAD/AAAAASiAAPAAAQAAAAAAOQE=");n(g,70992,"MDYAAAAAAAD/AAAAASiAAPAAAQAAAAAAOgE=");n(g,71032,"JzYAAAAAAAACAAAAASiAAPAAAQAAAAAAOwE=");n(g,71072,"dzE=");n(g,71084,"ASCA");n(g,71096,"PAE=");n(g,71112,"OTY=");n(g,71124,"ASCA");n(g,71136,"PQE=");n(g,71152,"lyY=");n(g,71164,"ASCA");n(g,71176,"PgE=");n(g,71192,"bDMAAAAAAAABAAAAAYiAAQAAAAAAAAAAPwE=");n(g,71232,"zScAAAAAAAABAAAAAYiAAAgAAAAAAAAAPwE=");n(g,71272,"q0YAAAAAAAD/AAAAAQiQAQAAAAAAAAAAQAE=");n(g,71312,"ZQUAAAAAAAD/AAAAAQiQAQgAAAAAAAAAQAE=");n(g,71352,"cAUAAAAAAAABAAAAAYiA");n(g,71376,"QQE=");n(g,71392,"li8AAAAAAAACAAAAAYiA");n(g,71416,"QQE=");n(g,71432,"li8AAAAAAAABAAAAAYiA");n(g,71456,"QgE=");n(g,71472,"HygAAAAAAAD/AAAAAYiAAQAAAAAAAAAAQwE=");n(g,71512,"0Q0AAAAAAAD/AAAAAYiAAAgAAAAAAAAAQwE=");n(g,71552,"3g0AAAAAAAACAAAAAYiAAQEAAAAAAAAAQwE=");n(g,71592,"RlUAAAAAAAACAAAAAYiAAAIAAAAAAAAAQwE=");n(g,71632,"QlUAAAAAAAD/AAAAAYiQAQAAAAAAAAAARAE=");n(g,71672,"9AkAAAAAAAD/AAAAAYiQAAgAAAAAAAAARAE=");n(g,71713,"CgAAAAAAAP8AAAABCJABAAAAAAAAAABFAQ==");n(g,71752,"uA0AAAAAAAD/AAAAAQiQAQgAAAAAAAAARQE=");n(g,71792,"xA0AAAAAAAACAAAAAYiAAQAAAAAAAAAARgE=");n(g,71832,"8S8AAAAAAAACAAAAAYiAAAgAAAAAAAAARgE=");n(g,71872,"/C8AAAAAAAABAAAAAQiQAQAAAAAAAAAARwE=");n(g,71912,"AjMAAAAAAAD/AAAAAYiAAQAAAAAAAAAAPwE=");n(g,71952,"JDIAAAAAAAD/AAAAAYiAAAgAAAAAAAAAPwE=");n(g,71992,"MDIAAAAAAAD/AAAAAYiQAQAAAAAAAAAASAE=");n(g,72032,"qjkAAAAAAAD/AAAAAYiQAAgAAAAAAAAASAE=");n(g,72072,"tzkAAAAAAAD/AAAAAYiQAQQAAAAAAAAARAE=");n(g,72112,"6AwAAAAAAAD/AAAAAYiQAAwAAAAAAAAARAE=");n(g,72152,"8QwAAAAAAAABAAAAAYiA");n(g,72176,"SQE=");n(g,72192,"0zUAAAAAAAACAAAAAYiA");n(g,72216,"SQE=");n(g,72232,"0zUAAAAAAAABAAAAAYiA");n(g,72256,"SgE=");n(g,72272,"HjsAAAAAAAACAAAAAYiA");n(g,72296,"SgE=");n(g,72312,"HjsAAAAAAAABAAAAAQiQAQAAAAAAAAAASwEAAEwBAABNAQAATgEAAEIFAAAAAAAAAQAAAAEIkAEIAAAAAAAAAEsBAABMAQAATQEAAE4BAABTBQAAAAAAAAIAAAABCJABAAAAAAAAAABPAQAAUAEAAFEBAABOAQAAkw0AAAAAAAACAAAAAQiQAQgAAAAAAAAATwEAAFABAABRAQAATgEAAKUN");n(g,72488,"ogEAAKMBAACkAQAAAAAAAKUBAACmAQAApwEAAKgBAACpAQAAqgEAAKsB");n(g,72588,"ogEAAKMBAACkAQAAAAAAAKwBAACmAQAApwEAAKgBAACpAQAAqgEAAKsB");n(g,72680,"gCBR")}var t=new ArrayBuffer(16);var u=new Int32Array(t);var v=new Float32Array(t);var w=new Float64Array(t);function x(y){return u[y]}function z(y,A){u[y]=A}function B(){return w[0]}function C(A){w[0]=A}function D(){throw new Error("abort")}function La(s){var E=s.a;var F=E.a;var G=F.buffer;var H=new Int8Array(G);var I=new Int16Array(G);var J=new Int32Array(G);var K=new Uint8Array(G);var L=new Uint16Array(G);var M=new Uint32Array(G);var N=new Float32Array(G);var O=new Float64Array(G);var P=Math.imul;var Q=Math.fround;var R=Math.abs;var S=Math.clz32;var T=Math.min;var U=Math.max;var V=Math.floor;var W=Math.ceil;var X=Math.trunc;var Y=Math.sqrt;var Z=E.b;var _=E.c;var $=E.d;var aa=E.e;var ba=E.f;var ca=E.g;var da=E.h;var ea=E.i;var fa=E.j;var ga=E.k;var ha=E.l;var ia=E.m;var ja=E.n;var ka=E.o;var la=E.p;var ma=E.q;var na=E.r;var oa=E.s;var pa=E.t;var qa=E.u;var ra=E.v;var sa=E.w;var ta=E.x;var ua=E.y;var va=E.z;var wa=E.A;var xa=E.B;var ya=E.C;var za=E.D;var Aa=E.E;var Ba=E.F;var Ca=E.G;var Da=E.H;var Ea=E.I;var Fa=5316736;var Ga=0;var Ha=0;var Ia=0;
// EMSCRIPTEN_START_FUNCS
function Nr(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,N=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0;g=Fa-544|0;Fa=g;m=J[a+88>>2];u=J[a+104>>2];k=J[a>>2];v=K[k+84|0];if(J[a+160>>2]){ku(a)}if(J[k+372>>2]){b=J[k+380>>2];E=b-(M[a+180>>2]%(b>>>0)|0)|0;F=0}else{E=-1;F=-1}a:{b:{c:{d:{e:{if(J[a+36>>2]==7){f=u;break e}J[a+56>>2]=0;J[a+60>>2]=0;J[a+36>>2]=0;J[k+456>>2]=0;if(J[k+296>>2]){i=9;f=u;break b}Z=k+492|0;V=a+216|0;da=k+388|0;y=a+124|0;ea=a+236|0;f=P(J[a+32>>2],20)+u|0;_=g+472|0;$=g+512|0;fa=g+356|0;ga=g+360|0;while(1){b=S;T=T+1|0;S=T?b:b+1|0;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{Wb:{Xb:{Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{gc:{hc:{ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{Jc:{c=K[f|0];switch(c|0){case 141:case 142:break Na;case 143:break Oa;case 40:case 41:case 42:case 45:break Pa;case 144:break Qa;case 145:break Ra;case 146:break Sa;case 147:break Ta;case 148:break Ua;case 149:break Va;case 150:break Wa;case 151:break Xa;case 152:break Ya;case 154:break Za;case 155:break _a;case 156:break $a;case 46:break ab;case 47:break bb;case 48:break cb;case 157:break db;case 158:break eb;case 49:break fb;case 159:break gb;case 59:break hb;case 160:break ib;case 60:break jb;case 61:break kb;case 161:case 162:break mb;case 164:case 165:break nb;case 3:break ob;case 4:break pb;case 5:break qb;case 62:break rb;case 166:break sb;case 167:break tb;case 168:break ub;case 169:break vb;case 170:break wb;case 171:break xb;case 172:break yb;case 9:break h;case 173:break zb;case 174:break Ab;case 175:break Bb;case 6:break Cb;case 176:break Db;case 63:break Eb;case 177:break Fb;case 7:break Gb;case 178:break Hb;case 179:break Ib;case 65:case 66:break Jb;case 180:break Kb;case 181:break Lb;case 182:break Mb;case 183:break Nb;case 64:break Ob;case 8:case 184:break Pb;case 68:break Qb;case 94:break Rb;case 20:break Sb;case 51:break Tb;case 92:break Ub;case 18:break Vb;case 50:break Wb;case 17:break Xb;case 16:break Yb;case 15:break Zb;case 114:break _b;case 19:break $b;case 91:break ac;case 43:case 44:break bc;case 14:break cc;case 90:break dc;case 58:break ec;case 52:case 53:case 54:case 55:case 56:case 57:break fc;case 88:break gc;case 87:break hc;case 13:break ic;case 86:break jc;case 102:case 103:case 104:case 105:break kc;case 85:break lc;case 106:case 107:case 108:case 109:case 110:break mc;case 111:break nc;case 84:break oc;case 83:break pc;case 82:break qc;case 81:break rc;case 80:break sc;case 79:break tc;case 78:break uc;case 77:break vc;case 76:break wc;case 74:case 75:break xc;case 73:break yc;case 117:break zc;case 153:break Ac;case 72:break Bc;case 71:break Cc;case 70:break Dc;case 69:break Ec;case 12:break Fc;case 11:break Gc;case 67:break Hc;case 10:break Ic;case 163:break Jc;case 95:break I;case 96:break J;case 97:break K;case 98:break L;case 0:break P;case 1:break Q;case 2:break S;case 99:break T;case 100:break U;case 112:case 113:break W;case 101:break X;case 115:break Y;case 116:case 118:break Z;case 119:break _;case 120:break $;case 121:break aa;case 122:break ba;case 21:case 22:case 23:case 24:break da;case 124:break fa;case 125:break ga;case 25:break ha;case 27:case 28:case 29:break ia;case 26:break ja;case 30:break ma;case 31:break na;case 126:break oa;case 127:break pa;case 128:break qa;case 129:break ra;case 130:break sa;case 131:break ta;case 132:break ua;case 133:break va;case 134:break wa;case 135:break xa;case 136:break ya;case 32:case 137:break za;case 33:break Aa;case 36:break Ba;case 34:case 35:break Ca;case 37:break Ha;case 39:break Ia;case 38:break Ja;case 138:break Ka;case 139:break La;case 140:break Ma;default:break f}}e=J[f+16>>2];break lb}b=P(J[f+4>>2],40)+m|0;d=(f-u|0)/20|0;J[b>>2]=d;J[b+4>>2]=d>>31;I[b+16>>1]=4;break h}b=P(J[f+4>>2],40)+m|0;if(!(K[b+16|0]&4)){break f}f=P(J[b>>2],20)+u|0;break f}d=J[f+12>>2];b=P(J[f+4>>2],40)+m|0;I[b+16>>1]=4;d=d-1|0;J[b>>2]=d;J[b+4>>2]=d>>31;if(!J[f+8>>2]){break f}break i}b=P(J[f+4>>2],40)+m|0;I[b+16>>1]=4;d=J[b>>2];c=(f-u|0)/20|0;J[b>>2]=c;J[b+4>>2]=c>>31;f=P(d,20)+u|0;break f}if(!(H[(P(J[f+12>>2],40)+m|0)+16|0]&1)){break f}}d=J[f+4>>2];b=J[V>>2];if(!(d|!b)){J[a+216>>2]=J[b+4>>2];J[a+224>>2]=J[a+224>>2]-1;d=J[a+44>>2];c=J[a+40>>2];J[k+104>>2]=c;J[k+108>>2]=d;h=J[k+112>>2];e=h+c|0;c=J[k+116>>2]+d|0;J[k+112>>2]=e;J[k+116>>2]=e>>>0<h>>>0?c+1|0:c;b=mu(b);u=J[a+104>>2];d=u;if(J[f+8>>2]==4){b=J[(P(b,20)+d|0)+8>>2]-1|0}f=P(b,20)+d|0;m=J[a+88>>2];break f}J[a+36>>2]=d;H[a+148|0]=J[f+8>>2];if(d){b=L[f+2>>1];Kc:{if(b){J[g+80>>2]=J[(b<<2)+34108>>2];Fc(a,15960,g+80|0);c=J[a+124>>2];b=J[f+16>>2];if(!b){break Kc}J[g+68>>2]=b;J[g+64>>2]=c;c=hb(k,7416,g- -64|0);J[y>>2]=c;break Kc}J[g+48>>2]=J[f+16>>2];Fc(a,8863,g+48|0);c=J[a+124>>2]}b=J[f+4>>2];d=J[a+200>>2];J[g+40>>2]=c;J[g+36>>2]=d;J[g+32>>2]=(f-u|0)/20;Ac(b,8797,g+32|0)}o=5;if((Aj(a)|0)==5){break k}o=J[a+36>>2]?1:101;break j}b=zc(a,f);d=J[f+4>>2];J[b>>2]=d;J[b+4>>2]=d>>31;break f}b=zc(a,f);d=J[f+16>>2];c=J[d+4>>2];J[b>>2]=J[d>>2];J[b+4>>2]=c;break f}b=zc(a,f);I[b+16>>1]=8;O[b>>3]=O[J[f+16>>2]>>3];break f}b=zc(a,f);d=J[f+16>>2];e=Ya(d);J[f+4>>2]=e;if((v|0)!=1){if(cd(b,d,-1,-1,1,0)){break y}if(Kd(b,v)){break e}o=0;J[b+24>>2]=0;I[b+16>>1]=L[b+16>>1]|8192;if(K[f+1|0]==250){Ua(k,J[f+16>>2])}H[f+1|0]=250;J[f+16>>2]=J[b+8>>2];e=J[b+12>>2];J[f+4>>2]=e}if(J[k+120>>2]<(e|0)){break y}H[f|0]=73}b=zc(a,f);I[b+16>>1]=8706;J[b+8>>2]=J[f+16>>2];d=J[f+4>>2];H[b+18|0]=v;J[b+12>>2]=d;d=J[f+12>>2];if((d|0)<=0){break f}d=P(d,40)+m|0;if(J[d>>2]!=L[f+2>>1]|J[d+4>>2]){break f}I[b+16>>1]=8720;break f}c=zc(a,f);b=J[f+8>>2];d=J[f+12>>2];e=J[f+4>>2];J[c+12>>2]=0;h=e?257:1;I[c+16>>1]=h;e=d-b|0;while(1){if((e|0)<=0){break f}b=c+40|0;Rb(b);J[c+52>>2]=0;I[c+56>>1]=h;e=e-1|0;c=b;continue}}b=P(J[f+4>>2],40)+m|0;I[b+16>>1]=L[b+16>>1]&65472|1;break f}b=zc(a,f);d=J[f+4>>2];c=J[f+16>>2];Lc:{if(!c){mp(b,d);if(!ie(b)){break Lc}break e}cd(b,c,d,d>>31,0,0)}H[b+18|0]=v;break f}d=(J[a+100>>2]+P(J[f+4>>2],40)|0)-40|0;if(op(d)){break y}b=P(J[f+8>>2],40)+m|0;if(K[b+17|0]&144){Rb(b)}c=J[d+4>>2];J[b>>2]=J[d>>2];J[b+4>>2]=c;J[b+16>>2]=J[d+16>>2];c=J[d+12>>2];J[b+8>>2]=J[d+8>>2];J[b+12>>2]=c;I[b+16>>1]=L[b+16>>1]&36799|8256;break f}c=P(J[f+8>>2],40)+m|0;e=P(J[f+4>>2],40)+m|0;j=J[f+12>>2];while(1){bw(c,e);if(K[c+17|0]&64){if(ag(c)){break e}}c=c+40|0;e=e+40|0;j=j-1|0;if(j){continue}break}break f}c=P(J[f+8>>2],40)+m|0;e=P(J[f+4>>2],40)+m|0;j=J[f+12>>2];while(1){Cg(c,e,16384);h=L[c+16>>1];if(h&16384){if(ag(c)){break e}h=L[c+16>>1]}if(!(!(h&2048)|!(K[f+2|0]&2))){I[c+16>>1]=h&63487}if(!j){break f}e=e+40|0;c=c+40|0;j=j-1|0;continue}}Cg(P(J[f+8>>2],40)+m|0,P(J[f+4>>2],40)+m|0,16384);break f}b=P(J[f+4>>2],40)+m|0;xc(P(J[f+8>>2],40)+m|0,J[b>>2],J[b+4>>2]);break f}o=0;i=Qi(a,0);if(!i){break f}break b}J[a+28>>2]=(J[a+28>>2]|1)+2;J[a+120>>2]=P(J[f+4>>2],40)+m;if(K[k+87|0]){break e}if(K[k+94|0]&4){Ja[J[k+212>>2]](4,J[k+216>>2],a,0)|0}J[a+32>>2]=((f-u|0)/20|0)+1;o=100;break j}b=J[f+12>>2];p=P(b,40)+m|0;q=J[f+8>>2];d=P(q,40)+m|0;e=L[d+16>>1];l=J[f+4>>2];c=P(l,40)+m|0;j=L[c+16>>1];if((e|j)&1){Rb(p);break f}Mc:{Nc:{if(!(j&18)){if(!Bh(c,v,0)){break Nc}break e}if(!(j&1024)){break Mc}if(ie(c)){break e}}j=L[c+16>>1]&-3;e=L[d+16>>1]}Oc:{Pc:{if(!(e&18)){if(!Bh(d,v,0)){break Pc}break e}if(!(e&1024)){break Oc}if(ie(d)){break e}}e=L[d+16>>1]&-3}h=P(q,40)+m|0;r=P(l,40)+m|0;n=J[h+12>>2]+J[r+12>>2]|0;if((n|0)>J[k+120>>2]){break y}t=p;p=(b|0)==(q|0);if(ih(t,n+2|0,p)){break e}b=P(b,40)+m|0;I[b+16>>1]=L[b+16>>1]&62016|2;if(!p){Qa(J[b+8>>2],J[h+8>>2],J[h+12>>2]);I[d+16>>1]=e}Qa(J[b+8>>2]+J[h+12>>2]|0,J[(P(l,40)+m|0)+8>>2],J[r+12>>2]);I[c+16>>1]=j;d=v>>>0>1?n&-2:n;H[d+J[b+8>>2]|0]=0;H[(d+J[b+8>>2]|0)+1|0]=0;I[b+16>>1]=L[b+16>>1]|512;H[b+18|0]=v;J[b+12>>2]=d;break f}q=J[f+12>>2];p=P(q,40)+m|0;j=P(J[f+4>>2],40)+m|0;b=L[j+16>>1];n=P(J[f+8>>2],40)+m|0;d=L[n+16>>1];if(b&d&4){break o}if((b|d)&1){break m}if(!(du(j)&du(n)&4)){break n}c=K[f|0];break o}b=J[f+4>>2];if(!b){break f}xc(P(b,40)+m|0,0,0);break f}p=J[f+12>>2];h=P(p,40)+m|0;b=P(J[f+8>>2],40)+m|0;c=P(J[f+4>>2],40)+m|0;if((L[b+16>>1]|L[c+16>>1])&1){Rb(h);break f}d=fb(b);b=Ia;e=fb(c);c=Ia;Qc:{Rc:{Sc:{Tc:{j=K[f|0];switch(j-102|0){case 1:break Sc;case 0:break Tc;default:break Rc}}d=d&e;b=b&c;break Qc}d=d|e;b=b|c;break Qc}if(!(c|e)){break Qc}n=-47-j|0;q=j;l=(c|0)<0;j=l;n=j?n:q;q=0-(((e|0)!=0)+c|0)|0;l=e>>>0<=4294967232&j|(c|0)<-1;e=j?l?64:0-e|0:e;c=j?l?0:q:c;if((c|0)>0){c=1}else{c=(c|0)>=0&e>>>0>=64}if(c){b=(n&255)!=104&(b|0)<0;d=0-b|0;b=0-((b|0)!=0)|0;break Qc}if((n&255)==104){j=d;c=e&31;if((e&63)>>>0>=32){b=d<<c;d=0}else{b=(1<<c)-1&j>>>32-c|b<<c;d=j<<c}break Qc}j=d;d=e&31;if((e&63)>>>0>=32){c=0;d=b>>>d|0}else{c=b>>>d|0;d=((1<<d)-1&b)<<32-d|j>>>d}if((b|0)>0|(b|0)>=0){b=c;break Qc}e=64-e|0;b=e&31;if((e&63)>>>0>=32){l=-1<<b;b=0}else{e=(1<<b)-1&-1>>>32-b;b=-1<<b;l=e|b}d=b|d;b=c|l}J[h>>2]=d;J[h+4>>2]=b;b=P(p,40)+m|0;I[b+16>>1]=L[b+16>>1]&62016|4;break f}b=P(J[f+4>>2],40)+m|0;Ah(b);d=b;e=J[f+8>>2];c=e+J[b>>2]|0;b=J[b+4>>2]+(e>>31)|0;J[d>>2]=c;J[d+4>>2]=c>>>0<e>>>0?b+1|0:b;break f}Uc:{b=P(J[f+4>>2],40)+m|0;j=L[b+16>>1];if(j&4){break Uc}re(b,67,v);j=L[b+16>>1];if(j&4){break Uc}if(J[f+8>>2]){break i}i=20;break b}I[b+16>>1]=j&62016|4;break f}b=P(J[f+4>>2],40)+m|0;if(!(K[b+16|0]&36)){break f}cu(b);break f}b=P(J[f+4>>2],40)+m|0;if(K[b+17|0]&4){i=ie(b);if(i){break b}}o=0;i=bu(b,K[f+8|0],v);if(!i){break f}break b}n=J[f+12>>2];h=P(n,40)+m|0;e=L[h+16>>1];p=J[f+4>>2];j=P(p,40)+m|0;l=L[j+16>>1];q=e&l;if(q&4){b=J[h>>2];d=J[j>>2];e=J[h+4>>2];h=J[j+4>>2];if(b>>>0>d>>>0&(e|0)>=(h|0)|(e|0)>(h|0)){if(K[c+31048|0]){break i}z=1;break f}if(b>>>0<d>>>0&(e|0)<=(h|0)|(e|0)<(h|0)){if(K[c+31036|0]){break i}z=-1;break f}if(K[c+31042|0]){break i}break p}b=L[f+2>>1];d=e|l;if(d&1){if(b&128){z=1;if(!(!(q&1)|e&256)){z=0;b=31042;break q}if(!(e&1)){break r}z=-1;break t}if(b&16){break i}z=1;break f}b=b&71;if(b>>>0>=67){if(!(d&2)){break u}if((l&46)==2){ij(j,0);e=L[h+16>>1]}if((e&46)!=2){break u}ij(h,0);break u}if(!(d&2)|(b|0)!=66){break u}if(!(l&44)|l&2){break w}Bh(j,v,1);l=L[j+16>>1]&-3520|l&3517;c=(n|0)==(p|0)?l|2:e;e=c&65535;break v}if(z){break f}z=0;break i}c=0;h=0;h=H[f+2|0]&1?J[f-4>>2]+4|0:h;b=J[f+12>>2];d=(b|0)>0?b:0;j=J[f+8>>2];n=J[f+4>>2];b=J[f+16>>2];while(1){if((c|0)==(d|0)){break f}p=K[J[b+16>>2]+c|0];e=h?J[(c<<2)+h>>2]:c;q=n+e|0;l=e+j|0;e=zh(P(q,40)+m|0,P(l,40)+m|0,J[(b+(c<<2)|0)+20>>2]);if(e){d=p&1;Vc:{if(!(K[J[b+16>>2]+c|0]&2)){break Vc}if(!(H[(P(q,40)+m|0)+16|0]&1)){if(!(H[(P(l,40)+m|0)+16|0]&1)){break Vc}}e=0-e|0}z=d?0-e|0:e;break f}else{c=c+1|0;z=0;continue}}}if((z|0)<0){f=(P(J[f+4>>2],20)+u|0)-20|0;break f}if(!z){f=(P(J[f+8>>2],20)+u|0)-20|0;break p}f=(P(J[f+12>>2],20)+u|0)-20|0;break f}b=yh(P(J[f+4>>2],40)+m|0,2);c=yh(P(J[f+8>>2],40)+m|0,2);d=J[f+12>>2];b=K[(P(b,3)+c|0)+(K[f|0]==44?34128:34137)|0];if((b|0)==2){b=P(d,40)+m|0;I[b+16>>1]=L[b+16>>1]&62016|1;break f}d=P(d,40)+m|0;J[d>>2]=b;J[d+4>>2]=0;I[d+16>>1]=L[d+16>>1]&62016|4;break f}c=P(J[f+8>>2],40)+m|0;b=yh(P(J[f+4>>2],40)+m|0,J[f+12>>2])^J[f+16>>2];xc(c,b,b>>31);break f}b=P(J[f+8>>2],40)+m|0;d=P(J[f+4>>2],40)+m|0;if(!(H[d+16|0]&1)){xc(b,!yh(d,0),0);break f}Rb(b);break f}d=J[f+4>>2];b=P(J[f+8>>2],40)+m|0;Rb(b);d=P(d,40)+m|0;if(H[d+16|0]&1){break f}I[b+16>>1]=4;J[b>>2]=fb(d)^-1;J[b+4>>2]=Ia^-1;break f}b=J[a+104>>2];d=J[a+216>>2];Wc:{if(d){b=(f-b|0)/20|0;c=1<<(b&7);b=J[d+20>>2]+(b>>>3|0)|0;d=K[b|0];if(c&d){break i}H[b|0]=c|d;c=J[J[a+104>>2]+4>>2];break Wc}c=J[b+4>>2];if((c|0)==J[f+4>>2]){break i}}J[f+4>>2]=c;break f}if(yh(P(J[f+4>>2],40)+m|0,J[f+12>>2])){break i}break f}if(!yh(P(J[f+4>>2],40)+m|0,!J[f+12>>2])){break i}break f}if(H[(P(J[f+4>>2],40)+m|0)+16|0]&1){break i}break f}b=J[f+4>>2];Xc:{if((b|0)>=0){d=J[f+12>>2];b=J[J[a+96>>2]+(b<<2)>>2];if((d|0)<L[b+54>>1]){b=J[(b+(d<<2)|0)+84>>2];if(b>>>0>=12){b=b&1?4:8;break Xc}b=K[b+34146|0];break Xc}b=1<<J[f+16>>2]-1;break Xc}b=1<<K[(L[(P(J[f+12>>2],40)+m|0)+16>>1]&63)+31120|0]-1}if(b&L[f+2>>1]){break i}break f}Yc:{if(!(H[(P(J[f+4>>2],40)+m|0)+16|0]&1)){if(!(H[(P(J[f+12>>2],40)+m|0)+16|0]&1)){break Yc}}Rb(P(J[f+8>>2],40)+m|0);break f}xc(P(J[f+8>>2],40)+m|0,0,0);break f}if(!(H[(P(J[f+4>>2],40)+m|0)+16|0]&1)){break i}break f}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(!b|!K[b+2|0]){break f}Rb(P(J[f+12>>2],40)+m|0);break i}c=J[a+96>>2]+(J[f+4>>2]<<2)|0;p=J[f+8>>2];Zc:while(1){h=J[c>>2];while(1){s=J[h+64>>2];_c:{$c:{e=J[a+28>>2];if((e|0)!=J[h+24>>2]){if(K[h+2|0]){if(K[h|0]!=3){break $c}b=J[h+28>>2];if((b|0)<=0){break $c}b=P(b,40)+m|0;d=J[b+12>>2];J[h+72>>2]=d;J[h+76>>2]=d;j=J[b+8>>2];J[h+68>>2]=j;break G}b=J[h+36>>2];if(K[h+3|0]){ad:{d=J[h+8>>2];if(d){d=J[(d+(p<<2)|0)+4>>2];if(d){break ad}}o=0;i=au(h);if(i){break b}break H}p=d-1|0;c=h+32|0;continue Zc}if(!K[b|0]){break H}break _c}if(K[J[h+36>>2]]){break _c}l=L[h+54>>1];break F}Rb(P(J[f+12>>2],40)+m|0);break f}o=0;i=$t(h);if(!i){continue}break}break}break b}b=P(J[f+4>>2],40)+m|0;d=J[(P(J[b>>2],20)+u|0)+8>>2];I[b+16>>1]=0;f=(P(d,20)+u|0)-20|0;break f}b=K[k+94|0];bd:{if(!(b&65)|K[a+149|0]==254){break bd}e=J[f+16>>2];if(!e){e=J[a+200>>2];if(!e){break bd}}if(b&64){d=Fa-160|0;Fa=d;J[d+152>>2]=0;n=J[a>>2];b=J[n+120>>2];I[d+148>>1]=0;J[d+144>>2]=0;J[d+140>>2]=b;J[d+136>>2]=0;J[d+128>>2]=0;J[d+132>>2]=0;cd:{if(J[n+196>>2]>=2){c=e;while(1){p=K[e|0];if(!p){break cd}while(1){dd:{c=c+1|0;if((p|0)==10){break dd}p=K[c|0];if(p){continue}}break}b=d+128|0;nb(b,30571,3);nb(b,e,c-e|0);e=c;continue}}if(L[a+16>>1]){h=1;ed:while(1){if(!K[e|0]){break cd}j=0;p=1;l=0;c=e;while(1){fd:{if(p){b=jj(c,d+156|0);if(J[d+156>>2]!=156){break fd}j=b}nb(d+128|0,e,l);if(!j){break cd}b=e+l|0;gd:{if(K[b|0]==63){if((j|0)>=2){Zf(b+1|0,d+152|0);c=J[d+152>>2];break gd}J[d+152>>2]=h;c=h;break gd}c=dw(a,b,j);J[d+152>>2]=c}e=c+1|0;h=(e|0)>(h|0)?e:h;e=b+j|0;b=J[a+100>>2]+P(c,40)|0;c=b-40|0;j=L[c+16>>1];if(j&1){nb(d+128|0,20228,4);continue ed}if(j&36){b=J[c+4>>2];J[d+80>>2]=J[c>>2];J[d+84>>2]=b;gb(d+128|0,14967,d+80|0);continue ed}if(j&8){O[d+64>>3]=O[c>>3];gb(d+128|0,12578,d- -64|0);continue ed}if(j&2){c=b-32|0;p=K[n+84|0];if((p|0)!=1){j=d+88|0;Sa(j,0,40);J[d+108>>2]=n;b=J[b-28>>2];cd(j,J[c>>2],b,b>>31,p,0);if((Kd(j,1)|0)==7){J[d+136>>2]=0;H[d+148|0]=7}J[d+48>>2]=sJ(J[d+96>>2],J[d+100>>2],32);J[d+52>>2]=Ia;gb(d+128|0,28183,d+48|0);Vc(d+88|0);continue ed}b=J[b-28>>2];J[d+36>>2]=J[c>>2];J[d+32>>2]=b;gb(d+128|0,28183,d+32|0);continue ed}if(j&1024){J[d+16>>2]=J[c>>2];gb(d+128|0,25542,d+16|0);continue ed}nb(d+128|0,27799,2);c=0;j=J[b-28>>2];j=(j|0)>0?j:0;b=b-32|0;while(1){if((c|0)!=(j|0)){J[d>>2]=K[J[b>>2]+c|0];gb(d+128|0,1599,d);c=c+1|0;continue}break}nb(d+128|0,29112,1);continue ed}l=b+l|0;c=b+c|0;p=K[c|0];continue}}}nb(d+128|0,e,Ya(e))}if(K[d+148|0]){Nf(d+128|0)}b=Ed(d+128|0);Fa=d+160|0;Ja[J[k+212>>2]](J[k+216>>2],b);Oa(b);break bd}if(J[k+196>>2]>=2){J[g+96>>2]=e;b=hb(k,8821,g+96|0);Ja[J[k+212>>2]](1,J[k+216>>2],a,b)|0;Ua(k,b);break bd}Ja[J[k+212>>2]](1,J[k+216>>2],a,e)|0}b=J[f+4>>2];if((b|0)>=J[16511]){if(K[f|0]==184){break f}c=1;b=J[a+108>>2];b=(b|0)<=1?1:b;while(1){if((b|0)!=(c|0)){d=J[a+104>>2]+P(c,20)|0;if(K[d|0]==15){J[d+4>>2]=0}c=c+1|0;continue}break}J[f+4>>2]=0;b=0}J[f+4>>2]=b+1;J[a+188>>2]=J[a+188>>2]+1;break i}b=J[f+4>>2];d=_t(m,f);b=P(b,40)+m|0;c=J[b+8>>2];b=J[b+12>>2]<<3;b=pJ(d,Ia,b,b>>31);if(!(K[((Ia&7)<<29|b>>>3)+c|0]>>>(b&7)&1)){J[a+196>>2]=J[a+196>>2]+1;break i}J[a+192>>2]=J[a+192>>2]+1;break f}b=J[f+4>>2];d=_t(m,f);b=P(b,40)+m|0;c=J[b+8>>2];b=J[b+12>>2]<<3;b=pJ(d,Ia,b,b>>31);d=((Ia&7)<<29|b>>>3)+c|0;H[d|0]=K[d|0]|1<<(b&7);break f}b=J[f+8>>2];d=P(J[f+4>>2],40)+m|0;if(H[d+16|0]&1){b=P(b,40)+m|0;I[b+16>>1]=L[b+16>>1]&63487;break f}b=P(b,40)+m|0;I[b+16>>1]=L[b+16>>1]|2048;H[b+19|0]=J[d>>2];break f}b=P(J[f+8>>2],40)+m|0;d=P(J[f+4>>2],40)+m|0;if(K[d+17|0]&8){xc(b,K[d+19|0],0);break f}Rb(b);break f}b=P(J[f+4>>2],40)+m|0;I[b+16>>1]=L[b+16>>1]&63487;break f}hd:{e=J[f+12>>2];d=P(e,40)+m|0;b=J[f+16>>2];if((d|0)==J[b>>2]){l=K[b+26|0];break hd}H[b+24|0]=v;J[b>>2]=d;J[b+12>>2]=a;l=K[b+26|0];c=l;while(1){if((c|0)<=0){break hd}c=c-1|0;J[(b+(c<<2)|0)+28>>2]=P(J[f+8>>2]+c|0,40)+m;continue}}c=P(e,40)+m|0;I[c+16>>1]=L[c+16>>1]&62016|1;Ja[J[J[b+4>>2]+16>>2]](b,l,b+28|0);c=J[b+20>>2];if(!c){break f}i=o;if((c|0)>0){J[g+320>>2]=Wa(d);Fc(a,8863,g+320|0);i=J[b+20>>2]}Wk(k,ea,J[b+16>>2],J[f+4>>2]);o=0;J[b+20>>2]=0;if(!i){break f}break b}d=zc(a,f);e=J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+4>>2];b=J[e+4>>2];c=J[f+12>>2];if(c){h=J[b+48>>2];c=c>>>0<h>>>0?h:c}else{c=0}J[b+4>>2]=J[e>>2];b=J[b>>2];id:{if(!c){c=J[b+160>>2];break id}J[b+160>>2]=c}J[d>>2]=c;J[d+4>>2]=0;break f}b=zc(a,f);J[b>>2]=J[J[J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+4>>2]+4>>2]+48>>2];J[b+4>>2]=0;break f}J[g+352>>2]=0;J[g+356>>2]=0;if(K[k+87|0]){break e}i=6;b=J[J[f+16>>2]+8>>2];if(!b){break b}d=J[b>>2];if(!d){break b}if(!J[d+52>>2]){break f}c=0;i=J[f+8>>2];j=(i|0)>0?i:0;e=P(J[f+12>>2],40)+m|0;h=J[a+92>>2];n=K[k+92|0];while(1){if((c|0)!=(j|0)){J[h+(c<<2)>>2]=e;c=c+1|0;e=e+40|0;continue}break}H[k+92|0]=K[f+2|0];i=Ja[J[d+52>>2]](b,i,h,g+352|0)|0;H[k+92|0]=n;bf(a,b);if(!i){if(J[f+4>>2]){b=J[g+356>>2];J[k+40>>2]=J[g+352>>2];J[k+44>>2]=b}c=J[a+44>>2];b=J[a+40>>2]+1|0;c=b?c:c+1|0;J[a+40>>2]=b;J[a+44>>2]=c;break ea}if(!(!K[J[f+16>>2]+16|0]|(i&255)!=19)){c=2;o=0;jd:{kd:{b=L[f+2>>1];switch(b-4|0){case 0:break f;case 1:break jd;default:break kd}}c=b}H[a+148|0]=c;break b}c=J[a+44>>2];b=J[a+40>>2]+1|0;c=b?c:c+1|0;J[a+40>>2]=b;J[a+44>>2]=c;break b}d=J[k+36>>2];b=J[k+32>>2];J[k+32>>2]=b|67108864;J[k+36>>2]=d;d=J[J[f+16>>2]+8>>2];c=P(J[f+4>>2],40)+m|0;i=Kd(c,1);if(i){break b}i=Ja[J[J[d>>2]+76>>2]](d,J[c+8>>2])|0;if(!(b&67108864)){c=J[k+36>>2];J[k+32>>2]=J[k+32>>2]&-67108865;J[k+36>>2]=c}bf(a,d);I[a+152>>1]=L[a+152>>1]&65532;o=0;if(!i){break f}break b}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(K[b+2|0]){break f}c=J[b+36>>2];e=J[c>>2];d=J[e>>2];i=Ja[J[d+36>>2]](c)|0;bf(a,e);if(i){break b}o=0;if(!(Ja[J[d+40>>2]](J[b+36>>2])|0)){break h}break g}c=J[f+12>>2];d=P(c,40)+m|0;e=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(K[e+2|0]){Rb(d);break f}h=J[J[e+36>>2]>>2];i=J[h>>2];b=_;J[b+16>>2]=0;J[b+20>>2]=0;J[b+8>>2]=0;J[b+12>>2]=0;J[b>>2]=0;J[b+4>>2]=0;H[g+488|0]=v;J[g+464>>2]=d;J[g+356>>2]=16777216;J[g+360>>2]=0;J[g+468>>2]=g+352;ld:{if(H[f+2|0]&1){Rb(d);I[(P(c,40)+m|0)+16>>1]=1025;J[d>>2]=0;break ld}b=P(c,40)+m|0;I[b+16>>1]=L[b+16>>1]&62016|1}i=Ja[J[i+44>>2]](J[e+36>>2],g+464|0,J[f+8>>2])|0;bf(a,h);if(J[g+484>>2]>0){J[g+304>>2]=Wa(d);Fc(a,8863,g+304|0);i=J[g+484>>2]}Kd(d,v);o=0;if(!i){break f}break b}c=0;b=P(J[f+12>>2],40)+m|0;d=J[b+40>>2];j=(d|0)>0?d:0;n=b+40|0;b=J[b>>2];p=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];e=J[p+36>>2];q=J[e>>2];h=J[q>>2];i=J[a+92>>2];while(1){if((c|0)!=(j|0)){l=i+(c<<2)|0;c=c+1|0;J[l>>2]=n+P(c,40);continue}break}i=Ja[J[h+32>>2]](e,b,J[f+16>>2],d,i)|0;bf(a,q);if(i){break b}o=0;b=Ja[J[h+40>>2]](e)|0;H[p+2|0]=0;if(b){break i}break f}d=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];b=pb(8,0);if(!b){break e}J[b>>2]=J[d+36>>2];J[b+4>>2]=P(J[f+12>>2],40)+m;d=zc(a,f);I[d+16>>1]=1;mw(d,b,2455,2);break f}J[g+352>>2]=0;c=P(J[f+8>>2],40)+m|0;Rb(c);d=J[f+16>>2];b=J[d+52>>2];if(!b){break f}e=J[b+8>>2];i=J[e>>2];J[b+12>>2]=J[b+12>>2]+1;i=Ja[J[i+96>>2]](e,J[J[k+16>>2]+(J[f+4>>2]<<4)>>2],J[d>>2],J[f+12>>2],g+352|0)|0;Kf(J[d+52>>2]);b=J[g+352>>2];if(!i){o=0;if(!b){break f}cd(c,b,-1,-1,1,1);break f}Oa(b);break b}J[g+352>>2]=0;i=6;b=J[J[f+16>>2]+8>>2];if(!b){break b}d=J[b>>2];if(!d){break b}i=Ja[J[d+24>>2]](b,g+352|0)|0;bf(a,b);if(i){break b}J[J[g+352>>2]>>2]=b;o=0;c=Bg(a,J[f+4>>2],0,2);if(c){J[c+36>>2]=J[g+352>>2];J[b+4>>2]=J[b+4>>2]+1;break f}Ja[J[d+28>>2]](J[g+352>>2])|0;break e}J[k+200>>2]=J[k+200>>2]+1;o=0;i=0;b=tc(k,J[f+16>>2],J[J[k+16>>2]+(J[f+4>>2]<<4)>>2]);md:{if(!b|K[b+43|0]!=1){break md}c=J[b+52>>2];if(!c){break md}while(1){if(c){if(J[J[c+8>>2]+4>>2]>0){i=6;break md}else{c=J[c+24>>2];continue}}break}d=Yt(k,b);c=J[J[d+4>>2]>>2];j=J[c+20>>2];if(!j){j=J[c+16>>2]}J[b+24>>2]=J[b+24>>2]+1;i=Ja[j|0](J[d+8>>2])|0;if(!i){J[d+8>>2]=0;J[b+52>>2]=0;Kf(d)}xd(k,b)}J[k+200>>2]=J[k+200>>2]-1;if(!i){break f}break b}o=0;b=g+352|0;Sa(b,0,40);J[g+372>>2]=k;i=mj(b,P(J[f+8>>2],40)+m|0);b=Wa(b);nd:{if(!b){break nd}od:{b=tc(k,b,J[J[k+16>>2]+(J[f+4>>2]<<4)>>2]);c=J[J[b+48>>2]>>2];d=Cc(da,c);pd:{if(!d){break pd}e=J[d>>2];i=J[e+4>>2];if(!i){break pd}if(J[e+20>>2]){break od}}J[g+288>>2]=c;J[y>>2]=hb(k,8337,g+288|0);i=1;break nd}i=gp(k,b,d,i,y);if(i){break nd}i=0;if(!ud(k,b)){break nd}i=Xt(k);if(i){break nd}Wt(k,ud(k,b));i=0}Vc(g+352|0);if(!i){break f}break b}b=J[f+16>>2];qd:{rd:{sd:{d=J[k+384>>2];if(!(J[k+408>>2]|(d|0)<=0)){i=6;break sd}if(!b){break R}e=J[J[b+8>>2]>>2];if(!J[e+56>>2]){i=0;break rd}c=0;d=(d|0)>0?d:0;td:{while(1){if((c|0)==(d|0)){break td}i=c<<2;c=c+1|0;if((b|0)!=J[J[k+408>>2]+i>>2]){continue}break}i=0;break sd}i=Xt(k);if(i){break sd}i=Ja[J[e+56>>2]](J[b+8>>2])|0;if(i){break rd}d=J[k+504>>2];c=J[k+508>>2];Wt(k,b);i=0;d=c+d|0;if(!d){break rd}c=J[e+80>>2];if(!c){break rd}J[b+20>>2]=d;i=Ja[c|0](J[b+8>>2],d-1|0)|0;break rd}if(!b){break qd}}bf(a,J[b+8>>2])}o=0;if(!i){break f}break b}c=K[f+12|0];if(!(K[k+36|0]&4?c:1)){break f}o=0;b=J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+4>>2];if(!K[b+9|0]){break f}d=J[f+8>>2];J[J[b+4>>2]+4>>2]=J[b>>2];e=c+1|0;i=Bo(b,d,e&255);if(!i){h=J[b+4>>2];c=h+76|0;ud:{while(1){c=J[c>>2];if(c){if((d|0)==J[c+4>>2]&(b|0)==J[c>>2]){break ud}c=c+12|0;continue}break}c=od(16,0);if(!c){break d}J[c>>2]=b;J[c+4>>2]=d;J[c+12>>2]=J[h+76>>2];J[h+76>>2]=c}if(K[c+8|0]>=(e&255)>>>0){break f}H[c+8|0]=e;break f}if((i&255)!=6){break b}J[g+272>>2]=J[f+16>>2];Fc(a,8692,g+272|0);break b}b=J[J[J[a+96>>2]+(J[f+4>>2]<<2)>>2]+36>>2];H[b+1|0]=K[b+1|0]&191;break f}b=J[J[J[a+96>>2]+(J[f+4>>2]<<2)>>2]+36>>2];H[b+1|0]=K[b+1|0]|64;break f}b=J[f+8>>2];if(!J[f+4>>2]){Uf(k,b);break f}I[a+152>>1]=L[a+152>>1]&65532|b+1&3;break f}d=J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+4>>2];b=J[d+4>>2];J[b+4>>2]=J[d>>2];o=0;if(!K[b+17|0]){break i}d=J[b+48>>2];c=ab(J[J[b+12>>2]+56>>2]+36|0);e=Rx(b,d,c);vd:{if(!(c>>>0<d>>>0&d>>>0>=e>>>0)){i=Ta(74207);break vd}if(!c){break i}i=gg(b,0,0);if(i){break vd}$p(b);i=Hx(b,e,d,0);if(i){break vd}i=Pb(J[J[b+12>>2]+72>>2]);d=J[J[b+12>>2]+56>>2];b=J[b+48>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[d+28|0]=b;H[d+29|0]=b>>>8;H[d+30|0]=b>>>16;H[d+31|0]=b>>>24}if(!i){o=i;break f}if((i|0)==101){break i}break b}o=0;e=J[f+4>>2];b=J[f+8>>2];l=b?P(b,40)+m|0:0;p=0;t=Fa-128|0;Fa=t;wd:{if(!K[k+85|0]){Hf(y,k,10623);c=1;break wd}if(J[k+184>>2]>=2){Hf(y,k,4419);c=1;break wd}i=J[k+60>>2];xd:{if(!l){c=30620;break xd}c=1;d=L[l+16>>1];b=d&31;if((d&63)>>>0>=32){b=262144>>>b|0}else{b=((1<<b)-1&262144)<<32-b|262148>>>b}if(!(b&1)){Hf(y,k,13913);break wd}c=Wa(l);J[k+60>>2]=J[k+60>>2]&-8|6}ha=K[k+94|0];H[k+94|0]=0;aa=J[k+24>>2];J[k+24>>2]=aa|6;d=J[k+36>>2];ia=d;s=J[k+32>>2];J[k+32>>2]=s&-268456450|513;J[k+36>>2]=d&-2;r=1;b=J[k+16>>2]+(e<<4)|0;A=J[b+4>>2];d=J[J[A+4>>2]>>2];if(!K[d+12|0]){r=K[d+16|0]!=0}d=J[b>>2];w=J[k+112>>2];ja=J[k+116>>2];N=J[k+104>>2];ka=J[k+108>>2];b=J[k+20>>2];J[t+64>>2]=c;c=Ii(k,y,18114,t- -64|0);J[k+60>>2]=i;yd:{if(c){break yd}c=J[k+16>>2];p=c+(b<<4)|0;i=J[p+4>>2];zd:{if(l){h=J[J[J[i+4>>2]>>2]+64>>2];J[t+80>>2]=0;J[t+84>>2]=0;j=J[h>>2];if(j){if(Ja[J[j+24>>2]](h,t+80|0)|0){break zd}c=J[t+80>>2];h=J[t+84>>2];if((h|0)>0){c=1}else{c=!!c&(h|0)>=0}if(c){break zd}c=J[k+16>>2]}J[k+24>>2]=J[k+24>>2]|8;c=K[((e<<4)+c|0)+8|0]|J[k+32>>2]&56}else{c=1}h=wv(A);Xi(i,J[J[(J[k+16>>2]+(e<<4)|0)+12>>2]+80>>2]);Nk(i,Nk(A,0));$n(i,c|32);c=_n(k,y,20023);if(c){break yd}c=tf(A,!l<<1,0);if(c){break yd}e=J[A+4>>2];if(!(K[J[e>>2]+5|0]!=5|l)){J[k+100>>2]=0}c=7;if($g(i,J[e+36>>2],h,0)){break yd}if(!r){if($g(i,J[k+100>>2],h,0)){break yd}}if(K[k+87|0]){break yd}c=H[k+90|0];Ad:{if((c|0)>=0){c=c&255;break Ad}c=Zn(A)}Yn(i,c);H[k+176|0]=b;J[t+48>>2]=d;c=Ii(k,y,24248,t+48|0);if(c){break yd}J[t+32>>2]=d;c=Ii(k,y,27661,t+32|0);if(c){break yd}H[k+176|0]=0;J[t+16>>2]=d;c=Ii(k,y,24097,t+16|0);J[k+24>>2]=J[k+24>>2]&-5;if(c){break yd}J[t>>2]=d;c=Ii(k,y,26489,t);if(c){break yd}q=0;while(1){if(q>>>0<=9){b=K[q+34408|0];xh(A,b,t+68|0);d=q|1;q=q+2|0;c=Xj(i,b,J[t+68>>2]+K[d+34408|0]|0);if(!c){continue}break yd}break}Bd:{if(!l){d=J[A+4>>2];J[d+4>>2]=J[A>>2];b=J[i+4>>2];J[b+4>>2]=J[i>>2];d=J[J[d>>2]+64>>2];c=J[d>>2];Cd:{if(!c){break Cd}e=J[b+48>>2];b=J[b+36>>2];J[t+72>>2]=lJ(e,0,b,b>>31);J[t+76>>2]=Ia;c=Ja[J[c+40>>2]](d,11,t+72|0)|0;if((c|0)==12){break Cd}if(c){break yd}}c=t+80|0;Sa(c,0,48);b=J[i>>2];J[t+104>>2]=i;J[t+100>>2]=b;J[t+96>>2]=1;J[t+84>>2]=A;q=0;j=0;r=Fa-16|0;Fa=r;b=J[c+24>>2];d=J[b+4>>2];J[d+4>>2]=J[b>>2];e=J[c+28>>2];if(!(e>>>0>6|!(1<<e&97))){W=J[d>>2];G=J[J[J[c+4>>2]+4>>2]>>2];Dd:{if(!(!J[c>>2]|K[d+20|0]!=2)){j=1;e=5;break Dd}if(K[b+8|0]){j=1;e=0;break Dd}e=tf(b,0,0)}h=J[c+12>>2];Ed:{Fd:{if(!(e|h)){e=7;if(($g(J[c+4>>2],J[J[J[c+24>>2]+4>>2]+36>>2],0,0)|0)==7){break Ed}h=J[c+12>>2];break Fd}if(e){break Ed}}e=0;if(h){break Ed}e=tf(J[c+4>>2],2,c+8|0);if(e){break Ed}J[c+12>>2]=1;e=0}b=J[J[c+4>>2]+4>>2];B=J[b+36>>2];d=J[J[c+24>>2]+4>>2];n=J[d+36>>2];h=K[J[b>>2]+5|0];Gd:{if(e){break Gd}Hd:{if((h|0)!=5){e=0;if(!(K[G+12|0]?1:K[G+16|0]!=0)){break Gd}if((n|0)!=(B|0)){break Hd}break Gd}e=0;if((n|0)==(B|0)){break Gd}}e=8}b=J[d+48>>2];while(1){Id:{if((q|0)==2147483647){break Id}d=J[c+16>>2];if(d>>>0>b>>>0|e){break Id}e=0;if((d|0)!=((M[16608]/M[J[J[c+24>>2]+4>>2]+36>>2]|0)+1|0)){e=Ja[J[W+220>>2]](W,d,r+8|0,2)|0;if(!e){e=xz(c,d,J[J[r+8>>2]+4>>2],0);ed(J[r+8>>2])}d=J[c+16>>2]}J[c+16>>2]=d+1;q=q+1|0;continue}break}Jd:{Kd:{if((e|0)==101){break Kd}if(e){break Jd}J[c+36>>2]=b;d=J[c+16>>2];J[c+32>>2]=(b-d|0)+1;if(b>>>0<d>>>0){break Kd}e=0;if(J[c+40>>2]){break Jd}b=J[J[J[c+24>>2]+4>>2]>>2];J[c+44>>2]=J[b+96>>2];J[b+96>>2]=c;J[c+40>>2]=1;break Jd}Ld:{if(b){break Ld}b=J[c+4>>2];e=J[b>>2];d=J[b+4>>2];J[d+48>>2]=0;J[d+4>>2]=e;b=1;e=Nq(d);if((e|0)==101){break Ld}if(e){break Jd}}e=Xj(J[c+4>>2],1,J[c+8>>2]+1|0);if(e){break Jd}d=J[c>>2];if(d){sf(d)}if((h|0)==5){e=hz(J[c+4>>2],2);if(e){break Jd}}Md:{if((n|0)<(B|0)){d=(B|0)/(n|0)|0;d=((d+b|0)-1|0)/(d|0)|0;h=d-((d|0)==((M[16608]/M[J[J[c+4>>2]+4>>2]+36>>2]|0)+1|0))|0;d=J[G+28>>2];Q=J[G+64>>2];q=b>>31;e=0;while(1){if(!(d>>>0<h>>>0|e)){e=0;Nd:{if(((M[16608]/M[J[J[c+4>>2]+4>>2]+36>>2]|0)+1|0)==(h|0)){break Nd}e=Ja[J[G+220>>2]](G,h,r+8|0,0)|0;if(e){break Nd}e=Pb(J[r+8>>2]);ed(J[r+8>>2])}h=h+1|0;continue}break}Y=n>>31;h=lJ(b,q,n,Y);R=Ia;if(!e){e=Gq(G,0,1)}ba=J[16608];b=ba+B|0;d=b>>31;B=b>>>0>h>>>0&(d|0)>=(R|0)|(d|0)>(R|0);q=B?h:b;B=B?R:d;d=n+ba|0;b=d>>31;while(1){if(!((b|0)>=(B|0)&d>>>0>=q>>>0|(b|0)>(B|0)|e)){J[r+8>>2]=0;e=(ma=W,na=mJ(d,b,n,Y)+1|0,oa=r+8|0,pa=0,la=J[W+220>>2],Ja[la](ma|0,na|0,oa|0,pa|0)|0);if(!e){e=Ja[J[J[Q>>2]+12>>2]](Q,J[J[r+8>>2]+4>>2],n,d,b)|0}ed(J[r+8>>2]);b=b+Y|0;d=d+n|0;b=d>>>0<n>>>0?b+1|0:b;continue}break}if(e){break Jd}e=Ja[J[J[Q>>2]+24>>2]](Q,r+8|0)|0;if(e){break Jd}b=J[r+12>>2];if(M[r+8>>2]>h>>>0&(b|0)>=(R|0)|(b|0)>(R|0)){e=Ja[J[J[Q>>2]+16>>2]](Q,h,R)|0;if(e){break Jd}}e=Fq(G,0);break Md}J[G+28>>2]=P((n|0)/(B|0)|0,b);e=Gq(G,0,0)}if(e){break Jd}b=Wj(J[c+4>>2],0);e=b?b:101}if(!j){om(J[c+24>>2],0);Wj(J[c+24>>2],0)}J[c+28>>2]=(e|0)==3082?7:e}Fa=r+16|0;if(c){d=J[c+20>>2];b=J[c+24>>2];e=J[b+4>>2];J[e+4>>2]=J[b>>2];if(J[c>>2]){J[b+16>>2]=J[b+16>>2]-1}if(J[c+40>>2]){e=J[e>>2]+96|0;while(1){b=e;h=J[b>>2];e=h+44|0;if((c|0)!=(h|0)){continue}break}J[b>>2]=J[c+44>>2]}Pp(J[c+4>>2],0,0);b=J[c+28>>2];b=(b|0)!=101?b:0;e=J[c>>2];Od:{if(!e){break Od}Lc(e,b);Im(J[c>>2]);if(!J[c>>2]){break Od}Oa(c)}Im(d)}else{b=0}c=b;if(c){break Bd}b=J[A+4>>2];I[b+24>>1]=L[b+24>>1]&65533}c=ao(i);b=!c;if(!(c|l)){Yn(A,Zn(i));b=1}if(!b|l){break yd}b=wv(i);c=$g(A,J[J[i+4>>2]+36>>2],b,1);break yd}b=J[J[J[t+84>>2]+4>>2]>>2];if(!K[b+12|0]){Hg(b)}break yd}Hf(y,k,3771);c=1}J[k+112>>2]=w;J[k+116>>2]=ja;J[k+104>>2]=N;J[k+108>>2]=ka;J[k+32>>2]=s;J[k+36>>2]=ia;J[k+24>>2]=aa;H[k+94|0]=ha;H[k+176|0]=0;$g(A,-1,0,1);H[k+85|0]=1;if(p){mf(J[p+4>>2]);J[p+12>>2]=0;J[p+4>>2]=0}sf(k)}Fa=t+128|0;i=c;if(!c){break f}break b}j=zc(a,f);c=J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+4>>2];d=J[J[c+4>>2]>>2];b=K[d+5|0];Pd:{if(K[d+17|0]<=2){e=J[f+12>>2];h=(e|0)==-1?b:e;if(!J[J[d+68>>2]>>2]){break Pd}e=J[d+80>>2];i=J[d+84>>2];if((i|0)<0){e=1}else{e=!e&(i|0)<=0}if(e){break Pd}}h=b}i=33108;i=K[d+15|0]|J[d>>2]==66824?i:J[d+184>>2];e=b;Qd:{Rd:{Sd:{if((h|0)==5){if(!Ya(i)){break Rd}if(!uu(d)|(b|0)==5){break Rd}break Sd}if((b|0)==(h|0)){break Rd}if((b|0)==5){break Sd}i=o;b=h;break Qd}if(!(J[k+188>>2]<2?K[k+85|0]:0)){J[g+256>>2]=(h|0)==5?9998:12614;Fc(a,10509,g+256|0);break M}Td:{Ud:{if((h|0)!=5){Vd:{if(!J[d+232>>2]){J[g+352>>2]=0;i=Mf(d,1);if(i){break Td}b=J[d>>2];i=Ja[J[b+32>>2]](b,J[d+236>>2],0,g+352|0)|0;if(!(i|!J[g+352>>2])){i=tu(d)}if(i){break Td}if(!J[d+232>>2]){break Vd}}i=su(d);if(i){break Td}i=$u(J[d+232>>2],k,K[d+11|0],J[d+168>>2],J[d+224>>2]);J[d+232>>2]=0;if(!i){break Vd}if(K[d+4|0]){break Td}Fg(d,1);break Td}ro(d,h);b=1;break Ud}if((b|0)==4){ro(d,2)}b=5;i=o;if(i){break Qd}b=2}i=hz(c,b)}b=h;break Qd}i=o}b=ro(d,i?e:b);I[j+16>>1]=8706;o=0;c=0;c=(b|0)!=6?J[(b<<2)+34384>>2]:c;J[j+8>>2]=c;b=Ya(c);H[j+18|0]=1;J[j+12>>2]=b;Kd(j,v);if(!i){break f}break b}J[g+360>>2]=-1;J[g+352>>2]=0;J[g+356>>2]=-1;i=Av(k,J[f+4>>2],J[f+8>>2],fa,ga);if(i){if((i|0)!=5){break b}J[g+352>>2]=1}e=P(J[f+12>>2],40)+m|0;c=0;while(1){if((c|0)==3){break R}b=J[(g+352|0)+(c<<2)>>2];xc(e,b,b>>31);e=e+40|0;c=c+1|0;continue}}c=P(J[f+4>>2],40)+m|0;d=J[f+12>>2];Wd:{if(d){b=J[f+16>>2];J[g+380>>2]=0;J[g+372>>2]=0;J[g+376>>2]=0;J[g+364>>2]=0;J[g+368>>2]=0;d=P(d,40)+m|0;Rb(d);J[g+360>>2]=c;J[g+352>>2]=d;J[g+356>>2]=b;H[g+376|0]=K[J[c+20>>2]+84|0];Ja[J[b+24>>2]](g+352|0);c=P(J[f+12>>2],40)+m|0;i=J[g+372>>2];break Wd}i=eu(c,J[f+16>>2])}if(!i){Kd(c,v);break R}J[g+240>>2]=Wa(c);Fc(a,8863,g+240|0);break b}d=L[f+2>>1];b=d<<2;e=Ib(k,b+68|0,0);if(!e){break e}J[e+8>>2]=0;b=b+e|0;J[e>>2]=b+28;J[b+52>>2]=0;J[b+48>>2]=k;I[b+44>>1]=1;b=J[f+16>>2];J[e+16>>2]=(f-u|0)/20;J[e+4>>2]=b;H[e+25|0]=0;J[e+12>>2]=a;H[e+26|0]=d;H[e+24|0]=v;J[e+20>>2]=0;J[f+16>>2]=e;I[f>>1]=61859}Xd:{b=J[f+12>>2];d=P(b,40)+m|0;if((d|0)==J[e+8>>2]){h=K[e+26|0];break Xd}J[e+8>>2]=d;h=K[e+26|0];c=h;while(1){if((c|0)<=0){break Xd}c=c-1|0;J[((c<<2)+e|0)+28>>2]=P(J[f+8>>2]+c|0,40)+m;continue}}b=P(b,40)+m|0;J[b+12>>2]=J[b+12>>2]+1;Ja[J[J[e+4>>2]+(J[f+4>>2]?28:16)>>2]](e,h,e+28|0);b=J[e+20>>2];if(!b){break f}i=o;if((b|0)>0){J[g+224>>2]=Wa(J[e>>2]);Fc(a,8863,g+224|0);i=J[e+20>>2]}if(K[e+25|0]){b=J[f-16>>2];if(b){xc(P(b,40)+m|0,1,0)}H[e+25|0]=0}Vc(J[e>>2]);I[J[e>>2]+16>>1]=1;o=0;J[e+20>>2]=0;if(!i){break f}break b}d=P(J[f+4>>2],40)+m|0;b=J[d>>2];e=J[d+4>>2];if(!b&(e|0)==-2147483648){break f}c=b-1|0;J[d>>2]=c;b=e-!b|0;J[d+4>>2]=b;if(!(b|c)){break i}break f}d=P(J[f+4>>2],40)+m|0;b=J[d>>2];c=J[d+4>>2];if(!(b|c)){break f}if(!b&(c|0)<=0|(c|0)<0){break i}J[d>>2]=b-1;J[d+4>>2]=c-!b;break i}d=J[f+4>>2];e=J[f+12>>2];b=zc(a,f);c=P(d,40)+m|0;d=J[c>>2];c=J[c+4>>2];J[g+352>>2]=d;J[g+356>>2]=c;if(!d&(c|0)<=0|(c|0)<0){d=-1;c=-1}else{c=P(e,40)+m|0;d=J[c>>2];e=d;c=J[c+4>>2];d=!!d&(c|0)>=0|(c|0)>0;c=Vk(g+352|0,d?e:0,d?c:0);d=c?-1:J[g+352>>2];c=c?-1:J[g+356>>2]}J[b>>2]=d;J[b+4>>2]=c;break f}d=P(J[f+4>>2],40)+m|0;b=J[d>>2];c=J[d+4>>2];if(!b&(c|0)<=0|(c|0)<0){break f}e=J[f+12>>2];J[d>>2]=b-e;J[d+4>>2]=c-((e>>31)+(b>>>0<e>>>0)|0);break i}c=J[V>>2];if(c){while(1){b=c;c=J[b+4>>2];if(c){continue}break}b=J[b+12>>2]}else{b=m}d=b+P(J[f+4>>2],40)|0;Ah(d);c=P(J[f+8>>2],40)+m|0;Ah(c);b=J[c>>2];c=J[c+4>>2];e=J[d+4>>2];if((c|0)<=(e|0)&M[d>>2]>=b>>>0|(c|0)<(e|0)){break f}J[d>>2]=b;J[d+4>>2]=c;break f}if(J[f+4>>2]){if(J[k+512>>2]|J[k+516>>2]){break f}if(!(J[k+520>>2]|J[k+524>>2])){break i}break f}if(J[a+64>>2]|J[a+68>>2]){break f}if(!(J[k+520>>2]|J[k+524>>2])){break i}break f}if(K[k+34|0]&8){b=J[f+8>>2];c=b;d=b+J[k+520>>2]|0;b=J[k+524>>2]+(b>>31)|0;J[k+520>>2]=d;J[k+524>>2]=c>>>0>d>>>0?b+1|0:b;break f}d=J[f+8>>2];b=d>>31;if(J[f+4>>2]){l=b+J[k+516>>2]|0;b=d+J[k+512>>2]|0;l=b>>>0<d>>>0?l+1|0:l;J[k+512>>2]=b;J[k+516>>2]=l;break f}b=b+J[a+68>>2]|0;c=d;d=d+J[a+64>>2]|0;b=c>>>0>d>>>0?b+1|0:b;J[a+64>>2]=d;J[a+68>>2]=b;break f}c=zc(a,f);b=J[a+216>>2];Cg(c,(J[b+12>>2]+P(J[f+4>>2],40)|0)+P(J[(J[b+8>>2]+P(J[b+48>>2],20)|0)+4>>2],40)|0,16384);break f}h=J[f+12>>2];b=J[f+16>>2];Yd:{if(!L[f+2>>1]){break Yd}c=J[b+20>>2];e=V;while(1){d=J[e>>2];if(!d){break Yd}e=d+4|0;if((c|0)!=J[d+24>>2]){continue}break}break f}c=J[a+224>>2];if((c|0)<J[k+160>>2]){Zd:{_d:{d=P(h,40)+m|0;if(!(K[d+16|0]&16)){c=J[b+12>>2];l=!c+(c+J[b+8>>2]|0)|0;e=P(l,40);c=(e+(((J[b+4>>2]+7|0)/8|0)+(c<<2)|0)|0)+88|0;j=ib(k,c,c>>31);if(!j){break e}Vc(d);I[d+16>>1]=4112;J[d+36>>2]=3;J[d+12>>2]=c;J[d+8>>2]=j;J[j+60>>2]=l;J[j>>2]=a;q=J[b+12>>2];J[j+48>>2]=(f-u|0)/20;J[j+64>>2]=q;J[j+12>>2]=J[a+88>>2];J[j+56>>2]=J[a+20>>2];J[j+16>>2]=J[a+96>>2];J[j+44>>2]=J[a+24>>2];J[j+8>>2]=J[a+104>>2];J[j+52>>2]=J[a+108>>2];J[j+24>>2]=J[b+20>>2];c=j+88|0;d=e+c|0;while(1){if((c|0)==(d|0)){break _d}J[c+20>>2]=k;I[c+16>>1]=0;c=c+40|0;continue}}j=J[d+8>>2];e=L[j+64>>1];l=J[j+60>>2];q=J[b+12>>2];break Zd}c=J[a+224>>2];e=q}J[a+224>>2]=c+1;J[j+4>>2]=J[a+216>>2];d=J[k+44>>2];J[j+32>>2]=J[k+40>>2];J[j+36>>2]=d;d=J[a+44>>2];J[j+72>>2]=J[a+40>>2];J[j+76>>2]=d;d=J[a>>2];c=J[d+108>>2];J[j+80>>2]=J[d+104>>2];J[j+84>>2]=c;J[j+40>>2]=J[a+236>>2];J[a+216>>2]=j;J[a+40>>2]=0;J[a+44>>2]=0;J[a+236>>2]=0;m=j+88|0;J[a+88>>2]=m;d=P(l,40)+m|0;J[a+96>>2]=d;J[a+24>>2]=e&65535;J[a+20>>2]=l;d=d+(q<<2)|0;J[j+20>>2]=d;Sa(d,0,(J[b+4>>2]+7|0)/8|0);u=J[b>>2];J[a+104>>2]=u;J[a+108>>2]=J[b+4>>2];f=u-20|0;break g}Fc(a,10861,0);break M}b=J[f+12>>2];n=J[f+16>>2];p=J[f+4>>2];d=P(p,40)+m|0;if(!(K[d+16|0]&16)){if(Vt(d)){break e}}q=P(b,40)+m|0;b=q;d=J[b>>2];b=J[b+4>>2];if(n){c=J[(P(p,40)+m|0)+8>>2];if((n|0)!=J[c+28>>2]){e=J[c+8>>2];if(e){if(!(H[c+26|0]&1)){e=Ut(e)}j=c+20|0;$d:{ae:{while(1){h=J[j>>2];if(!h){break ae}j=J[h+12>>2];if(j){St(j,g+352|0,g+464|0);J[h+12>>2]=0;j=h+8|0;e=qo(J[g+352>>2],e);continue}break}J[h+12>>2]=Rt(e);break $d}h=Qt(c);J[j>>2]=h;if(!h){break $d}J[h+8>>2]=0;J[h>>2]=0;J[h+4>>2]=0;J[h+12>>2]=Rt(e)}J[c+8>>2]=0;J[c+12>>2]=0;I[c+26>>1]=L[c+26>>1]|1}J[c+28>>2]=n}c=c+20|0;while(1){h=J[c>>2];if(h){c=h+12|0;while(1){e=J[c>>2];if(e){c=J[e>>2];j=J[e+4>>2];if(c>>>0<d>>>0&(j|0)<=(b|0)|(b|0)>(j|0)){c=e+8|0;continue}if(c>>>0<=d>>>0&(b|0)>=(j|0)|(b|0)>(j|0)){break i}c=e+12|0;continue}break}c=h+8|0;continue}break}if((n|0)<0){break f}d=J[q>>2];b=J[q+4>>2]}Pt(J[(P(p,40)+m|0)+8>>2],d,b);break f}be:{e=P(J[f+4>>2],40)+m|0;if(!(K[e+16|0]&16)){break be}b=J[e+8>>2];d=L[b+26>>1];if(!(d&2)){if(!(d&1)){J[b+8>>2]=Ut(J[b+8>>2]);d=L[b+26>>1]}I[b+26>>1]=d|3}c=J[b+8>>2];if(!c){break be}d=J[c>>2];e=J[c+4>>2];c=J[c+8>>2];J[b+8>>2]=c;if(!c){Ot(b)}xc(P(J[f+12>>2],40)+m|0,d,e);break g}Rb(e);break h}d=J[f+8>>2];b=P(J[f+4>>2],40)+m|0;if(!(K[b+16|0]&16)){if(Vt(b)){break e}}d=P(d,40)+m|0;Pt(J[b+8>>2],J[d>>2],J[d+4>>2]);break f}h=P(J[f+12>>2],40)+m|0;n=J[h>>2]+1|0;p=J[(J[k+16>>2]+(L[f+2>>1]<<4)|0)+4>>2];d=J[p+4>>2];c=J[d+4>>2];l=0;e=J[f+16>>2];o=J[e+4>>2];if(!o){l=J[e+8>>2]!=1}q=P(J[f+4>>2],40);j=J[f+8>>2];b=J[c+32>>2];r=J[c+36>>2];J[d+4>>2]=J[p>>2];Sa(_,0,68);J[g+464>>2]=d;J[g+540>>2]=k;J[g+468>>2]=J[d>>2];c=J[d+48>>2];H[g+533|0]=1;J[g+520>>2]=100;J[g+524>>2]=1e9;J[g+480>>2]=n;J[g+476>>2]=c;J[g+516>>2]=g+352;ce:{if(!c){break ce}n=od((c>>>3|0)+1|0,0);J[g+472>>2]=n;de:{if(!n){break de}p=Wi(J[d+36>>2]);J[g+536>>2]=p;if(!p){break de}p=c;c=(M[16608]/M[d+36>>2]|0)+1|0;if(p>>>0>=c>>>0){n=n+(c>>>3|0)|0;H[n|0]=K[n|0]|1<<(c&7)}if(!l){J[g+496>>2]=30530;c=J[J[d+12>>2]+56>>2];Nt(g+464|0,1,ab(c+32|0),ab(c+36|0));J[g+496>>2]=0}n=e+4|0;ee:{if(!o){break ee}if(K[d+17|0]){e=0;p=(j|0)>0?j:0;c=0;while(1){if((c|0)!=(p|0)){l=J[n+(c<<2)>>2];e=e>>>0>l>>>0?e:l;c=c+1|0;continue}break}c=ab(J[J[d+12>>2]+56>>2]+52|0);if((c|0)==(e|0)){break ee}J[g+212>>2]=c;J[g+208>>2]=e;Jc(g+464|0,25018,g+208|0);break ee}if(!ab(J[J[d+12>>2]+56>>2]- -64|0)){break ee}Jc(g+464|0,10003,0)}c=J[d+4>>2];e=J[c+32>>2];p=J[c+36>>2];J[c+32>>2]=e&-2097153;J[c+36>>2]=p;c=0;while(1){e=J[g+480>>2];if(!(!e|(c|0)>=(j|0))){p=n+(c<<2)|0;e=J[p>>2];if(e){if(!(!K[d+17|0]|(!o|(e|0)==1))){Ag(g+464|0,e,1,0);e=J[p>>2]}J[g+500>>2]=e;po(g+464|0,e,g+344|0,-1,2147483647)}c=c+1|0;continue}break}c=J[d+4>>2];J[c+32>>2]=b;J[c+36>>2]=r;c=1;if(!o){break ce}while(1){if(!e|M[g+476>>2]<c>>>0){break ce}e=1<<(c&7);b=c>>>3|0;fe:{if(!(e&K[b+J[g+472>>2]|0])){if(la=(Ld(d,c)|0)==(c|0),pa=0,oa=K[d+17|0],oa?la:pa){break fe}J[g+192>>2]=c;Jc(g+464|0,15652,g+192|0);if(!(e&K[b+J[g+472>>2]|0])){break fe}}if((Ld(d,c)|0)!=(c|0)|!K[d+17|0]){break fe}J[g+176>>2]=c;Jc(g+464|0,16426,g+176|0)}c=c+1|0;e=J[g+480>>2];continue}}J[g+480>>2]=0;J[g+484>>2]=1;J[g+488>>2]=7}d=m+q|0;ef(J[g+536>>2]);Oa(J[g+472>>2]);c=J[g+484>>2];ge:{if(!c){Nf($);b=0;break ge}b=Ed($)}o=J[g+488>>2];Rb(d);he:{if(c){if(o){break he}e=J[h>>2];c=c-1|0;j=e-c|0;c=J[h+4>>2]-((c>>31)+(c>>>0>e>>>0)|0)|0;J[h>>2]=j;J[h+4>>2]=c;cd(d,b,-1,-1,1,1)}Kd(d,v);break g}Oa(b);break O}d=jd(J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+12>>2]+40|0,J[f+16>>2],0);if(!d){break f}ie:{if(J[d+20>>2]!=J[d+24>>2]){break ie}b=Lt(d);if(!b){break ie}j=b+56|0;while(1){b=j;c=J[b>>2];if(!c){break ie}j=c+32|0;if((c|0)!=(d|0)){continue}break}J[b>>2]=J[d+32>>2]}Mh(k,d);J[k+24>>2]=J[k+24>>2]|1;break f}d=jd(J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+12>>2]+24|0,J[f+16>>2],0);if(d){b=J[d+12>>2];c=J[b+8>>2];je:{ke:{if((d|0)==(c|0)){b=b+8|0;break ke}while(1){b=c;if(!b){break je}c=J[b+20>>2];if((d|0)!=(c|0)){continue}break}b=b+20|0}J[b>>2]=J[d+20>>2]}Uk(k,d)}J[k+24>>2]=J[k+24>>2]|1;break f}xd(k,jd(J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+12>>2]+8|0,J[f+16>>2],0));J[k+24>>2]=J[k+24>>2]|1;break f}o=0;i=Kt(k,J[f+4>>2]);if(!i){break f}break b}b=J[f+4>>2];le:{me:{if(!J[f+16>>2]){Tj(J[(J[k+16>>2]+(b<<4)|0)+12>>2]);J[k+24>>2]=J[k+24>>2]&-17;i=Vo(k,b,y,L[f+2>>1]);J[k+24>>2]=J[k+24>>2]|1;I[a+152>>1]=L[a+152>>1]&65532;break me}J[g+352>>2]=k;J[g+368>>2]=0;J[g+356>>2]=y;J[g+360>>2]=b;b=J[k+16>>2]+(b<<4)|0;J[g+376>>2]=J[J[J[b+4>>2]+4>>2]+48>>2];b=J[b>>2];J[g+168>>2]=J[f+16>>2];J[g+164>>2]=9211;J[g+160>>2]=b;b=hb(k,15047,g+160|0);if(!b){i=7;break le}H[k+177|0]=1;J[g+372>>2]=0;J[g+364>>2]=0;d=Rd(k,b,4,g+352|0,0);i=d?d:J[g+364>>2];if(!(i|J[g+372>>2])){i=Ta(99556)}Za(k,b);H[k+177|0]=0}if(!i){break R}}sf(k);if((i|0)!=7){break b}break e}H[k+96|0]=K[k+96|0]+1;J[g+352>>2]=0;b=K[k+94|0];d=J[k+364>>2];if(J[f+4>>2]){H[k+94|0]=0;J[k+364>>2]=0}i=Rd(k,J[f+16>>2],0,0,g+352|0);J[k+364>>2]=d;H[k+94|0]=b;H[k+96|0]=K[k+96|0]-1;b=J[g+352>>2];if(!(b|i)){break R}J[g+144>>2]=b;Fc(a,8863,g+144|0);Oa(J[g+352>>2]);if((i|0)!=7){break b}break e}o=0;b=zc(a,f);J[g+352>>2]=0;i=It(J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+4>>2],g+352|0,J[f+12>>2]);if(i){break b}J[b>>2]=J[g+352>>2];J[b+4>>2]=0;break f}d=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];b=J[d+36>>2];if(K[d|0]==1){iu(k,b);break f}o=0;i=Tk(J[b+8>>2],J[b+64>>2],0);if(!i){break f}break b}J[g+352>>2]=0;J[g+356>>2]=0;i=Tk(J[(J[k+16>>2]+(J[f+8>>2]<<4)|0)+4>>2],J[f+4>>2],g+352|0);d=J[f+12>>2];ne:{if(!d){break ne}h=J[g+356>>2];l=h+J[a+44>>2]|0;b=J[g+352>>2];e=J[a+40>>2];c=b+e|0;J[a+40>>2]=c;J[a+44>>2]=c>>>0<e>>>0?l+1|0:l;if((d|0)<=0){break ne}d=P(d,40)+m|0;e=J[d>>2];c=h+J[d+4>>2]|0;h=b;b=b+e|0;c=h>>>0>b>>>0?c+1|0:c;J[d>>2]=b;J[d+4>>2]=c}o=0;if(!i){break f}break b}b=zc(a,f);I[b+16>>1]=1;if(J[k+188>>2]>(J[k+200>>2]+1|0)){H[a+148|0]=2;i=6;break b}c=J[f+4>>2];j=J[f+12>>2];h=J[(J[k+16>>2]+(j<<4)|0)+4>>2];d=J[h+4>>2];J[d+4>>2]=J[h>>2];e=0;J[g+464>>2]=0;oe:{if(c>>>0>M[d+48>>2]){i=Ta(80271);break oe}i=Tk(h,c,0);if(i){break oe}i=ld(d,c,g+464|0,0);J[g+352>>2]=i;if(i){zb(J[g+464>>2]);break oe}if(K[d+17|0]){xh(h,4,g+344|0);p=J[g+344>>2];pe:{if((c|0)==(p|0)){c=J[g+464>>2];wh(c,g+352|0);zb(c);i=J[g+352>>2];if(i){break oe}e=0;break pe}zb(J[g+464>>2]);i=ld(d,p,g+340|0,0);if(i){break oe}n=J[g+340>>2];i=xo(d,n,1,0,c,0);zb(n);if(i){break oe}J[g+340>>2]=0;J[g+352>>2]=ld(d,p,g+340|0,0);c=J[g+340>>2];wh(c,g+352|0);zb(c);i=J[g+352>>2];if(i){break oe}e=p}c=(M[16608]/M[d+36>>2]|0)+2|0;while(1){i=(c|0)==(p|0);p=p-1|0;if(i){continue}if((Ld(d,p)|0)==(p|0)){continue}break}i=Xj(h,4,p);break oe}d=J[g+464>>2];wh(d,g+352|0);zb(d);i=J[g+352>>2]}J[b>>2]=e;J[b+4>>2]=e>>31;I[b+16>>1]=4;if(i){break b}o=0;if(!e){break f}d=J[(J[k+16>>2]+(j<<4)|0)+12>>2];c=d+16|0;b=J[f+4>>2];while(1){c=J[c>>2];if(c){h=J[c+8>>2];if(J[h+20>>2]!=(e|0)){continue}J[h+20>>2]=b;continue}break}c=d+32|0;while(1){c=J[c>>2];if(c){d=J[c+8>>2];if(J[d+44>>2]!=(e|0)){continue}J[d+44>>2]=b;continue}break}ca=j+1|0;break f}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];J[g+464>>2]=J[b+40>>2];d=J[f+16>>2];H[g+486|0]=c>>>0<42?-1:0;I[g+484>>1]=d;J[g+468>>2]=P(J[f+12>>2],40)+m;b=J[b+36>>2];d=Sh(b);if((d|0)<=0){i=Ta(99276);break b}J[g+376>>2]=0;J[g+372>>2]=k;I[g+368>>1]=0;c=d;d=g+352|0;i=kj(b,c,d);if(i){break b}o=0;b=vh(J[g+364>>2],J[g+360>>2],g+464|0,0);uh(d);if(((H[f|0]&1?b+1|0:0-b|0)|0)>0){break i}break f}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(!K[b+3|0]){break f}o=0;i=au(b);if(!i){break f}break b}c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];i=Ht(c);if(i){break b}if(!K[c+2|0]){b=J[c+36>>2];d=Sh(b);J[g+376>>2]=0;J[g+372>>2]=k;I[g+368>>1]=0;i=kj(b,d,g+352|0);if(i){break b}b=J[g+360>>2];d=H[b|0];e=d&255;J[g+344>>2]=e;if((d|0)<0){Jd(b,g+344|0);e=J[g+344>>2]}qe:{re:{if(e>>>0<3){break re}d=J[g+364>>2];if(d>>>0<e>>>0){break re}h=(b+e|0)-1|0;n=H[h|0];j=n&255;J[g+340>>2]=j;if((n|0)<0){Jd(h,g+340|0);j=J[g+340>>2]}if((j|0)==7|j-10>>>0<4294967287){break re}h=e;e=K[j+34176|0];if(d>>>0>=h+e>>>0){break qe}}uh(g+352|0);i=Ta(89496);break b}Pg(b+(d-e|0)|0,j,g+464|0);b=J[g+464>>2];e=J[g+468>>2];d=e;uh(g+352|0);if(K[f|0]==141){d=J[J[a+96>>2]+(J[f+12>>2]<<2)>>2];J[d+56>>2]=b;J[d+60>>2]=e;I[d+2>>1]=256;o=0;J[d+24>>2]=0;b=J[f+16>>2];J[d+32>>2]=c;J[d+8>>2]=b;break f}c=zc(a,f);J[c>>2]=b;J[c+4>>2]=d;break R}Rb(P(J[f+8>>2],40)+m|0);break R}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];d=J[b+36>>2];J[g+352>>2]=J[b+40>>2];c=J[f+12>>2];H[g+374|0]=0;I[g+372>>1]=c;J[g+356>>2]=P(J[f+8>>2],40)+m;i=sh(d,g+352|0,g+464|0);if(i){break b}se:{if(!J[g+464>>2]){i=Gt(d,4);if(i){break b}break se}if(!L[f+2>>1]|(J[k+32>>2]&268435457)==1){break se}i=779;zl(779,99071,10212);break b}J[b+24>>2]=0;J[b+28>>2]=0;break R}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];d=J[f+8>>2];r=P(d,40)+m|0;if(K[r+17|0]&4){i=ie(r);if(i){break b}}j=J[b+36>>2];b=J[r+8>>2];c=H[b+1|0];e=c&255;J[g+352>>2]=e;if((c|0)<0){Jd(b+1|0,g+352|0);e=J[g+352>>2]}te:{if(!((e|0)==7|e-1>>>0>8)){H[j+68|0]=H[j+68|0]&1;break te}if(!(!(e&1)|(e|0)<11)){H[j+68|0]=K[j+68|0]&2;break te}H[j+68|0]=0}s=P(d,40)+m|0;w=J[s+12>>2];b=w;c=rh(b,b>>31)+b|0;q=c>>31;d=b+8|0;i=0;b=J[j+4>>2];ue:{if(!b){break ue}ve:{if(J[j+44>>2]){n=J[j+56>>2];e=n>>31;if(!(e|n)){break ue}h=b;p=b>>31;b=e;e=d+n|0;b=e>>>0<d>>>0?b+1|0:b;if(e>>>0>h>>>0&(b|0)>=(p|0)|(b|0)>(p|0)){break ve}break ue}e=J[j+48>>2];l=b>>>0<e>>>0;h=J[j+52>>2];b=b>>31;if(l&(h|0)>=(b|0)|(b|0)<(h|0)){break ve}b=J[j>>2];n=b>>31;if(!J[18200]|((n|0)>=(h|0)&b>>>0>=e>>>0|(h|0)<(n|0))){break ue}}i=Ft(j);J[j+56>>2]=0;J[j+48>>2]=0;J[j+52>>2]=0}l=q+J[j+52>>2]|0;b=c+J[j+48>>2]|0;l=b>>>0<c>>>0?l+1|0:l;J[j+48>>2]=b;J[j+52>>2]=l;if((c|0)>J[j+8>>2]){J[j+8>>2]=c}e=J[j+44>>2];we:{if(e){h=J[j+40>>2];l=J[j+56>>2];n=d+l|0;d=J[j+60>>2];xe:{if((n|0)<=(d|0)){q=e;break xe}p=n>>31;b=d>>31;while(1){c=b<<1|d>>>31;d=d<<1;b=c;if(n>>>0>d>>>0&(p|0)>=(b|0)|(b|0)<(p|0)){continue}break}q=J[j+4>>2];c=q>>31;l=q;q=d>>>0<q>>>0&(b|0)<=(c|0)|(b|0)<(c|0);d=q?d:l;l=d;t=d>>>0>n>>>0;d=q?b:c;b=d;c=t&(p|0)<=(b|0)|(b|0)>(p|0);b=c?l:n;q=Gd(e,b,c?d:p);if(!q){break d}d=h?h-e|0:-1;ye:{if((d|0)<0){h=J[j+40>>2];break ye}h=d+q|0;J[j+40>>2]=h}J[j+60>>2]=b;J[j+44>>2]=q;l=J[j+56>>2]}J[j+56>>2]=(w+15&-8)+l;e=l+q|0;if(!h){break we}J[e+4>>2]=h-q;break we}e=Yb(d,0);if(!e){break d}J[e+4>>2]=J[j+40>>2]}Qa(e+8|0,J[r+8>>2],J[s+12>>2]);J[e>>2]=J[s+12>>2];J[j+40>>2]=e;o=0;if(!i){break f}break b}h=J[f+8>>2];d=P(h,40)+m|0;b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];e=L[f+2>>1];if(e&1){c=J[a+44>>2];i=J[a+40>>2]+1|0;c=i?c:c+1|0;J[a+40>>2]=i;J[a+44>>2]=c}if(K[d+17|0]&4){i=ie(d);if(i){break b}e=L[f+2>>1]}d=P(h,40)+m|0;c=J[d+12>>2];J[g+360>>2]=c;J[g+364>>2]=c>>31;J[g+352>>2]=J[d+8>>2];J[g+372>>2]=P(J[f+12>>2],40)+m;I[g+376>>1]=J[f+16>>2];i=Et(J[b+36>>2],g+352|0,e&138,e&16?J[b+28>>2]:0);J[b+24>>2]=0;if(!i){break R}break b}c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];i=Sk(J[c+36>>2]);break Ga}c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];i=lj(J[c+36>>2]);break Ga}c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];b=J[c+36>>2];if(K[b+64|0]){J[g+352>>2]=0;i=Dt(J[b+20>>2],g+352|0);if(i|!J[g+352>>2]){break Ga}break Ea}d=J[b+40>>2];J[b+40>>2]=J[d+4>>2];J[d+4>>2]=0;if(!J[b+44>>2]){uo(k,d)}if(!J[b+40>>2]){break Ea}J[c+24>>2]=0;break Fa}J[c+24>>2]=0;if((i|0)==101){break Da}if(i){break b}}o=0;H[c+2|0]=0;b=(L[f+2>>1]<<2)+a|0;J[b+164>>2]=J[b+164>>2]+1;break h}J[c+24>>2]=0}H[c+2|0]=1;o=0;break g}J[a+172>>2]=J[a+172>>2]+1}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];J[g+332>>2]=1;s=J[b+36>>2];n=b;ze:{Ae:{if(K[b|0]==1){if(!K[s+64|0]){b=1;if(!J[s+40>>2]){break ze}J[g+332>>2]=0;i=Ct(s+72|0,s+40|0);break Ae}i=Ft(s);if(i){break b}w=0;i=0;r=0;while(1){Be:{Ce:{De:{Ee:{if(!i){if(K[s+67|0]<=w>>>0){break Ee}l=0;J[g+344>>2]=0;t=s+P(w,80)|0;e=J[t+80>>2];i=e>>31;d=16;b=0;while(1){if(d>>>0<e>>>0&(b|0)<=(i|0)|(b|0)<(i|0)){l=l+1|0;c=b<<4|d>>>28;d=d<<4;b=c;continue}break}J[g+352>>2]=0;J[g+356>>2]=0;d=(s+P(w,80)|0)+72|0;if((e|0)<=16){i=Bt(d,e,g+352|0,g+344|0);p=J[g+344>>2];break Be}b=0;p=oo(16);i=p?0:7;A=(l|0)<=1?1:l;q=0;while(1){c=J[t+80>>2];if((c|0)<=(b|0)|i){break Be}J[g+340>>2]=0;c=c-b|0;i=Bt(d,(c|0)>=16?16:c,g+352|0,g+340|0);if(!i){e=1;i=At(d,J[g+340>>2],g+464|0);j=1;c=1;while(1){if((j|0)==(A|0)){h=p;while(1){if(!(e>>>0>=l>>>0|i)){N=J[h+12>>2]+P(((q|0)/(c|0)|0)%16|0,56)|0;j=J[N+48>>2];Fe:{if(!j){i=oo(16);if(!i){i=7;break Fe}i=At(d,i,N+48|0);if(i){break Fe}j=J[N+48>>2]}c=(c|0)/16|0;h=J[j+4>>2];i=0}e=e+1|0;continue}break}c=J[g+464>>2];Ge:{if(!i){J[(J[h+12>>2]+P((q|0)%16|0,56)|0)+48>>2]=c;break Ge}gu(c)}q=q+1|0}else{j=j+1|0;c=c<<4;continue}break}}b=b+16|0;continue}}Dg(r);break De}i=zt(s+72|0,r);J[s+20>>2]=r;if(i){break De}i=0;break Ce}Dg(0)}J[g+332>>2]=0;break Ae}He:{if(!i){r=p;break He}Dg(p)}w=w+1|0;continue}}i=kw(s,g+332|0);J[b+24>>2]=0;H[b+3|0]=0}if(i){break b}b=J[g+332>>2]}H[n+2|0]=b;o=0;if(J[f+8>>2]<=0){break f}if(b){break i}break f}b=J[J[J[a+96>>2]+(J[f+4>>2]<<2)>>2]+36>>2];i=kw(b,g+352|0);if(i){break b}if(J[g+352>>2]){break ca}b=yt(b);d=Ia;if((d|0)<0){break R}if(J[f+12>>2]>(Fd(b,d)|0)){break ca}break R}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];d=J[b+36>>2];J[g+352>>2]=0;if((c|0)==137){J[b+28>>2]=-1;if(!K[d|0]){break f}}i=no(d,g+352|0);d=J[g+352>>2];J[b+24>>2]=0;H[b+3|0]=0;H[b+2|0]=d;if(i){break b}o=0;if(J[f+8>>2]<=0){break f}if(d){break ca}break f}b=J[f+4>>2];c=J[J[a+96>>2]+(b<<2)>>2];if(!c){c=Bg(a,b,1,3);if(!c){break e}H[c+4|0]=1;J[c+28>>2]=0;J[c+36>>2]=73172;H[c+5|0]=K[c+5|0]|8}J[c+24>>2]=0;H[c+2|0]=1;if(K[c|0]){break f}Xk(J[c+36>>2]);break f}b=zc(a,f);c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(K[c+2|0]){I[b+16>>1]=1;break f}d=b;Ie:{if(K[c+3|0]){b=J[c+56>>2];c=J[c+60>>2];break Ie}if(K[c|0]==2){c=J[c+36>>2];b=J[c>>2];i=Ja[J[J[b>>2]+48>>2]](c,g+352|0)|0;bf(a,b);if(i){break b}o=0;b=J[g+352>>2];c=J[g+356>>2];break Ie}i=Ht(c);if(i){break b}if(K[c+2|0]){I[b+16>>1]=1;break R}o=0;b=Yk(J[c+36>>2]);c=Ia}J[d>>2]=b;J[d+4>>2]=c;break f}b=zc(a,f);c=J[J[J[a+96>>2]+(J[f+4>>2]<<2)>>2]+36>>2];d=Sh(c);if(d>>>0>M[k+120>>2]){break y}i=kj(c,d,b);if(i){break b}o=0;if(J[f+12>>2]|!(K[b+17|0]&64)){break f}if(!ag(b)){break f}break e}b=J[f+8>>2];c=xt(J[J[J[a+96>>2]+(J[f+4>>2]<<2)>>2]+36>>2],g+352|0);b=P(b,40)+m|0;d=J[g+352>>2];if(Uh(b,d)){break d}J[b+12>>2]=d;I[b+16>>1]=L[b+16>>1]&62016|16;Qa(J[b+8>>2],c,d);o=0;J[J[J[a+96>>2]+(J[f+12>>2]<<2)>>2]+24>>2]=0;break f}b=J[f+16>>2];e=J[f+12>>2];c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];d=J[c+40>>2];c=J[c+36>>2];j=J[c+32>>2];if(!j){j=Qk(d);J[c+32>>2]=j;if(!j){break d}I[j+20>>1]=b}c=xt(c,g+352|0);Ni(d,J[g+352>>2],c,j);c=0;b=(b|0)>0?b:0;while(1){if((b|0)!=(c|0)){d=P(c,40);c=c+1|0;if(!(H[(J[j+4>>2]+d|0)+16|0]&1)){continue}break ca}break}o=0;b=P(e,40)+m|0;if(Mi(J[b+12>>2],J[b+8>>2],j)){break i}break f}b=J[a+44>>2];d=J[a+40>>2];J[k+104>>2]=d;J[k+108>>2]=b;b=J[k+116>>2]+b|0;c=J[k+112>>2];d=c+d|0;J[k+112>>2]=d;J[k+116>>2]=c>>>0>d>>>0?b+1|0:b;J[a+40>>2]=0;J[a+44>>2]=0;break f}d=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];b=J[f+8>>2];e=0;Je:{if(K[f+1|0]!=251){h=0;break Je}h=0;if(!J[k+248>>2]){break Je}h=J[J[k+16>>2]+(H[d+1|0]<<4)>>2];e=J[f+16>>2];if(!(K[f+2|0]&2)|!K[d+4|0]){break Je}J[d+56>>2]=Yk(J[d+36>>2]);J[d+60>>2]=Ia}i=Gt(J[d+36>>2],K[f+2|0]);J[d+24>>2]=0;J[d+28>>2]=0;if(i){break b}U=U+1|0;o=0;if(!(b&1)){break f}b=J[a+44>>2];c=J[a+40>>2]+1|0;b=c?b:b+1|0;J[a+40>>2]=c;J[a+44>>2]=b;b=J[k+248>>2];if(K[e+28|0]&128|(!b|!e)){break f}Ja[b|0](J[k+244>>2],9,h,J[e>>2],J[d+56>>2],J[d+60>>2]);break f}b=J[a+96>>2];h=J[b+(J[f+8>>2]<<2)>>2];c=J[b+(J[f+4>>2]<<2)>>2];b=J[f+12>>2];if(b){d=P(b,40)+m|0;b=J[d>>2];d=J[d+4>>2]}else{b=0;d=0}e=J[c+36>>2];n=J[e+20>>2];c=J[n+84>>2];l=J[h+36>>2];Eg(l);h=J[l+44>>2];Ke:{if(h>>>0<=127){H[c|0]=h;p=c+1|0;break Ke}p=af(c,h,0)+c|0}if(!J[e+112>>2]){p=af(p,b,d)+p|0}c=L[l+48>>1];h=J[l+40>>2];j=c+h|0;w=J[J[l+116>>2]+60>>2];if(j>>>0>w>>>0){i=Ta(79678);break b}b=J[l+44>>2];q=J[e+116>>2];r=L[q+14>>1];if(!((b|0)!=(c|0)|r>>>0<=c>>>0)){J[n+88>>2]=(Qa(p,h,c)+c|0)-J[n+84>>2];break R}J[g+352>>2]=0;s=J[J[l+20>>2]>>2];J[g+464>>2]=0;e=b;if(r>>>0<b>>>0){d=L[q+16>>1];i=d;d=nJ(b-d|0,0-(b>>>0<d>>>0)|0,J[J[q+52>>2]+40>>2]-4|0,0)+d|0;e=(d|0)>(r|0)?i:d}d=(p-J[n+84>>2]|0)+e|0;q=d+4|0;i=d;d=b>>>0>e>>>0;J[n+88>>2]=d?q:i;q=0;if(b>>>0>c>>>0){if(w>>>0<j+4>>>0){i=Ta(79703);break b}q=ab(j)}r=d?e+p|0:0;o=0;while(1){b=b-e|0;while(1){if(c){d=c>>>0>e>>>0?e:c;i=Qa(p,h,d);h=d+h|0;p=d+i|0;e=e-d|0;c=c-d|0}else{c=0}Le:{if(!e){i=J[g+352>>2];j=!i;break Le}ed(J[g+464>>2]);j=0;J[g+464>>2]=0;i=Ja[J[s+220>>2]](s,q,g+464|0,2)|0;J[g+352>>2]=i;if(i){break Le}d=J[J[g+464>>2]+4>>2];h=d+4|0;q=ab(d);c=J[J[l+20>>2]+40>>2]-4|0;continue}break}if(!(!r|(!j|!b))){J[g+340>>2]=0;J[g+352>>2]=cf(n,g+340|0,g+344|0,0,0);d=J[g+344>>2];d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);H[r|0]=d;H[r+1|0]=d>>>8;H[r+2|0]=d>>>16;H[r+3|0]=d>>>24;if(!(!K[n+17|0]|!o)){vd(n,J[g+344>>2],4,J[o+4>>2],g+352|0)}zb(o);o=J[g+340>>2];if(o){r=J[o+56>>2];H[r|0]=0;H[r+1|0]=0;H[r+2|0]=0;H[r+3|0]=0;p=r+4|0;d=J[n+40>>2]-4|0;e=b>>>0>d>>>0?d:b}i=J[g+352>>2]}if(i?0:b){continue}break}zb(o);ed(J[g+464>>2]);o=0;if(!i){break f}break b}c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];j=J[f+8>>2];b=P(J[f+12>>2],40)+m|0;d=J[b>>2];b=J[b+4>>2];n=b;J[g+360>>2]=d;J[g+364>>2]=b;h=0;e=0;Me:{if(K[f+1|0]!=251){break Me}e=0;if(!J[k+248>>2]){break Me}h=J[f+16>>2];e=J[J[k+16>>2]+(H[c+1|0]<<4)>>2]}i=L[f+2>>1];Ne:{if(!(i&1)){break Ne}b=J[a+44>>2];p=J[a+40>>2]+1|0;b=p?b:b+1|0;J[a+40>>2]=p;J[a+44>>2]=b;if(!(i&32)){break Ne}J[k+40>>2]=d;J[k+44>>2]=n}b=P(j,40)+m|0;J[g+368>>2]=J[b+8>>2];J[g+380>>2]=J[b+12>>2];l=0;q=0;q=i&16?J[c+28>>2]:q;l=K[b+17|0]&4?J[P(j,40)+m>>2]:l;J[g+352>>2]=0;J[g+384>>2]=l;i=Et(J[c+36>>2],g+352|0,i&138,q);J[c+24>>2]=0;H[c+3|0]=0;if(i){break b}if(h){Ja[J[k+248>>2]](J[k+244>>2],L[f+2>>1]&4?23:18,e,J[h>>2],d,n)}U=U+1|0;break R}J[g+352>>2]=0;J[g+356>>2]=0;J[g+464>>2]=0;h=zc(a,f);e=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(!(K[e+5|0]&2)){i=no(J[e+36>>2],g+464|0);if(i){break b}Oe:{if(J[g+464>>2]){J[g+352>>2]=1;J[g+356>>2]=0;break Oe}d=Yk(J[e+36>>2]);J[g+352>>2]=d;b=Ia;J[g+356>>2]=b;if((d|0)==-1&(b|0)==2147483647){H[e+5|0]=K[e+5|0]|2;break Oe}d=d+1|0;b=d?b:b+1|0;J[g+352>>2]=d;J[g+356>>2]=b}o=0}d=J[f+12>>2];if(d){c=J[V>>2];if(c){while(1){b=c;c=J[b+4>>2];if(c){continue}break}b=J[b+12>>2]}else{b=m}c=b+P(d,40)|0;Ah(c);i=13;d=J[c>>2];b=J[c+4>>2];if((d|0)==-1&(b|0)==2147483647|K[e+5|0]&2){break b}l=J[g+356>>2];j=l;n=J[g+352>>2];if((j|0)<=(b|0)&n>>>0<=d>>>0|(b|0)>(j|0)){n=d+1|0;b=n?b:b+1|0;l=b;J[g+352>>2]=n;J[g+356>>2]=b}J[c>>2]=n;J[c+4>>2]=l}Pe:{if(K[e+5|0]&2){c=0;while(1){Qe:{se(8,g+352|0);l=J[g+356>>2]&1073741823;b=J[g+352>>2]+1|0;l=b?l:l+1|0;J[g+352>>2]=b;J[g+356>>2]=l;b=qh(J[e+36>>2],b,l,0,g+464|0);d=J[g+464>>2];if(b|d){break Qe}j=c>>>0<99;c=c+1|0;if(j){continue}}break}if(b){break Pe}o=0;if(!d){break Pe}}J[e+24>>2]=0;H[e+3|0]=0;b=J[g+356>>2];J[h>>2]=J[g+352>>2];J[h+4>>2]=b;break f}i=b?b:13;break b}d=zc(a,f);c=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];e=c;b=J[c+16>>2];c=J[c+20>>2];h=c;j=b+1|0;c=j?c:c+1|0;J[e+16>>2]=j;J[e+20>>2]=c;J[d>>2]=b;J[d+4>>2]=h;break f}c=J[f+12>>2];break la}c=J[f+12>>2];b=P(c,40)+m|0;if(K[b+16|0]&36){break la}d=g+352|0;Qa(d,b,40);re(d,67,v);if(!(L[g+368>>1]&4)){break i}b=J[g+352>>2];c=J[g+356>>2];break ka}d=P(c,40)+m|0;b=J[d>>2];c=J[d+4>>2]}d=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];e=J[d+36>>2];o=0;J[g+336>>2]=0;i=qh(e,b,c,0,g+336|0);J[d+24>>2]=0;J[d+56>>2]=b;J[d+60>>2]=c;I[d+2>>1]=0;b=J[g+336>>2];J[d+28>>2]=b;if(b){if(J[f+8>>2]){o=i;break i}i=Ta(97989);break b}if(!i){break f}break b}if(J[f+16>>2]<=L[J[J[a+96>>2]+(J[f+4>>2]<<2)>>2]+6>>1]){break f}}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];d=P(J[f+12>>2],40)+m|0;J[g+356>>2]=d;c=J[f+16>>2];I[g+372>>1]=c;Re:{if(c&65535){d=J[b+40>>2];H[g+374|0]=0;J[g+352>>2]=d;i=sh(J[b+36>>2],g+352|0,b+28|0);break Re}if(K[d+17|0]&4){if(ie(d)){break e}}d=Qk(J[b+40>>2]);if(!d){break e}c=J[g+356>>2];Ni(J[b+40>>2],J[c+12>>2],J[c+8>>2],d);H[d+22|0]=0;i=sh(J[b+36>>2],d,b+28|0);Za(k,d)}if(i){break b}J[b+24>>2]=0;H[b+3|0]=0;d=J[b+28>>2];H[b+2|0]=(d|0)!=0;c=K[f|0];if((c|0)==29){if(!d){break ca}break R}if(d){break ca}Se:{switch(c-26|0){case 1:c=0;b=J[g+356>>2];d=L[g+372>>1];while(1){if((c|0)==(d|0)){break R}e=P(c,40);c=c+1|0;if(!(H[(b+e|0)+16|0]&1)){continue}break};break ca;case 0:break Se;default:break R}}I[b+6>>1]=J[f+16>>2];break R}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(!b|K[b+2|0]){break h}break f}d=J[f+8>>2];b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];c=L[b+6>>1];if((d|0)>(c|0)){I[b+6>>1]=d;break f}d=J[f+12>>2];if((d|0)>=(c|0)){break f}I[b+6>>1]=d;break f}b=J[J[a+96>>2]+(J[f+24>>2]<<2)>>2];if(K[J[b+36>>2]]){break f}h=f+20|0;j=J[f+4>>2];J[g+464>>2]=J[b+40>>2];d=J[f+36>>2];H[g+486|0]=0;I[g+484>>1]=d;J[g+468>>2]=P(J[f+32>>2],40)+m;Te:{while(1){d=J[b+36>>2];c=Sh(d);if((c|0)<=0){i=Ta(89529);break b}J[g+376>>2]=0;J[g+372>>2]=k;I[g+368>>1]=0;e=c;c=g+352|0;i=kj(d,e,c);if(i){break b}d=vh(J[g+364>>2],J[g+360>>2],g+464|0,0);uh(c);if((d|0)>0){h=L[f+2>>1]?f:h;break Te}if((d|0)>=0){h=f;break Te}if((j|0)<=0){break ea}J[b+24>>2]=0;j=j-1|0;i=lj(J[b+36>>2]);if(!i){continue}break}if((i|0)!=101){break b}}o=0;f=h;break i}o=0;break f}d=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];J[d+24>>2]=0;I[d+2>>1]=0;Ue:{Ve:{We:{Xe:{if(K[d+4|0]){e=P(J[f+12>>2],40)+m|0;n=L[e+16>>1];if((n&46)==2){ij(e,0)}b=fb(e);j=Ia;h=L[e+16>>1];I[e+16>>1]=n;Ye:{if(h&36){break Ye}if(!(h&8)){if(h&1|c>>>0>22){break i}q=0;i=no(J[d+36>>2],g+464|0);if(i){break b}break We}e=Li(b,j,O[e>>3]);if((e|0)>0){c=((c&1)+c|0)-1|0;break Ye}c=((e|0)!=0&c)+c|0}h=0;i=qh(J[d+36>>2],b,j,0,g+464|0);J[d+56>>2]=b;J[d+60>>2]=j;if(!i){break Xe}break b}q=1;b=J[d+36>>2];e=K[b+3|0];i=J[d+40>>2];h=J[f+16>>2];H[g+374|0]=c&1?1:-1;I[g+372>>1]=h;J[g+352>>2]=i;i=J[f+12>>2];H[g+378|0]=0;J[g+356>>2]=P(i,40)+m;i=sh(b,g+352|0,g+464|0);if(i){break b}b=e&2;h=b>>>1|0;if(!b){break Xe}if(!K[g+378|0]){break We}}b=J[g+464>>2];if(c>>>0>=23){if(b|(c|0)!=24?(b|0)>=0:0){break Ue}i=lj(J[d+36>>2]);if(!i){break Ue}if((i|0)==101){break ca}break b}if(!(b|(c|0)!=21?(b|0)<=0:0)){i=Sk(J[d+36>>2]);if(!i){break Ue}if((i|0)!=101){break b}break ca}b=K[J[d+36>>2]]!=0;break Ve}h=q;b=J[g+464>>2]}if(b){break ca}}f=P(h,20)+f|0;break R}o=0;break i}c=J[a+96>>2];e=J[f+4>>2];b=J[c+(e<<2)>>2];if(b){Ri(a,b);e=J[f+4>>2];c=J[a+96>>2]}J[c+(e<<2)>>2]=0;break f}b=Bg(a,J[f+4>>2],J[f+12>>2],3);if(!b){break e}H[b+2|0]=1;d=J[f+8>>2];J[b+36>>2]=73172;H[b+4|0]=1;J[b+28>>2]=d;break f}b=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];c=b;d=J[b+16>>2];b=J[b+20>>2];e=b;h=d+1|0;b=h?b:b+1|0;J[c+16>>2]=h;J[c+20>>2]=b;if(!(d|e)){break i}break f}d=Bg(a,J[f+4>>2],J[f+8>>2],1);if(!d){break e}b=J[f+16>>2];J[d+40>>2]=b;c=J[f+12>>2];i=L[b+6>>1]<<2;b=ib(k,i+172|0,0);J[d+36>>2]=b;if(!b){break d}e=J[J[k+16>>2]+4>>2];h=b+152|0;J[b+28>>2]=h;Qa(h,J[d+40>>2],i+20|0);i=0;J[b+164>>2]=0;if(c){I[b+158>>1]=c}d=J[e+4>>2];J[d+4>>2]=J[e>>2];d=J[d+36>>2];H[b+67|0]=1;J[b+12>>2]=d;H[b+65|0]=0;H[b+66|0]=255;J[b+84>>2]=b;J[b+24>>2]=k;Ze:{if(K[k+86|0]==2){break Ze}c=P(d,J[16495]);J[b>>2]=c;e=d>>31;j=e;h=J[J[J[k+16>>2]+12>>2]+80>>2];o=h>>31;n=(o|0)<0;e=lJ(n?-1024:d,n?-1:e,h,o);h=Ia;if((h|0)>0){h=1}else{h=(h|0)>=0&e>>>0>=536870912}e=h?536870912:e;J[b+4>>2]=(c|0)>(e|0)?c:e;if(K[65784]){break Ze}J[b+60>>2]=d;d=Yb(d,j);J[b+44>>2]=d;i=d?0:7}_e:{if(L[b+160>>1]>12){break _e}d=J[b+172>>2];if(K[J[b+168>>2]]&2|((d|0)!=J[k+8>>2]?d:0)){break _e}H[b+68|0]=3}o=0;if(!i){break f}break b}b=J[f+12>>2];if((b|0)>0){b=P(b,40)+m|0;J[b+8>>2]=30620;J[b+12>>2]=0}b=J[f+4>>2];c=J[J[a+96>>2]+(b<<2)>>2];$e:{if(!(!(!c|K[c+5|0]&8)&J[f+8>>2]<=I[c+52>>1])){c=Bg(a,b,J[f+8>>2],0);if(!c){break e}H[c+5|0]=K[c+5|0]|1;i=bj(J[k>>2],0,k,c+8|0,L[f+2>>1]|5,1054);if(i){break b}i=tf(J[c+8>>2],1,0);if(!i){b=J[f+16>>2];J[c+40>>2]=b;af:{if(b){h=0;i=It(J[c+8>>2],c+48|0,L[f+2>>1]|2);if(i){break af}i=Pk(J[c+8>>2],J[c+48>>2],4,b,J[c+36>>2]);break af}h=1;J[c+48>>2]=1;i=Pk(J[c+8>>2],1,4,0,J[c+36>>2])}H[c+4|0]=h}H[c+5|0]=K[c+5|0]&251|(L[f+2>>1]!=8)<<2;if(!i){break $e}mf(J[c+8>>2]);break b}J[c+24>>2]=0;J[c+16>>2]=0;J[c+20>>2]=0;i=Tk(J[c+8>>2],J[c+48>>2],0);if(i){break b}}H[c+2|0]=1;break R}d=J[J[a+96>>2]+(J[f+8>>2]<<2)>>2];b=Bg(a,J[f+4>>2],I[d+52>>1],0);if(!b){break e}H[b+2|0]=1;c=K[b+5|0]|1;H[b+5|0]=c;J[b+40>>2]=J[d+40>>2];H[b+4|0]=K[d+4|0];J[b+48>>2]=J[d+48>>2];c=K[d+5|0]&4|c&-5;H[b+5|0]=c;e=J[d+8>>2];H[b+5|0]=c|8;J[b+8>>2]=e;H[d+5|0]=K[d+5|0]|8;o=Pk(J[b+8>>2],J[b+48>>2],4,J[b+40>>2],J[b+36>>2]);break f}e=J[J[a+96>>2]+(J[f+4>>2]<<2)>>2];if(!e|J[e+48>>2]!=J[f+8>>2]){break W}Xk(J[e+36>>2]);i=o;break V}if((L[a+152>>1]&3)==1){i=516;break b}d=J[f+12>>2];e=J[k+16>>2]+(d<<4)|0;h=J[e+4>>2];b=L[f+2>>1];j=J[f+8>>2];i=0;bf:{if((c|0)!=113){break bf}i=b&8|4;c=K[J[e+12>>2]+76|0];if(c>>>0>=K[a+149|0]){break bf}H[a+149|0]=c}if(b&16){b=P(j,40)+m|0;Ah(b);j=J[b>>2]}e=J[f+4>>2];n=K[f+1|0];cf:{if((n|0)!=253){c=0;b=0;if((n|0)!=248){break cf}c=J[f+16>>2];b=L[c+8>>1];break cf}c=0;b=J[f+16>>2]}e=Bg(a,e,b,0);if(!e){break e}H[e+2|0]=1;H[e+1|0]=d;J[e+48>>2]=j;H[e+5|0]=K[e+5|0]|4;i=Pk(h,j,i,c,J[e+36>>2]);J[e+40>>2]=c;H[e+4|0]=K[f+1|0]!=248}H[J[e+36>>2]+3|0]=K[f+2|0]&3;o=0;if(!i){break f}break b}b=J[k+16>>2]+(J[f+4>>2]<<4)|0;i=Xj(J[b+4>>2],J[f+8>>2],J[f+12>>2]);df:{ef:{switch(J[f+8>>2]-1|0){case 0:J[J[b+12>>2]>>2]=J[f+12>>2]-L[f+2>>1];J[k+24>>2]=J[k+24>>2]|1;j=J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+12>>2]+16|0;ff:while(1){j=J[j>>2];if(!j){break df}b=J[j+8>>2];if(K[b+43|0]){continue}c=b+48|0;while(1){b=J[c>>2];if(!b){continue ff}Ki(k,J[b+28>>2]);J[b+28>>2]=0;Ki(k,J[b+32>>2]);J[b+32>>2]=0;c=b+4|0;continue}};case 1:break ef;default:break df}}H[J[b+12>>2]+76|0]=J[f+12>>2]}if(J[f+4>>2]==1){Uf(k,0);I[a+152>>1]=L[a+152>>1]&65532}o=0;if(!i){break f}break b}xh(J[(J[k+16>>2]+(J[f+4>>2]<<4)|0)+4>>2],J[f+12>>2],g+352|0);b=zc(a,f);d=J[g+352>>2];J[b>>2]=d;J[b+4>>2]=d>>31;break f}J[g+352>>2]=0;gf:{d=J[f+8>>2];if(!d){break gf}b=J[k+32>>2]&1048576;if(!(b|J[k+36>>2]&2)){break gf}o=b?8:11;break O}h=J[k+16>>2];c=J[f+4>>2];b=J[(h+(c<<4)|0)+4>>2];hf:{if(b){o=tf(b,d,g+352|0);if(o){if((o&255)!=5){break O}J[a+36>>2]=o;J[a+32>>2]=(f-u|0)/20;break j}if(!(K[a+152|0]&32)|!J[f+8>>2]|(J[k+188>>2]<2?K[k+85|0]:0)){break hf}e=J[a+48>>2];if(!e){d=J[k+508>>2]+1|0;J[k+508>>2]=d;e=d+J[k+504>>2]|0;J[a+48>>2]=e}o=Pi(k,0,e-1|0);if(!o){d=J[a+48>>2];e=J[b+4>>2];J[e+4>>2]=J[b>>2];o=Bq(J[e>>2],d)}b=J[k+516>>2];J[a+72>>2]=J[k+512>>2];J[a+76>>2]=b;b=J[k+524>>2];J[a+80>>2]=J[k+520>>2];J[a+84>>2]=b}if(o){break O}}if(!L[f+2>>1]|J[g+352>>2]==J[f+12>>2]&J[J[(h+(c<<4)|0)+12>>2]+4>>2]==J[f+16>>2]){break R}Ua(k,J[y>>2]);J[y>>2]=Ob(k,16389);b=J[f+4>>2];if(J[J[(J[k+16>>2]+(b<<4)|0)+12>>2]>>2]!=J[g+352>>2]){gj(k,b)}I[a+152>>1]=L[a+152>>1]&65516|1;o=17;break O}o=0;break f}d=J[f+8>>2];b=J[f+4>>2];jf:{if((b|0)!=K[k+85|0]){kf:{if(d){Tg(k,516);c=1;break kf}if(!(!b|J[k+192>>2]<=0)){i=5;b=4364;break jf}o=Qi(a,1);if(o){break j}c=b}H[k+85|0]=c;o=5;if((Aj(a)|0)==5){J[a+32>>2]=(f-u|0)/20;H[k+85|0]=1-b;break k}Dj(k);o=J[a+36>>2]?1:101;break j}i=1;b=b?d?12907:12866:10461}Fc(a,b,0);break b}h=J[f+16>>2];e=0;c=Z;d=J[f+4>>2];lf:{if(!d){if(J[k+192>>2]>0){Fc(a,4259,0);i=5;break b}d=Ya(h);i=Pi(k,0,J[k+504>>2]+J[k+508>>2]|0);if(i){break b}b=Ib(k,d+33|0,0);if(!b){break lf}c=b+32|0;J[b>>2]=c;Qa(c,h,d+1|0);mf:{if(K[k+85|0]){H[k+93|0]=1;H[k+85|0]=0;break mf}J[k+504>>2]=J[k+504>>2]+1}J[b+24>>2]=J[k+492>>2];J[k+492>>2]=b;d=J[k+516>>2];J[b+8>>2]=J[k+512>>2];J[b+12>>2]=d;d=J[k+524>>2];J[b+16>>2]=J[k+520>>2];J[b+20>>2]=d;break lf}while(1){b=J[c>>2];if(!b){break N}if(Xa(J[b>>2],h)){c=b+24|0;e=e+1|0;continue}break}if(!((d|0)!=1|J[k+192>>2]<=0)){Fc(a,4310,0);i=5;break b}p=0;q=0;nf:{of:{pf:{if(J[b+24>>2]){break pf}c=K[k+93|0];q=(c|0)!=0;if(!c|(d|0)!=1){break pf}o=Qi(a,1);if(o){break j}H[k+85|0]=1;o=5;if((Aj(a)|0)==5){J[a+32>>2]=(f-u|0)/20;H[k+85|0]=0;break k}i=J[a+36>>2];if(!i){break of}H[k+85|0]=0;break b}c=J[k+504>>2];qf:{if((d|0)!=2){break qf}p=J[k+24>>2]&1;h=!p;j=0;while(1){if(J[k+20>>2]<=(j|0)){break qf}i=j<<4;o=0;j=j+1|0;i=zx(J[(J[k+16>>2]+i|0)+4>>2],516,h);if(!i){continue}break}break b}e=(e^-1)+c|0;j=0;while(1){if(J[k+20>>2]>(j|0)){c=j<<4;o=0;j=j+1|0;i=to(J[(J[k+16>>2]+c|0)+4>>2],d,e);if(!i){continue}break b}break}if(p){Uf(k,0);sf(k);J[k+24>>2]=J[k+24>>2]|1}if(!o){break nf}break O}H[k+93|0]=0;q=1}while(1){c=J[Z>>2];if((c|0)!=(b|0)){J[k+492>>2]=J[c+24>>2];Ua(k,c);J[k+504>>2]=J[k+504>>2]-1;continue}break}rf:{sf:{if((d|0)==1){J[k+492>>2]=J[b+24>>2];Za(k,b);if(q){break sf}J[k+504>>2]=J[k+504>>2]-1;break rf}c=J[b+12>>2];J[k+512>>2]=J[b+8>>2];J[k+516>>2]=c;c=J[b+20>>2];J[k+520>>2]=J[b+16>>2];J[k+524>>2]=c}if((d|0)!=2&q){break lf}}i=Pi(k,d,e);if(i){break b}}o=0;if(K[a+151|0]!=3){break f}o=101;break j}i=o;break b}J[g+128>>2]=h;Fc(a,7594,g+128|0)}i=1;break b}h=J[J[J[a+96>>2]+(J[f+4>>2]<<2)>>2]+36>>2];tf:{if(J[f+12>>2]){d=yt(h);b=Ia;break tf}o=0;d=0;b=0;i=Jf(h);if((i|0)==16){break tf}while(1){if(i){break b}if(J[k+296>>2]){d=0;b=0;break tf}uf:{e=J[h+116>>2];vf:{if(!K[e+8|0]){j=L[e+24>>1];if(K[e+1|0]){break vf}c=j&65535;d=c+d|0;b=c>>>0>d>>>0?b+1|0:b;break vf}e=L[e+24>>1];d=e+d|0;b=d>>>0<e>>>0?b+1|0:b;while(1){if(!K[h+68|0]){break uf}mo(h);e=J[h+116>>2];j=L[e+24>>1];c=L[h+70>>1];if(j>>>0<=c>>>0){continue}break}I[h+70>>1]=c+1}c=L[h+70>>1];if((c|0)==(j&65535)){c=(J[e+56>>2]+K[e+9|0]|0)+8|0}else{c=J[e+64>>2]+(c<<1)|0;c=J[e+56>>2]+(L[e+26>>1]&(K[c|0]<<8|K[c+1|0]))|0}i=zg(h,ab(c));continue}break}i=Jf(h);if(i){break b}}c=zc(a,f);J[c>>2]=d;J[c+4>>2]=b;break g}e=P(J[f+4>>2],40)+m|0;p=e+P(J[f+8>>2],40)|0;w=J[f+12>>2];d=P(w,40);h=J[f+16>>2];if(h){j=K[h|0];c=e;while(1){re(c,j<<24>>24,v);b=h;wf:{if(K[b|0]!=69){break wf}h=L[c+16>>1];if(!(h&4)){break wf}I[c+16>>1]=h&65499|32}c=c+40|0;h=b+1|0;j=K[b+1|0];if(j){continue}break}}N=d+m|0;h=0;n=0;l=0;d=0;b=0;t=p-40|0;j=t;while(1){r=j;s=L[j+16>>1];xf:{if(s&1){J[j+28>>2]=s<<21>>31&10;h=h+1|0;break xf}if(s&36){h=h+1|0;j=J[r>>2];p=J[r+4>>2];c=p>>31;q=c^j;c=c^p;if(!c&q>>>0<=127){if(!(!p&j>>>0>1|(p|0)!=0|K[a+149|0]<4)){J[r+28>>2]=j|8;break xf}J[r+28>>2]=1;d=d+1|0;b=d?b:b+1|0;break xf}if(!c&q>>>0<=32767){J[r+28>>2]=2;d=d+2|0;b=d>>>0<2?b+1|0:b;break xf}if(!c&q>>>0<=8388607){J[r+28>>2]=3;d=d+3|0;b=d>>>0<3?b+1|0:b;break xf}if(!c&q>>>0<=2147483647){J[r+28>>2]=4;d=d+4|0;b=d>>>0<4?b+1|0:b;break xf}if((c|0)==32767|c>>>0<32767){J[r+28>>2]=5;d=d+6|0;b=d>>>0<6?b+1|0:b;break xf}d=d+8|0;b=d>>>0<8?b+1|0:b;if(s&32){J[r+28>>2]=7;O[r>>3]=+(j>>>0)+ +(p|0)*4294967296;I[r+16>>1]=s&65495|8;break xf}J[r+28>>2]=6;break xf}if(s&8){J[r+28>>2]=7;d=d+8|0;b=d>>>0<8?b+1|0:b;h=h+1|0;break xf}p=J[r+12>>2];q=(s>>>1&1|p<<1)+12|0;yf:{if(!(s&1024)){break yf}c=J[r>>2];q=(c<<1)+q|0;if(b|d){if(ie(r)){break e}p=J[r>>2]+p|0;break yf}l=(c>>31)+l|0;n=c+n|0;l=n>>>0<c>>>0?l+1|0:l}J[r+28>>2]=q;d=d+p|0;b=d>>>0<p>>>0?b+1|0:b;h=rh(q,0)+h|0}j=r-40|0;if((e|0)!=(r|0)){continue}break}c=d;if((h|0)<=126){d=h+1|0}else{d=h;h=rh(h,0);d=d+h|0;d=((rh(d,d>>31)|0)>(h|0))+d|0}p=d>>31;b=p+b|0;h=c+d|0;c=l+(h>>>0<d>>>0?b+1|0:b)|0;b=h+n|0;c=b>>>0<n>>>0?c+1|0:c;j=P(w,40)+m|0;q=J[j+24>>2];r=q>>31;zf:{if((c|0)<=(r|0)&b>>>0<=q>>>0|(c|0)<(r|0)){J[j+8>>2]=J[j+32>>2];break zf}j=b;b=J[k+120>>2];j=j>>>0>b>>>0;b=b>>31;if(j&(b|0)<=(c|0)|(b|0)<(c|0)){break y}if(Uh(N,h)){break e}}b=P(w,40)+m|0;I[b+16>>1]=16;J[b+12>>2]=h;if(l|n){J[N>>2]=n;I[b+16>>1]=1040}b=J[b+8>>2];Af:{if((d|0)<=127){H[b|0]=d;j=b+1|0;break Af}j=af(b,d,p)+b|0}h=b+d|0;while(1){n=e;c=J[e+28>>2];Bf:{if(c>>>0<=7){H[j|0]=c;j=j+1|0;if(!c){break Bf}d=J[e>>2];b=J[e+4>>2];Cf:{Df:{Ef:{Ff:{Gf:{Hf:{e=K[c+34176|0];switch(e-1|0){case 0:break Cf;case 1:break Df;case 2:break Ef;case 3:break Ff;case 5:break Gf;default:break Hf}}c=d<<8|(d&65280)>>>8;H[h+6|0]=c;H[h+7|0]=c>>>8;d=(b&65535)<<16|d>>>16;b=b>>>16|0}c=d<<8|(d&65280)>>>8;H[h+4|0]=c;H[h+5|0]=c>>>8;d=(b&65535)<<16|d>>>16;b=b>>>16|0}H[h+3|0]=d;c=b;b=b>>>8|0;d=(c&255)<<24|d>>>8}H[h+2|0]=d;d=(b&255)<<24|d>>>8;b=b>>>8|0}H[h+1|0]=d;d=(b&255)<<24|d>>>8}H[h|0]=d;h=e+h|0;break Bf}if(c>>>0<=127){H[j|0]=c;j=j+1|0;if(c>>>0<14){break Bf}b=J[n+12>>2];if((b|0)<=0){break Bf}h=Qa(h,J[n+8>>2],b)+J[n+12>>2]|0;break Bf}j=af(j,c,0)+j|0;b=J[n+12>>2];if(!b){break Bf}h=Qa(h,J[n+8>>2],b)+J[n+12>>2]|0}e=n+40|0;if((n|0)!=(t|0)){continue}break}break f}c=P(J[f+4>>2],40)+m|0;j=J[f+16>>2];e=K[j|0];while(1){re(c,e<<24>>24,v);b=j;If:{if(K[b|0]!=69){break If}e=L[c+16>>1];if(!(e&4)){break If}d=J[c>>2];h=J[c+4>>2];Jf:{if(h+32768>>>0<65536){l=65499;d=32;break Jf}O[c>>3]=+(d>>>0)+ +(h|0)*4294967296;l=65521;d=8}I[c+16>>1]=d|e&l}c=c+40|0;j=b+1|0;e=K[b+1|0];if(e){continue}break}break f}e=P(J[f+4>>2],40)+m|0;j=J[f+16>>2];h=J[j+4>>2];c=0;while(1){if(I[j+34>>1]<=(c|0)){break f}Kf:{Lf:{b=h+P(c,12)|0;d=L[b+10>>1];if(!(d&96)){break Lf}if(d&32){break Kf}if(!J[f+12>>2]){break Lf}e=e+40|0;break Kf}re(e,H[b+5|0],v);Mf:{d=L[e+16>>1];if(d&1){break Mf}Nf:{Of:{Pf:{Qf:{Rf:{b=K[(h+P(c,12)|0)+4|0]>>>4|0;switch(b-2|0){case 0:break Of;case 3:break Pf;case 4:break Qf;case 1:case 2:break Rf;default:break Mf}}if(d&4){break Mf}break Nf}if(d&2){break Mf}break Nf}Sf:{Tf:{if(d&4){b=J[e>>2];n=J[e+4>>2];l=n+32768|0;if((l|0)==65536|l>>>0>65536){break Tf}p=65499;b=32;break Sf}if(d&40){break Mf}break Nf}O[e>>3]=+(b>>>0)+ +(n|0)*4294967296;p=65523;b=8}I[e+16>>1]=b|d&p;break Mf}if(d&16){break Mf}}b=J[(b<<2)+66908>>2];e=J[j>>2];J[g+124>>2]=J[h+P(c,12)>>2];J[g+120>>2]=e;J[g+116>>2]=b;J[g+112>>2]=J[(K[(d&63)+31120|0]<<2)+34316>>2];Fc(a,6232,g+112|0);i=3091;break b}e=e+40|0}c=c+1|0;continue}}J[h+72>>2]=Sh(b);d=L[b+48>>1];c=J[J[b+116>>2]+60>>2];j=J[b+40>>2];J[h+68>>2]=j;b=c-j|0;J[h+76>>2]=(b|0)<(d|0)?(b|0)>0?b:0:d;e=J[a+28>>2]}J[h+24>>2]=e;b=H[j|0];J[s>>2]=b&255;e=1;if((b|0)<0){e=Jd(j,s)}l=0;I[h+54>>1]=0;J[h+44>>2]=e;j=J[s>>2];if(j>>>0>M[h+76>>2]){J[h+76>>2]=0;J[h+68>>2]=0;b=J[s>>2];if(b>>>0>98307){break x}if(b>>>0<=M[h+72>>2]){break F}break x}r=J[h+68>>2];break E}if((l&65535)>>>0>p>>>0){break C}e=J[h+44>>2];j=J[s>>2];if(e>>>0>=j>>>0){break D}r=J[h+68>>2];if(r){break E}o=0;b=g+352|0;Sa(b,0,40);i=kj(J[h+36>>2],J[s>>2],b);if(i){break b}j=J[s>>2];e=J[h+44>>2];l=L[h+54>>1];r=J[g+360>>2]}q=j+r|0;e=e+r|0;j=l&65535;d=J[s+(j<<2)>>2];b=0;while(1){n=H[e|0];c=n&255;J[g+464>>2]=c;l=h+(j<<2)|0;J[l+84>>2]=c;Uf:{if((n|0)>=0){n=K[c+34176|0];e=e+1|0;break Uf}w=Jd(e,g+464|0);c=J[g+464>>2];J[l+84>>2]=c;n=c>>>0>=128?c-12>>>1|0:K[c+34176|0];e=e+w|0}l=j+1|0;w=s+(l<<2)|0;d=d+n|0;b=d>>>0<n>>>0?b+1|0:b;J[w>>2]=d;if(j>>>0<p>>>0){j=l;if(e>>>0<q>>>0){continue}}break}Vf:{if(e>>>0>=q>>>0){if(J[h+72>>2]!=(d|0)|b|e>>>0>q>>>0){break Vf}break B}if(!b&M[h+72>>2]>=d>>>0){break B}}if(!J[s>>2]){l=0;e=q;break B}if(J[h+68>>2]){break x}Vc(g+352|0);break x}J[g+464>>2]=0;break A}J[g+464>>2]=J[(h+(p<<2)|0)+84>>2];break z}I[h+54>>1]=l;J[h+44>>2]=e-r;if(J[h+68>>2]){break A}Vc(g+352|0);l=L[h+54>>1]}if((l&65535)>>>0>p>>>0){break z}b=P(J[f+12>>2],40)+m|0;if(K[f+1|0]==246){Cg(b,J[f+16>>2],8192);break f}Rb(b);break f}c=J[f+12>>2];j=P(c,40)+m|0;if(K[j+17|0]&144){Rb(j)}d=s+(p<<2)|0;if(M[h+76>>2]>=M[d+4>>2]){h=J[h+68>>2]+J[d>>2]|0;d=J[g+464>>2];if(d>>>0<=11){Pg(h,d,j);break f}b=P(c,40)+m|0;H[b+18|0]=v;d=d-12>>>1|0;J[b+12>>2]=d;e=d+2|0;Wf:{if((e|0)>J[b+24>>2]){if((d|0)>J[k+120>>2]){break y}I[j+16>>1]=1;if(ih(j,e,0)){break e}e=J[b+8>>2];break Wf}e=J[b+32>>2];J[b+8>>2]=e}Qa(e,h,d);b=P(c,40)+m|0;H[d+J[b+8>>2]|0]=0;H[(d+J[b+8>>2]|0)+1|0]=0;I[j+16>>1]=L[((J[g+464>>2]&1)<<1)+34158>>1];break f}H[(P(c,40)+m|0)+18|0]=v;e=J[g+464>>2];Xf:{b=L[f+2>>1]&192;Yf:{Zf:{if(b){if((b|0)==128){break Yf}if(e>>>0<12){break Zf}if(!(e&1)|(b|0)==192){break Yf}}if(e>>>0>127){break Xf}}if(K[e+34176|0]){break Xf}}Pg(31216,e,j);break f}b=h;c=J[d>>2];n=J[a+28>>2];l=18;_f:{$f:{d=e>>>0>=128?e-12>>>1|0:K[e+34176|0];h=J[j+20>>2];ag:{if((d|0)>J[h+120>>2]){break ag}q=K[j+18|0];bg:{if(!(J[b+40>>2]|d>>>0<4001)){cg:{if(K[b+5|0]&16){o=J[b+80>>2];break cg}o=ib(h,32,0);J[b+80>>2]=o;if(!o){break $f}H[b+5|0]=K[b+5|0]|16}h=J[o>>2];dg:{eg:{if(!h){break eg}if(!(J[o+16>>2]!=(p|0)|(n|0)!=J[o+20>>2]|J[o+24>>2]!=(U|0))){l=J[o+8>>2];r=J[o+12>>2];s=st(J[b+36>>2]);h=J[o>>2];if((l|0)==(s|0)&(r|0)==(Ia|0)){break dg}if(!h){break eg}}Qg(h)}h=lo(d+3|0,0);J[o>>2]=h;if(!h){break $f}l=wo(J[b+36>>2],c,d,h);if(l){break ag}c=d+h|0;H[c|0]=0;H[c+1|0]=0;H[c+2|0]=0;J[o+24>>2]=U;J[o+20>>2]=n;J[o+16>>2]=p;J[o+8>>2]=st(J[b+36>>2]);J[o+12>>2]=Ia}b=h-8|0;c=b;o=J[b>>2];b=J[b+4>>2];o=o+1|0;b=o?b:b+1|0;J[c>>2]=o;J[c+4>>2]=b;if(e&1){l=cd(j,h,d,0,q,9);I[j+16>>1]=L[j+16>>1]|512;break bg}l=cd(j,h,d,0,0,9);break bg}l=tt(J[b+36>>2],c,d,j);if(l){break ag}Pg(J[j+8>>2],e,j);l=0;if(!(e&1)|(q|0)!=1){break bg}H[d+J[j+8>>2]|0]=0;I[j+16>>1]=L[j+16>>1]|512}I[j+16>>1]=L[j+16>>1]&49151}o=l;break _f}o=7}if(!o){break f}if((o|0)==18){break y}i=o;if((i|0)!=7){break b}break e}Fc(a,12519,0);i=18;break b}b=J[u+12>>2];if((b|0)>0){f=(P(b,20)+u|0)-20|0;break f}i=Ta(95741);break b}c=e}if(!(!(e&44)|e&2)){Bh(h,v,1);e=L[h+16>>1]&-3520|c&3517;break u}e=c}z=zh(h,j,J[f+16>>2]);c=K[f|0];if((z|0)>=0){break s}}b=31036;break q}if(z){break r}z=0;b=31042;break q}b=31048}I[h+16>>1]=e;I[j+16>>1]=l;if(K[(c&255)+b|0]){break i}break f}z=0;break f}e=J[j>>2];d=J[j+4>>2];b=J[n+4>>2];h=J[n>>2];J[g+352>>2]=h;J[g+356>>2]=b;fg:{switch((c&255)-106|0){case 1:if(!e&(d|0)==-2147483648){if((b|0)>0|(b|0)>=0){break n}J[g+352>>2]=h;J[g+356>>2]=b&2147483647;break l}if(!Vk(g+352|0,0-e|0,0-(((e|0)!=0)+d|0)|0)){break l}break n;case 2:gg:{if(!!e&(d|0)>=0|(d|0)>0){l=oJ(-1,2147483647,e,d)>>>0<h>>>0;c=Ia;if(l&(c|0)<=(b|0)|(b|0)>(c|0)){break n}c=oJ(0,-2147483648,e,d);l=0-c|0;c=0-(Ia+((c|0)!=0)|0)|0;if((c|0)<=(b|0)&h>>>0>=l>>>0|(b|0)>(c|0)){break gg}break n}if((d|0)>0|(d|0)>=0){break gg}if(!!h&(b|0)>=0|(b|0)>0){c=oJ(0,-2147483648,h,b);l=0-c|0;c=0-(Ia+((c|0)!=0)|0)|0;if((c|0)==(d|0)&e>>>0>=l>>>0|c>>>0<d>>>0){break gg}break n}if((b|0)>0|(b|0)>=0){break gg}if(!e&(d|0)==-2147483648|!h&(b|0)==-2147483648){break n}c=oJ(-1,2147483647,0-e|0,0-(((e|0)!=0)+d|0)|0);l=0-(((h|0)!=0)+b|0)|0;r=Ia;if((l|0)==(r|0)&c>>>0<0-h>>>0|l>>>0>r>>>0){break n}}J[g+352>>2]=lJ(h,b,e,d);J[g+356>>2]=Ia;break l;case 3:if(!(d|e)){break m}if(!h&(b|0)==-2147483648&(d&e)==-1){break n}J[g+352>>2]=mJ(h,b,e,d);J[g+356>>2]=Ia;break l;default:if(!(d|e)){break m}c=b;b=(d&e)==-1;J[g+352>>2]=nJ(h,c,b?1:e,b?0:d);J[g+356>>2]=Ia;break l;case 0:break fg}}if(!Vk(g+352|0,e,d)){break l}}D=yb(j);X=yb(n);hg:{ig:{switch(K[f|0]-106|0){case 0:D=D+X;break hg;case 1:D=X-D;break hg;case 2:D=D*X;break hg;case 3:if(D==0){break m}D=X/D;break hg;default:break ig}}b=fb(j);c=Ia;d=fb(n);J[g+352>>2]=d;e=Ia;J[g+356>>2]=e;if(!(b|c)){break m}h=b;b=(b&c)==-1;D=+(nJ(d,e,b?1:h,b?0:c)>>>0)+ +(Ia|0)*4294967296}C(+D);b=x(1)|0;d=x(0)|0;if((b&2146435072)==2146435072&(b&1048575|d)!=0){break m}O[p>>3]=D;b=P(q,40)+m|0;I[b+16>>1]=L[b+16>>1]&62016|8;break f}Rb(p);break f}b=J[g+356>>2];J[p>>2]=J[g+352>>2];J[p+4>>2]=b;b=P(q,40)+m|0;I[b+16>>1]=L[b+16>>1]&62016|4;break f}J[a+36>>2]=5}c=1;break a}f=(P(J[f+8>>2],20)+u|0)-20|0;break f}f=(P(J[f+8>>2],20)+u|0)-20|0}if(J[k+296>>2]){break c}while(1){if((F|0)==(S|0)&E>>>0>T>>>0|F>>>0>S>>>0){break f}b=J[k+372>>2];if(!b){break f}d=J[k+380>>2];E=d+E|0;c=F;F=d>>>0>E>>>0?c+1|0:c;if(!(Ja[b|0](J[k+376>>2])|0)){continue}break}E=-1;F=-1;break c}f=f+20|0;continue}}Db(k);Fc(a,1150,0)}i=7;break b}i=9}c=0}while(1){jg:{kg:{lg:{mg:{if(!c){c=7;ng:{if(K[k+87|0]){break ng}c=i;if((c|0)!=8458){break ng}c=Ta(101584)}if(!(J[a+124>>2]|(c|0)==3082)){J[g+16>>2]=Th(c);Fc(a,8863,g+16|0)}J[a+36>>2]=c;Cm(k,c);b=J[a+200>>2];J[g+8>>2]=J[a+124>>2];J[g+4>>2]=b;J[g>>2]=(f-u|0)/20;Ac(c,7267,g);if(K[a+151|0]==2){Aj(a)}og:{if((c|0)!=11){if((c|0)!=3082){break og}Db(k);break og}if(K[k+85|0]){break og}d=J[k+36>>2]|2;J[k+32>>2]=J[k+32>>2];J[k+36>>2]=d}o=1;b=ca&255;if(!b){ca=0;break mg}gj(k,b-1|0);break mg}if((F|0)==(S|0)&E>>>0>T>>>0|F>>>0>S>>>0){break kg}b=J[k+372>>2];if(!b){break kg}d=J[k+380>>2];E=d+E|0;c=F;F=d>>>0>E>>>0?c+1|0:c;if(Ja[b|0](J[k+376>>2])|0){break lg}}c=1;continue}i=9;E=-1;F=-1;break jg}J[a+180>>2]=J[a+180>>2]+T;Fa=g+544|0;return o}c=0;continue}}
function ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;n=Fa-1296|0;Fa=n;u=J[a>>2];A=J[u+124>>2];if(!J[u+184>>2]){J[u+296>>2]=0}J[a+244>>2]=b;J[a+12>>2]=0;J[n+1264>>2]=n+1252;J[n+64>>2]=0;E=n- -64|0;J[n+56>>2]=E;J[n+60>>2]=a;G=J[u+264>>2];J[u+264>>2]=a;s=-1;while(1){a:{y=jj(b,n+1268|0);A=A-y|0;if((A|0)<0){J[a+12>>2]=18;J[a+36>>2]=J[a+36>>2]+1;break a}c=J[n+1268>>2];b:{if((c|0)<164){s=c;break b}if(J[u+296>>2]){J[a+12>>2]=9;J[a+36>>2]=J[a+36>>2]+1;break a}if((c|0)==183){b=b+y|0;continue}if(!K[b|0]){y=0;c=0;c:{switch(s|0){default:c=1;break;case 1:break c;case 0:break a}}J[n+1268>>2]=c;s=c;break b}d:{e:{switch(c-164|0){case 0:J[n+1288>>2]=b+6;s=59;if((ql(n+1288|0)|0)!=59){break d}s=(ql(n+1288|0)|0)==24?164:59;break d;case 1:J[n+1288>>2]=b+4;c=(s|0)!=23;s=59;if(c){break d}c=ql(n+1288|0);s=(c|0)==59?165:(c|0)==22?165:59;break d;case 2:J[n+1288>>2]=b+6;if((s|0)==23){s=166;if((ql(n+1288|0)|0)==22){break d}}s=59;break d;default:break e}}J[n+1292>>2]=y;J[n+1288>>2]=b;J[n+48>>2]=n+1288;Ra(a,29828,n+48|0);break a}J[n+1268>>2]=s}J[a+212>>2]=y;J[a+208>>2]=b;c=K[a+212|0]|K[a+213|0]<<8|(K[a+214|0]<<16|K[a+215|0]<<24);B=c;z=K[a+208|0]|K[a+209|0]<<8|(K[a+210|0]<<16|K[a+211|0]<<24);J[n+1272>>2]=z;J[n+1276>>2]=c;c=L[J[n+56>>2]>>1];f=J[n+60>>2];f:{while(1){e=c&65535;if(e>>>0<=578){h=e<<1;g=L[h+37760>>1];e=s;g:{h:{while(1){c=e&65535;e=c+g<<1;if(L[e+38928>>1]==(c|0)){break h}e=L[(c<<1)+36960>>1];if(e){continue}break}i:{if(!c){break i}c=g+101<<1;if(L[c+38928>>1]!=101){break i}c=c+43504|0;break g}c=h+47712|0;break g}c=e+43504|0}c=L[c>>1]}e=c&65535;if(e>>>0>=1246){if(!(K[e+36098|0]|M[n+56>>2]<M[n+1264>>2])){Mv(n+56|0);break f}c=J[n+1276>>2];J[n+24>>2]=J[n+1272>>2];J[n+28>>2]=c;g=0;j=0;t=0;i=Fa-768|0;Fa=i;d=J[n+56>>2];j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{$a:{ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{jb:{kb:{lb:{mb:{nb:{ob:{pb:{qb:{rb:{sb:{tb:{ub:{vb:{wb:{xb:{yb:{zb:{Ab:{Bb:{Cb:{Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{Wb:{Xb:{Yb:{Zb:{_b:{$b:{ac:{bc:{cc:{dc:{ec:{fc:{gc:{hc:{ic:{jc:{kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{Zc:{_c:{$c:{ad:{bd:{cd:{dd:{ed:{fd:{gd:{hd:{id:{jd:{kd:{ld:{md:{nd:{od:{pd:{qd:{rd:{sd:{td:{ud:{vd:{wd:{xd:{yd:{zd:{Ad:{Bd:{Cd:{Dd:{Ed:{Fd:{Gd:{Hd:{Id:{Jd:{Kd:{Ld:{Md:{Nd:{Od:{Pd:{Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{Yd:{Zd:{_d:{$d:{ae:{be:{ce:{de:{ee:{fe:{ge:{he:{ie:{je:{ke:{le:{me:{ne:{C=e-1246|0;switch(C|0){case 109:break Ca;case 110:break Da;case 111:break Ea;case 112:break Fa;case 113:break Ga;case 114:case 129:break Ha;case 116:break Ia;case 117:break Ja;case 118:break Ka;case 119:break La;case 120:break Ma;case 121:break Na;case 122:break Oa;case 123:break Pa;case 124:break Qa;case 125:break Ra;case 126:break Sa;case 127:break Ta;case 128:break Ua;case 130:break Va;case 131:break Wa;case 133:case 143:break Xa;case 134:break Ya;case 135:break Za;case 136:break _a;case 137:break $a;case 138:case 141:break ab;case 139:break bb;case 140:break cb;case 144:case 146:case 151:case 153:case 230:case 231:case 250:break db;case 145:case 152:case 154:case 229:case 249:break eb;case 147:break fb;case 148:break gb;case 149:break hb;case 150:break ib;case 155:break jb;case 156:break kb;case 157:break lb;case 158:break mb;case 159:break nb;case 160:break ob;case 161:break pb;case 162:break qb;case 163:break rb;case 164:break sb;case 165:break tb;case 166:break ub;case 167:break vb;case 168:break wb;case 169:break xb;case 170:break yb;case 173:break zb;case 174:break Ab;case 175:break Bb;case 176:break Cb;case 177:break Db;case 178:break Eb;case 179:break Fb;case 180:break Gb;case 181:case 182:break Hb;case 183:break Ib;case 184:break Jb;case 185:break Kb;case 186:break Lb;case 187:break Mb;case 188:break Nb;case 189:break Ob;case 190:break Pb;case 191:break Qb;case 192:break Rb;case 193:break Sb;case 194:break Tb;case 195:break Ub;case 196:case 197:case 198:case 199:case 200:case 201:case 202:break Vb;case 203:break Wb;case 204:break Xb;case 205:break Yb;case 206:break Zb;case 207:break _b;case 208:break $b;case 209:break ac;case 210:break bc;case 211:break cc;case 212:case 213:break dc;case 214:break ec;case 215:break fc;case 216:case 219:break gc;case 218:break hc;case 221:break ic;case 222:break jc;case 223:break kc;case 224:break lc;case 225:break mc;case 226:break nc;case 227:break oc;case 228:break pc;case 233:break qc;case 234:break rc;case 236:case 241:break sc;case 237:break tc;case 238:case 280:break uc;case 239:break vc;case 242:break wc;case 243:break xc;case 246:break yc;case 247:break zc;case 248:break Ac;case 251:break Bc;case 252:break Cc;case 253:break Dc;case 254:break Ec;case 255:break Fc;case 258:break Gc;case 259:break Hc;case 260:break Ic;case 261:break Jc;case 262:break Kc;case 263:case 264:break Lc;case 265:break Mc;case 266:case 285:break Nc;case 267:case 286:break Oc;case 268:break Pc;case 269:break Qc;case 270:break Rc;case 271:break Sc;case 272:break Tc;case 273:break Uc;case 274:break Vc;case 275:break Wc;case 276:break Xc;case 277:break Yc;case 278:break Zc;case 279:break _c;case 281:break $c;case 282:break ad;case 283:break bd;case 284:break cd;case 287:break dd;case 288:break ed;case 289:break fd;case 290:break gd;case 291:break hd;case 292:break id;case 293:break jd;case 294:break kd;case 295:break ld;case 296:break md;case 297:break nd;case 298:break od;case 299:break pd;case 300:case 301:case 302:break qd;case 303:case 304:break rd;case 305:break sd;case 306:break td;case 307:break ud;case 308:break vd;case 309:break wd;case 310:break xd;case 311:break yd;case 312:break zd;case 313:break Ad;case 314:break Bd;case 315:break Cd;case 316:break Dd;case 317:break Ed;case 318:break Fd;case 319:break Gd;case 320:break Hd;case 323:case 325:case 327:break Id;case 326:break Jd;case 328:break Kd;case 329:break Ld;case 330:case 331:break Md;case 332:break Nd;case 333:break Od;case 334:break Pd;case 336:break Qd;case 337:break Rd;case 338:break Sd;case 339:break Td;case 25:break Ud;case 24:break Vd;case 23:break Wd;case 22:break Xd;case 21:break Yd;case 20:break Zd;case 19:break _d;case 17:break $d;case 16:break ae;case 15:case 18:case 47:case 62:case 72:case 81:case 98:case 244:break be;case 14:break ce;case 13:break de;case 12:break ee;case 11:break fe;case 10:break ge;case 8:case 9:break he;case 5:case 6:case 7:case 321:break ie;case 4:break je;case 3:break ke;case 2:break le;case 26:case 65:case 104:break m;case 1:break me;case 0:break ne;case 27:break n;case 28:break o;case 29:break p;case 30:break q;case 31:break r;case 32:case 67:break s;case 33:break t;case 34:break u;case 35:break v;case 36:break w;case 37:break x;case 38:break y;case 39:break z;case 40:break A;case 41:break B;case 42:break C;case 43:break D;case 44:break E;case 45:break F;case 46:break G;case 48:break H;case 49:break I;case 50:break J;case 51:break K;case 52:break L;case 53:break M;case 54:break N;case 55:break O;case 56:break P;case 57:break Q;case 58:break R;case 59:break S;case 60:break T;case 61:case 76:case 171:break U;case 63:case 80:case 217:case 220:case 245:break V;case 64:break W;case 66:break X;case 68:break Y;case 69:break Z;case 70:break _;case 71:break $;case 73:case 75:break aa;case 74:break ba;case 77:break ca;case 78:case 172:break da;case 79:break ea;case 82:break fa;case 83:break ga;case 84:break ha;case 85:break ia;case 86:break ja;case 87:break ka;case 88:break la;case 89:case 91:break ma;case 90:break na;case 92:break oa;case 93:break pa;case 94:break qa;case 95:break ra;case 96:break sa;case 97:break ta;case 99:case 132:case 142:case 232:case 235:case 240:break ua;case 100:break va;case 101:break wa;case 102:break xa;case 103:case 115:case 256:case 257:break ya;case 105:case 108:break za;case 106:break Aa;case 107:break Ba;default:break j}}if(J[f+240>>2]){break j}H[f+219|0]=1;break j}if(J[f+240>>2]){break j}H[f+219|0]=2;break j}if(K[f+18|0]){break j}c=J[f>>2];oe:{if(J[f+36>>2]){e=7;if(!K[c+87|0]){break j}break oe}pe:{qe:{j=J[f+8>>2];if(j){break qe}e=101;if(K[c+177|0]){break oe}j=rb(f);if(j){break qe}J[f+12>>2]=1;j=0;break pe}re:{if(!K[f+159|0]){break re}g=J[f+144>>2];if(!J[g+96>>2]){break re}Hb(j,83);h=Va(j,36,J[g+92>>2]);k=J[g+100>>2];e=0;while(1){if(J[g+96>>2]>(e|0)){Pa(j,94,J[g+92>>2],e,e+k|0);e=e+1|0;continue}break}Na(j,84,k,e);Na(j,39,J[g+92>>2],h+1|0);g=J[j+108>>2];J[(K[J[j>>2]+87|0]?73192:J[j+104>>2]+P(h,20)|0)+8>>2]=g}Hb(j,70);g=J[j+108>>2];J[(K[J[j>>2]+87|0]?73192:J[j+104>>2])+8>>2]=g;e=0;while(1){se:{if(!(J[f+92>>2]>>>e&1)){break se}fe(j,e);g=J[(J[c+16>>2]+(e<<4)|0)+12>>2];bb(j,2,e,J[f+88>>2]>>>e&1,J[g>>2],J[g+4>>2]);if(K[c+177|0]){break se}g=J[j+108>>2];if((g|0)<=0){break se}I[(J[j+104>>2]+P(g,20)|0)-18>>1]=1}e=e+1|0;if((e|0)<J[c+20>>2]){continue}break}e=0;while(1){if(J[f+224>>2]>(e|0)){$a(j,170,0,0,0,ud(c,J[J[f+272>>2]+(e<<2)>>2]),-11);e=e+1|0;continue}break}e=0;J[f+224>>2]=0;te:{g=J[f+116>>2];if(!g){break te}h=J[f+8>>2];while(1){if((e|0)>=(g|0)){break te}c=J[f+120>>2]+(e<<4)|0;$a(h,169,J[c>>2],J[c+4>>2],K[c+8|0],J[c+12>>2],-1);e=e+1|0;g=J[f+116>>2];continue}}ue:{e=J[f+124>>2];if(!e){break ue}h=J[f+8>>2];k=J[f>>2];while(1){if(!e){break ue}g=J[e+12>>2];c=J[e+8>>2];Cd(f,0,c,J[J[(J[k+16>>2]+(c<<4)|0)+12>>2]+72>>2],112);l=g-1|0;Ic(h,l,J[J[e+4>>2]>>2]);c=Xf(h,12,49696);if(!c){break ue}J[c+8>>2]=g;J[c+72>>2]=g;J[c- -64>>2]=l;J[c+52>>2]=g;l=g+2|0;J[c+12>>2]=l;J[c+148>>2]=l;J[c+124>>2]=g;J[c+112>>2]=g;J[c+88>>2]=g+1;I[c+62>>1]=16;J[c+208>>2]=g;J[c+144>>2]=g;if(!J[f+40>>2]){J[f+40>>2]=1}e=J[e>>2];continue}}ve:{c=J[f+68>>2];if(!c){break ve}e=0;H[f+23|0]=0;while(1){if(J[c>>2]<=(e|0)){break ve}g=c+(e<<4)|0;Xb(f,J[g+8>>2],J[g+20>>2]);e=e+1|0;continue}}we:{if(!K[f+159|0]){break we}c=J[f+144>>2];e=J[c+96>>2];if(!e){break we}Na(j,118,J[c+92>>2],e)}Lb(j,1)}e=1;if(J[f+36>>2]){break oe}Zv(j,f);e=101}J[f+12>>2]=e;break j}e=J[d-8>>2];j=J[f>>2];if(Tb(f,22,20023,0,0)){break j}c=rb(f);if(!c){break j}xe:{if((e|0)==7){break xe}g=(e|0)==9?2:1;h=0;while(1){if(J[j+20>>2]<=(h|0)){break xe}k=J[(J[j+16>>2]+(h<<4)|0)+4>>2];ye:{if(k){e=0;if(H[J[k+4>>2]+24|0]&1){break ye}}e=g}Na(c,2,h,e);fe(c,h);h=h+1|0;continue}}Hb(c,1);break j}J[d+16>>2]=7;break j}J[d+4>>2]=L[d+2>>1];break j}c=L[d-10>>1]==12;if(Tb(f,22,c?20268:18865,0,0)){break j}e=rb(f);if(!e){break j}Na(e,1,1,c);break j}Gn(f,0,d+4|0);break j}Gn(f,1,d+4|0);break j}Gn(f,2,d+4|0);break j}Fn(f,d-8|0,d+4|0,J[d-44>>2],0,0,J[d-20>>2]);break j}Rs(f);break j}J[d+16>>2]=0;break j}J[d-20>>2]=1;break j}J[d+4>>2]=!K[J[f>>2]+177|0];break j}En(f,d-20|0,d-8|0,J[d+4>>2],0);break j}En(f,0,0,0,J[d+4>>2]);ac(J[f>>2],J[d+4>>2]);break j}J[d+16>>2]=0;break j}c=d-20|0;J[c>>2]=J[d+4>>2]|J[c>>2];break j}c=J[d+4>>2];ze:{e=J[d+8>>2];if((e|0)!=5){break ze}if(tb(c,15084,5)){break ze}J[d-8>>2]=640;break j}J[d-8>>2]=0;J[i+4>>2]=c;J[i>>2]=e;Ra(f,6064,i);break j}c=J[d+4>>2];Ae:{Be:{e=J[d+8>>2];if((e|0)!=6){break Be}if(tb(c,3457,6)){break Be}c=65536;break Ae}J[i+20>>2]=c;J[i+16>>2]=e;Ra(f,6064,i+16|0);c=0}J[d+4>>2]=c;break j}c=K[d+8|0]|K[d+9|0]<<8|(K[d+10|0]<<16|K[d+11|0]<<24);g=c;h=K[d+4|0]|K[d+5|0]<<8|(K[d+6|0]<<16|K[d+7|0]<<24);J[i+712>>2]=h;J[i+716>>2]=c;c=d-8|0;e=K[c+4|0]|K[c+5|0]<<8|(K[c+6|0]<<16|K[c+7|0]<<24);J[i+704>>2]=K[c|0]|K[c+1|0]<<8|(K[c+2|0]<<16|K[c+3|0]<<24);J[i+708>>2]=e;m=J[f+248>>2];if(!m){break j}j=J[f>>2];if(J[j+128>>2]<=I[m+34>>1]){J[i+48>>2]=J[m>>2];Ra(f,6622,i+48|0);break j}if(K[f+220|0]<=1){Qs(i+704|0)}Ce:{De:{if(g>>>0<16){break De}if(tb((g+h|0)-6|0,3675,6)){break Ce}c=h-1|0;g=g-6|0;q=1;while(1){k=65;if(!g){break l}if(H[K[c+g|0]+31216|0]&1){g=g-1|0;continue}break}J[i+716>>2]=g;if(g>>>0<9){break De}if(tb((g+h|0)-9|0,15577,9)){break Ce}g=g-9|0;while(1){if(!g){break l}if(H[K[c+g|0]+31216|0]&1){g=g-1|0;continue}break}J[i+716>>2]=g}if(g>>>0>=3){break Ce}k=65;q=1;break k}Qs(i+712|0);h=J[i+712>>2];g=J[i+716>>2];q=1;e=0;while(1){if((e|0)==6){k=65;break k}Ee:{if(K[e+50024|0]!=(g|0)){break Ee}if(tb(h,J[(e<<2)+66912>>2],g)){break Ee}q=(e&3)==1?5:1;t=(e<<4)+16|0;k=K[e+49984|0];g=0;break k}e=e+1|0;continue}}J[d-44>>2]=J[d-8>>2];break j}c=d-8|0;e=ib(J[f>>2],100,0);J[c>>2]=e;if(!e){break j}e=yd(J[f>>2],J[d+4>>2],J[d+8>>2],0);J[J[c>>2]>>2]=e;break j}J[d-32>>2]=J[d-8>>2];break j}c=ib(J[f>>2],100,0);Fe:{if(c){H[c+16|0]=166;J[c+40>>2]=J[d+4>>2];break Fe}_a(J[f>>2],J[d+4>>2])}J[d+4>>2]=c;break j}c=J[d+4>>2];Ge:{if(c){J[c+40>>2]=J[d-8>>2];break Ge}_a(J[f>>2],J[d-8>>2])}J[d-8>>2]=J[d+4>>2];break j}J[d-8>>2]=J[d+4>>2];break j}H[d+4|0]=K[d+2|0];break j}c=d-12|0;H[c+4|0]=K[c+2|0];break j}H[d-8|0]=K[d+4|0];break j}H[d+16|0]=0;break j}c=d-12|0;J[c+8>>2]=J[c+4>>2];J[c+4>>2]=L[d+2>>1];break j}c=d-12|0;J[c+8>>2]=0;J[c+4>>2]=L[c+2>>1];break j}c=d-56|0;g=c;e=J[c>>2];c=d-36|0;h=J[c+4>>2];j=J[c+8>>2];c=d-12|0;J[g>>2]=Dn(f,e,h,j,J[c+4>>2],J[c+8>>2],K[d+4|0]);break j}c=d-20|0;g=c;e=J[c>>2];c=d-12|0;J[g>>2]=Dn(f,e,J[c+4>>2],J[c+8>>2],85,0,K[d+4|0]);break j}J[d+16>>2]=Dn(f,0,90,0,85,0,0);break j}c=d-8|0;J[c>>2]=Gi(f,J[d+4>>2],0,0,c);break j}c=d-44|0;J[c>>2]=Gi(f,J[d+4>>2],0,J[d-8>>2],c);break j}J[d-32>>2]=Gi(f,J[d+4>>2],0,J[d-8>>2],0);break j}c=d-56|0;J[c>>2]=Gi(f,J[d+4>>2],J[d-20>>2],J[d-8>>2],c);break j}J[d-44>>2]=Gi(f,J[d+4>>2],J[d-20>>2],J[d-8>>2],0);break j}e=d-44|0;c=d-8|0;if(J[c>>2]){g=d-48|0;h=J[g+8>>2];g=yd(J[f>>2],J[g+4>>2],h,0);J[J[c>>2]>>2]=g;c=J[c>>2]}else{c=0}J[e>>2]=c;break j}c=d-20|0;Ps(f,J[d+4>>2],J[c>>2]);J[J[d+4>>2]+36>>2]=J[c>>2];J[c>>2]=J[d+4>>2];break j}c=d-20|0;J[c>>2]=Os(f,J[c>>2],J[d+4>>2]);break j}J[d+4>>2]=Os(f,0,J[d+4>>2]);break j}g=d-56|0;k=K[d-32|0];h=J[d-8>>2];j=J[d-44>>2];e=J[f>>2];c=ib(e,24,0);He:{if(K[e+87|0]){kb(e,j);ac(e,h);break He}J[c+4>>2]=j;J[c+8>>2]=h;e=oc(J[f>>2],g);H[c+20|0]=k;J[c>>2]=e}J[g>>2]=c;break j}H[d-20|0]=2;break j}H[d-8|0]=0;break j}H[d+4|0]=1;break j}Ns(f,J[d+4>>2]);break j}c=J[d+4>>2];e=J[f+264>>2];Ie:{if(!e){J[f+264>>2]=c;c=J[d+8>>2];break Ie}c=(c+J[d+8>>2]|0)-e|0}J[f+268>>2]=c;break j}Ms(f);J[f+264>>2]=0;J[f+268>>2]=0;break j}Fn(f,d-32|0,d-20|0,0,0,1,J[d-44>>2]);c=J[f+248>>2];if(!c){break j}H[c+43|0]=1;e=J[f>>2];Mg(f,c,oc(e,d+4|0));Mg(f,c,0);Mg(f,c,Ob(e,J[c>>2]));J[f+204>>2]=(J[d+4>>2]+J[d+8>>2]|0)-J[f+200>>2];g=J[c+48>>2];if(!g){break j}Tb(f,29,J[c>>2],J[g>>2],J[J[J[f>>2]+16>>2]+(Ab(e,J[c+60>>2])<<4)>>2]);break j}Ls(f,d+4|0);break j}Ls(f,0);break j}k=J[f>>2];Je:{Ke:{p=J[d-56>>2];h=_e(f,0,p+8|0);if(!h){break Ke}c=0;if(Gk(f,h)){break Je}c=0;if(Ks(f,h,0)){break Je}c=J[k+16>>2];m=Ab(k,J[h+60>>2]);l=J[c+(m<<4)>>2];if(Tb(f,26,l,J[h>>2],0)){break Ke}q=d-20|0;g=oc(k,q);c=0;if(!g){break Je}o=d+4|0;c=I[h+34>>1];e=(c|0)>0?c:0;while(1){Le:{if((e|0)!=(j|0)){if(Xa(J[J[h+4>>2]+P(j,12)>>2],g)){break Le}e=j}Me:{Ne:{Oe:{if((c|0)==(e|0)){J[i+608>>2]=q;Ra(f,29807,i+608|0);break Oe}c=(m|0)==1;Fi(f,l,c,30620,0);Js(f,l,c);j=J[f+128>>2];H[(j?j:f)+21|0]=1;j=oc(k,o);if(j){break Ne}}j=0;break Me}o=K[J[o>>2]];q=J[h>>2];J[i+684>>2]=q;J[i+680>>2]=c;J[i+672>>2]=j;o=K[o+31216|0]&128;J[i+676>>2]=o;J[i+668>>2]=e;J[i+664>>2]=q;J[i+660>>2]=l;J[i+656>>2]=l;fc(f,25760,i+656|0);h=J[h>>2];J[i+640>>2]=o;J[i+636>>2]=j;J[i+632>>2]=e;J[i+628>>2]=h;J[i+624>>2]=l;fc(f,26971,i+624|0);Fk(f,m,1);Fi(f,l,c,13900,1)}c=g;break Je}j=j+1|0;continue}}c=0}yc(k,p);Ua(k,c);Ua(k,j);break j}Rs(f);j=J[d+4>>2];e=J[f>>2];Pe:{if(K[e+87|0]){break Pe}g=_e(f,0,j+8|0);if(!g){break Pe}Qe:{switch(K[g+43|0]-1|0){case 0:Ra(f,15691,0);break Pe;case 1:Ra(f,1805,0);break Pe;default:break Qe}}if(Gk(f,g)){break Pe}c=J[f+128>>2];H[(c?c:f)+21|0]=1;m=Ab(e,J[g+60>>2]);c=ib(e,64,0);if(!c){break Pe}J[f+248>>2]=c;J[c+24>>2]=1;h=I[g+34>>1];I[c+34>>1]=h;J[c+4>>2]=ib(e,P((h-1|0)/8|0,96)+96|0,0);J[i+592>>2]=J[g>>2];h=hb(e,6118,i+592|0);J[c>>2]=h;k=J[c+4>>2];if(!k|!h){break Pe}Qa(k,J[g+4>>2],P(I[c+34>>1],12));h=0;while(1){if(I[c+34>>1]>(h|0)){k=J[c+4>>2]+P(h,12)|0;l=Ob(e,J[k>>2]);J[k>>2]=l;H[k+7|0]=yg(l);h=h+1|0;continue}break}J[c+52>>2]=kc(e,J[g+52>>2],0);J[c+60>>2]=J[(J[e+16>>2]+(m<<4)|0)+12>>2];J[c+44>>2]=J[g+44>>2]}yc(e,j);break j}r=J[d-32>>2];p=J[f>>2];Re:{if(K[p+87|0]){break Re}m=_e(f,0,r+8|0);if(!m){break Re}if(Gk(f,m)){break Re}if(Ks(f,m,1)){break Re}c=d+4|0;j=oc(p,c);if(!j){break Re}q=Cn(m,j);Se:{if((q|0)<0){J[i+528>>2]=c;Ra(f,29807,i+528|0);break Se}c=L[(J[m+4>>2]+P(q,12)|0)+10>>1];if(c&9){J[i+580>>2]=j;J[i+576>>2]=c&1?18600:20314;Ra(f,29755,i+576|0);break Se}if(I[m+34>>1]<=1){J[i+544>>2]=j;Ra(f,2277,i+544|0);break Se}g=J[p+16>>2];c=Ab(p,J[m+60>>2]);e=J[g+(c<<4)>>2];if(Tb(f,26,e,J[m>>2],j)){break Se}g=(c|0)==1;Fi(f,e,g,30620,0);Js(f,e,g);J[i+572>>2]=J[m>>2];J[i+568>>2]=q;J[i+564>>2]=c;J[i+560>>2]=e;fc(f,25399,i+560|0);Fk(f,c,2);Fi(f,e,g,10994,1);if(J[f+36>>2]|K[(J[m+4>>2]+P(q,12)|0)+10|0]&32){break Se}h=rb(f);o=J[f+40>>2];J[f+40>>2]=o+1;Cd(f,o,c,m,113);w=Va(h,36,o);e=J[f+44>>2];t=e+1|0;J[f+44>>2]=t;Te:{if(!(K[m+28|0]&128)){Na(h,135,o,t);k=e+2|0;g=0;c=0;e=J[f+44>>2]+I[m+34>>1]|0;break Te}c=ec(m);J[f+44>>2]=t+L[c+52>>1];k=e+2|0;e=0;while(1){g=L[c+50>>1];if(g>>>0>e>>>0){Pa(h,94,o,e,e+k|0);e=e+1|0;continue}break}e=J[f+44>>2]}v=e+1|0;J[f+44>>2]=v;e=0;while(1){if(I[m+34>>1]>(e|0)){Ue:{if(K[(J[m+4>>2]+P(e,12)|0)+10|0]&32|(e|0)==(q|0)){break Ue}Ve:{if(c){l=Le(c,e<<16>>16);D=Le(c,q<<16>>16);if((l|0)<L[c+50>>1]){break Ue}l=(k+l|0)-((l|0)>(D|0))|0;break Ve}l=g+k|0}We:{if(I[m+32>>1]==(e|0)){Na(h,75,0,l);break We}td(h,m,o,e,l)}g=g+1|0}e=e+1|0;continue}break}if(!g){J[f+44>>2]=J[f+44>>2]+1;Na(h,75,0,k);g=1}Pa(h,97,k,g,v);Xe:{if(c){bb(h,138,o,v,k,L[c+50>>1]);break Xe}Pa(h,128,o,v,t)}c=J[h+108>>2];if((c|0)>0){I[(J[h+104>>2]+P(c,20)|0)-18>>1]=2}Na(h,39,o,w+1|0);e=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(w,20)|0)+8>>2]=e}g=j}Ua(p,g);yc(p,r);break j}g=d-12|0;J[g+8>>2]=J[f+212>>2]+(J[f+208>>2]-J[g+4>>2]|0);if(J[f+36>>2]){break j}j=J[f>>2];c=J[j+16>>2];e=J[f+248>>2];l=Ab(j,J[e+60>>2]);h=J[c+(l<<4)>>2];m=J[e+4>>2]+P(I[e+34>>1],12)|0;c=Hc(e,m-12|0);k=J[e>>2]+16|0;p=tc(j,k,h);if(Tb(f,26,h,J[p>>2],0)){break j}q=m-2|0;o=L[q>>1];if(o&1){Ra(f,11123,0);break j}if(J[e+8>>2]){Ra(f,11155,0);break j}Ye:{if(!(o&96)){c=c?K[J[c+12>>2]]!=121?c:0:0;if(!(!(K[j+33|0]&64)|(!J[e+48>>2]|!c))){Ek(f,h,k,12990)}if(!(c|!(K[m-8|0]&15))){Ek(f,h,k,20097);break Ye}if(!c){break Ye}J[i+712>>2]=0;if(dj(j,c,1,65,i+712|0)){break j}c=J[i+712>>2];if(!c){Ek(f,h,k,3054)}Pc(c);break Ye}if(!(o&64)){break Ye}Ek(f,h,k,11182)}c=yd(j,J[g+4>>2],J[g+8>>2],0);if(c){g=c+J[g+8>>2]|0;while(1){Ze:{g=g-1|0;if(c>>>0>=g>>>0){break Ze}o=K[g|0];if((o|0)!=59&!(H[o+31216|0]&1)){break Ze}H[g|0]=0;continue}break}g=J[e+44>>2];J[i+512>>2]=k;J[i+508>>2]=g;J[i+504>>2]=c;J[i+500>>2]=g;J[i+496>>2]=h;fc(f,19760,i+496|0);Za(j,c)}c=rb(f);if(!c){break j}g=vb(f);Pa(c,99,l,g,2);fe(c,l);Na(c,86,g,-2);Na(c,59,g,J[c+108>>2]+2|0);Pa(c,100,l,2,3);mb(f,g);Fk(f,l,3);if(!(J[e+16>>2]|(K[q|0]&96?K[m-8|0]&15:0)|H[p+30|0]&1)){break j}J[i+484>>2]=h;J[i+480>>2]=k;fc(f,28463,i+480|0);break j}l=J[d-32>>2];j=J[f>>2];_e:{if(K[j+87|0]){break _e}h=_e(f,0,l+8|0);if(!h){break _e}c=J[j+16>>2];m=Ab(J[f>>2],J[h+60>>2]);e=J[c+(m<<4)>>2];c=oc(j,d+4|0);if(!c){break _e}$e:{af:{bf:{if(tc(j,c,e)){break bf}if($e(j,c,e)){break bf}if(!Is(j,h,c)){break af}}J[i+464>>2]=c;Ra(f,8222,i+464|0);break $e}if(Gk(f,h)){break $e}if(Dk(f,c,14316,c)){break $e}g=J[h>>2];if(K[h+43|0]==2){J[i+336>>2]=g;Ra(f,15725,i+336|0);break $e}if(Tb(f,26,e,g,0)){break $e}if(Ze(f,h)){break $e}g=0;if(K[h+43|0]==1){g=ud(j,h);g=J[J[J[g+8>>2]>>2]+76>>2]?g:0}o=rb(f);if(!o){break $e}k=J[f+128>>2];H[(k?k:f)+21|0]=1;k=J[h>>2];q=Ov(k);J[i+452>>2]=k;p=(m|0)==1;J[i+448>>2]=p;J[i+444>>2]=c;J[i+440>>2]=k;J[i+436>>2]=e;J[i+432>>2]=e;fc(f,28279,i+432|0);J[i+420>>2]=k;J[i+416>>2]=q;J[i+412>>2]=c;J[i+408>>2]=c;J[i+404>>2]=c;J[i+400>>2]=e;fc(f,22299,i+400|0);if(tc(j,14706,e)){J[i+392>>2]=J[h>>2];J[i+388>>2]=c;J[i+384>>2]=e;fc(f,19702,i+384|0)}if(!p){J[i+372>>2]=c;J[i+368>>2]=e;J[i+364>>2]=k;J[i+360>>2]=c;J[i+356>>2]=k;J[i+352>>2]=e;fc(f,27102,i+352|0)}if(g){h=J[f+44>>2]+1|0;J[f+44>>2]=h;Ic(o,h,c);$a(o,177,h,0,0,g,-11)}Fk(f,m,1);Fi(f,e,p,13900,0)}g=c}yc(j,l);Ua(j,g);break j}Hs(f,d-8|0,d+4|0);break j}Hs(f,0,0);break j}Gs(f,d-8|0,d+4|0);break j}Gs(f,0,0);break j}c=J[d+4>>2];Fs(f,25,50728,c,0,0,c);break j}c=J[d-32>>2];Fs(f,24,50612,c,c,J[d-8>>2],J[d+4>>2]);break j}c=J[d+4>>2];g=J[f>>2];cf:{if(K[g+87|0]){break cf}k=J[d-8>>2];if(ve(f)){break cf}l=c+8|0;m=J[c+16>>2];h=J[c+12>>2];e=0;df:{while(1){if(J[g+20>>2]>(e|0)){j=e>>>0<2^e;ef:{if(h){if(!Ik(g,j,h)){break ef}}j=Cc(J[(J[g+16>>2]+(j<<4)|0)+12>>2]+40|0,m);if(j){break df}}e=e+1|0;continue}break}ff:{if(!k){J[i+320>>2]=l;Ra(f,19352,i+320|0);break ff}Ei(f,h)}H[f+17|0]=1;break cf}Es(f,j)}yc(g,c);break j}J[d+4>>2]=3;break j}J[d+4>>2]=1;break j}c=nc(J[f>>2],71,d-8|0,1);J[d-56>>2]=c;if(!c){break j}H[c+1|0]=J[d-32>>2];break j}c=db(f,71,0,0);J[d-32>>2]=c;if(!c){break j}H[c+1|0]=4;break j}h=d-20|0;j=J[h>>2];e=J[d-8>>2];k=J[d+4>>2];g=J[f>>2];c=ib(g,48,0);gf:{if(!c){ac(g,e);break gf}J[c+8>>2]=e;I[c>>1]=2954;J[c+36>>2]=Ds(g,j,k)}J[h>>2]=c;break j}g=J[d-8>>2];e=J[f>>2];j=d-56|0;c=An(f,128,d-32|0,J[j>>2],J[d+4>>2]);if(c){hf:{if(K[f+220|0]>1){h=g;g=0;break hf}h=eb(e,g,1)}H[c+1|0]=11;J[c+20>>2]=h}_a(e,g);J[j>>2]=c;break j}h=J[d-8>>2];l=J[d-68>>2];e=J[d-20>>2];k=J[d-32>>2];j=J[f>>2];m=d-80|0;c=An(f,127,d-44|0,J[m>>2],J[d+4>>2]);jf:{if(c){kf:{if(K[f+220|0]>1){g=e;e=0;break kf}g=Pd(j,e,1)}J[c+32>>2]=h;J[c+28>>2]=k;J[c+8>>2]=g;H[c+1|0]=l;if(!h){break jf}Ck(f,J[h>>2]);break jf}ne(j,k);Hk(j,h)}ac(j,e);J[m>>2]=c;break j}l=J[d-80>>2];j=J[d-8>>2];e=J[d-32>>2];c=J[d-20>>2];k=J[f>>2];m=d-92|0;g=An(f,129,d-68|0,J[m>>2],J[d+4>>2]);if(g){lf:{if(K[f+220|0]>=2){J[g+20>>2]=j;J[g+24>>2]=e;j=0;h=c;e=0;c=0;break lf}J[g+24>>2]=kc(k,e,1);J[g+20>>2]=eb(k,j,1);h=oh(k,c,1)}H[g+1|0]=l;J[g+16>>2]=h}kb(k,e);_a(k,j);yc(k,c);J[m>>2]=g;break j}Ra(f,4583,0);break j}Ra(f,4499,0);break j}e=J[d+8>>2];c=d-20|0;J[c>>2]=J[d+4>>2];J[c+4>>2]=e;Ra(f,4668,0);break j}c=J[d-8>>2];J[c+44>>2]=c;break j}c=d-20|0;e=J[d-8>>2];J[J[J[c>>2]+44>>2]+40>>2]=e;J[J[c>>2]+44>>2]=e;break j}J[d-8>>2]=J[d+4>>2];break j}J[d+16>>2]=0;break j}c=d-24|0;J[c+4>>2]=129;J[c+8>>2]=J[d+4>>2];break j}J[d+8>>2]=0;J[d+4>>2]=L[d+2>>1];break j}J[d+16>>2]=33;break j}J[d-8>>2]=65;break j}J[d+4>>2]=L[d+2>>1];break j}t=d-68|0;p=d-80|0;w=J[d-92>>2];l=J[d-20>>2];o=J[d-56>>2];c=d-48|0;e=J[c+8>>2];D=J[c+4>>2];g=J[f>>2];c=J[d+4>>2];mf:{nf:{of:{q=d-116|0;v=J[q>>2];pf:{if(v){if(J[d+-64>>2]){Ra(f,13961,0);break nf}J[i+704>>2]=p;k=1;if(l){break pf}break of}k=Ef(f,p,t,i+704|0);if(!l|(k|0)<0){break nf}}if(K[g+87|0]){break nf}if(!(!K[g+177|0]|(k|0)==1)){Ua(g,J[l+12>>2]);J[l+12>>2]=0}h=nh(f,l);k=K[g+177|0]|(J[d+-64>>2]|!h)?k:J[h+60>>2]==J[J[g+16>>2]+28>>2]?1:k;if(K[g+87|0]){break nf}h=J[f>>2];J[i+712>>2]=f;h=J[h+16>>2]+(k<<4)|0;J[i+752>>2]=J[h>>2];h=J[h+12>>2];J[i+720>>2]=11;J[i+724>>2]=12;J[i+728>>2]=13;J[i+732>>2]=0;I[i+736>>1]=0;J[i+744>>2]=h;J[i+716>>2]=f;h=i+712|0;J[i+740>>2]=h;H[i+748|0]=(k|0)==1;J[i+756>>2]=9411;r=J[i+704>>2];J[i+760>>2]=r;if(zn(h,l)){break nf}h=0;qf:{m=nh(f,l);if(!m){break qf}if(K[m+43|0]==1){Ra(f,5595,0);break qf}rf:{if(!(K[m+29|0]&16)){break rf}if(!mh(g)){break rf}Ra(f,5555,0);break qf}j=oc(g,r);if(!j){break of}if(Dk(f,j,9411,J[m>>2])){break nf}sf:{if(K[f+220|0]>1){break sf}if(!Cc(J[(J[g+16>>2]+(k<<4)|0)+12>>2]+40|0,j)){break sf}if(!w){J[i+304>>2]=r;Ra(f,3819,i+304|0);break nf}gd(f,k);break nf}w=J[m>>2];if(!tb(w,18298,7)){Ra(f,14162,0);break mf}r=K[m+43|0];if(!((o|0)==65|(r|0)!=2)){J[i+276>>2]=l+8;J[i+272>>2]=(o|0)==33?20350:19556;Ra(f,19315,i+272|0);break qf}if(!((r|0)==2|(o|0)!=65)){J[i+288>>2]=l+8;Ra(f,19372,i+288|0);break qf}if(K[f+220|0]<=1){r=J[g+16>>2];F=Ab(g,J[m+60>>2]);x=J[r+(F<<4)>>2];h=x;h=v?J[r+16>>2]:h;r=(F|0)==1;if(Tb(f,v?5:r?5:7,j,w,h)){break nf}h=0;if(Tb(f,18,r?9192:9211,0,x)){break mf}}h=ib(g,36,0);if(!h){break nf}J[h>>2]=j;j=Ob(g,J[l+16>>2]);J[h+4>>2]=j;J[h+20>>2]=J[(J[g+16>>2]+(k<<4)|0)+12>>2];k=J[m+60>>2];H[h+9|0]=(o|0)==65?1:(o|0)==33?1:2;H[h+8|0]=D;J[h+24>>2]=k;tf:{if(K[f+220|0]>=2){Zc(f,j,J[l+16>>2]);j=c;c=0;break tf}j=eb(g,c,1)}J[h+16>>2]=e;J[h+12>>2]=j;J[f+256>>2]=h;j=0;e=0;break mf}if(K[g+176|0]!=1){break mf}H[g+178|0]=K[g+178|0]|1;break mf}j=0}h=0}Ua(g,j);yc(g,l);ne(g,e);_a(g,c);if(!J[f+256>>2]){Mh(g,h)}if(!J[d+-64>>2]){c=J[p+4>>2];J[q>>2]=J[p>>2];J[q+4>>2]=c;break j}c=J[t+4>>2];J[q>>2]=J[t>>2];J[q+4>>2]=c;break j}e=J[d-8>>2];c=J[d+8>>2];q=J[d-32>>2];h=J[f>>2];g=J[f+256>>2];j=J[d+4>>2];J[f+256>>2]=0;uf:{if(J[f+36>>2]|!g){break uf}t=c+(j-q|0)|0;o=J[g>>2];l=Ab(h,J[g+20>>2]);J[g+28>>2]=e;j=g+28|0;while(1){if(e){J[e+4>>2]=g;e=J[e+40>>2];continue}break}J[i+704>>2]=o;c=Ya(o);J[i+712>>2]=f;J[i+708>>2]=c;c=J[h+16>>2]+(l<<4)|0;J[i+752>>2]=J[c>>2];c=J[c+12>>2];I[i+736>>1]=0;J[i+732>>2]=0;J[i+728>>2]=13;J[i+724>>2]=12;J[i+720>>2]=11;J[i+756>>2]=9411;J[i+744>>2]=c;H[i+748|0]=(l|0)==1;J[i+740>>2]=i+712;J[i+716>>2]=f;J[i+760>>2]=i+704;k=i+716|0;e=j;while(1){m=J[e>>2];if(m){e=0;if($b(k,J[m+8>>2])){break uf}if(Eb(k,J[m+20>>2])){break uf}if(dc(k,J[m+24>>2])){break uf}if(zn(i+712|0,J[m+16>>2])){break uf}c=m+32|0;while(1){p=J[c>>2];if(p){if(dc(k,J[p>>2])){break uf}if(Eb(k,J[p+4>>2])){break uf}if(dc(k,J[p+8>>2])){break uf}c=p+16|0;if(!Eb(k,J[p+12>>2])){continue}break uf}break}e=m+40|0;continue}break}e=0;if(Eb(k,J[g+12>>2])){break uf}vf:{if(K[f+220|0]>=2){J[f+256>>2]=g;g=0;break vf}if(K[h+177|0]){break vf}wf:{if(!mh(h)){break wf}while(1){c=J[j>>2];if(!c){break wf}xf:{j=J[c+12>>2];if(j){if(yn(h,j)){break xf}}j=c+40|0;continue}break}j=J[g>>2];J[i+260>>2]=J[c+12>>2];J[i+256>>2]=j;Ra(f,29525,i+256|0);break uf}j=rb(f);if(!j){break uf}fd(f,0,l);c=yd(h,q,t,0);k=J[J[h+16>>2]+(l<<4)>>2];m=J[g+4>>2];J[i+252>>2]=c;J[i+248>>2]=m;J[i+244>>2]=o;J[i+240>>2]=k;fc(f,27382,i+240|0);Ua(h,c);Df(f,l);J[i+224>>2]=o;kh(j,l,hb(h,28202,i+224|0),0)}if(!K[h+177|0]){break uf}c=jd(J[(J[h+16>>2]+(l<<4)|0)+12>>2]+40|0,o,g);if(c){Db(h);g=c;break uf}c=J[g+20>>2];if((c|0)==J[g+24>>2]){c=Cc(c+8|0,J[g+4>>2]);J[g+32>>2]=J[c+56>>2];J[c+56>>2]=g}g=0}Mh(h,g);Bn(h,e);break j}Di(f,d-44|0,d-32|0,d-8|0,1);break j}Di(f,d-32|0,d-20|0,d+4|0,1);break j}Di(f,d-44|0,d-32|0,d-8|0,0);break j}Di(f,d-32|0,d-20|0,d+4|0,0);break j}Di(f,d-8|0,d+4|0,0,0);break j}Cs(f,d-8|0,J[d+4>>2]);break j}Cs(f,0,J[d+4>>2]);break j}g=J[d+4>>2];h=J[f>>2];yf:{if(K[h+87|0]){break yf}e=J[d-8>>2];if(ve(f)){break yf}c=$e(h,J[g+16>>2],J[g+12>>2]);if(!c){zf:{if(!e){J[i+176>>2]=g+8;Ra(f,19297,i+176|0);break zf}Ei(f,J[g+12>>2]);Bk(f)}H[f+17|0]=1;break yf}if(K[c+55|0]&3){J[i+208>>2]=0;Ra(f,15787,i+208|0);break yf}j=J[c+12>>2];e=Ab(h,J[c+24>>2]);k=(e|0)==1;l=J[J[h+16>>2]+(e<<4)>>2];if(Tb(f,9,k?9192:9211,0,l)){break yf}if(Tb(f,k?12:10,J[c>>2],J[j>>2],l)){break yf}j=rb(f);if(!j){break yf}fd(f,1,e);k=J[J[h+16>>2]+(e<<4)>>2];J[i+196>>2]=J[c>>2];J[i+192>>2]=k;fc(f,27715,i+192|0);Bs(f,e,1570,J[c>>2]);Df(f,e);As(f,J[c+44>>2],e);$a(j,152,e,0,0,J[c>>2],0)}yc(h,g);break j}c=d-20|0;J[c>>2]=zs(f,0,c,J[d-8>>2],J[d+4>>2]);break j}c=d-44|0;J[c>>2]=zs(f,J[c>>2],d-20|0,J[d-8>>2],J[d+4>>2]);break j}J[d+16>>2]=0;break j}J[d+4>>2]=2;break j}c=d-44|0;Ci(f,d-80|0,d-68|0,Bd(f,0,c,0),J[d-20>>2],J[d-116>>2],d-128|0,J[d+4>>2],0,J[d-92>>2],0);if(K[f+220|0]<2){break j}e=J[f+252>>2];if(!e){break j}qe(f,J[e>>2],c);break j}J[d-20>>2]=J[d-8>>2];break j}J[d+4>>2]=Tc(J[f>>2],J[d+4>>2]);break j}c=d-20|0;J[c>>2]=Kb(f,J[c>>2],J[d+4>>2]);break j}c=d-32|0;e=Tc(J[f>>2],J[d-20>>2]);J[c>>2]=e;J[c>>2]=Kb(f,e,J[d+4>>2]);break j}c=d-44|0;e=Kb(f,J[c>>2],J[d-20>>2]);J[c>>2]=e;J[c>>2]=Kb(f,e,J[d+4>>2]);break j}e=d-44|0;c=db(f,157,J[d-32>>2],0);J[e>>2]=c;if(c){g=J[d-20>>2];h=J[d-8>>2];if(h){g=Kb(f,g,h);c=J[e>>2]}J[c+20>>2]=g;Ak(f,J[e>>2]);break j}kb(J[f>>2],J[d-20>>2]);_a(J[f>>2],J[d-8>>2]);break j}c=db(f,20,0,0);J[d-32>>2]=c;wg(f,c,J[d-8>>2]);break j}c=Bd(f,0,d-20|0,d-8|0);e=sd(f,0,c,0,0,0,0,0,0);g=J[d+4>>2];if(g){ys(f,e?c:0,g)}c=d-44|0;g=db(f,49,J[c>>2],0);J[c>>2]=g;wg(f,g,e);if(!J[d-32>>2]){break j}J[c>>2]=db(f,19,J[c>>2],0);break j}c=d-44|0;e=db(f,49,J[c>>2],0);J[c>>2]=e;wg(f,e,J[d-8>>2]);if(!J[d-32>>2]){break j}J[c>>2]=db(f,19,J[c>>2],0);break j}c=db(f,138,0,0);J[d-20>>2]=c;wg(f,c,J[d-8>>2]);break j}c=d-8|0;e=J[c>>2];if(!e){c=d-44|0;xs(f,J[c>>2]);g=c;c=jc(J[f>>2],117,J[d-32>>2]?12960:13493);J[g>>2]=c;if(!c){break j}zk(c);break j}Af:{Bf:{if(J[e>>2]!=1){break Bf}Cf:{e=J[e+8>>2];if(!be(e)){j=J[c>>2];break Cf}j=J[c>>2];g=d-44|0;if(K[J[g>>2]]==177){break Cf}J[j+8>>2]=0;kb(J[f>>2],J[c>>2]);c=db(f,174,e,0);J[g>>2]=db(f,53,J[g>>2],c);break Af}if(J[j>>2]!=1|K[e|0]!=138){break Bf}h=d-44|0;g=db(f,49,J[h>>2],0);J[h>>2]=g;wg(f,g,J[e+20>>2]);J[e+20>>2]=0;kb(J[f>>2],J[c>>2]);break Af}k=d-44|0;e=db(f,49,J[k>>2],0);J[k>>2]=e;if(!e){kb(J[f>>2],J[c>>2]);break Af}g=J[e+12>>2];if(K[g|0]==177){h=J[c>>2];m=J[J[g+20>>2]>>2];c=0;e=0;while(1){Df:{Ef:{if(J[h>>2]>(e|0)){j=1;l=J[(h+(e<<4)|0)+8>>2];if(K[l|0]==177){j=J[J[l+20>>2]>>2]}if((j|0)==(m|0)){g=sd(f,J[l+20>>2],0,0,0,0,0,512,0);J[l+20>>2]=0;if(!g){break Df}if(!c){break Ef}J[g+52>>2]=c;H[g|0]=135;break Ef}J[i+168>>2]=m;J[i+160>>2]=j;J[i+164>>2]=(j|0)>1?8864:30620;Ra(f,17359,i+160|0)}if(c){if(J[c+52>>2]){J[c+4>>2]=J[c+4>>2]|1024}Vf(J[f>>2],h);yk(f,c);wg(f,J[k>>2],c);break Af}Vf(J[f>>2],h);break Af}c=g}e=e+1|0;continue}}J[e+20>>2]=J[c>>2];Ak(f,J[k>>2])}if(!J[d-32>>2]){break j}c=d-44|0;J[c>>2]=db(f,19,J[c>>2],0);break j}g=Kb(f,Tc(J[f>>2],J[d-20>>2]),J[d+4>>2]);c=d-44|0;e=db(f,48,J[c>>2],0);J[c>>2]=e;Ff:{if(e){J[e+20>>2]=g;break Ff}kb(J[f>>2],g)}if(!J[d-32>>2]){break j}J[c>>2]=db(f,19,J[c>>2],0);break j}J[d+4>>2]=0;break j}c=d-20|0;e=Tc(J[f>>2],J[c>>2]);J[c>>2]=pe(f,Kb(f,e,J[d+4>>2]),d-8|0,0);break j}c=d-12|0;J[c+4>>2]=db(f,L[c+2>>1]==106?174:173,J[d+4>>2],0);break j}c=d-12|0;J[c+4>>2]=db(f,L[c+2>>1],J[d+4>>2],0);break j}e=d-44|0;c=db(f,171,J[e>>2],J[d+4>>2]);J[e>>2]=c;xk(f,J[d+4>>2],c,51);break j}e=d-56|0;c=db(f,45,J[e>>2],J[d+4>>2]);J[e>>2]=c;xk(f,J[d+4>>2],c,50);break j}e=d-32|0;c=db(f,171,J[e>>2],J[d+4>>2]);J[e>>2]=c;xk(f,J[d+4>>2],c,51);break j}e=d-20|0;c=db(f,45,J[e>>2],J[d+4>>2]);J[e>>2]=c;xk(f,J[d+4>>2],c,50);break j}c=d-20|0;J[c>>2]=db(f,51,J[c>>2],0);break j}c=d-8|0;J[c>>2]=db(f,L[d+2>>1],J[c>>2],0);break j}e=d-28|0;c=J[e>>2];J[e>>2]=c&2147483647;g=d-44|0;e=pe(f,Kb(f,Kb(f,Tc(J[f>>2],J[d-20>>2]),J[g>>2]),J[d+4>>2]),d-32|0,0);J[g>>2]=e;if((c|0)<0){e=db(f,19,e,0);J[g>>2]=e}if(!e){break j}J[e+4>>2]=J[e+4>>2]|256;break j}e=d-4|0;c=J[e>>2];J[e>>2]=c&2147483647;g=d-20|0;e=pe(f,Kb(f,Tc(J[f>>2],J[d+4>>2]),J[g>>2]),d-8|0,0);J[g>>2]=e;if((c|0)<0){e=db(f,19,e,0);J[g>>2]=e}if(!e){break j}J[e+4>>2]=J[e+4>>2]|256;break j}e=J[d+8>>2];g=d-12|0;J[g+4>>2]=J[d+4>>2];J[g+8>>2]=e;J[g+8>>2]=e|-2147483648;break j}c=d-20|0;J[c>>2]=db(f,L[d-10>>1],J[c>>2],J[d+4>>2]);break j}c=d-20|0;J[c>>2]=Od(f,J[c>>2],J[d+4>>2]);break j}c=Kb(f,J[d-32>>2],J[d-8>>2]);g=d-44|0;e=db(f,177,0,0);J[g>>2]=e;if(e){J[e+20>>2]=c;if(!J[c>>2]){break j}e=J[g>>2];J[e+4>>2]=J[e+4>>2]|J[J[c+8>>2]+4>>2]&4194824;break j}kb(J[f>>2],c);break j}J[d+4>>2]=pe(f,0,d+4|0,0);break j}c=d-44|0;e=pe(f,0,c,0);xn(f,e,J[d+4>>2]);J[c>>2]=e;break j}e=d-92|0;c=pe(f,J[d-56>>2],e,J[d-68>>2]);xn(f,c,J[d+4>>2]);ws(f,c,J[d-20>>2]);J[e>>2]=c;break j}c=d-56|0;e=pe(f,J[d-20>>2],c,J[d-32>>2]);xn(f,e,J[d+4>>2]);J[c>>2]=e;break j}c=d-32|0;J[c>>2]=pe(f,0,c,0);break j}c=d-80|0;e=pe(f,J[d-44>>2],c,J[d-56>>2]);ws(f,e,J[d-8>>2]);J[c>>2]=e;break j}c=d-44|0;J[c>>2]=pe(f,J[d-8>>2],c,J[d-20>>2]);break j}c=nc(J[f>>2],36,d-8|0,1);J[d-56>>2]=c;vs(J[f>>2],c,J[d-32>>2],0);break j}c=d-20|0;J[c>>2]=us(f,J[c>>2],d+4|0,1);break j}Gf:{c=J[d+4>>2];if(!(K[c|0]==35&K[c+1|0]-58>>>0>4294967285)){l=J[d+8>>2];c=J[d+8>>2];J[i+136>>2]=J[d+4>>2];J[i+140>>2]=c;m=Ke(f,156,i+136|0);J[d+4>>2]=m;if(!m){break j}j=J[f>>2];o=J[m+8>>2];g=H[o+1|0];c=g>>31;h=c;Hf:{if(!(c|g)){g=L[f+216>>1]+1|0;I[f+216>>1]=g;break Hf}If:{Jf:{if(K[o|0]==63){Kf:{if((l|0)==2){e=0;c=g-48|0;g=h-(g>>>0<48)|0;break Kf}e=(Yf(o+1|0,i+712|0,l-1|0,1)|0)!=0;c=J[i+712>>2];g=J[i+716>>2]}h=J[j+156>>2];k=e;e=g;g=h>>31;if(k|(!c&(e|0)<=0|(e|0)<0)|((g|0)<=(e|0)&c>>>0>h>>>0|(e|0)>(g|0))){break Gf}g=c<<16>>16;if((g|0)<=I[f+216>>1]){break Jf}I[f+216>>1]=g;e=J[f+236>>2];break If}e=J[f+236>>2];g=cw(e,o,l);if(g&65535){break Hf}g=L[f+216>>1]+1|0;I[f+216>>1]=g;break If}e=J[f+236>>2];if(ew(e,g)){break Hf}}q=((l|0)/4|0)+3|0;c=q;x=c>>31;Lf:{Mf:{if(e){h=J[e+4>>2];k=c+h|0;p=J[e>>2];if((k|0)<=(p|0)){c=e;break Mf}h=p<<1;c=p>>31<<1|p>>>31}else{h=10;c=0}p=x+c|0;c=h+q|0;p=c>>>0<h>>>0?p+1|0:p;k=c;c=_c(j,e,c<<2,p<<2|c>>>30);if(!c){c=e;break Lf}if(e){h=J[c+4>>2]}else{J[c+4>>2]=2;h=2}J[c>>2]=k;k=h+q|0}e=(h<<2)+c|0;J[e>>2]=g<<16>>16;J[e+4>>2]=q;J[c+4>>2]=k;H[Qa(e+8|0,o,l)+l|0]=0}J[f+236>>2]=c}I[m+32>>1]=g;if(J[j+156>>2]>=g<<16>>16){break j}Ra(f,5822,0);Ig(J[f>>2],m);break j}e=J[d+8>>2];c=J[d+4>>2];J[i+712>>2]=c;J[i+716>>2]=e;if(!K[f+18|0]){J[i+144>>2]=i+712;Ra(f,9027,i+144|0);J[d+4>>2]=0;break j}e=db(f,176,0,0);J[d+4>>2]=e;if(!e){break j}Zf(c+1|0,e+28|0);break j}J[i+128>>2]=h;Ra(f,16715,i+128|0);Ig(J[f>>2],m);break j}c=nc(J[f>>2],155,d+4|0,1);if(c){J[c+36>>2]=J[d+4>>2]-J[f+244>>2]}J[d+4>>2]=c;break j}c=L[d+2>>1];e=J[d+8>>2];J[i+120>>2]=J[d+4>>2];J[i+124>>2]=e;J[d+4>>2]=Ke(f,c,i+120|0);break j}c=d-44|0;e=J[c+4>>2];J[i+112>>2]=J[c>>2];J[i+116>>2]=e;e=Ke(f,59,i+112|0);g=d-20|0;h=J[g+4>>2];J[i+104>>2]=J[g>>2];J[i+108>>2]=h;g=Ke(f,59,i+104|0);h=J[d+8>>2];J[i+96>>2]=J[d+4>>2];J[i+100>>2]=h;g=db(f,141,g,Ke(f,59,i+96|0));if(K[f+220|0]>=2){Zc(f,0,e)}J[c>>2]=db(f,141,e,g);break j}c=d-20|0;e=J[c+4>>2];J[i+88>>2]=J[c>>2];J[i+92>>2]=e;e=Ke(f,59,i+88|0);g=J[d+8>>2];J[i+80>>2]=J[d+4>>2];J[i+84>>2]=g;J[c>>2]=db(f,141,e,Ke(f,59,i+80|0));break j}c=J[d+8>>2];J[i+72>>2]=J[d+4>>2];J[i+76>>2]=c;J[d+4>>2]=Ke(f,59,i+72|0);break j}J[d-20>>2]=J[d-8>>2];break j}J[d+4>>2]=wn(f,0,d+4|0);break j}c=d-20|0;J[c>>2]=wn(f,J[c>>2],d+4|0);break j}J[d-20>>2]=J[d-8>>2];break j}J[d+16>>2]=0;break j}wk(f,J[d+4>>2]);break j}J[d-80>>2]=Bi(J[f>>2],0,0,J[d-20>>2],J[d-8>>2],0);break j}J[d-44>>2]=Bi(J[f>>2],0,0,0,0,0);break j}J[d-92>>2]=Bi(J[f>>2],J[d-56>>2],J[d-32>>2],0,0,J[d+4>>2]);break j}J[d-128>>2]=Bi(J[f>>2],J[d-92>>2],J[d-68>>2],J[d-20>>2],J[d-8>>2],J[d+4>>2]);break j}J[d-8>>2]=0;wk(f,J[d+4>>2]);break j}J[d+16>>2]=0;break j}vn(f,J[d-44>>2],0,J[d-32>>2],J[d-68>>2],0);break j}vn(f,J[d-32>>2],J[d-8>>2],J[d-20>>2],J[d-56>>2],J[d+4>>2]);break j}J[d-44>>2]=ts(f,0,J[d-32>>2],J[d+4>>2]);break j}c=Tc(J[f>>2],J[d+4>>2]);e=d-20|0;vg(f,c,e,1);J[e>>2]=c;break j}c=d-68|0;J[c>>2]=ts(f,J[c>>2],J[d-32>>2],J[d+4>>2]);break j}e=d-44|0;c=Kb(f,J[e>>2],J[d+4>>2]);J[e>>2]=c;vg(f,c,d-20|0,1);break j}c=d-56|0;un(f,J[c>>2],d-44|0);g=d-20|0;ss(f,J[g>>2],2446);e=J[d-8>>2];Nf:{if(!e){e=J[c>>2];break Nf}if(J[e>>2]>=2){e=sd(f,0,e,0,0,0,0,2048,0);J[i+712>>2]=0;J[i+716>>2]=0;e=Je(f,0,0,0,i+712|0,e,0)}e=rs(f,J[c>>2],e);J[c>>2]=e}tn(f,e,J[g>>2],J[d+4>>2],J[d-68>>2],0);break j}wk(f,J[d+4>>2]);J[d-32>>2]=J[d-20>>2];break j}wk(f,J[d+4>>2]);J[d-8>>2]=0;break j}c=d-20|0;un(f,J[c>>2],d-8|0);sn(f,J[c>>2],J[d+4>>2]);break j}J[d-32>>2]=db(f,148,J[d+4>>2],J[d-20>>2]);break j}J[d-32>>2]=db(f,148,J[d-20>>2],J[d+4>>2]);break j}J[d-8>>2]=db(f,148,J[d+4>>2],0);break j}J[d-8>>2]=J[d+4>>2];break j}J[d+16>>2]=0;break j}J[d-8>>2]=1;break j}J[d-8>>2]=0;break j}J[d+16>>2]=-1;break j}J[d+4>>2]=1;break j}J[d+4>>2]=0;break j}e=d-20|0;c=Tc(J[f>>2],J[e>>2]);J[e>>2]=c;qs(c,J[d-8>>2],J[d+4>>2]);break j}e=d-44|0;c=Kb(f,J[e>>2],J[d-20>>2]);J[e>>2]=c;qs(c,J[d-8>>2],J[d+4>>2]);break j}J[d-20>>2]=J[d+4>>2];break j}c=d-8|0;J[c>>2]=0;J[c+4>>2]=1;break j}e=J[d+8>>2];c=d-20|0;J[c>>2]=J[d+4>>2];J[c+4>>2]=e;break j}J[d+16>>2]=0;J[d+20>>2]=0;break j}c=d-36|0;J[c+4>>2]=0;J[c+8>>2]=J[d-8>>2];break j}c=d-12|0;J[c+8>>2]=0;J[c+4>>2]=J[d+4>>2];break j}c=d-32|0;J[c>>2]=rn(f,c,d-20|0,d-8|0);break j}c=d-20|0;J[c>>2]=rn(f,c,d-8|0,0);break j}c=d-8|0;J[c>>2]=rn(f,c,0,0);break j}J[d+4>>2]=1;break j}c=d-20|0;e=Bd(f,0,c,0);J[c>>2]=e;if(!e){break j}e=oc(J[f>>2],d+4|0);J[J[c>>2]+20>>2]=e;break j}c=d-44|0;e=Bd(f,0,c,d-20|0);J[c>>2]=e;if(!e){break j}e=oc(J[f>>2],d+4|0);J[J[c>>2]+20>>2]=e;break j}c=d-20|0;J[c>>2]=Bd(f,0,c,d+4|0);break j}J[d+4>>2]=Bd(f,0,d+4|0,0);break j}e=d-20|0;g=d+4|0;c=Bd(f,0,e,g);if(!(!c|K[f+220|0]<2)){qe(f,J[c+16>>2],g)}J[e>>2]=c;break j}c=d+4|0;e=Bd(f,0,c,0);if(!(!e|K[f+220|0]<2)){qe(f,J[e+16>>2],c)}J[c>>2]=e;break j}J[d+16>>2]=0;J[d+20>>2]=0;break j}c=d-56|0;h=J[c>>2];if(!(h|J[d-4>>2]|(J[d+4>>2]|J[d+8>>2]))){J[c>>2]=J[d-32>>2];break j}g=d-32|0;e=J[g>>2];if(!(!e|J[e>>2]!=1)){e=Je(f,h,0,0,d-8|0,0,d+4|0);J[c>>2]=e;if(e){j=J[e>>2]-1|0;h=e+(j<<6)|0;c=J[g>>2];J[h+16>>2]=J[c+16>>2];J[h+12>>2]=J[c+12>>2];k=h;h=J[c+28>>2];J[k+28>>2]=h;if(!(!h|!(K[h+5|0]&8))){h=e+(j<<6)|0;k=K[h+45|0]|K[h+46|0]<<8|8192;H[h+45|0]=k;H[h+46|0]=k>>>8}if(K[c+45|0]&4){e=e+(j<<6)|0;h=c- -64|0;J[e- -64>>2]=J[h>>2];J[h>>2]=0;h=(K[c+45|0]|K[c+46|0]<<8)&65531;H[c+45|0]=h;H[c+46|0]=h>>>8;h=K[e+45|0]|K[e+46|0]<<8|4;H[e+45|0]=h;H[e+46|0]=h>>>8}J[c+28>>2]=0;J[c+12>>2]=0;J[c+16>>2]=0}yc(J[f>>2],J[g>>2]);break j}ps(e);e=sd(f,0,J[g>>2],0,0,0,0,2048,0);J[c>>2]=Je(f,J[c>>2],0,0,d-8|0,e,d+4|0);break j}c=d-56|0;J[c>>2]=Je(f,J[c>>2],0,0,d-8|0,J[d-32>>2],d+4|0);break j}e=d-80|0;c=Je(f,J[e>>2],d-68|0,d-56|0,d-8|0,0,d+4|0);J[e>>2]=c;ys(f,c,J[d-32>>2]);break j}e=d-56|0;c=Je(f,J[e>>2],d-44|0,d-32|0,d-20|0,0,d+4|0);J[e>>2]=c;un(f,c,d-8|0);break j}c=d-44|0;J[c>>2]=Je(f,J[c>>2],d-32|0,d-20|0,d-8|0,0,d+4|0);break j}c=J[d-8>>2];if(!c){break j}e=J[c>>2];if((e|0)<=0){break j}H[(c+(e<<6)|0)-20|0]=J[d+4>>2];break j}c=J[d+4>>2];J[d-8>>2]=c;ps(c);break j}J[d+16>>2]=0;break j}e=J[d+8>>2];c=d-8|0;J[c>>2]=J[d+4>>2];J[c+4>>2]=e;break j}c=db(f,180,0,0);if(!(!c|K[c+4|0]&3)){J[c+36>>2]=J[d+4>>2]-J[f+244>>2]}e=d-20|0;g=J[e+4>>2];J[i+64>>2]=J[e>>2];J[i+68>>2]=g;c=db(f,141,Ke(f,59,i- -64|0),c);e=d-44|0;J[e>>2]=Kb(f,J[e>>2],c);break j}c=jc(J[f>>2],180,0);if(!(!c|K[c+4|0]&3)){J[c+36>>2]=J[d+4>>2]-J[f+244>>2]}e=d-20|0;J[e>>2]=Kb(f,J[e>>2],c);break j}c=d-44|0;e=Kb(f,J[c>>2],J[d-20>>2]);J[c>>2]=e;if(J[d+8>>2]){vg(f,e,d+4|0,1);e=J[c>>2]}if(!e){break j}c=(J[e>>2]-1<<4)+e|0;if(J[c+12>>2]){break j}J[c+12>>2]=qn(J[f>>2],J[d-32>>2],J[d-8>>2]);e=(K[c+17|0]|K[c+18|0]<<8)&65532|1;H[c+17|0]=e;H[c+18|0]=e>>>8;break j}J[d+16>>2]=0;break j}J[d+4>>2]=2;break j}J[d+4>>2]=1;break j}e=d-44|0;c=J[e>>2];h=sd(f,J[d-8>>2],0,0,0,0,0,1536,0);if(c){J[c+4>>2]=J[c+4>>2]&-1025}Of:{if(!h){h=c;break Of}J[h+52>>2]=c;H[h|0]=135}J[e>>2]=h;break j}J[d-32>>2]=sd(f,J[d-8>>2],0,0,0,0,0,512,0);break j}c=sd(f,J[d-80>>2],J[d-68>>2],J[d-56>>2],J[d-44>>2],J[d-32>>2],J[d-8>>2],J[d-92>>2],J[d+4>>2]);J[d-104>>2]=c;if(c){J[c+72>>2]=J[d-20>>2];break j}Wn(J[f>>2],J[d-20>>2]);break j}J[d-92>>2]=sd(f,J[d-68>>2],J[d-56>>2],J[d-44>>2],J[d-32>>2],J[d-20>>2],J[d-8>>2],J[d-80>>2],J[d+4>>2]);break j}J[d-8>>2]=135;break j}J[d+4>>2]=L[d+2>>1];break j}g=d-20|0;c=J[g>>2];Pf:{Qf:{e=J[d+4>>2];if(!e){break Qf}if(J[e+52>>2]){J[i+716>>2]=0;yk(f,e);e=sd(f,0,Je(f,0,0,0,i+712|0,e,0),0,0,0,0,0,0);if(!e){break Qf}}h=d-8|0;j=J[h>>2];J[e+52>>2]=c;H[e|0]=j;if(c){J[c+4>>2]=J[c+4>>2]&-1025}J[e+4>>2]=J[e+4>>2]&-1025;if(J[h>>2]==135){break Pf}H[f+22|0]=1;break Pf}ac(J[f>>2],c);e=0}J[g>>2]=e;break j}c=J[d+4>>2];if(!c){break j}yk(f,c);break j}J[d-32>>2]=os(f,J[d+4>>2],J[d-8>>2]);break j}J[d-20>>2]=os(f,J[d+4>>2],J[d-8>>2]);break j}J[i+724>>2]=0;J[i+728>>2]=0;J[i+732>>2]=0;J[i+736>>2]=0;J[i+716>>2]=0;J[i+720>>2]=0;H[i+712|0]=9;Gc(f,J[d+4>>2],i+712|0);ac(J[f>>2],J[d+4>>2]);break j}ns(f,J[d+4>>2],1,J[d-8>>2]);break j}c=J[d-56>>2];e=J[d-80>>2];h=J[d-20>>2];j=J[d+4>>2];J[i+700>>2]=0;g=J[f>>2];Rf:{if(I[f+216>>1]>0){Ra(f,3682,0);break Rf}k=d-44|0;l=d-32|0;Fn(f,k,l,e,1,0,c);e=J[f+248>>2];if(J[f+36>>2]|!e){break Rf}J[e+28>>2]=J[e+28>>2]|512;Ef(f,k,l,i+700|0);c=Ab(g,J[e+60>>2]);k=J[f>>2];J[i+712>>2]=f;k=J[k+16>>2]+(c<<4)|0;J[i+752>>2]=J[k>>2];k=J[k+12>>2];J[i+720>>2]=11;J[i+724>>2]=12;J[i+728>>2]=13;J[i+732>>2]=0;I[i+736>>1]=0;J[i+744>>2]=k;J[i+716>>2]=f;J[i+740>>2]=i+712;H[i+748|0]=(c|0)==1;J[i+756>>2]=1851;J[i+760>>2]=J[i+700>>2];if($b(i+716|0,j)){break Rf}J[j+4>>2]=J[j+4>>2]|2097152;Sf:{if(K[f+220|0]>1){c=j;j=0;break Sf}c=Pd(g,j,1)}J[e+44>>2]=c;c=kc(g,h,1);H[e+43|0]=2;J[e+16>>2]=c;if(K[g+87|0]){break Rf}c=J[f+208>>2];k=J[d-92>>2];e=(K[c|0]==59?c:J[f+212>>2]+c|0)-k|0;k=k-1|0;while(1){c=e+k|0;e=e-1|0;if(H[K[c|0]+31216|0]&1){continue}break}J[i+708>>2]=1;J[i+704>>2]=c;En(f,0,i+704|0,0,0)}ac(g,j);if(K[f+220|0]>=2){ms(f,h)}kb(g,h);break j}ns(f,J[d+4>>2],0,J[d-8>>2]);break j}J[d+4>>2]=5;break j}J[d+4>>2]=4;break j}J[d-20>>2]=J[d+4>>2];break j}J[d+16>>2]=11;break j}ls(f,J[d-68>>2],d-32|0,J[d-20>>2],J[d-8>>2]);ks(f,J[d+4>>2]);break j}js(f,J[d-20>>2],J[d-32>>2],J[d-8>>2]);break j}Ci(f,0,0,0,J[d-20>>2],J[d+4>>2],0,0,0,0,1);break j}is(f,J[d-32>>2],J[d+4>>2],J[d-20>>2],0);break j}J[f+84>>2]=0;break j}J[d-8>>2]=0;break j}J[d-8>>2]=1;break j}J[d-8>>2]=J[d+4>>2];break j}J[d-20>>2]=0;break j}J[d-8>>2]=0;break j}J[d+4>>2]=7;break j}J[d+4>>2]=10;break j}J[d-8>>2]=9;break j}J[d-8>>2]=8;break j}c=d-24|0;J[c+8>>2]=65280;J[c+4>>2]=J[d+4>>2]<<8;break j}c=d-24|0;J[c+8>>2]=255;J[c+4>>2]=J[d+4>>2];break j}c=d-20|0;J[c>>2]=0;J[c+4>>2]=0;break j}c=d-8|0;J[c>>2]=0;J[c+4>>2]=0;break j}c=d-8|0;J[c>>2]=J[d+4>>2]|J[c>>2]&(J[d+8>>2]^-1);break j}J[d+16>>2]=0;break j}J[d+4>>2]=1;break j}hs(f,J[d-20>>2],d+4|0);break j}hs(f,J[d-8>>2],0);break j}c=J[f+248>>2];if(!c|K[f+220|0]>1){break j}g=I[c+34>>1];j=J[f>>2];e=oc(j,d+4|0);if(!e){break j}Tf:{if(!Ai(f,e)){break Tf}k=g-1|0;l=P(k,12);gs(j,l+J[c+4>>2]|0,e);h=c+8|0;while(1){g=J[h>>2];if(!g){break Tf}if((k|0)==I[J[g+4>>2]>>1]){J[J[g+32>>2]>>2]=Sf(l+J[c+4>>2]|0)}h=g+20|0;continue}}Za(j,e);break j}ks(f,J[d+4>>2]);break j}ls(f,0,d-20|0,J[d-8>>2],J[d+4>>2]);break j}js(f,J[d-8>>2],J[d-20>>2],J[d+4>>2]);break j}Ci(f,0,0,0,0,J[d+4>>2],0,0,0,0,1);break j}is(f,0,J[d-8>>2],J[d+4>>2],J[d-20>>2]);break j}c=J[f+248>>2];if(!c){break j}e=I[c+34>>1];if((e|0)<=0){break j}e=(J[c+4>>2]+P(e&65535,12)|0)-12|0;H[e+4|0]=K[e+4|0]&240|J[d+4>>2]&15;J[c+28>>2]=J[c+28>>2]|2048;if(!(K[e+10|0]&8)){break j}h=c+8|0;while(1){e=J[h>>2];if(!e){break j}if(I[J[e+4>>2]>>1]==(I[c+34>>1]-1|0)){g=K[e+55|0]|K[e+56|0]<<8|8;H[e+55|0]=g;H[e+56|0]=g>>>8}h=e+20|0;continue}}c=J[d+8>>2];J[i+56>>2]=J[d+4>>2];J[i+60>>2]=c;c=Ke(f,117,i+56|0);if(c){zk(c)}g=c;c=J[d+4>>2];zi(f,g,c,c+J[d+8>>2]|0);break j}c=d-12|0;zi(f,db(f,173,J[d+4>>2],0),J[d-20>>2],J[c+4>>2]+J[c+8>>2]|0);break j}c=d-12|0;zi(f,J[d+4>>2],J[d-20>>2],J[c+4>>2]+J[c+8>>2]|0);break j}zi(f,J[d-8>>2],J[d-20>>2]+1|0,J[d+4>>2]);break j}c=d-12|0;e=J[c+4>>2];zi(f,J[d+4>>2],e,e+J[c+8>>2]|0);break j}c=J[d+8>>2];J[f+80>>2]=J[d+4>>2];J[f+84>>2]=c;break j}c=J[n+28>>2];J[d+16>>2]=J[n+24>>2];J[d+20>>2]=c;break j}J[d+16>>2]=J[n+24>>2];break j}c=d-12|0;J[c+8>>2]=(J[d+8>>2]+J[d+4>>2]|0)-J[c+4>>2];break j}c=d-60|0;J[c+8>>2]=(J[d+4>>2]+J[d+8>>2]|0)-J[c+4>>2];break j}c=d-36|0;J[c+8>>2]=(J[d+4>>2]+J[d+8>>2]|0)-J[c+4>>2];break j}J[d+16>>2]=0;J[d+20>>2]=0;break j}g=0}l=J[i+708>>2];c=0;e=(g|0)!=0;x=e;e=e+g|0;c=x>>>0>e>>>0?1:c;x=e;e=e+l|0;c=x>>>0>e>>>0?c+1|0:c;e=e+1|0;c=e?c:c+1|0;c=id(j,e,c);if(!c){break j}if(K[f+220|0]>=2){qe(f,c,i+704|0)}e=0;o=Qa(c,J[i+704>>2],l);H[o+l|0]=0;jf(o);v=yg(o);c=I[m+34>>1];p=(c|0)>0?c:0;l=J[m+4>>2];r=c>>31;Uf:{Vf:{while(1){if((e|0)!=(p|0)){Wf:{w=l+P(e,12)|0;if((v|0)!=K[w+7|0]){break Wf}if(Xa(o,J[w>>2])){break Wf}J[i+32>>2]=o;Ra(f,8281,i+32|0);break Vf}e=e+1|0;continue}break}c=lJ(c,r,12,0);p=Ia;c=c+12|0;p=c>>>0<12?p+1|0:p;e=_c(j,l,c,p);if(e){break Uf}}Za(j,o);break j}J[m+4>>2]=e;j=I[m+34>>1];c=e+P(j,12)|0;J[c+4>>2]=0;J[c+8>>2]=0;J[c>>2]=o;H[c+7|0]=v;Xf:{if(!g){H[c+6|0]=q;H[c+4|0]=t;break Xf}k=g;g=Qa((Ya(o)+o|0)+1|0,h,g);H[k+g|0]=0;jf(g);k=Hi(g,c);I[c+10>>1]=L[c+10>>1]|4}H[(e+P(j,12)|0)+5|0]=k;I[m+34>>1]=L[m+34>>1]+1;I[m+36>>1]=L[m+36>>1]+1;J[f+84>>2]=0}c=P(H[C+37344|0],12)+d|0;e=L[c>>1];J[n+56>>2]=c+12;g=L[(C<<1)+48880>>1];I[c+14>>1]=g;h=c;c=L[(g+I[(e<<1)+50912>>1]<<1)+43504>>1];I[h+12>>1]=c;Fa=i+768|0;continue}break}if(e>>>0<=1242){g=J[n+56>>2];h=g+12|0;J[n+56>>2]=h;if(h>>>0>M[n+1264>>2]){J[n+56>>2]=g;Mv(n+56|0);break f}J[g+16>>2]=z;J[g+20>>2]=B;I[g+14>>1]=s;I[g+12>>1]=e>>>0>578?c+408|0:c;break f}if((e|0)==1244){J[n+56>>2]=J[n+56>>2]-12;break f}J[n+1280>>2]=z;J[n+1284>>2]=B;J[n+1288>>2]=z;J[n+1292>>2]=B;c=J[n+60>>2];Yf:{if(K[z|0]){J[n+32>>2]=n+1288;Ra(c,9027,n+32|0);break Yf}Ra(c,2237,0)}J[n+60>>2]=c;Lv(n+56|0,s&65535,n+1280|0)}b=b+y|0;if(!J[a+12>>2]){continue}}break}while(1){if(M[n+56>>2]>E>>>0){Kv(n+56|0);continue}break}if(K[u+87|0]){J[a+12>>2]=7;c=7}else{c=J[a+12>>2]}e=J[a+4>>2];Zf:{if(!e){e=0;if(!c|(c|0)==101){break Zf}J[n+16>>2]=Th(c);e=hb(u,8863,n+16|0);J[a+4>>2]=e;c=J[a+12>>2]}J[n+4>>2]=J[a+244>>2];J[n>>2]=e;Ac(c,29514,n);e=1}J[a+244>>2]=b;Oa(J[a+272>>2]);b=J[a+248>>2];if(!(K[a+220|0]|!b)){xd(u,b)}b=J[a+256>>2];if(!(!b|K[a+220|0]>1)){Mh(u,b)}a=J[a+236>>2];if(a){Sb(u,a)}J[u+264>>2]=G;Fa=n+1296|0;return e}
function Gc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0,Q=0,R=0;g=Fa-352|0;Fa=g;q=J[a>>2];d=1;n=rb(a);a:{if(J[a+36>>2]|!b){break a}if(Tb(a,21,0,0,0)){break a}if(K[c|0]<=6){e=J[b+48>>2];if(e){dd(a,44,e);J[b+48>>2]=0}J[b+4>>2]=J[b+4>>2]&-4194306|4194304}e=0;ae(a,b,0);b:{c:{if(J[a+36>>2]){break c}j=J[b+4>>2];if(j&8388608){f=J[b+32>>2];if(Vr(f+8|0,f)){b=J[f+20>>2];if(!b){b=J[J[f+24>>2]>>2]}J[g+176>>2]=b;Ra(a,8056,g+176|0);break c}J[b+4>>2]=j&-8388609}if(K[c|0]==9){Ur(a,b)}d:{if(!(J[b+52>>2]|!J[b+68>>2]|(K[b+6|0]&16|K[a+220|0]>1))){p=rb(a);o=J[b+44>>2];u=J[b+40>>2];r=J[b+36>>2];m=J[b+32>>2];k=J[a>>2];J[g+192>>2]=0;f=J[b+68>>2];t=J[b+4>>2];i=ib(k,64,0);if(!i){np(k,7);break d}J[g+284>>2]=0;J[g+288>>2]=0;J[g+276>>2]=0;J[g+280>>2]=0;J[g+272>>2]=46;J[g+268>>2]=47;J[g+264>>2]=a;e=g+264|0;$b(e,b);d=J[b+4>>2];if(!(d&8)){J[g+272>>2]=0;J[g+268>>2]=48;dc(e,J[b+48>>2]);d=J[b+4>>2]}J[b+32>>2]=0;J[b+36>>2]=0;J[b+40>>2]=0;J[b+44>>2]=0;J[b+4>>2]=d&-1048585|1048576;l=wi(a,wi(a,0,J[f+8>>2],1),J[f+12>>2],1);e:{if(!l){break e}e=J[b+48>>2];if(!e){break e}d=J[e>>2];j=J[l>>2];if((d|0)>(j|0)){break e}J[l>>2]=d;if(!Bf(l,e,-1)){kb(k,J[b+48>>2]);J[b+48>>2]=0}J[l>>2]=j}e=J[a+40>>2];J[f+48>>2]=e;J[a+40>>2]=e+4;e=g+192|0;hn(a,f,m,J[b+28>>2],i,e);hn(a,f,m,J[b+48>>2],i,e);e=J[g+192>>2];if(e){d=J[e>>2]}else{d=0}J[f+76>>2]=d;e=wi(a,wi(a,e,J[f+8>>2],0),J[f+12>>2],0);J[g+192>>2]=e;d=f;while(1){if(d){j=J[J[d+72>>2]+20>>2];f:{if(K[J[d+44>>2]+6|0]&16){hn(a,f,m,j,i,g+192|0);e=J[g+192>>2];if(e){j=J[e>>2]}else{j=0}H[d+96|0]=1;J[d+80>>2]=j;break f}J[d+80>>2]=e?J[e>>2]:0;e=wi(a,e,j,0);J[g+192>>2]=e}j=J[d+40>>2];if(j){e=Kb(a,e,eb(k,j,0));J[g+192>>2]=e}j=J[a+44>>2];h=j+1|0;J[d+52>>2]=h;j=j+2|0;J[a+44>>2]=j;J[d+56>>2]=j;Na(p,75,0,h);d=J[d+36>>2];continue}break}if(!e){e=jc(k,155,24878);e=Tc(J[a>>2],e);J[g+192>>2]=e}j=0;d=sd(a,e,m,r,u,o,l,0,0);e=Bd(a,0,0,0);J[b+32>>2]=e;g:{h:{if(e){J[e+28>>2]=d;f=K[e+45|0]|K[e+46|0]<<8|8;H[e+45|0]=f;H[e+46|0]=f>>>8;rk(a,J[b+32>>2]);J[d+4>>2]=J[d+4>>2]|134217792;e=on(a,d,64);J[d+4>>2]=J[d+4>>2]|t&8;if(!e){break h}f=Qa(i,e,64);J[f+28>>2]=J[f+28>>2]|16384;J[J[b+32>>2]+24>>2]=f;J[g+272>>2]=0;J[g+276>>2]=0;J[g+288>>2]=0;J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=49;J[g+264>>2]=0;J[g+268>>2]=0;J[g+276>>2]=50;J[g+268>>2]=51;$b(g+264|0,d);j=1;break g}ac(k,d);j=1}e=i}d=K[k+87|0];dd(a,52,e);if(!j|d){break d}}j=J[b+32>>2];e=J[b+4>>2];Sa(g+196|0,0,36);J[g+192>>2]=J[b+48>>2];u=e>>>3&1;k=0;while(1){i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{f=J[b+52>>2];if(!f){if(J[j>>2]<=(k|0)){break s}r=k<<6;i=r+j|0;m=J[i+24>>2];l=J[i+28>>2];e=K[i+44|0];u:{if(!(e&72)){break u}if(!gn(J[b+36>>2],J[i+48>>2],e&64)|K[q+81|0]&32){break u}f=K[i+44|0];v:{if(!(f&8)){break v}if(f&16){f=f&247;H[i+44|0]=f;break v}H[i+44|0]=f&199;vi(J[b+36>>2],J[i+48>>2],0);f=K[i+44|0]}d=k;if(!(f&64)){break u}while(1){d=d+1|0;e=J[j>>2];if((d|0)<(e|0)){e=(d<<6)+j|0;f=K[e+44|0];if(!(f&16)){continue}if(f&8){H[e+44|0]=f&239}else{H[e+44|0]=f&199;vi(J[b+36>>2],J[e+48>>2],1)}continue}break}while(1){if((e|0)<=0){break u}e=e-1|0;f=(e<<6)+j|0;d=K[f+44|0];H[f+44|0]=d&191;if(!(d&16)){continue}break}}if(!l){break j}e=J[J[l+28>>2]>>2];d=I[m+34>>1];if((e|0)!=(d|0)){b=J[m>>2];J[g+8>>2]=e;J[g+4>>2]=b;J[g>>2]=d;Ra(a,17138,g);break d}if(!K[J[i+68>>2]+18|0]&(H[i+46|0]&1)){break j}e=J[l+4>>2];if(e&8){break j}d=J[l+48>>2];w:{if(!d){break w}x:{if(!J[b+48>>2]&J[j>>2]<2|e&134217728|(J[l+60>>2]|K[b+7|0]&8)){break x}if(K[q+82|0]&4){break x}dd(a,44,d);J[l+48>>2]=0;break w}if(!(K[b+6|0]&4)|k){break w}d=0;if(K[j+108|0]&34|J[j>>2]==1){break i}}l=J[a>>2];if(J[b+68>>2]|H[l+80|0]&1){break k}j=J[b+32>>2];m=r+j|0;e=J[m+28>>2];if(J[e+68>>2]){break k}p=J[a+260>>2];w=J[m+48>>2];d=J[e+32>>2];f=J[e+60>>2];if(!f){break t}if(J[b+60>>2]|J[f+16>>2]){break k}o=J[b+4>>2];if(o&256){break k}break l}m=J[a>>2];J[g+256>>2]=J[c+24>>2];e=J[c+20>>2];J[g+248>>2]=J[c+16>>2];J[g+252>>2]=e;e=J[c+12>>2];J[g+240>>2]=J[c+8>>2];J[g+244>>2]=e;e=J[c+4>>2];J[g+232>>2]=J[c>>2];J[g+236>>2]=e;l=rb(a);i=K[g+232|0];if((i|0)==12){Na(l,118,J[g+236>>2],J[J[b+28>>2]>>2]);H[g+232|0]=14;i=14}y:{k=J[b+4>>2];if(!(k&1024)){break y}n=J[b+60>>2];h=!n;j=1;e=b;while(1){if(J[e+68>>2]){break y}d=J[e+52>>2];if(d){j=h+j|0;e=d;continue}break}J[g+160>>2]=j;J[g+164>>2]=(j|0)==1?30620:19447;h=0;cc(a,0,6137,g+160|0);while(1){d=0;if(!e){break n}Af(a,e,-1,0,0,g+232|0,1,1);if(n){break o}I[e+2>>1]=j;e=J[e+56>>2];continue}}if(!(k&8192)){break r}d=b;while(1){if(!d){break r}if(K[d+5|0]&32){d=J[d+52>>2];continue}break}if(J[b+68>>2]){Ra(a,5856,0);break q}i=J[a+8>>2];e=J[b+32>>2];j=J[J[b+28>>2]>>2];d=0;if(Tb(a,33,0,0,0)){break q}h=J[a+56>>2]-1|0;J[a+56>>2]=h;I[b+2>>1]=320;ui(a,b,h);q=J[b+60>>2];J[b+60>>2]=0;u=J[b+12>>2];o=J[b+8>>2];J[b+8>>2]=0;J[b+12>>2]=0;f=J[e>>2];f=(f|0)>0?f:0;k=J[b+48>>2];while(1){z:{if((d|0)==(f|0)){f=0}else{n=e+(d<<6)|0;if(!(K[n+45|0]&64)){break z}f=J[n+48>>2]}n=J[a+40>>2];d=n+1|0;J[a+40>>2]=d;A:{if(K[b|0]==134){J[a+40>>2]=n+2;e=k?6:5;break A}d=0;e=k?7:8}J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=0;J[g+276>>2]=0;J[g+268>>2]=n;H[g+264|0]=e;p=J[a+44>>2]+1|0;J[a+44>>2]=p;Pa(i,121,f,p,j);B:{if(k){e=Tr(a,b);$a(i,118,n,J[k>>2]+2|0,0,e,-8);J[g+288>>2]=k;break B}Na(i,118,n,j)}C:{if(!d){j=J[b+4>>2];break C}J[b+20>>2]=Na(i,118,d,0);j=J[b+4>>2]|32;J[b+4>>2]=j}J[b+48>>2]=0;e=b;D:{while(1){d=e;if(j&8){Ra(a,15411,0);break D}H[d|0]=135;e=J[d+52>>2];j=J[e+4>>2];if(j&8192){continue}break}J[e+56>>2]=0;cc(a,1,19924,0);j=Gc(a,e,g+264|0);J[e+56>>2]=b;if(j){break D}r=Na(i,36,n,h);Va(i,136,f);E:{if(k){Pa(i,94,n,J[k>>2]+1|0,p);break E}Na(i,134,n,p)}Va(i,130,n);j=J[a+56>>2]-1|0;J[a+56>>2]=j;ti(i,u,j);Af(a,b,f,0,0,g+232|0,j,h);if(o){Na(i,61,o,h)}cb(i,j);J[d+52>>2]=0;cc(a,1,19936,0);Gc(a,b,g+264|0);J[d+52>>2]=e;Lb(i,r);cb(i,h)}kb(J[a>>2],J[b+48>>2]);J[b+60>>2]=q;J[b+48>>2]=k;break q}d=d+1|0;continue}}o=J[b+4>>2];break l}e=J[b+36>>2];if(!(K[q+81|0]&128|(!e|K[e|0]!=44))){J[g+264>>2]=a;J[g+268>>2]=J[a>>2]+87;while(1){J[g+288>>2]=0;J[g+272>>2]=0;J[g+276>>2]=0;J[g+280>>2]=0;e=J[b+32>>2];F:{if(!(!e|J[e>>2]<=0)){d=3;if(K[e+44|0]&64){break F}}d=1}J[g+284>>2]=d;e=g+264|0;Sr(e,J[b+36>>2]);if(J[g+272>>2]){J[g+332>>2]=0;J[g+336>>2]=0;J[g+328>>2]=46;J[g+324>>2]=53;J[g+320>>2]=a;J[g+340>>2]=0;J[g+344>>2]=e;Eb(g+320|0,J[b+36>>2]);Ua(J[J[g+264>>2]>>2],J[g+288>>2])}if(J[g+276>>2]){continue}break}}G:{if(!(K[b+4|0]&8)|L[q+80>>1]&513){break G}e=J[b+28>>2];if(J[b+36>>2]|J[e>>2]!=1|(J[b+44>>2]|J[b+40>>2])){break G}if(J[b+48>>2]){break G}d=J[e+8>>2];if(K[d|0]!=168){break G}if(Ub(J[d+8>>2],2655)|J[d+20>>2]){break G}i=J[b+32>>2];if(H[d+7|0]&1|J[i>>2]!=1){break G}e=J[i+28>>2];if(!e|!J[e+52>>2]|K[e+7|0]&4){break G}f=e;while(1){if(J[f+36>>2]|(J[f+52>>2]?K[f|0]!=135:0)|(J[f+60>>2]|K[f+4|0]&8)){break G}f=J[f+52>>2];if(f){continue}break}k=J[a>>2];J[i+28>>2]=0;yc(k,i);J[b+32>>2]=ib(J[a>>2],72,0);f=0;while(1){H:{j=f;if(!e){break H}I[e+2>>1]=0;i=J[e+52>>2];J[e+52>>2]=0;J[e+56>>2]=0;J[e+4>>2]=J[e+4>>2]&-265|8;dd(a,44,J[e+28>>2]);f=d;if(i){f=eb(k,d,0)}J[e+28>>2]=Tc(J[a>>2],f);f=db(a,138,0,0);wg(a,f,e);e=i;if(!j){continue}f=db(a,106,f,j);continue}break}J[J[b+28>>2]+8>>2]=j;J[b+4>>2]=J[b+4>>2]&-9;if(K[q+87|0]){break d}j=J[b+32>>2]}k=0;while(1){I:{J:{if(J[j>>2]>(k|0)){h=(k<<6)+j|0;e=h+56|0;K:{if(J[e>>2]|J[e+4>>2]){break K}e=J[h+16>>2];if(!e){break K}Tb(a,20,e,30620,J[h+12>>2])}p=J[h+28>>2];if(!p){break I}J[a+228>>2]=Rr(b)+J[a+228>>2];d=J[q+80>>2];L:{if(d&4096){break L}if(H[h+46|0]&1){e=J[h+68>>2];if(!K[e+18|0]|J[e>>2]>1){break L}}Qr(a,p,J[b+36>>2],j,k);d=J[q+80>>2]}if(d&67108864|(K[h+45|0]|K[h+46|0]<<8)&264){break J}o=J[h+24>>2];m=J[h+28>>2];d=m;while(1){if(d){if(K[d+4|0]&9){break J}e=J[d+52>>2];if(K[d|0]!=135?e:0){break J}f=J[d+68>>2];d=e;if(!f){continue}break J}break}l=J[h+56>>2];r=J[h+60>>2];M:{f=J[m+48>>2];if(!f){break M}d=0;e=J[f>>2];t=(e|0)>0?e:0;while(1){if((d|0)==(t|0)){break M}e=L[(f+(d<<4)|0)+20>>1];if(e){e=e-1&65535;i=e>>>0>=63?63:e;e=i&31;if((i&63)>>>0>=32){i=1<<e;s=0}else{s=1<<e;i=s-1&1>>>32-e}l=s|l;r=i|r}d=d+1|0;continue}}e=I[o+34>>1];i=(e|0)>0?e:0;f=0;e=0;while(1){if(!e&(f|0)==(i|0)){break J}o=f&31;N:{if((f&63)>>>0>=32){d=1<<o;s=0}else{s=1<<o;d=s-1&1>>>32-o}o=!e&f>>>0>=63|(e|0)!=0;if(l&(o?0:s)|r&(o?-2147483648:d)){break N}t=f<<4;d=m;while(1){if(!d){break N}o=J[(t+J[d+28>>2]|0)+8>>2];if(K[o|0]!=121){H[o|0]=121;J[o+4>>2]=J[o+4>>2]&-532481;J[d+4>>2]=J[d+4>>2]|16777216}d=J[d+52>>2];continue}}f=f+1|0;e=f?e:e+1|0;continue}}v=J[b+44>>2];f=J[b+40>>2];o=J[b+36>>2];r=J[b+28>>2];e=J[b+4>>2];H[g+232|0]=e&1;O:{if((e&9)!=1){break O}if(Bf(J[g+192>>2],r,-1)|J[b+68>>2]){break O}J[b+4>>2]=J[b+4>>2]&-2;f=kc(q,r,0);J[b+40>>2]=f;J[b+4>>2]=J[b+4>>2]|8;H[g+232|0]=2}e=J[g+192>>2];if(e){d=Ie(a,e,0,J[r>>2]);e=J[a+40>>2];J[a+40>>2]=e+1;J[g+200>>2]=e;d=$a(n,118,e,(J[J[g+192>>2]>>2]+J[r>>2]|0)+1|0,0,d,-8)}else{d=-1}J[g+212>>2]=d;P:{if(K[c|0]!=12){break P}Na(n,118,J[c+4>>2],J[r>>2]);if(!(K[b+5|0]&8)){break P}k=J[r>>2];d=k;while(1){Q:{if((d|0)<2){break Q}d=d-1|0;e=r+(d<<4)|0;if(K[e+17|0]&64){break Q}_a(q,J[e+8>>2]);Ua(q,J[e+12>>2]);k=J[r>>2]-1|0;J[r>>2]=k;continue}break}d=0;e=(k|0)>0?k:0;while(1){if((d|0)==(e|0)){break P}i=r+(d<<4)|0;if(!(K[i+17|0]&64)){H[J[i+8>>2]]=121}d=d+1|0;continue}}Q=J[a+56>>2]-1|0;J[a+56>>2]=Q;if(!(K[b+5|0]&64)){I[b+2>>1]=320}if(J[b+60>>2]){ui(a,b,Q)}R:{if(J[b+8>>2]){break R}e=J[g+212>>2];if((e|0)<0){break R}H[(K[J[n>>2]+87|0]?73192:J[n+104>>2]+P(e,20)|0)|0]=119;H[g+224|0]=K[g+224|0]|1}d=0;S:{if(!(H[b+4|0]&1)){break S}e=J[a+40>>2];J[a+40>>2]=e+1;J[g+236>>2]=e;J[g+240>>2]=$a(n,118,e,0,0,Ie(a,J[b+28>>2],0,0),-8);d=3;e=J[n+108>>2];if((e|0)<=0){break S}I[(J[n+104>>2]+P(e,20)|0)-18>>1]=8}H[g+233|0]=d;T:{U:{V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{if(!(f|u)){e=0;l=J[b+4>>2]&16384|(K[g+232|0]!=0)<<8;f=J[b+68>>2];ca:{if(!f){break ca}d=J[J[J[J[b+32>>2]+28>>2]+28>>2]>>2];i=rb(a);Na(i,118,J[f+48>>2],d);d=J[f+48>>2];Na(i,115,d+1|0,d);d=J[f+48>>2];Na(i,115,d+2|0,d);d=J[f+48>>2];Na(i,115,d+3|0,d);d=J[f+8>>2];if(d){d=J[d>>2];k=J[a+44>>2];m=k+1|0;J[f+68>>2]=m;d=d+k|0;J[a+44>>2]=d;Pa(i,75,0,m,d)}d=J[a+44>>2]+1|0;J[a+44>>2]=d;J[f+84>>2]=d;Na(i,71,1,d);if(!K[f+20|0]){d=f;while(1){if(!d){break ca}k=J[d+44>>2];da:{if(!(!(K[k+5|0]&16)|K[d+17|0]==90)){k=Ie(a,J[J[d+72>>2]+20>>2],0,0);h=J[a+40>>2];J[a+40>>2]=h+1;J[d+60>>2]=h;m=J[a+44>>2];J[d+64>>2]=m+1;J[a+44>>2]=m+3;if(!(!k|K[J[J[d+44>>2]+32>>2]+1|0]!=105)){H[J[k+16>>2]]=1;h=J[d+60>>2]}Na(i,118,h,2);sc(i,k,-8);Na(i,71,0,J[d+64>>2]+1|0);break da}k=J[k+32>>2];if(!((k|0)!=50064&(k|0)!=50074)){m=J[a+44>>2];J[d+64>>2]=m+1;k=J[a+40>>2];J[a+40>>2]=k+1;J[d+60>>2]=k;J[a+44>>2]=m+2;Na(i,115,k,J[f+48>>2]);break da}if((k|0)!=49834&(k|0)!=49839){break da}k=J[a+40>>2];J[a+40>>2]=k+1;J[d+60>>2]=k;Na(i,115,k,J[f+48>>2])}d=J[d+36>>2];continue}}d=J[a+44>>2];k=d+1|0;J[f+88>>2]=k;d=d+2|0;J[a+44>>2]=d;J[f+92>>2]=d;d=J[a+40>>2];J[a+40>>2]=d+1;J[f+60>>2]=d;Na(i,71,1,k);Na(i,71,0,J[f+92>>2]);Na(i,115,J[f+60>>2],J[f+48>>2])}k=Ye(a,j,o,J[g+192>>2],J[b+28>>2],b,l,I[b+2>>1]);if(!k){break T}e=I[k+50>>1];if((e|0)<I[b+2>>1]){I[b+2>>1]=e}ea:{if(!K[g+232|0]){break ea}e=K[k+47|0];if(!e){break ea}H[g+233|0]=e}d=J[g+192>>2];fa:{if(d){e=H[k+45|0];j=(e|0)>0?e:0;J[g+196>>2]=j;if(K[k+48|0]&4){e=k+P(K[k+44|0],96)|0;e=J[e+720>>2]?k+28|0:e+680|0}else{e=k+28|0}J[g+220>>2]=J[e>>2];if((j|0)!=J[d>>2]){break fa}J[g+192>>2]=0}e=J[g+212>>2];if((e|0)<0){break fa}$d(n,e)}if(!f){break ba}A=J[a+56>>2];y=A-3|0;J[a+56>>2]=y;D=J[a+44>>2]+1|0;J[a+44>>2]=D;f=J[b+68>>2];t=J[f+12>>2];h=rb(a);e=J[b+32>>2];B=J[e+48>>2];v=I[J[e+24>>2]+34>>1];x=J[a+56>>2]-1|0;J[a+56>>2]=x;Sa(g+284|0,0,36);J[g+280>>2]=D;J[g+272>>2]=h;J[g+268>>2]=f;J[g+264>>2]=a;M=A-1|0;J[g+276>>2]=M;p=J[f+48>>2];J[g+304>>2]=p;C=p+3|0;J[g+312>>2]=C;d=2;E=p+2|0;J[g+296>>2]=E;ga:{ha:{ia:{switch(K[f+17|0]-86|0){case 0:if(K[f+16|0]==89){break ga}d=1;if(Pr(a,J[f+24>>2])){break ha}break ga;case 4:break ia;default:break ha}}if(J[f+88>>2]){break ga}d=f;while(1){if(d){e=J[J[d+44>>2]+32>>2];if((e|0)==49839|(e|0)==49834|((e|0)==50064|(e|0)==50074)){break ga}d=J[d+36>>2];continue}break}d=1;if(K[f+18|0]!=88){break ha}if(K[f+16|0]==89){break ga}d=3;if(!Pr(a,J[f+28>>2])){break ga}}J[g+288>>2]=d}d=J[a+44>>2];z=d+v|0;e=z+2|0;J[a+44>>2]=e;J[g+292>>2]=e;m=0;j=e;l=0;ja:{switch(K[f+17|0]-86|0){case 0:case 2:j=z+3|0;J[a+44>>2]=j;l=j;break;default:break ja}}ka:{switch(K[f+18|0]-86|0){case 0:case 2:j=j+1|0;J[a+44>>2]=j;m=j;break;default:break ka}}w=d+1|0;d=0;u=0;o=0;s=0;if(K[f+16|0]!=76){i=t?J[t>>2]:0;s=w+J[f+76>>2]|0;o=J[f+8>>2];if(o){s=J[o>>2]+s|0}o=i+j|0;u=o+1|0;J[g+300>>2]=u;o=i+o|0;F=o+1|0;J[g+308>>2]=F;o=i+o|0;G=o+1|0;J[g+316>>2]=G;J[a+44>>2]=i+o;o=j+1|0}j=z+1|0;i=(v|0)>0?v:0;while(1){if((d|0)!=(i|0)){Pa(h,94,B,d,d+w|0);d=d+1|0;continue}break}Pa(h,97,w,v,j);v=0;z=0;d=J[f+8>>2];if(d){i=J[d>>2];z=J[f+76>>2];B=Ie(a,d,0,0);v=J[a+44>>2]+1|0;J[a+44>>2]=v;w=w+z|0;d=Pa(h,90,w,J[f+68>>2],i);sc(h,B,-8);z=d+2|0;Pa(h,14,z,d+4|0,z);z=Va(h,10,v);Pa(h,80,w,J[f+68>>2],i-1|0)}w=p+1|0;Na(h,127,w,e);Pa(h,128,w,j,e);N=Pa(h,52,J[f+84>>2],0,e);i=rb(a);d=f;j=0;while(1){if(d){B=J[d+44>>2];e=0;Na(i,75,0,J[d+52>>2]);O=J[J[d+72>>2]+20>>2];if(O){e=J[O>>2]}O=(e|0)<(j|0);la:{if(J[f+88>>2]){break la}R=J[B+32>>2];if(!((R|0)!=50064&(R|0)!=50074)){Na(i,71,0,J[d+64>>2]);Na(i,71,0,J[d+64>>2]+1|0)}if(!(K[B+5|0]&16)){break la}B=J[d+60>>2];if(!B){break la}Va(i,146,B);Na(i,71,0,J[d+64>>2]+1|0)}j=O?j:e;d=J[d+36>>2];continue}break}e=J[a+44>>2];J[a+44>>2]=e+j;J[g+284>>2]=e+1;if(l){Xb(a,J[f+24>>2],l);fn(a,l,K[f+16|0]==89?3:0)}if(m){Xb(a,J[f+28>>2],m);fn(a,m,K[f+16|0]==89?4:1)}ma:{if(K[f+16|0]!=89){d=K[f+17|0];if(!l){break ma}e=d&255;if((e|0)!=K[f+18|0]){break ma}e=Pa(h,(e|0)==86?57:55,l,0,m);d=g+264|0;en(d,0);Va(h,36,p);Or(d);Va(h,146,p);Na(h,9,0,x);d=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(e,20)|0)+8>>2]=d}d=K[f+17|0]}na:{oa:{if((d&255)==86){if(!m|K[f+16|0]==89){break oa}Pa(h,107,l,m,l);d=K[f+17|0]}if((d&255)==90){break na}}Va(h,36,E)}Va(h,36,p);Va(h,36,C);if(!(!o|!t)){Pa(h,80,s,o,J[t>>2]-1|0);Pa(h,80,o,u,J[t>>2]-1|0);Pa(h,80,o,F,J[t>>2]-1|0);Pa(h,80,o,G,J[t>>2]-1|0)}Na(h,9,0,x);d=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(N,20)|0)+8>>2]=d;if(o){Mr(a,t,s,o,x)}e=K[f+17|0];pa:{if((e|0)==86){e=g+264|0;_b(e,3,0,0);if(K[f+18|0]==90){break pa}if(K[f+16|0]==89){d=J[a+56>>2]-1|0;J[a+56>>2]=d;j=J[h+108>>2];si(e,57,p,m,C,d);_b(e,2,l,0);_b(e,1,0,0);Na(h,9,0,j);cb(h,d);break pa}e=g+264|0;_b(e,1,m,0);_b(e,2,l,0);break pa}if(K[f+18|0]==88){qa:{if((e|0)==88){d=K[f+16|0];e=g+264|0;_b(e,3,m,0);if((d|0)!=89){break qa}_b(e,2,l,0);_b(e,1,0,0);break pa}_b(g+264|0,3,m,0)}e=g+264|0;_b(e,1,0,0);_b(e,2,l,0);break pa}e=g+264|0;_b(e,3,0,0);if(K[f+18|0]==90){break pa}if(K[f+16|0]==89){j=J[h+108>>2];d=0;if(m){d=J[a+56>>2]-1|0;J[a+56>>2]=d;si(e,57,p,m,C,d)}e=g+264|0;_b(e,1,0,0);_b(e,2,l,0);if(!m){break pa}Na(h,9,0,j);cb(h,d);break pa}d=0;if(m){d=Pa(h,59,m,0,1)}e=g+264|0;_b(e,1,0,0);_b(e,2,l,0);if(!m){break pa}j=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(d,20)|0)+8>>2]=j}cb(h,x);qd(k);k=0;if(J[f+8>>2]){k=Na(h,71,0,v);d=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(z,20)|0)+8>>2]=d}J[g+292>>2]=0;o=Va(h,36,w);e=K[f+17|0];ra:{if(K[f+18|0]==88){sa:{if((e|0)==88){e=K[f+16|0];d=g+264|0;_b(d,3,m,0);if((e|0)!=89){break sa}_b(d,2,l,0);break sa}_b(g+264|0,3,m,0)}_b(g+264|0,1,0,0);d=J[h+108>>2];j=K[J[h>>2]+87|0];break ra}i=g+264|0;_b(i,3,0,0);if((e|0)==86){ta:{if(K[f+16|0]==89){d=J[h+108>>2];j=_b(i,2,l,1);m=_b(i,1,0,1);break ta}d=J[h+108>>2];if(K[f+18|0]==90){e=g+264|0;m=_b(e,1,l,1);j=_b(e,2,0,1);break ta}e=g+264|0;m=_b(e,1,m,1);j=_b(e,2,l,1)}Na(h,9,0,d);e=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(j,20)|0)+8>>2]=e;i=_b(g+264|0,1,0,1);Na(h,9,0,e);d=J[h+108>>2];j=K[J[h>>2]+87|0];ua:{if(j){J[18300]=d;e=73192;break ua}e=J[h+104>>2];J[(e+P(m,20)|0)+8>>2]=d;e=e+P(i,20)|0}J[e+8>>2]=d;break ra}e=J[h+108>>2];d=g+264|0;i=_b(d,1,0,1);_b(d,2,l,0);Na(h,9,0,e);d=J[h+108>>2];j=K[J[h>>2]+87|0];J[(j?73192:J[h+104>>2]+P(i,20)|0)+8>>2]=d}J[(j&255?73192:J[h+104>>2]+P(o,20)|0)+8>>2]=d;Va(h,146,p);if(J[f+8>>2]){e=J[f+88>>2];if(e){Na(h,71,1,e);Na(h,71,0,J[f+92>>2])}d=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(k,20)|0)+4>>2]=d;Va(h,67,v)}e=0;Na(n,9,0,y);cb(n,M);J[g+220>>2]=0;d=A-2|0;Af(a,b,-1,g+192|0,g+232|0,c,d,y);cb(n,d);Va(n,67,D);cb(n,y);break U}va:{if(f){d=J[b+28>>2];e=d+8|0;d=J[d>>2];while(1){if((d|0)>0){I[e+14>>1]=0;e=e+16|0;d=d-1|0;continue}break}e=f+8|0;d=J[f>>2];while(1){if((d|0)>0){I[e+14>>1]=0;e=e+16|0;d=d-1|0;continue}break}if(I[b+2>>1]>=67){I[b+2>>1]=66}u=0;e=J[g+192>>2];if(!e){break va}i=J[f>>2];if((i|0)!=J[e>>2]){break va}d=0;i=(i|0)>0?i:0;while(1){if((d|0)!=(i|0)){k=d<<4;H[(k+f|0)+16|0]=H[(e+k|0)+16|0]&1;d=d+1|0;continue}break}u=!Bf(f,e,-1);break va}u=0;I[b+2>>1]=0}t=J[a+56>>2]-1|0;J[a+56>>2]=t;h=ib(q,44,0);if(h){dd(a,54,h)}e=0;if(K[q+87|0]){break T}J[h+40>>2]=J[b+16>>2];J[g+292>>2]=0;J[g+296>>2]=0;J[g+284>>2]=0;J[g+288>>2]=0;J[g+276>>2]=0;J[g+280>>2]=0;J[g+272>>2]=h;J[g+268>>2]=j;J[g+264>>2]=a;e=f?J[f>>2]:0;J[h+16>>2]=f;I[h+2>>1]=e;e=g+264|0;qk(e,r);qk(e,J[g+192>>2]);if(v){if(f){J[g+336>>2]=0;J[g+340>>2]=0;J[g+328>>2]=0;J[g+332>>2]=0;J[g+324>>2]=55;J[g+320>>2]=a;J[g+344>>2]=b;Eb(g+320|0,J[b+44>>2]);o=J[b+36>>2]}dn(g+264|0,v)}J[h+28>>2]=J[h+24>>2];e=0;m=0;wa:{if(J[b+40>>2]|J[b+44>>2]|J[h+36>>2]!=1){break wa}d=J[J[h+32>>2]>>2];i=J[d+20>>2];if(!i|J[i>>2]!=1|(H[d+7|0]&1|H[q+82|0]&1)){break wa}d=J[d+8>>2];xa:{if(!Xa(d,11258)){m=1;d=((Xe(J[i+8>>2])|0)!=0)<<1;break xa}if(Xa(d,1588)){break wa}m=2;d=1}e=kc(q,i,0);if(!e){e=0;break wa}H[e+16|0]=d}Lr(h,g+264|0);if(K[q+87|0]){break T}if(f){p=0;d=0;if(J[h+36>>2]!=1){break W}d=J[h+32>>2];if(J[d+8>>2]<0){break X}i=J[d>>2];if(!i){break X}d=0;if(K[i+5|0]&16){break W}d=J[i+20>>2];if(!d){break X}d=eb(q,J[d+8>>2],0);p=Kb(a,kc(q,f,0),d);d=p?1280:0;break W}ya:{if(J[b+36>>2]){break ya}i=J[b+28>>2];if(J[i>>2]!=1){break ya}d=J[b+32>>2];if(J[d>>2]!=1|J[d+28>>2]|(J[b+44>>2]|J[h+36>>2]!=1)){break ya}f=J[d+24>>2];if(K[f+43|0]){break ya}d=J[i+8>>2];if(K[d|0]!=168|(h|0)!=J[d+40>>2]|(!(H[J[J[h+32>>2]+4>>2]+5|0]&1)|J[d+4>>2]&16777220)){break ya}k=Ab(J[a>>2],J[f+60>>2]);m=J[a+40>>2];J[a+40>>2]=m+1;l=J[f+20>>2];gd(a,k);i=0;rd(a,k,J[f+20>>2],0,J[f>>2]);if(K[f+28|0]&128){i=ec(f)}za:{if(H[J[b+32>>2]+45|0]&1){break za}j=f+8|0;while(1){d=J[j>>2];if(!d){break za}Aa:{if(K[d+55|0]&4){break Aa}j=I[d+48>>1];if(J[d+36>>2]|(j|0)>=I[f+40>>1]|((j|0)>=I[i+48>>1]?i:0)){break Aa}i=d}j=d+20|0;continue}}if(i){l=J[i+44>>2];d=pk(a,i)}else{d=0}bb(n,112,m,l,k,1);if(d){Sd(n,-1,d,-8)}d=J[a+44>>2];j=d+1|0;J[h+12>>2]=j;k=d;d=J[h+24>>2];J[a+44>>2]=J[h+36>>2]+(k+d|0);Na(n,98,m,d+j|0);Va(n,122,m);if(K[a+219|0]!=2){break Y}Ba:{if(!i){f=J[f>>2];j=30620;d=30620;break Ba}Ca:{if(!(K[f+28|0]&128)){f=J[f>>2];break Ca}f=J[f>>2];j=30620;d=30620;if(((K[i+55|0]|K[i+56|0]<<8)&3)==2){break Ba}}j=J[i>>2];d=30043}J[g+88>>2]=j;J[g+84>>2]=d;J[g+80>>2]=f;cc(a,0,6106,g+80|0);break Y}l=J[h+36>>2];if(!J[h+28>>2]){break aa}f=0;d=(l|0)>0?l:0;while(1){Da:{if((d|0)!=(f|0)){i=J[h+32>>2]+P(f,24)|0;if(H[J[i>>2]+7|0]&1|!(K[J[i+4>>2]+4|0]&32)){break Da}}else{f=d}if((f|0)!=(l|0)){break $}k=J[a+44>>2]+1|0;J[a+44>>2]=k;f=0;Na(n,71,0,k);l=J[h+36>>2];d=0;break Z}f=f+1|0;continue}}Af(a,b,-1,g+192|0,g+232|0,c,J[k+28>>2],J[k+32>>2]);qd(k);e=0;break U}if((l|0)!=1){break $}k=0;d=J[h+32>>2];if(J[d+8>>2]<0){l=1;break _}l=1;f=J[J[d>>2]+20>>2];d=f?1280:0;break Z}k=0}f=0;d=0}i=J[a+44>>2];J[h+12>>2]=i+1;J[a+44>>2]=J[h+24>>2]+(i+l|0);Kr(a,h);d=Ye(a,j,o,e,f,b,d|m,0);if(!d){break T}f=K[d+47|0];Jr(a,k,h,f);Ea:{if(!f){break Ea}j=J[h+32>>2];if(!j){break Ea}cn(a,f,J[j+8>>2],J[j+12>>2])}if(k){Na(n,71,1,k)}if(!(!K[d+45|0]|(!m|!(K[d+48|0]&4)))){j=K[d+44|0];Fa:{Ga:{while(1){if((j|0)<=0){break Ga}j=j-1|0;if(!(K[J[(d+P(j,96)|0)+840>>2]+40|0]&4)){continue}break}f=(d+P(j,96)|0)+776|0;break Fa}f=d+32|0}Lb(n,J[f>>2])}qd(d);Ir(a,h)}J[g+192>>2]=0;rc(a,v,t,16);Af(a,b,-1,0,0,c,t,t);break V}d=0}i=J[a+40>>2];J[a+40>>2]=i+1;J[h+4>>2]=i;m=Ie(a,f,0,J[h+24>>2]);M=$a(n,119,J[h+4>>2],L[h+2>>1],0,m,-8);E=J[a+56>>2];y=E-2|0;J[a+56>>2]=y;i=J[f>>2];x=J[a+44>>2];w=x+4|0;D=i+w|0;J[a+44>>2]=i+D;z=x+2|0;Na(n,71,0,z);B=x+5|0;Pa(n,75,0,B,w+J[f>>2]|0);Na(n,10,w,y);s=Ye(a,j,o,f,p,b,d|(u<<9|(K[g+232|0]==2?128:64)),0);if(!s){kb(q,p);break T}if(J[a+72>>2]){i=J[h+28>>2];J[h+24>>2]=i;if(L[h+2>>1]){j=0;i=(i|0)>0?i:0;k=J[J[b+40>>2]>>2]-1|0;while(1){if((i|0)!=(j|0)){l=I[(J[h+20>>2]+(j<<4)|0)+14>>1];k=(k|0)>(l|0)?k:l;j=j+1|0;continue}break}I[h+2>>1]=k+1}Lr(h,g+264|0)}j=J[a+44>>2];J[h+12>>2]=j+1;J[a+44>>2]=J[h+36>>2]+(j+J[h+24>>2]|0);k=0;C=K[s+47|0];l=0;F=J[f>>2];j=H[s+45|0];G=(j|0)>0?j:0;A=(F|0)==(G|0);if(!A){J[g+96>>2]=K[g+232|0]?J[b+4>>2]&1?18655:18902:18655;j=0;cc(a,0,7355,g+96|0);i=J[h+24>>2];l=(i|0)>0?i:0;i=J[f>>2];o=i;k=i;while(1){if((j|0)!=(l|0)){N=I[(J[h+20>>2]+(j<<4)|0)+14>>1]>=(k|0);k=N+k|0;o=o+N|0;j=j+1|0;continue}break}j=0;k=ic(a,o);zf(a,f,k,0,0);H[h|0]=1;while(1){if((j|0)<J[h+24>>2]){l=J[h+20>>2]+(j<<4)|0;if(I[l+14>>1]>=(i|0)){Xb(a,J[l+4>>2],i+k|0);i=i+1|0}j=j+1|0;continue}break}H[h|0]=0;j=vb(a);Pa(n,97,k,o,j);Na(n,139,J[h+4>>2],j);mb(a,j);Oc(a,k,o);qd(s);l=J[a+40>>2];J[a+40>>2]=l+1;J[h+8>>2]=l;k=vb(a);Pa(n,121,l,k,o);Na(n,34,J[h+4>>2],t);H[h+1|0]=1}Ha:{if(!J[a+72>>2]){break Ha}j=0;J[g+344>>2]=0;J[g+336>>2]=0;J[g+340>>2]=0;J[g+328>>2]=0;J[g+332>>2]=0;J[g+320>>2]=0;J[g+324>>2]=0;J[g+324>>2]=56;while(1){if(J[h+36>>2]<=(j|0)){break Ha}Eb(g+320|0,J[J[h+32>>2]+P(j,24)>>2]);j=j+1|0;continue}}Ia:{if(!(!u|K[q+80|0]&4)){if(!(K[s+48|0]&8|(F|0)!=(G|0))){u=J[n+108>>2];break Ia}J[g+192>>2]=0;$d(n,J[g+212>>2])}u=J[n+108>>2];if(A){break Ia}Pa(n,133,J[h+4>>2],k,l)}i=D+1|0;j=0;while(1){k=J[f>>2];if((j|0)<(k|0)){Ja:{if(!A){Pa(n,94,l,j,i+j|0);break Ja}H[h|0]=1;Xb(a,J[((j<<4)+f|0)+8>>2],i+j|0)}j=j+1|0;continue}break}if(m){J[m>>2]=J[m>>2]+1}$a(n,90,B,i,k,m,-8);j=J[n+108>>2];k=j+1|0;Pa(n,14,k,0,k);ri(a,i,B,J[f>>2]);f=x+3|0;i=E-1|0;Na(n,10,f,i);Na(n,59,z,t);Na(n,10,w,y);k=J[n+108>>2];J[(K[J[n>>2]+87|0]?73192:J[n+104>>2]+P(j,20)|0)+8>>2]=k;j=x+1|0;Jr(a,j,h,C);Na(n,71,1,j);Ka:{if(!A){Na(n,37,J[h+4>>2],u);break Ka}qd(s);$d(n,M)}kb(q,p);Na(n,10,f,i);Lb(n,t);k=J[n+108>>2];Na(n,71,1,z);Va(n,67,f);cb(n,i);i=J[n+108>>2];Na(n,59,j,i+2|0);Va(n,67,f);Ir(a,h);i=i+1|0;rc(a,v,i,16);Af(a,b,-1,g+192|0,g+232|0,c,i,k);Va(n,67,f);cb(n,y);Kr(a,h);Na(n,71,0,j);Va(n,67,w);if(!d|!C){break V}d=J[h+32>>2];cn(a,C,J[d+8>>2],J[d+12>>2])}cb(n,t)}if(K[g+233|0]==3){J[g+64>>2]=18902;cc(a,0,7355,g- -64|0)}d=J[g+192>>2];if(d){h=J[r>>2];u=J[g+216>>2];t=J[a+56>>2]-1|0;J[a+56>>2]=t;k=J[a+8>>2];p=J[c+4>>2];r=K[c|0];s=J[b+28>>2];J[g+48>>2]=J[g+196>>2]>0?30423:30620;cc(a,0,18624,g+48|0);f=J[g+208>>2];if(f){Na(k,10,J[g+204>>2],f);Lb(k,u);cb(k,J[g+208>>2])}j=J[g+200>>2];La:{Ma:{Na:{Oa:{switch(r-9|0){case 0:case 4:break Na;case 1:break Oa;default:break Ma}}if(!J[b+12>>2]){break Na}Na(k,75,0,J[c+12>>2])}l=0;f=J[c+12>>2];break La}l=vb(a);if((r&253)==12){h=0;f=vb(a);break La}f=ic(a,h)}d=J[d>>2]-J[g+196>>2]|0;m=1;Pa:{if(H[g+224|0]&1){m=J[a+44>>2]+1|0;J[a+44>>2]=m;i=J[a+40>>2];J[a+40>>2]=i+1;if(J[g+208>>2]){b=Hb(k,15)}else{b=0}Pa(k,121,i,m,(d+h|0)+1|0);if(b){o=J[k+108>>2];J[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(b,20)|0)+8>>2]=o}o=Na(k,34,j,u);Pa(k,133,j,m,i);m=0;break Pa}o=Na(k,35,j,u);ti(k,J[b+12>>2],t);if(J[b+12>>2]>0){Na(k,86,J[b+8>>2],-1)}i=j}s=s+8|0;b=0;v=(h|0)>0?h:0;x=d+m|0;d=x-1|0;while(1){if((b|0)==(v|0)){b=h;while(1){if((b|0)>0){b=b-1|0;m=L[(s+(b<<4)|0)+12>>1];Pa(k,94,i,m?m-1|0:d,b+f|0);d=d-!m|0;continue}break}d=o+1|0;Qa:{Ra:{Sa:{Ta:{Ua:{switch(r-9|0){case 3:case 5:Pa(k,94,i,x,f);Na(k,127,p,l);Pa(k,128,p,f,l);b=J[k+108>>2];if((b|0)<=0){break Ta}I[(J[k+104>>2]+P(b,20)|0)-18>>1]=8;break Ta;case 6:b=J[c+8>>2];c=b>>>31|0;i=c+f|0;m=h-c|0;c=vb(a);Pa(k,97,i,m,c);if((b|0)<0){Pa(k,128,p,c,f);break Ta}bb(k,138,p,c,f,b);break Ta;case 0:Na(k,84,J[c+12>>2],h);break Ta;case 2:break Sa;case 1:break Ta;default:break Ua}}Va(k,12,J[c+4>>2])}if(!l){break Qa}mb(a,f);break Ra}$a(k,97,f,h,l,J[c+20>>2],h);bb(k,138,p,l,f,h);if(!l){break Qa}Oc(a,f,h)}mb(a,l)}cb(k,t);Na(k,H[g+224|0]&1?37:39,j,d);b=J[g+204>>2];if(b){Va(k,67,b)}cb(k,u)}else{d=!L[(s+(b<<4)|0)+12>>1]+d|0;b=b+1|0;continue}break}}cb(n,Q);d=J[a+36>>2]>0;break c}d=1;break c}e=h+8|0;i=J[a+260>>2];J[a+260>>2]=J[h+16>>2];f=J[b+4>>2];Va:{Wa:{Xa:{m=(K[h+45|0]|K[h+46|0]<<8)&256;Ya:{Za:{if(!m){break Za}d=J[h+68>>2];l=K[d+18|0];if(!l){break Ya}if((l|0)==2){break Za}if(J[d>>2]>1){break Ya}}_a:{if(K[j+44|0]&64|K[J[a>>2]+83|0]&2){break _a}d=J[j>>2];if(Hr(j,e,k+1|0,d)){break _a}if(!k){if(K[j+108|0]&2|(d|0)==1){break Wa}if(f&268435456){break _a}break Wa}l=k;d=e;if(f&268435456){break _a}while(1){if(K[d+36|0]&34){break _a}if(!l){break Wa}l=l-1|0;d=d+-64|0;if(!J[d+20>>2]){continue}break}}if(!m){break Xa}d=J[h+68>>2]}f=J[d+4>>2];if((f|0)<=0){break Xa}Na(n,10,J[d+8>>2],f);e=J[h+48>>2];f=J[d+12>>2];if((e|0)!=(f|0)){Na(n,115,e,f)}I[p+2>>1]=L[d+16>>1];break Va}d=Hr(j,e,0,k);if(d){e=J[d+24>>2];if(e){Na(n,10,J[d+28>>2],e)}Na(n,115,J[h+48>>2],J[d+40>>2]);I[p+2>>1]=L[J[d+20>>2]+2>>1];break Va}d=J[a+44>>2]+1|0;J[a+44>>2]=d;J[h+36>>2]=d;f=Hb(n,9);l=f+1|0;J[h+32>>2]=l;m=K[h+45|0]|K[h+46|0]<<8;d=m|16;H[h+45|0]=d;H[h+46|0]=d>>>8;d=0;if(!(m&8)){d=Hb(n,15)}J[g+268>>2]=J[h+48>>2];H[g+264|0]=12;J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=0;J[g+276>>2]=0;J[g+32>>2]=e;cc(a,1,19418,g+32|0);Gc(a,p,g+264|0);I[J[h+24>>2]+38>>1]=L[p+2>>1];if(d){J[(K[J[n>>2]+87|0]?73192:J[n+104>>2]+P(d,20)|0)+8>>2]=J[n+108>>2]}Na(n,67,J[h+36>>2],l);d=J[n+108>>2];J[(K[J[n>>2]+87|0]?73192:J[n+104>>2]+P(f,20)|0)+8>>2]=d;J[a+28>>2]=0;H[a+19|0]=0;if(((K[h+45|0]|K[h+46|0]<<8)&264)!=256){break Va}e=J[h+68>>2];J[e+4>>2]=J[h+32>>2];J[e+8>>2]=J[h+36>>2];J[e+12>>2]=J[h+48>>2];I[e+16>>1]=L[p+2>>1];break Va}d=J[n+108>>2];f=J[a+44>>2]+1|0;J[a+44>>2]=f;J[h+36>>2]=f;l=f;f=d+1|0;Pa(n,11,l,0,f);J[h+32>>2]=f;J[g+268>>2]=J[h+36>>2];H[g+264|0]=13;J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=0;J[g+276>>2]=0;J[g+16>>2]=e;cc(a,1,19434,g+16|0);Gc(a,p,g+264|0);I[J[h+24>>2]+38>>1]=L[p+2>>1];e=K[h+45|0]|K[h+46|0]<<8|32;H[h+45|0]=e;H[h+46|0]=e>>>8;J[h+40>>2]=J[g+276>>2];xi(n,J[h+36>>2]);J[(K[J[n>>2]+87|0]?73192:J[n+104>>2]+P(d,20)|0)+8>>2]=J[n+108>>2];J[a+28>>2]=0;H[a+19|0]=0}if(K[q+87|0]){break d}e=Rr(b);J[a+260>>2]=i;J[a+228>>2]=J[a+228>>2]-e}k=k+1|0;continue}}$a:{k=J[b+48>>2];if(k){i=J[a+56>>2];x=i-2|0;J[a+56>>2]=x;h=J[a+8>>2];t=J[a>>2];q=J[k>>2];s=K[b|0];if((s|0)==135){break $a}j=1;ab:while(1){if(K[t+87|0]|J[J[b+28>>2]>>2]<(j|0)){break $a}d=0;f=(q|0)>0?q:0;e=k+8|0;while(1){bb:{if((d|0)!=(f|0)){if(L[e+12>>1]!=(j|0)){break bb}}else{d=f}cb:{if((d|0)!=(q|0)){break cb}e=jc(t,155,0);if(!e){d=7;break m}J[e+8>>2]=j;J[e+4>>2]=J[e+4>>2]|2048;k=Kb(a,k,e);J[b+48>>2]=k;if(!k){k=0;break cb}I[((q<<4)+k|0)+20>>1]=j;q=q+1|0}j=j+1|0;continue ab}e=e+16|0;d=d+1|0;continue}}}if(!J[f+52>>2]){cc(a,1,18459,0);cc(a,1,18440,0)}db:{eb:{switch(K[b|0]-134|0){case 1:h=0;J[g+264>>2]=0;J[f+8>>2]=J[b+8>>2];J[f+12>>2]=J[b+12>>2];J[f+60>>2]=J[b+60>>2];d=Gc(a,f,g+232|0);J[f+60>>2]=0;if(d){break n}J[b+52>>2]=0;d=J[f+8>>2];J[b+8>>2]=d;J[b+12>>2]=J[f+12>>2];e=0;fb:{if(!d){break fb}e=Va(l,17,d);d=J[b+12>>2];if(!d){break fb}Pa(l,160,J[b+8>>2],d+1|0,d)}cc(a,1,20233,0);d=Gc(a,b,g+232|0);h=J[b+52>>2];J[b+52>>2]=f;I[b+2>>1]=_d(I[b+2>>1],I[f+2>>1]);f=J[b+60>>2];gb:{if(!f){break gb}if(!yf(J[f+12>>2],g+264|0)){break gb}f=J[g+264>>2];if((f|0)<=0){break gb}i=I[b+2>>1];f=Fd(f,0);if((i|0)<=(f|0)){break gb}I[b+2>>1]=f}if(!e){break db}f=J[l+108>>2];J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(e,20)|0)+8>>2]=f;break db;case 0:case 2:hb:{if((i|0)==1){e=J[g+236>>2];break hb}e=J[a+40>>2];J[a+40>>2]=e+1;J[b+20>>2]=Na(l,118,e,0);d=bn(b);J[d+4>>2]=J[d+4>>2]|32}J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=0;J[g+276>>2]=0;J[g+268>>2]=e;H[g+264|0]=1;j=g+264|0;d=Gc(a,f,j);if(d){break o}J[b+52>>2]=0;k=J[b+60>>2];J[b+60>>2]=0;d=K[b|0];H[g+264|0]=(d|0)==136?2:1;J[g+128>>2]=qi(d);cc(a,1,20403,g+128|0);d=Gc(a,b,j);J[b+48>>2]=0;h=J[b+52>>2];J[b+52>>2]=f;if(K[b|0]==134){I[b+2>>1]=_d(I[b+2>>1],I[f+2>>1])}_a(m,J[b+60>>2]);J[b+8>>2]=0;J[b+12>>2]=0;J[b+60>>2]=k;if(K[m+87|0]|(i|0)==1){break db}f=J[a+56>>2];j=f-2|0;J[a+56>>2]=j;f=f-1|0;ui(a,b,f);Na(l,36,e,f);i=J[l+108>>2];Af(a,b,e,0,0,g+232|0,j,f);cb(l,j);Na(l,39,e,i);cb(l,f);Na(l,122,e,0);break db;default:break eb}}e=J[a+40>>2];J[a+40>>2]=e+2;h=0;J[b+20>>2]=Na(l,118,e,0);d=bn(b);J[d+4>>2]=J[d+4>>2]|32;J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=0;J[g+276>>2]=0;J[g+268>>2]=e;H[g+264|0]=1;i=g+264|0;d=Gc(a,f,i);if(d){break n}j=e+1|0;d=Na(l,118,j,0);J[b+52>>2]=0;J[b+24>>2]=d;k=J[b+60>>2];J[b+60>>2]=0;J[g+268>>2]=j;J[g+112>>2]=qi(K[b|0]);cc(a,1,20403,g+112|0);d=Gc(a,b,i);h=J[b+52>>2];J[b+52>>2]=f;f=I[f+2>>1];if((f|0)<I[b+2>>1]){I[b+2>>1]=f}_a(m,J[b+60>>2]);J[b+60>>2]=k;if(d){break db}i=J[a+56>>2];f=i-2|0;J[a+56>>2]=f;i=i-1|0;ui(a,b,i);Na(l,36,e,i);k=vb(a);n=Na(l,134,e,k);bb(l,28,j,f,k,0);mb(a,k);Af(a,b,e,0,0,g+232|0,f,i);cb(l,f);Na(l,39,e,n);cb(l,i);Na(l,122,j,0);Na(l,122,e,0)}if(J[b+56>>2]){break p}hh(a);break p}j=0;o=0;w=Ib(t,(q<<2)+4|0,0);if(w){J[w>>2]=q;e=k+8|0;f=((q|0)>0?q:0)+1|0;d=1;while(1){if((d|0)!=(f|0)){J[w+(d<<2)>>2]=L[e+12>>1]-1;e=e+16|0;d=d+1|0;continue}break}o=Tr(a,b)}n=i-1|0;m=0;ib:{if((s|0)!=135){m=J[a+44>>2]+1|0;e=J[J[b+28>>2]>>2];J[a+44>>2]=m+e;Na(h,71,0,m);jb:{j=xf(t,e,1);if(!j){break jb}e=(e|0)>0?e:0;d=0;while(1){if((d|0)==(e|0)){break jb}J[((d<<2)+j|0)+20>>2]=ok(a,b,d);H[J[j+16>>2]+d|0]=0;d=d+1|0;continue}}d=0;e=b;p=s&254;if((p|0)!=134){break ib}}d=1;p=134;kb:{if(K[t+82|0]&32){break kb}e=b;while(1){f=J[e+52>>2];if(!(!f|(s|0)!=K[e|0])){d=d+1|0;e=f;continue}break}if(d>>>0<4){d=1;break kb}f=2;e=b;while(1)if(d>>>0<=f>>>0){d=1;break ib}else{f=f+2|0;e=J[e+52>>2];continue}}e=b}r=J[e+52>>2];J[e+52>>2]=0;J[r+56>>2]=0;J[r+48>>2]=kc(J[a>>2],k,0);an(a,b,J[b+48>>2],19570);an(a,r,J[r+48>>2],19570);ui(a,b,n);u=0;l=0;lb:{if((s|0)!=135){break lb}f=J[b+8>>2];if(!f){break lb}i=J[a+44>>2];l=i+2|0;J[a+44>>2]=l;k=J[b+12>>2];u=i+1|0;Na(h,80,k?k+1|0:f,u);Na(h,80,u,l)}_a(t,J[b+60>>2]);J[b+60>>2]=0;i=J[a+44>>2];y=i+4|0;J[a+44>>2]=y;J[g+280>>2]=0;J[g+284>>2]=0;J[g+336>>2]=0;J[g+340>>2]=0;J[g+272>>2]=0;J[g+276>>2]=0;k=i+1|0;J[g+268>>2]=k;H[g+264|0]=13;J[g+328>>2]=0;J[g+332>>2]=0;v=i+2|0;J[g+324>>2]=v;H[g+320|0]=13;J[g+144>>2]=qi(K[b|0]);cc(a,1,25295,g+144|0);f=Pa(h,11,k,0,J[h+108>>2]+1|0);J[r+8>>2]=u;cc(a,1,18897,0);Gc(a,r,g+264|0);xi(h,k);u=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(f,20)|0)+8>>2]=u;f=0;C=Pa(h,11,v,0,u+1|0);u=J[b+8>>2];A=J[b+12>>2];J[b+12>>2]=0;J[b+8>>2]=l;cc(a,1,18878,0);l=g+320|0;Gc(a,b,l);J[b+8>>2]=u;J[b+12>>2]=A;xi(h,v);i=i+3|0;u=Gr(a,b,g+264|0,c,i,m,j,n);if(d){f=Gr(a,b,l,c,y,m,j,n)}Si(j);l=n;j=l;if((p|0)!=136){j=Na(h,10,y,f);l=Na(h,12,v,l);Lb(h,j);I[b+2>>1]=_d(I[b+2>>1],I[r+2>>1])}mb:{if((s|0)==137){c=j;m=I[r+2>>1];if((m|0)>=I[b+2>>1]){break mb}I[b+2>>1]=m;break mb}c=Na(h,10,i,u);Na(h,12,k,n);Lb(h,c)}i=Na(h,10,i,u);Na(h,12,k,j);Lb(h,x);nb:{if((s|0)==135){j=i;break nb}if((s|0)==137){j=i;i=i+1|0;break nb}j=Na(h,12,k,j);Lb(h,x)}m=J[h+108>>2];if(d){Na(h,10,y,f)}Na(h,12,v,c);Lb(h,x);f=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(C,20)|0)+8>>2]=f;Na(h,12,k,l);Na(h,12,v,c);cb(h,x);$a(h,89,0,0,0,w,-14);$a(h,90,J[g+276>>2],J[g+332>>2],q,o,-8);c=J[h+108>>2];if((c|0)>0){I[(J[h+104>>2]+P(c,20)|0)-18>>1]=1}Pa(h,14,i,j,m);cb(h,n);c=J[e+52>>2];if(c){dd(a,57,c)}J[e+52>>2]=r;J[r+56>>2]=e;kb(t,J[r+48>>2]);J[r+48>>2]=0;hh(a);d=J[a+36>>2]!=0;break m}h=0;d=0}if(J[a+36>>2]|!(K[b+4|0]&32)){break n}j=J[J[b+28>>2]>>2];f=xf(m,j,1);if(!f){d=7;break n}e=0;i=(j|0)>0?j:0;q=f+20|0;while(1){if((e|0)==(i|0)){k=b;while(1){e=0;if(k){while(1){ob:{if((e|0)==2){break ob}m=(e<<2)+k|0;i=J[m+20>>2];if((i|0)<0){break ob}J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(i,20)|0)+8>>2]=j;J[f>>2]=J[f>>2]+1;Sd(l,i,f,-8);J[m+20>>2]=-1;e=e+1|0;continue}break}k=J[k+52>>2];continue}break}Si(f);break n}k=ok(a,b,e);J[q>>2]=k;if(!k){J[q>>2]=J[m+8>>2]}q=q+4|0;e=e+1|0;continue}}h=0}J[c+12>>2]=J[g+244>>2];J[c+16>>2]=J[g+248>>2];if(!h){break m}dd(a,57,h)}if(!J[b+56>>2]){break b}break a}s=J[d>>2];if(!s){break k}i=J[e+4>>2];if(i&1|(J[j>>2]>1|u?f:0)){break k}h=J[b+48>>2];if((J[e+48>>2]?h:0)|(J[e+48>>2]?u:0)){break k}pb:{if(f){if(J[b+36>>2]){break k}if(!(i&8192|o&1)){break pb}break k}if(i&8192){break k}}f=K[m+44|0];t=f&96;qb:{if(!t){s=0;break qb}if(K[J[d+24>>2]+43|0]==1|(s|0)>1){break k}s=1;if(f&16|o&1){break k}}f=(k|0)<=0;if(!(K[d+44|0]&64?f:1)){break k}rb:{if(!J[e+52>>2]){f=0;break rb}if(J[e+48>>2]|u){break k}i=e;if(t|o&1){break k}while(1){if(i){if(K[i+4|0]&9){break k}d=J[i+52>>2];if(K[i|0]!=135?d:0){break k}v=J[i+32>>2];if(J[i+68>>2]|J[v>>2]<=0){break k}i=d;if(!(K[v+44|0]&64)|f){continue}break k}break}sb:{if(!h){break sb}i=0;d=J[h>>2];d=(d|0)>0?d:0;while(1){if((d|0)==(i|0)){break sb}f=i<<4;i=i+1|0;if(L[(f+h|0)+20>>1]){continue}break}break k}if(o&8192){break k}f=J[e+28>>2];d=0;while(1){if(J[f>>2]>(d|0)){h=d<<4;o=mc(J[(h+f|0)+8>>2]);i=e;while(1){i=J[i+52>>2];if(i){if((mc(J[(h+J[i+28>>2]|0)+8>>2])|0)==(o|0)){continue}break k}break}d=d+1|0;continue}break}f=0;if(J[j>>2]<2){break rb}if(K[l+82|0]&128|J[a+108>>2]>500){break k}d=J[a+40>>2];i=d>>31<<2|d>>>30;h=(d<<2)+4|0;d=i;d=ib(l,h,h>>>0<4?d+1|0:d);if(!d){break rb}J[d>>2]=J[a+40>>2];f=d}e=e+52|0;J[a+260>>2]=J[m+16>>2];Tb(a,21,0,0,0);J[a+260>>2]=p;d=J[m+28>>2];Ua(l,J[m+12>>2]);Ua(l,J[m+16>>2]);Ua(l,J[m+20>>2]);J[m+20>>2]=0;J[m+12>>2]=0;J[m+16>>2]=0;J[m+28>>2]=0;while(1){h=J[e>>2];if(h){i=J[b+52>>2];p=J[m+24>>2];o=J[b+60>>2];v=J[b+48>>2];J[m+24>>2]=0;J[b+60>>2]=0;J[b+48>>2]=0;J[b+52>>2]=0;e=Pd(l,b,0);J[b+48>>2]=v;J[b+60>>2]=o;H[b|0]=135;J[m+24>>2]=p;tb:{if(!e){e=i;break tb}p=J[a+108>>2]+1|0;J[a+108>>2]=p;J[e+16>>2]=p;if(!(K[l+87|0]|!f)){Fr(a,f,J[e+32>>2],k);J[g+272>>2]=0;J[g+276>>2]=0;J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=46;J[g+264>>2]=0;J[g+268>>2]=0;J[g+288>>2]=f;J[g+268>>2]=58;$b(g+264|0,e)}J[e+52>>2]=i;if(i){J[i+56>>2]=e}J[e+56>>2]=b}J[b+52>>2]=e;e=h+52|0;continue}break}Ua(l,f);ub:{if(K[l+87|0]){J[m+28>>2]=d;break ub}e=J[m+24>>2];if(e){f=J[e+24>>2];vb:{if((f|0)==1){f=J[a+128>>2];dd(f?f:a,59,e);break vb}J[e+24>>2]=f-1}J[m+24>>2]=0}y=k+1|0;h=-1;p=d;f=b;while(1){wb:{if(!f){break wb}e=j+r|0;C=J[p+32>>2];i=J[C>>2];o=0;o=(b|0)==(f|0)?K[m+44|0]:o;e=K[e+44|0];j=J[f+32>>2];if((i|0)>=2){j=$m(a,j,i-1|0,y);if(!j){break wb}J[f+32>>2]=j}v=e&64;e=0;x=(i|0)>0?i:0;while(1){if((e|0)!=(x|0)){i=(e+k<<6)+j|0;if(K[i+46|0]&4){ne(l,J[i+52>>2])}h=C+(e<<6)|0;A=h+8|0;Qa(i+8|0,A,64);H[i+44|0]=v|K[i+44|0];h=J[h+48>>2];Sa(A,0,64);e=e+1|0;continue}break}e=j+r|0;H[e+44|0]=v|(K[e+44|0]&64|o);i=J[p+48>>2];if(!(!i|K[f+6|0]&64)){e=0;o=J[i>>2];o=(o|0)>0?o:0;while(1){if((e|0)!=(o|0)){I[(i+(e<<4)|0)+20>>1]=0;e=e+1|0;continue}break}J[f+48>>2]=i;J[p+48>>2]=0}e=J[p+36>>2];J[p+36>>2]=0;if(t){gh(e,h,1)}if(e){i=J[f+36>>2];if(i){e=db(a,44,e,i)}J[f+36>>2]=e}if(!K[l+87|0]){J[g+276>>2]=s;J[g+272>>2]=h;J[g+268>>2]=w;J[g+264>>2]=a;J[g+280>>2]=J[p+28>>2];J[g+284>>2]=Er(p);_m(g+264|0,f,0)}J[f+4>>2]=J[f+4>>2]|J[p+4>>2]&256;e=J[p+60>>2];if(e){J[f+60>>2]=e;J[p+60>>2]=0}e=0;while(1){if((e|0)!=(x|0)){i=(e+k<<6)+j|0;if(J[i+24>>2]){J[g+272>>2]=0;J[g+276>>2]=0;J[g+280>>2]=0;J[g+284>>2]=0;J[g+272>>2]=46;J[g+264>>2]=0;J[g+268>>2]=0;J[g+268>>2]=60;J[g+288>>2]=i+8;J[i+56>>2]=0;J[i+60>>2]=0;$b(g+264|0,f)}e=e+1|0;continue}break}p=J[p+52>>2];f=J[f+52>>2];continue}break}J[g+332>>2]=0;J[g+336>>2]=0;J[g+340>>2]=0;J[g+344>>2]=0;J[g+328>>2]=46;J[g+324>>2]=47;J[g+320>>2]=a;$b(g+320|0,d);ac(l,d)}k=-1;if(J[a+36>>2]){break d}}if(K[q+87|0]){break d}j=J[b+32>>2];if(K[c|0]<9){break j}J[g+192>>2]=J[b+48>>2]}d=k}k=d+1|0;continue}}d=1;e=0}kb(q,e)}hh(a)}Fa=g+352|0;return d}function Ye(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;r=Fa-176|0;Fa=r;m=J[a+8>>2];M=J[a>>2];J[r+68>>2]=0;J[r+60>>2]=0;J[r+64>>2]=0;n=d?J[d>>2]<=63?d:0:n;d=J[b>>2];a:{b:{if((d|0)>=65){J[r>>2]=64;Ra(a,11230,r);break b}p=g&32?1:d;j=P(p,96);i=(p|0)<=1?856:j+767&-8;l=Ib(M,i+72|0,0);if(K[M+87|0]){Ua(M,l);break b}J[l+12>>2]=e;J[l+8>>2]=n;J[l+4>>2]=b;J[l>>2]=a;H[l+44|0]=p;J[l+20>>2]=-1;J[l+24>>2]=-1;d=J[a+56>>2]-1|0;J[a+56>>2]=d;I[l+42>>1]=h;I[l+40>>1]=g;J[l+32>>2]=d;J[l+28>>2]=d;d=I[a+156>>1];J[l+16>>2]=f;J[l+36>>2]=d;u=Sa(l+45|0,0,35);z=l+760|0;Sa(z,0,j+72|0);J[l+500>>2]=0;J[l+504>>2]=-99;d=i+l|0;J[r+56>>2]=d;N=l+80|0;J[r+52>>2]=N;J[r+48>>2]=l;I[d+48>>1]=3;I[d+44>>1]=0;J[d+52>>2]=d+60;J[d+40>>2]=0;H[l+89|0]=0;J[l+100>>2]=0;J[l+84>>2]=0;J[l+104>>2]=l+112;J[l+92>>2]=0;J[l+96>>2]=8;J[l+80>>2]=l;Am(N,c,44);c:{if(p){while(1){c=(q<<6)+b|0;d=J[c+48>>2];j=J[l+500>>2];J[l+500>>2]=j+1;J[((j<<2)+l|0)+504>>2]=d;d:{if(!(K[c+45|0]&4)){break d}u=J[c- -64>>2];if(!u){break d}i=J[c+24>>2];d=0;k=0;while(1){if(J[u>>2]<=(k|0)){break d}j=I[i+34>>1];j=(d|0)>(j|0)?d:j;e:{while(1){if((d|0)==(j|0)){break e}if(!(K[(J[i+4>>2]+P(d,12)|0)+10|0]&2)){d=d+1|0;continue}break}j=nc(J[a>>2],167,0,0);if(!j){break d}v=J[c+48>>2];J[j+44>>2]=i;I[j+32>>1]=d;J[j+28>>2]=v;v=J[c+60>>2];J[c+56>>2]=J[c+56>>2]|gr(j);J[c+60>>2]=Ia|v;j=db(a,53,j,db(a,174,eb(J[a>>2],J[(u+(k<<4)|0)+8>>2],0),0));gh(j,J[c+48>>2],K[c+44|0]&24?1:2);Yd(N,j,1);k=k+1|0;d=d+1|0;continue}break}c=J[i>>2];J[r+36>>2]=k;J[r+32>>2]=c;Ra(a,17102,r+32|0)}q=q+1|0;if((q|0)<J[b>>2]){continue}break c}}if(n){H[u|0]=J[n>>2]}if(!(!(g&256)|K[M+80|0]&16)){H[l+47|0]=1}cc(a,0,18745,0)}$q(b,N);if(!(!f|!J[f+60>>2])){c=0;f:{if(J[f+40>>2]|K[f+4|0]&9){break f}d=J[f+32>>2];if(J[d>>2]!=1|K[J[d+24>>2]+43|0]!=1){break f}j=J[N+12>>2];u=(j|0)>0?j:0;d=J[d+48>>2];j=J[f+48>>2];while(1){if((c|0)!=(u|0)){i=J[N+24>>2]+P(c,48)|0;if(!(K[i+10|0]&4|K[i+14|0])&(d|0)!=J[i+20>>2]){break f}c=c+1|0;continue}break}g:{if(!j){break g}c=0;i=J[j>>2];i=(i|0)>0?i:0;while(1){if((c|0)==(i|0)){break g}u=j+(c<<4)|0;v=J[u+8>>2];if(K[v|0]!=167|(d|0)!=J[v+28>>2]){break f}c=c+1|0;if(!(K[u+16|0]&2)){continue}break}break f}Mz(N,J[f+8>>2],J[J[f+60>>2]+12>>2],d,73);c=J[f+12>>2];if((c|0)<=0){break f}Mz(N,c,J[J[f+60>>2]+16>>2],d,74)}}h:{i:{if(J[a+36>>2]){break i}V=l+496|0;c=N;d=0;while(1){if(J[c+20>>2]>(d|0)){c=J[c+24>>2]+P(d,48)|0;j:{if(K[c+10|0]&2|(J[c+40>>2]|J[c+44>>2])){break j}f=J[c>>2];if(p){J[r+80>>2]=0;J[r+84>>2]=0;J[r+88>>2]=0;J[r+92>>2]=0;J[r+96>>2]=0;J[r+80>>2]=62;J[r+72>>2]=0;J[r+76>>2]=0;J[r+76>>2]=72;I[r+92>>1]=1;Eb(r+72|0,f);if(!L[r+92>>1]){break j}}if(K[b+44|0]&64?K[f+4|0]&2:0){break j}rc(a,f,J[l+32>>2],16);I[c+10>>1]=L[c+10>>1]|4}d=d+1|0;c=J[r+52>>2];continue}break}k:{if(!(g&256)){break k}if(K[M+80|0]&16){I[l+40>>1]=L[l+40>>1]&65279;g=g&32511;break k}l:{if(J[b>>2]!=1){break l}c=J[e>>2];j=(c|0)>0?c:0;i=J[b+24>>2];f=J[b+48>>2];d=0;m:{while(1){if((d|0)!=(j|0)){c=Xc(J[((d<<4)+e|0)+8>>2]);n:{if(!c){break n}o:{switch(K[c|0]-167|0){case 0:case 2:break o;default:break n}}if((f|0)!=J[c+28>>2]){break n}if(I[c+32>>1]<0){break m}}d=d+1|0;continue}break}d=i+8|0;while(1){c=J[d>>2];if(!c){break l}if(!(J[c+36>>2]|!K[c+54|0])){k=0;while(1){p:{if(L[c+50>>1]<=k>>>0){break p}if(!_q(N,f,k,-1,-1,2,c)){i=J[J[c+32>>2]+(k<<2)>>2];d=0;while(1){if(J[e>>2]<=(d|0)){break p}q:{u=J[((d<<4)+e|0)+8>>2];j=Xc(u);r:{if(!j){break r}s:{switch(K[j|0]-167|0){case 0:case 2:break s;default:break r}}if(L[j+32>>1]!=L[J[c+4>>2]+(k<<1)>>1]|(f|0)!=J[j+28>>2]){break r}if(!Xa(J[uf(a,u)>>2],i)){break q}}d=d+1|0;continue}break}if(!fA(c,k)){break p}}k=k+1|0;continue}break}if(L[c+50>>1]==(k|0)){break m}}d=c+20|0;continue}}H[l+47|0]=1;break k}if(n){break k}J[l+8>>2]=e;I[l+40>>1]=L[l+40>>1]|128}t:{u:{v:{w:{x:{y:{c=J[r+48>>2];z:{if(K[c+40|0]&32|(p|0)!=1){break z}i=J[c+4>>2];j=J[i+24>>2];if(K[j+43|0]==1|K[i+45|0]&3){break z}u=J[i+48>>2];f=J[r+56>>2];I[f+46>>1]=0;J[f+40>>2]=0;v=c+80|0;d=zm(r+72|0,v,u,-1,130,0);while(1){if(d){if(!(J[d+32>>2]|J[d+36>>2])){break y}d=ki(r+72|0);continue}break}d=j+8|0;while(1){j=J[d>>2];if(j){A:{if(J[j+36>>2]|!K[j+54|0]){break A}d=L[j+50>>1];if(d>>>0>3){break A}n=K[j+55|0]&8?130:2;q=0;B:{while(1){d=d&65535;if(q>>>0>=d>>>0){break B}d=zm(r+72|0,v,u,q,n,j);C:{while(1){if(!d){break C}if(J[d+32>>2]|J[d+36>>2]){d=ki(r+72|0);continue}break}J[J[f+52>>2]+(q<<2)>>2]=d;q=q+1|0;d=L[j+50>>1];continue}break}d=L[j+50>>1]}if((d|0)!=(q|0)){break A}n=4609;J[f+40>>2]=4609;D:{if(!(K[j+55|0]&32)){if(J[j+64>>2]&J[i+56>>2]|J[j+68>>2]&J[i+60>>2]){break D}}n=4673;J[f+40>>2]=4673}I[f+24>>1]=q;I[f+44>>1]=q;J[f+32>>2]=j;d=39;break x}d=j+20|0;continue}break}n=J[f+40>>2];if(n){break w}c=J[r+48>>2]}Q=J[J[c>>2]>>2];d=J[c+4>>2];f=K[c+44|0];J[r+68>>2]=2e4;k=d+8|0;o=k+(f<<6)|0;w=c+496|0;t=J[r+56>>2];f=0;q=0;n=0;while(1){if(k>>>0>=o>>>0){break v}H[t+16|0]=f;J[r+68>>2]=J[r+68>>2]+1e3;J[t+8>>2]=De(w,J[k+40>>2]);J[t+12>>2]=Ia;c=K[k+36|0];E:{if(c&98|q){A=s|A;D=x|D;q=c>>>4&1;n=c&64?1:n;break E}A=n?A:0;D=n?D:0;q=0;n=(n|0)!=0}u=0;v=0;F:{G:{c=k;H:{if(K[J[c+16>>2]+43|0]==1){while(1){I:{i=u;j=v;d=c;c=c- -64|0;if(o>>>0<=c>>>0){break I}if(!(i|j)){u=0;v=0;if(!(K[d+100|0]&34)){continue}}u=De(w,J[d+104>>2])|i;v=j|Ia;continue}break}d=eA(r+48|0,A,D,i,j);break H}i=0;j=0;d=dA(r+48|0,A,D)}J:{if(!d){if(!K[J[r+52>>2]+9|0]){s=s|J[t+8>>2];x=x|J[t+12>>2];break J}d=cA(r+48|0,A,D,i,j)}s=s|J[t+8>>2];x=x|J[t+12>>2];if((d|0)==101){break G}if(d){break u}}if(K[Q+87|0]){break v}break F}Ac(28,12337,0)}k=k- -64|0;f=f+1|0;continue}}n=4353;J[f+40>>2]=4353;J[J[f+52>>2]>>2]=d;I[f+24>>1]=1;I[f+44>>1]=1;d=33}I[f+20>>1]=d}I[f+22>>1]=1;J[c+840>>2]=f;J[f+8>>2]=1;J[f+12>>2]=0;I[c+50>>1]=1;J[c+764>>2]=u;d=J[c+8>>2];if(d){H[c+45|0]=J[d>>2]}if(H[c+41|0]&1){H[c+47|0]=1}if(K[r+97|0]<2){break t}J[f+40>>2]=n|2097152;break t}d=0}bA(Q,t);if(d){break i}aA(l,0);if(K[M+87|0]){break i}if(J[l+8>>2]){aA(l,L[l+50>>1]+1<<16>>16);if(K[M+87|0]){break h}}if(!(H[l+41|0]&1)){break t}I[l+50>>1]=L[l+50>>1]-30}if(!(J[l+8>>2]|!(K[M+33|0]&16))){A=0;D=0;i=J[l+4>>2];c=J[i>>2];c=(c|0)>0?c:0;while(1){if((c|0)!=(A|0)|D){d=i+(A<<6)|0;K:{L:{if(!(H[d+46|0]&1)|K[J[d+68>>2]+18|0]){break L}d=J[d+28>>2];if(!d){break L}if(J[d+48>>2]){break K}}j=J[l+76>>2];d=A&31;if((A&63)>>>0>=32){f=1<<d;k=0}else{k=1<<d;f=k-1&1>>>32-d}J[l+72>>2]=k|J[l+72>>2];J[l+76>>2]=f|j}j=D;A=A+1|0;D=A?j:j+1|0;continue}break}}if(J[a+36>>2]){break h}A=-1;D=-1;d=K[l+44|0];M:{N:{if(!(!e|g&1024|d>>>0<2)){if(H[M+81|0]&1){break N}c=l+496|0;A=We(c,J[l+12>>2]);D=Ia;d=J[l+8>>2];if(d){A=We(c,d)|A;D=D|Ia}t=K[J[l+4>>2]+44|0]&64;k=K[l+44|0];f=k;u=-1;v=-1;O:while(1){e=f;if((f|0)>=2){f=f-1|0;p=P(f,96)+l|0;c=J[p+840>>2];n=J[l+4>>2]+(K[c+16|0]<<6)|0;if((K[n+44|0]&24)!=8|!(H[l+41|0]&1|K[c+41|0]&16)){continue}j=J[c+8>>2];i=J[c+12>>2];if(A&j|D&i){continue}c=J[l+104>>2];q=c+P(J[l+92>>2],48)|0;d=c;while(1){if(d>>>0<q>>>0){if(j&J[d+40>>2]|i&J[d+44>>2]){Q=J[d>>2];if(!(H[Q+4|0]&1)|J[Q+36>>2]!=J[n+48>>2]){continue O}}P:{if(!t){break P}Q=J[d>>2];if(!(K[Q+4|0]&2)){break P}if(J[Q+36>>2]==J[n+48>>2]){continue O}}d=d+48|0;continue}break}while(1){if(c>>>0<q>>>0){if(j&J[c+40>>2]|i&J[c+44>>2]){I[c+10>>1]=L[c+10>>1]|4}c=c+48|0;continue}break}u=u&(j^-1);v=v&(i^-1);c=k&255;if((c|0)!=(e|0)){Dc(p+760|0,(P(e,96)+l|0)+760|0,P(c-e|0,96));k=K[l+44|0]}k=k-1|0;H[l+44|0]=k;continue}break}d=K[l+44|0];p=d;D=v;A=u}if((d&255)>>>0<2){break M}}if(K[M+82|0]&8){break M}c=0;d=0;i=K[l+44|0];while(1){Q:{if((c|0)==(i|0)){break Q}e=J[(P(c,96)+l|0)+840>>2];f=J[(J[l+4>>2]+(K[e+16|0]<<6)|0)+24>>2];j=J[f+28>>2];if(!(j&16)){break Q}J[f+28>>2]=j|256;R:{if(!c){break R}j=J[e+40>>2];if((j&8388609)!=8388609|!(j&768)|I[f+38>>1]>=d<<16>>16){break R}J[e+40>>2]=j&-4194369|4194304}c=c+1|0;d=L[e+22>>1]+d|0;continue}break}}c=J[l>>2];I[c+156>>1]=L[c+156>>1]+L[l+50>>1];v=0;S:{if(!(g&4)){break S}e=J[l+840>>2];d=J[e+40>>2];T:{if(d&4096){i=J[b+24>>2];q=1;break T}v=0;if(!(g&8)){break S}i=J[b+24>>2];v=0;if(K[i+43|0]==1){break S}if(!(g&16)){v=0;if(d&8192){break S}}q=2;v=0;if(K[M+83|0]&8){break S}}H[l+46|0]=q;v=0;if(!(d&64)){break S}v=0;if(J[i+28>>2]&128){break S}J[e+40>>2]=d&-65;v=g&8}u=(p|0)>0?p:0;Q=g&32;x=!h|!Q;k=0;while(1){if((k|0)!=(u|0)){q=(K[z+60|0]<<6)+b|0;n=q;e=J[n+24>>2];f=Ab(M,J[e+60>>2]);t=J[z+80>>2];U:{if(K[e+29|0]&64){break U}c=K[e+43|0];if((c|0)==2){break U}d=J[t+40>>2];if(d&1024){$a(m,173,J[n+48>>2],0,0,ud(M,e),-11);break U}if((c|0)==1){break U}if(!(K[q+44|0]&80?0:Q|d&64)){c=J[q+48>>2];if(K[l+46|0]){J[l+20>>2]=c;d=113}else{d=112}Cd(a,c,f,e,d);if(!(K[l+46|0]|I[e+34>>1]>63|(K[e+28|0]&224|J[t+40>>2]&4210688))){i=J[q+56>>2];j=J[q+60>>2];c=0;while(1){if(i|j){c=c+1|0;i=(j&1)<<31|i>>>1;j=j>>>1|0;continue}break}Sd(m,-1,c,-3)}c=J[m+108>>2];if((c|0)<=0){break U}I[(J[m+104>>2]+P(c,20)|0)-18>>1]=v;break U}rd(a,f,J[e+20>>2],0,J[e>>2])}V:{if(!(K[t+41|0]&2)){break V}j=J[t+32>>2];W:{X:{Y:{if(!(!(K[e+28|0]&128)|!Q)){if(((K[j+55|0]|K[j+56|0]<<8)&3)==2){break Y}}if(K[l+46|0]){d=J[n+24>>2]+8|0;c=h;while(1){d=J[d>>2];if(!d|(d|0)==(j|0)){break X}d=d+20|0;c=c+1|0;continue}}d=101;c=h;if(!x){break W}p=q+8|0;c=J[a+40>>2];J[a+40>>2]=c+1;if(!(!(K[j+56|0]&16)|H[M+83|0]&1)){w=0;o=a+72|0;s=J[j+12>>2];while(1){Z:{if(L[j+52>>1]<=w>>>0){break Z}d=I[J[j+4>>2]+(w<<1)>>1];_:{$:{if((d|0)==-2){n=(K[p+36|0]&88)!=0;d=J[(J[j+40>>2]+(w<<4)|0)+8>>2];break $}if((d|0)<0){break _}d=J[s+4>>2]+P(d,12)|0;if(!(K[d+10|0]&32)){break _}n=0;d=Hc(s,d)}if(be(d)){break _}if(K[d|0]==172){y=J[a>>2];F=J[d+8>>2];i=J[d+20>>2];if(i){i=J[i>>2]}else{i=0}i=Ne(y,F,i,K[y+84|0],0);if(!i|H[i+7|0]&1){break _}}i=id(J[a>>2],24,0);if(!i){break Z}J[i+20>>2]=J[a+72>>2];J[i>>2]=eb(J[a>>2],d,0);d=J[p+40>>2];H[i+16|0]=n;J[i+12>>2]=w;J[i+8>>2]=c;J[i+4>>2]=d;if(fh(J[a>>2],j)){H[i+17|0]=K[J[j+16>>2]+w|0]}J[o>>2]=i;if(J[i+20>>2]){break _}dd(a,87,o)}w=w+1|0;continue}break}}d=112;i=J[j+36>>2];if(!i|K[q+44|0]&16){break W}Yq(a,j,i,0,c,p);break W}J[z+8>>2]=J[z+4>>2];break V}J[l+24>>2]=c;d=113}J[z+8>>2]=c;Pa(m,d,c,J[j+44>>2],f);zd(a,j);c=J[t+40>>2];if(H[l+40|0]&1|(!(c&15)|c&1605634)|K[l+47|0]==2){break V}c=J[m+108>>2];if((c|0)<=0){break V}I[(J[m+104>>2]+P(c,20)|0)-18>>1]=2}if((f|0)>=0){gd(a,f)}aa:{if(!(K[q+44|0]&16)){break aa}c=Xq(l,20);J[z+56>>2]=c;if(!c){break aa}d=J[a+40>>2];J[a+40>>2]=d+1;J[c>>2]=d;d=J[a+44>>2]+1|0;J[a+44>>2]=d;J[c+4>>2]=d;Na(m,77,65536,d);d=J[a+44>>2]+1|0;J[a+44>>2]=d;J[c+8>>2]=d;Na(m,75,0,d);ba:{if(!(K[e+28|0]&128)){Na(m,118,J[c>>2],1);c=xf(J[a>>2],1,0);if(!c){break ba}J[c+20>>2]=0;H[J[c+16>>2]]=0;sc(m,c,-8);break ba}d=J[c>>2];c=ec(e);Na(m,118,d,L[c+50>>1]);zd(a,c)}J[t+40>>2]=J[t+40>>2]&-65;H[l+47|0]=3;H[l+45|0]=0}z=z+96|0;k=k+1|0;continue}break}J[l+52>>2]=J[m+108>>2];if(K[M+87|0]){break h}Q=u;u=0;v=0;while(1){ca:{if((u|0)!=(Q|0)|v){if(J[a+36>>2]){break h}o=P(u,96)+l|0;d=J[J[o+840>>2]+40>>2];c=(K[o+820|0]<<6)+b|0;e=K[c+45|0]|K[c+46|0]<<8;da:{if(!(e&16)){break da}if(e&8){Na(m,10,J[c+36>>2],J[c+32>>2]);break da}e=Hb(m,15);Na(m,10,J[c+36>>2],J[c+32>>2]);J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(e,20)|0)+8>>2]=J[m+108>>2]}t=o+760|0;if(d&4210688){ea:{if(d&16384){n=0;i=0;j=0;q=0;w=0;s=0;x=0;E=Fa-16|0;Fa=E;k=J[a+8>>2];T=Hb(k,15);e=J[N+24>>2];R=e+P(J[N+12>>2],48)|0;B=J[J[N>>2]+4>>2];G=K[t+60|0];c=B+(G<<6)|0;S=c+8|0;y=J[c+24>>2];z=J[t+80>>2];c=0;fa:{while(1){if(e>>>0<R>>>0){ga:{if(K[e+10|0]&2){break ga}d=J[e>>2];if(!ar(d,B,K[t+60|0])){break ga}q=Od(a,q,eb(J[a>>2],d,0))}ha:{if(!Uq(e,S,A,D)){break ha}h=J[e+24>>2];f=h&31;if((h&63)>>>0>=32){d=1<<f;O=0}else{O=1<<f;d=O-1&1>>>32-f}p=(h|0)>63;f=p?0:O;p=p?-2147483648:d;if(!(n&255)){d=J[y>>2];J[E+4>>2]=J[J[y+4>>2]+P(h,12)>>2];J[E>>2]=d;Ac(284,25158,E)}n=1;if(f&i|j&p){break ha}d=c+1|0;if(ii(J[a>>2],z,d)){break fa}J[J[z+52>>2]+(c<<2)>>2]=e;i=f|i;j=j|p;c=d}e=e+48|0;continue}break}J[z+40>>2]=16961;I[z+24>>1]=c;I[z+44>>1]=c;F=-1;d=-1;if(K[y+43|0]!=2){d=B+(G<<6)|0;F=J[d+56>>2]&(i^-1);d=J[d+60>>2]&(j^-1|-2147483648)}e=I[y+34>>1];f=(e|0)>=63?63:e;h=(f|0)>0?f:0;i=0;j=0;while(1){if((h|0)!=(i|0)|j){n=c;f=F;c=i&31;if((i&63)>>>0>=32){c=d>>>c|0}else{c=((1<<c)-1&d)<<32-c|f>>>c}c=n+(c&1)|0;f=j;i=i+1|0;j=i?f:f+1|0;continue}break}O=B+(G<<6)|0;f=O;W=((e-63&J[f+60>>2]>>31)+c|0)+1|0;p=Xr(J[a>>2],W<<16>>16,0,E+12|0);if(!p){break fa}J[z+32>>2]=p;J[p+12>>2]=y;J[p>>2]=1536;c=J[N+24>>2];i=0;j=0;e=0;while(1){if(c>>>0>=R>>>0){while(1){if((h|0)!=(i|0)|j){f=F;c=i&31;if((i&63)>>>0>=32){c=d>>>c|0}else{c=((1<<c)-1&d)<<32-c|f>>>c}if(c&1){I[J[p+4>>2]+(e<<1)>>1]=i;J[J[p+32>>2]+(e<<2)>>2]=33312;e=e+1|0}i=i+1|0;j=i?j:j+1|0;continue}break}}else{ia:{if(!Uq(c,S,A,D)){break ia}C=J[c+24>>2];n=C&31;if((C&63)>>>0>=32){f=1<<n;n=0}else{U=1<<n;f=U-1&1>>>32-n;n=U}U=(C|0)>63;n=U?0:n;U=U?-2147483648:f;if(s&n|x&U){break ia}f=J[c>>2];I[J[p+4>>2]+(e<<1)>>1]=C;C=Qh(a,f);if(C){C=J[C>>2]}else{C=33312}s=n|s;x=x|U;J[J[p+32>>2]+(e<<2)>>2]=C;e=e+1|0;f=J[f+12>>2];if(!f){break ia}w=(mc(f)|0)!=66?1:w}c=c+48|0;continue}break}ja:{c=J[O+60>>2];if((c|0)>0){c=1}else{c=(c|0)>=0}if(c){break ja}c=63;while(1){if(I[y+34>>1]<=(c|0)){break ja}I[J[p+4>>2]+(e<<1)>>1]=c;J[J[p+32>>2]+(e<<2)>>2]=33312;c=c+1|0;e=e+1|0;continue}}I[J[p+4>>2]+(e<<1)>>1]=65535;J[J[p+32>>2]+(e<<2)>>2]=33312;c=J[a+40>>2];J[a+40>>2]=c+1;J[t+8>>2]=c;Na(k,116,c,W);zd(a,p);if(!(!(w&255)|K[J[a>>2]+82|0]&8)){Lz(a,J[N>>2],t);c=J[a+44>>2]+1|0;J[a+44>>2]=c;J[t+52>>2]=c;Na(k,77,1e4,c)}c=B+(G<<6)|0;d=c;ka:{if(K[c+45|0]&32){f=J[c+36>>2];w=Na(k,71,0,0);Pa(k,11,f,0,J[c+32>>2]);c=Va(k,12,f);break ka}w=0;c=Va(k,36,J[t+4>>2])}n=0;if(q){n=J[a+56>>2]-1|0;J[a+56>>2]=n;rc(a,q,n,16);J[z+40>>2]=J[z+40>>2]|131072}f=vb(a);h=Qm(a,p,J[t+4>>2],f,0,0,0,0);j=J[t+52>>2];if(j){bb(k,183,j,0,h,L[z+24>>1])}Na(k,138,J[t+8>>2],f);j=J[k+108>>2];if((j|0)>0){I[(J[k+104>>2]+P(j,20)|0)-18>>1]=16}if(q){cb(k,n)}la:{if(K[d+45|0]&32){h=e+h|0;J[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(w,20)|0)+8>>2]=h;Qz(a,c,J[t+4>>2],J[(B+(G<<6)|0)+40>>2],J[t+8>>2]);Lb(k,c);e=(K[d+45|0]|K[d+46|0]<<8)&65503;H[d+45|0]=e;H[d+46|0]=e>>>8;d=J[k+108>>2];break la}Na(k,39,J[t+4>>2],c+1|0);d=J[k+108>>2];if((d|0)<=0){break la}I[(J[k+104>>2]+P(d,20)|0)-18>>1]=3}J[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(c,20)|0)+8>>2]=d;mb(a,f);d=J[k+108>>2];J[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(T,20)|0)+8>>2]=d}_a(J[a>>2],q);Fa=E+16|0;break ea}d=u;c=t;n=J[c+80>>2];k=J[l>>2];E=J[k+76>>2];J[k+76>>2]=0;B=J[k+72>>2];J[k+72>>2]=0;h=J[k+8>>2];G=Hb(h,15);while(1){Lz(k,l,c);z=J[k+56>>2]-1|0;J[k+56>>2]=z;q=J[c+4>>2];s=J[k+44>>2]+1|0;J[k+44>>2]=s;J[c+52>>2]=s;F=J[l+4>>2];C=K[c+60|0];p=I[J[(F+(C<<6)|0)+24>>2]+38>>1];if((p|0)<=609){e=(p|0)/10|0;w=e<<16>>16;f=p-P(e,10)|0;e=f<<16>>16;j=e>>31;f=f&65535;i=f>>>0>4;x=i?e-2|0:f?e-1|0:0;e=i?j-(e>>>0<2)|0:f?j-!e|0:0;f=x+8|0;e=f>>>0<8?e+1|0:e;j=f;y=f;x=w-3|0;i=x&31;if((x&63)>>>0>=32){f=f<<i;i=0}else{f=(1<<i)-1&y>>>32-i|e<<i;i=y<<i}if((p|0)<30){p=j;i=3-w|0;f=i&31;if((i&63)>>>0>=32){j=0;i=e>>>f|0}else{j=e>>>f|0;i=((1<<f)-1&e)<<32-f|p>>>f}f=j}e=i}else{f=2147483647;e=-1}j=!f&e>>>0>=1e7|(f|0)!=0;e=j?1e7:e;Na(h,77,!(j?0:f)&e>>>0<=1e4?1e4:e,s);i=Va(h,36,q);f=J[l+104>>2];e=f+P(J[l+92>>2],48)|0;while(1){if(e>>>0>f>>>0){ma:{if(K[f+10|0]&2){break ma}if(!ar(J[f>>2],F,C)){break ma}rc(k,J[f>>2],z,16)}f=f+48|0;continue}break}na:{if(H[n+41|0]&1){e=vb(k);Na(h,135,q,e);bb(h,183,J[c+52>>2],0,e,1);mb(k,e);break na}p=J[n+32>>2];f=0;e=L[n+24>>1];j=ic(k,e);while(1){if((e|0)!=(f|0)){sr(k,p,q,f,f+j|0);f=f+1|0;continue}break}bb(h,183,J[c+52>>2],0,j,e);Oc(k,j,e)}cb(h,z);Na(h,39,J[c+4>>2],i+1|0);e=J[h+108>>2];j=K[J[h>>2]+87|0];J[(j?73192:J[h+104>>2]+P(i,20)|0)+8>>2]=e;J[n+40>>2]=J[n+40>>2]&-4194305;oa:{if(K[J[k>>2]+82|0]&16){break oa}c=d+1|0;f=K[l+44|0];i=((c|0)>(f|0)?c:f)-1|0;while(1){if((d|0)==(i|0)){break oa}d=d+1|0;c=P(d,96)+l|0;if(K[(J[l+4>>2]+(K[c+820|0]<<6)|0)+44|0]&72){continue}n=J[c+840>>2];if(!n|(A&J[n>>2]|D&J[n+4>>2]|(J[n+40>>2]&4194308)!=4194304)){continue}break}c=c+760|0;if((d|0)<(f|0)){continue}}break}J[(j?73192:J[h+104>>2]+P(G,20)|0)+8>>2]=e;J[k+76>>2]=E;J[k+72>>2]=B}if(K[M+87|0]){break h}}$z(a,b,t,g);J[o+792>>2]=J[m+108>>2];s=J[o+840>>2];E=J[a>>2];e=K[o+820|0];C=J[l+4>>2]+(e<<6)|0;x=J[C+48>>2];J[o+848>>2]=(De(V,x)^-1)&A;J[o+852>>2]=(Ia^-1)&D;d=J[l+72>>2];c=J[l+76>>2];f=J[a+56>>2];h=f-1|0;J[o+772>>2]=h;k=o+776|0;J[k>>2]=h;T=f-2|0;J[a+56>>2]=T;J[o+784>>2]=T;if(!(!e|!(K[C+44|0]&8))){e=J[a+44>>2]+1|0;J[a+44>>2]=e;J[t>>2]=e;Na(m,71,0,e)}e=C+8|0;f=d;d=u&31;if((u&63)>>>0>=32){q=c>>>d|0}else{q=((1<<d)-1&c)<<32-d|f>>>d}y=q&1;d=u;while(1){if((d|0)<=0){d=0;break ca}c=P(d,96)+l|0;if(J[c+760>>2]|J[c+816>>2]){break ca}d=d-1|0;continue}}J[l+56>>2]=J[m+108>>2];break a}c=K[C+45|0]|K[C+46|0]<<8;pa:{qa:{if(c&32){p=0;c=J[C+36>>2];Pa(m,11,c,0,J[C+32>>2]);c=Na(m,12,c,h);H[o+821|0]=9;J[o+828>>2]=c;break qa}i=J[s+40>>2];if(i&1024){j=L[s+44>>1];e=ic(a,j+2|0);n=e+2|0;f=J[o+772>>2];d=0;while(1){if((d|0)!=(j|0)){c=J[J[s+52>>2]+(d<<2)>>2];ra:{if(!c){break ra}h=d+n|0;if(H[c+12|0]&1){if(J[s+36>>2]&(d>>>0<32?1<<d:0)){i=J[a+40>>2];J[a+40>>2]=i+1;q=J[a+44>>2]+1|0;J[a+44>>2]=q;BA(a,J[c>>2],i);Pa(m,175,i,h,q);break ra}xm(a,c,t,d,y,h);f=J[k>>2];break ra}$j(a,J[J[c>>2]+16>>2],h,1);if(!(K[s+28|0]&2)|K[c+15|0]!=74){break ra}Na(m,71,0,J[J[l+16>>2]+12>>2])}d=d+1|0;continue}break}Na(m,71,J[s+24>>2],e);Na(m,71,j,e+1|0);$a(m,6,x,f,e,J[s+32>>2],H[s+28|0]&1?-6:-1);H[s+28|0]=K[s+28|0]&254;if(K[E+87|0]){J[s+32>>2]=0}J[o+824>>2]=x;H[o+821|0]=K[l+46|0]?-69:63;J[o+828>>2]=J[m+108>>2];p=0;d=0;while(1){if((d|0)==(j|0)){break qa}h=J[J[s+52>>2]+(d<<2)>>2];sa:{if(!(!(L[s+30>>1]>>>d&1)|d>>>0>15)){bh(t,h);break sa}if(K[E+87|0]|(!(H[h+12|0]&1)|J[s+36>>2]&(d>>>0<32?1<<d:0))){break sa}i=0;c=J[o+832>>2];e=(c|0)>0?c:0;c=d+n|0;while(1){ta:{if((e|0)!=(i|0)){k=73192;if(!K[J[m>>2]+87|0]){k=J[m+104>>2]+P(J[(J[o+836>>2]+P(i,20)|0)+4>>2],20)|0}f=K[k|0];ua:{if((f|0)!=135){if((f|0)!=94|(c|0)!=J[k+12>>2]){break ta}i=J[k+8>>2];e=c;break ua}if((c|0)!=J[k+8>>2]){break ta}i=c;e=J[k+12>>2]}Pa(m,f,J[k+4>>2],i,e)}e=db(a,53,0,0);if(!K[E+87|0]){f=J[J[h>>2]+12>>2];h=J[h+28>>2];if((h|0)>0){f=J[(J[f+20>>2]+(h<<4)|0)-8>>2]}J[e+12>>2]=f;f=jc(E,176,0);J[e+16>>2]=f;if(f){J[f+28>>2]=c;rc(a,e,J[o+784>>2],16)}J[e+12>>2]=0}_a(E,e);break sa}i=i+1|0;continue}}d=d+1|0;continue}}d=J[(P(d,96)+l|0)+772>>2];va:{wa:{xa:{if(!(!(i&256)|!(i&5))){d=J[J[s+52>>2]>>2];c=J[a+44>>2]+1|0;J[a+44>>2]=c;d=xm(a,d,t,0,y,c);if((d|0)!=(c|0)){mb(a,c)}c=J[k>>2];if(J[o+812>>2]){Na(m,13,d,c);bb(m,64,J[o+812>>2],c,d,1);_z(a,l,u,c,A,D)}Pa(m,30,x,c,d);H[o+821|0]=187;break xa}if((i&258)==258){k=0;f=0;e=0;if(i&32){f=J[J[s+52>>2]>>2];e=1}k=i&16?J[J[s+52>>2]+(e<<2)>>2]:k;c=y?f:k;j=y?k:f;ya:{if(j){H[r+172|0]=24;H[r+173|0]=22;H[r+174|0]=21;H[r+175|0]=23;e=J[j>>2];d=J[e+16>>2];za:{if(Ee(d)){d=vb(a);$j(a,J[e+16>>2],d,1);f=d;e=K[e|0]+1&2|1;break za}f=Ec(a,d,r+72|0);bh(t,j);d=J[r+72>>2];e=K[e|0]-54|0}Pa(m,K[e+(r+172|0)|0],x,h,f);mb(a,d);break ya}Na(m,y?32:36,x,d)}p=0;Aa:{if(!c){d=187;i=0;break Aa}d=J[c>>2];i=J[a+44>>2]+1|0;J[a+44>>2]=i;$j(a,J[d+16>>2],i,1);Ba:{Ca:{if(!Ee(J[d+16>>2])){Da:{switch(K[d|0]-54|0){case 0:case 2:break Da;default:break Ca}}d=y?55:57;break Ba}d=y?56:54;break Aa}d=y?56:54}bh(t,c)}J[o+828>>2]=J[m+108>>2];J[o+824>>2]=x;H[o+821|0]=y^39;if((d|0)==187){break qa}c=J[a+44>>2]+1|0;J[a+44>>2]=c;Na(m,135,x,c);Pa(m,d,i,h,c);c=J[m+108>>2];if((c|0)<=0){break qa}I[(J[m+104>>2]+P(c,20)|0)-18>>1]=83;break qa}if(i&512){j=L[s+26>>1];f=0;h=0;n=0;d=L[s+24>>1];p=d;if(i&32){p=d+1|0;n=J[J[s+52>>2]+(d<<2)>>2];h=j}c=L[s+28>>1];F=J[o+768>>2];B=J[s+32>>2];Ea:{if(!(i&16)){e=0;break Ea}e=J[J[s+52>>2]+(p<<2)>>2];if(H[e+11|0]&1){f=J[a+44>>2]+1|0;J[a+44>>2]=f;J[o+804>>2]=f;Na(m,71,1,f);J[o+808>>2]=J[m+108>>2];f=J[o+804>>2]<<1;J[o+804>>2]=f;J[o+804>>2]=f|y^K[d+J[B+28>>2]|0]==1}h=c>>>0<h>>>0?h:c;f=0;if(n){break Ea}i=L[J[B+4>>2]+(d<<1)>>1];p=i<<16>>16;Fa:{if((p|0)>=0){if(!(K[(J[J[B+12>>2]+4>>2]+P(i,12)|0)+4|0]&15)){break Fa}break Ea}if((p|0)!=-2){break Ea}}f=1}z=0;i=0;if((J[s+40>>2]&524336)==524288){i=J[a+44>>2]+1|0;J[a+44>>2]=i;J[o+796>>2]=i;if(J[t>>2]){Na(m,71,0,i)}f=J[a+56>>2]-1|0;J[a+56>>2]=f;J[o+800>>2]=f;h=1;f=1}if((!K[d+J[B+28>>2]|0]|0)==(!(q&1)|0)|d>>>0>=L[B+52>>1]){break wa}p=j&255;q=0;z=f;f=n;break va}if(i&8192){B=J[a+40>>2];J[a+40>>2]=B+1;y=J[a+44>>2]+1|0;J[a+44>>2]=y;G=J[a+56>>2]-1|0;J[a+56>>2]=G;h=J[C+24>>2];F=J[J[s+52>>2]>>2];s=J[F+24>>2];J[o+824>>2]=y;H[o+821|0]=67;c=K[l+44|0];Ga:{if(c>>>0>=2){d=c-u|0;f=Ib(E,d<<6|8,0);if(!f){break pa}d=d&255;J[f>>2]=d;J[f+4>>2]=d;Qa(f+8|0,e,64);d=1;c=c+X|0;c=(c|0)<=1?1:c;e=J[l+4>>2]+8|0;while(1){if((c|0)==(d|0)){break Ga}Qa(((d<<6)+f|0)+8|0,e+(K[(t+P(d,96)|0)+60|0]<<6)|0,64);d=d+1|0;continue}}f=J[l+4>>2]}n=0;w=0;z=0;if(!(K[l+40|0]&16)){Ha:{if(!(K[h+28|0]&128)){w=J[a+44>>2]+1|0;J[a+44>>2]=w;Na(m,75,0,w);break Ha}c=ec(h);w=J[a+40>>2];J[a+40>>2]=w+1;Na(m,118,w,L[c+50>>1]);zd(a,c)}z=J[a+44>>2]+1|0;J[a+44>>2]=z}S=Na(m,71,0,y);d=0;k=J[l+92>>2];Ia:{if((k|0)<2){break Ia}while(1){if((d|0)<(k|0)){c=J[l+104>>2]+P(d,48)|0;Ja:{if((c|0)==(F|0)|L[c+10>>1]&32774|!(L[c+12>>1]&16383)){break Ja}c=J[c>>2];if(K[c+6|0]&64){break Ja}n=Od(a,n,eb(E,c,0));k=J[l+92>>2]}d=d+1|0;continue}break}if(!n){n=0;break Ia}n=db(a,65580,0,n)}q=0;cc(a,1,19527,0);R=0;c=0;while(1){if(J[s+12>>2]>(c|0)){d=J[s+24>>2]+P(c,48)|0;if(!(J[d+20>>2]!=(x|0)&!(K[d+13|0]&4))){e=eb(E,J[d>>2],0);Ka:{if(K[E+87|0]){break Ka}d=e;if(n){J[n+12>>2]=d;d=n}J[r+16>>2]=c+1;cc(a,1,17484,r+16|0);p=Ye(a,f,d,0,0,0,32,B);if(!p){break Ka}d=0;$z(a,f,p+760|0,0);La:{if(K[l+40|0]&16){break La}k=(J[s+12>>2]-1|0)==(c|0)?-1:c;if(!(K[h+28|0]&128)){Na(m,135,x,z);d=bb(m,47,w,0,z,k);break La}O=ec(h);j=L[O+50>>1];i=ic(a,j);while(1){if((d|0)!=(j|0)){td(m,h,x,I[J[O+4>>2]+(d<<1)>>1],d+i|0);d=d+1|0;continue}break}Ma:{Na:{if(!k){d=0;break Na}d=bb(m,29,w,0,i,j);if((k|0)<0){break Ma}}Pa(m,97,i,j,z);bb(m,138,w,z,i,j);if(!k){break Ma}k=J[m+108>>2];if((k|0)<=0){break Ma}I[(J[m+104>>2]+P(k,20)|0)-18>>1]=16}Oc(a,i,j)}Na(m,10,y,G);if(d){J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(d,20)|0)+8>>2]=J[m+108>>2]}d=K[p+48|0];j=J[p+840>>2];k=0;Oa:{if(!(K[j+41|0]&2)|(J[j+32>>2]!=(q|0)?c:0)){break Oa}k=J[j+32>>2];if(!(K[h+28|0]&128)){break Oa}k=((K[k+55|0]|K[k+56|0]<<8)&3)!=2?k:0}if(d&1){H[l+48|0]=K[l+48|0]|1}R=d&2?1:R;qd(p);hh(a);q=k}_a(E,e)}c=c+1|0;continue}break}hh(a);J[o+832>>2]=q;if(q){J[o+768>>2]=B}if(n){J[n+12>>2]=0;ce(E,n)}d=J[m+108>>2];J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(S,20)|0)+4>>2]=d;Lb(m,J[o+772>>2]);cb(m,G);J[o+828>>2]=J[m+108>>2];if(K[l+44|0]>=2){Za(E,f)}p=0;if(R){break qa}bh(t,F);break qa}if(c&64){H[o+821|0]=187;break xa}J[o+824>>2]=x;H[o+821|0]=K[y+50140|0];c=Na(m,K[y+50142|0],x,d);H[o+823|0]=1;J[o+828>>2]=c+1}p=0;break qa}q=f;f=e;e=n;p=c;c=j}if(!(!(u|v)|!(K[s+42|0]&16))){Va(m,136,F)}R=0;G=Zz(a,t,y,h,r+72|0);n=J[r+72>>2];if(!(!n|!p)){R=Ob(E,d+n|0)}S=J[(i?o+800|0:k)>>2];O=1;k=1;k=e?(K[e+12|0]&40)!=0:k;O=f?(K[f+12|0]&40)!=0:O;Pa:{if(e){h=J[J[e>>2]+16>>2];j=d+G|0;$j(a,h,j,c);Yz(m,t,e);Qa:{if(K[e+10|0]&128){break Qa}if(!Xe(h)){break Qa}Na(m,50,j,S)}if(n){Xz(h,c,d+n|0)}c=c+d|0;w=1;q=0;if(Ee(h)){k=1;break Pa}bh(t,e);n=J[r+72>>2];break Pa}if(q){k=0;Na(m,75,0,d+G|0);q=1;c=d+1|0;w=1;break Pa}if(!i){w=(d|0)!=0;q=0;c=d;break Pa}q=0;Na(m,75,0,d+G|0);w=1;c=d+1|0}Wq(a,G,c-q|0,n);h=L[s+46>>1];Ra:{if(!(!h|(c|0)!=(h|0))){h=0;break Ra}if(i){Na(m,71,1,i)}h=J[o+812>>2];if(h){bb(m,64,h,S,G,d);_z(a,l,u,S,A,D)}h=0;j=y|((w?4:0)|(k?2:0));w=K[j+50128|0];Sa:{if(!(J[s+40>>2]&1048576)|(j|0)!=6){break Sa}j=Va(m,124,(I[J[B+8>>2]>>1]+9|0)/10|0);if(!(e|f)){h=j;break Sa}e=J[m+108>>2];if((e|0)>0){I[(J[m+104>>2]+P(e,20)|0)-18>>1]=1}J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(j,20)|0)+8>>2]=e+1}bb(m,w,F,S,G,c);if(!i){break Ra}Na(m,9,0,J[m+108>>2]+2|0);bb(m,K[(y|(c>>>0<2?2:6))+50128|0],F,S,G,c-k|0)}Ta:{if(f){c=J[J[f>>2]+16>>2];e=d+G|0;$j(a,c,e,p);Yz(m,t,f);Ua:{if(K[f+10|0]&128){break Ua}if(!Xe(c)){break Ua}Na(m,50,e,S)}if(R){Xz(c,p,R);Wq(a,e,p,R)}k=d+p|0;if(Ee(c)){O=1;break Ta}bh(t,f);n=J[r+72>>2];break Ta}if(!z){k=d;break Ta}if(!i){Na(m,75,0,d+G|0);O=0}k=d+1|0}if(n){Sb(E,n)}if(R){Sb(E,R)}c=J[m+108>>2];J[o+828>>2]=c;Va:{if(!k){break Va}if(i){Na(m,17,i,c+3|0)}bb(m,K[(y<<1|O)+50136|0],F,S,G,k);if(!h){break Va}J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(h,20)|0)+8>>2]=J[m+108>>2]}if(i){Na(m,16,i,J[m+108>>2]+2|0);bb(m,K[(y<<1|q)+50136|0],F,S,G,k+q|0)}c=J[s+40>>2];if(c&262144){Pa(m,125,F,d,d);c=J[s+40>>2]}Wa:{if(!(!(c&64)|L[l+40>>1]&4128)){i=1;break Wa}c=J[B+12>>2];Xa:{if(!(K[c+28|0]&128)){c=J[l>>2];f=J[c+8>>2];H[l+48|0]=K[l+48|0]|1;i=0;Pa(f,141,F,0,x);if(!(L[l+40>>1]&4128)){break Wa}d=J[c+128>>2];if(J[(d?d:c)+88>>2]){break Wa}d=J[c>>2];h=J[B+12>>2];c=I[h+34>>1];c=(c<<2)+4|0;c=ib(d,c&-4,0);if(!c){break Wa}J[c>>2]=I[h+34>>1];e=c+4|0;d=L[B+52>>1];j=(d>>>0<=1?1:d)-1|0;d=0;while(1){if((d|0)!=(j|0)){n=I[J[B+4>>2]+(d<<1)>>1];k=wc(h,n);if((n|0)<0){d=d+1|0}else{d=d+1|0;J[e+(k<<2)>>2]=d}continue}break}Sd(f,-1,c,-14);break Xa}i=0;if((x|0)==(F|0)){break Wa}d=0;c=ec(c);e=ic(a,L[c+50>>1]);while(1){f=L[c+50>>1];if(f>>>0>d>>>0){Pa(m,94,F,Le(B,I[J[c+4>>2]+(d<<1)>>1]),d+e|0);d=d+1|0;continue}break}bb(m,28,x,T,e,f)}}Ya:{if(J[t>>2]){break Ya}c=J[B+36>>2];if(!c){break Ya}Wz(c,x,N)}c=J[s+40>>2];Za:{if(c&4096){H[o+821|0]=187;break Za}if(y){H[o+821|0]=38;break Za}H[o+821|0]=39}H[o+822|0]=c>>>16&1;J[o+824>>2]=F;if(!(c&15)){H[o+823|0]=1}p=i?0:B}q=p?1:2;while(1){c=J[l+92>>2];d=J[l+104>>2];f=0;while(1){if((c|0)>0){i=L[d+10>>1];_a:{if(i&6){break _a}e=J[o+848>>2];j=J[o+852>>2];if(e&J[d+40>>2]|j&J[d+44>>2]){H[l+48|0]=K[l+48|0]|2;break _a}h=J[d>>2];n=K[C+44|0];if(n&88){k=J[h+4>>2];if(!(k&3)|(k&1?0:n&8)){break _a}if(De(V,J[h+36>>2])&e|j&Ia){break _a}}$a:{ab:{if((q|0)==1){if(!Vz(h,J[o+764>>2],p)){f=2;break _a}i=L[d+10>>1];break ab}if(q>>>0>2){break $a}}if(!(i&4096)){break $a}f=f?f:3;break _a}k=0;bb:{if(!(i&512)){break bb}e=J[o+804>>2];if(!e){break bb}k=Va(m,e&1|16,e>>>1|0)}rc(a,h,T,16);if(k){J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(k,20)|0)+8>>2]=J[m+108>>2]}I[d+10>>1]=L[d+10>>1]|4}d=d+48|0;c=c-1|0;continue}break}q=f;if((f|0)>0){continue}break}c=J[l+100>>2];d=J[l+104>>2];while(1){if((c|0)>0){cb:{if(K[d+10|0]&6){break cb}e=L[d+12>>1];if(K[C+44|0]&88|(!(e&130)|!(e&2048)|J[d+20>>2]!=(x|0))){break cb}h=J[d>>2];e=_q(N,x,J[d+24>>2],A,D,131,0);if(!e|K[e+10|0]&4){break cb}f=J[e>>2];if(!(!(H[e+12|0]&1)|!(K[f+5|0]&16))&J[J[J[f+20>>2]+28>>2]>>2]>1){break cb}j=r+72|0;Qa(j,f,52);J[r+84>>2]=J[h+12>>2];rc(a,j,T,16);I[e+10>>1]=L[e+10>>1]|4}d=d+48|0;c=c-1|0;continue}break}e=J[o+816>>2];if(e){db:{f=J[(J[l+4>>2]+(K[o+820|0]<<6)|0)+24>>2];if(!(K[f+28|0]&128)){c=1;n=ic(a,2);i=n+1|0;Na(m,135,J[o+764>>2],i);break db}h=ec(f);c=L[h+50>>1];n=ic(a,c+1|0);i=n+1|0;d=0;while(1){if((c|0)==(d|0)){break db}td(m,f,x,I[J[h+4>>2]+(d<<1)>>1],d+i|0);d=d+1|0;continue}}f=bb(m,29,J[e>>2],0,i,c);Pa(m,97,i,c,n);bb(m,138,J[e>>2],n,i,c);bb(m,183,J[e+4>>2],0,i,c);d=J[m+108>>2];if((d|0)>0){I[(J[m+104>>2]+P(d,20)|0)-18>>1]=16}J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(f,20)|0)+8>>2]=d;Oc(a,n,c+1|0)}eb:{c=J[t>>2];fb:{gb:{if(c){J[o+788>>2]=J[m+108>>2];Na(m,71,1,c);d=J[o+816>>2];if(d){break gb}break fb}d=J[o+816>>2];if(!d){break eb}}Na(m,74,0,J[d+8>>2]);J[d+12>>2]=J[m+108>>2];H[a+26|0]=K[a+26|0]+1}d=J[l+104>>2];c=0;while(1){if(J[l+100>>2]<=(c|0)){break eb}if(!(K[C+44|0]&64|(K[d+10|0]&6|(J[o+848>>2]&J[d+40>>2]|J[o+852>>2]&J[d+44>>2])!=0))){rc(a,J[d>>2],T,16);I[d+10>>1]=L[d+10>>1]|4}d=d+48|0;c=c+1|0;continue}}A=J[o+848>>2];D=J[o+852>>2]}J[l+28>>2]=J[o+784>>2];X=X-1|0;u=u+1|0;v=u?v:v+1|0;continue}}if(!l){break b}}I[a+156>>1]=J[l+36>>2];Uz(M,l)}l=0}Fa=r+176|0;return l}function Di(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0,Q=0,R=0;g=Fa-496|0;Fa=g;h=J[a>>2];f=rb(a);a:{if(!f){break a}Na(f,166,1,1);J[a+44>>2]=2;i=Ef(a,b,c,g+492|0);if((i|0)<0){break a}m=J[h+16>>2];if((i|0)==1){if(Pz(a)){break a}}w=oc(h,J[g+492>>2]);if(!w){break a}b:{if(e){J[g+432>>2]=d;j=hb(h,18994,g+432|0);break b}j=oc(h,d)}e=J[c+4>>2]?J[m+(i<<4)>>2]:0;c:{if(Tb(a,19,w,j,e)){break c}J[g+476>>2]=0;J[g+472>>2]=j;J[g+468>>2]=w;J[g+464>>2]=0;J[h+456>>2]=0;b=1;d:{e:{if(!e){d=0;break e}d=xg(h,e);k=0;if((d|0)<0){break d}}k=J[(J[h+16>>2]+(d<<4)|0)+4>>2]}if(k){b=g+464|0;d=J[k+4>>2];J[d+4>>2]=J[k>>2];k=J[h+456>>2];d=J[J[d>>2]+64>>2];l=J[d>>2];if(l){b=Ja[J[l+40>>2]](d,14,b)|0}else{b=12}J[h+456>>2]=k}if((b|0)!=12){if(!b){Tm(f,1);wf(f,0,0,J[g+464>>2],-1);Sm(f,J[g+464>>2]);Oa(J[g+464>>2]);break c}c=J[g+464>>2];if(c){J[g>>2]=c;Ra(a,8863,g);Oa(J[g+464>>2])}J[a+12>>2]=b;J[a+36>>2]=J[a+36>>2]+1;break c}l=Xv(w);if(!l){break c}k=K[l+5|0];if(k&1){if(ve(a)){break c}k=K[l+5|0]}if(!(k&2|(j?k&4:0))){aB(f,l)}q=-1;k=0;f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{switch(K[l+4|0]-1|0){case 12:fe(f,i);if(!j){J[a+44>>2]=J[a+44>>2]+2;a=Xf(f,9,50320);J[a+4>>2]=i;J[a+124>>2]=-2e3;J[a+24>>2]=i;break c}b=Me(j);fd(a,0,i);a=(b|0)<0?(b|0)==-2147483648?2147483647:0-b|0:b;Pa(f,100,i,3,a);b=m+(i<<4)|0;J[J[b+12>>2]+80>>2]=a;Xi(J[b+4>>2],a);break c;case 30:a=J[(m+(i<<4)|0)+4>>2];if(!j){if(a){a=J[J[a+4>>2]+36>>2];b=a>>31}else{a=0;b=0}pd(f,a,b);break c}b=Me(j);J[h+100>>2]=b;if(($g(a,b,0,0)|0)!=7){break c}Db(h);break c;case 32:a=J[(m+(i<<4)|0)+4>>2];H:{if(!j){break H}if(!Xa(j,2508)){q=2;break H}q=_i(j,0)}I:{if(J[c+4>>2]){break I}c=0;if((q|0)<0){break I}while(1){if(J[h+20>>2]<=(c|0)){break I}Rm(J[(J[h+16>>2]+(c<<4)|0)+4>>2],q);c=c+1|0;continue}}pd(f,Rm(a,q),0);break c;case 26:J[g+448>>2]=0;J[g+452>>2]=0;gd(a,i);c=J[a+44>>2]+1|0;J[a+44>>2]=c;J:{if((K[w|0]&223)==80){Na(f,178,i,c);break J}b=0;K:{if(!j){break K}if(Qf(j,g+448|0)){break K}a=J[g+448>>2];d=J[g+452>>2];if((d|0)<0){break K}b=!d&a>>>0>=4294967294|d?-2:a}Pa(f,179,i,c,b)}Na(f,84,c,1);break c;case 25:L:{M:{N:{O:{if(!j){break O}if(Xa(j,12950)){if(Xa(j,11810)){break O}a=0}else{a=1}if(J[c+4>>2]){break M}c=2;while(1){if(J[h+20>>2]<=(c|0)){break N}vr(J[J[J[(J[h+16>>2]+(c<<4)|0)+4>>2]+4>>2]>>2],a);c=c+1|0;continue}}a=-1;if(J[c+4>>2]){break M}a=K[h+89|0];break L}H[h+89|0]=a}a=vr(J[J[J[(m+(i<<4)|0)+4>>2]+4>>2]>>2],a)}Sm(f,(a|0)==1?12950:11810);break c;case 22:P:{Q:{if(!j){break Q}a=0;b=Ya(j);while(1){if((a|0)==6){break Q}if(tb(j,J[(a<<2)+34384>>2],b)){a=a+1|0;continue}break}if((a|0)!=2){break P}if(K[h+35|0]&16){break Q}a=2;break P}a=-1;if(J[c+4>>2]){break P}J[c+4>>2]=1;i=0}b=J[h+20>>2];while(1){if((b|0)>0){b=b-1|0;if(!J[(J[h+16>>2]+(b<<4)|0)+4>>2]|(J[c+4>>2]?(b|0)!=(i|0):0)){continue}fe(f,b);Pa(f,4,b,1,a);continue}break};Na(f,84,1,1);break c;case 23:b=J[J[J[(m+(i<<4)|0)+4>>2]+4>>2]>>2];J[g+448>>2]=-2;J[g+452>>2]=-1;if(!j){break F}Qf(j,g+448|0);c=J[g+452>>2];d=(c|0)<0;a=d?-1:J[g+448>>2];J[b+176>>2]=a;c=d?-1:c;J[b+180>>2]=c;b=J[b+232>>2];if(!b){break f}J[b+16>>2]=a;J[b+20>>2]=c;break f;case 2:b=J[(m+(i<<4)|0)+4>>2];if(!j){pd(f,Zn(b),0);break c}a=0;R:{if(!Xa(j,13816)){break R}a=1;if(!Xa(j,11650)){break R}a=2;if(!Xa(j,11775)){break R}a=Me(j);a=a>>>0<3?a&255:0}H[h+90|0]=a;if(Yn(b,a)){break c}b=a-1|0;if(b>>>0>1){break c}c=J[f+108>>2];a=Xf(f,5,50368);J[a+4>>2]=i;J[a+92>>2]=b;J[a+84>>2]=i;J[a+48>>2]=c+4;J[a+24>>2]=i;fe(f,i);break c;case 18:J[g+448>>2]=0;S:{T:{if(!j){break T}if(!Zf(j,g+448|0)){break T}c=J[g+448>>2];if((c|0)>0){break S}}c=2147483647}fd(a,0,i);Na(f,71,c,1);a=Va(f,62,i);Va(f,84,1);Na(f,86,1,-1);Na(f,59,1,a);b=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(a,20)|0)+8>>2]=b;break c;case 5:if(!j){a=J[J[(m+(i<<4)|0)+12>>2]+80>>2];pd(f,a,a>>31);break c}a=Me(j);b=m+(i<<4)|0;J[J[b+12>>2]+80>>2]=a;Xi(J[b+4>>2],a);break c;case 6:if(!j){if(K[h+32|0]&32){a=Nk(J[(m+(i<<4)|0)+4>>2],0);b=a>>31}else{a=0;b=0}pd(f,a,b);break c}J[g+448>>2]=1;b=Zf(j,g+448|0);a=J[g+448>>2];if(b){Nk(J[(m+(i<<4)|0)+4>>2],a)}a=_i(j,(a|0)!=0);c=J[h+36>>2];a=(a|0)!=0;b=a>>>27|0;J[h+32>>2]=J[h+32>>2]&-33|a<<5;J[h+36>>2]=b|c;ur(h);break c;case 27:pd(f,0,0);break c;case 38:if(!j){pd(f,K[h+86|0],0);break c}c=K[j|0]-48&255;U:{if(c>>>0<=2){break U}if(!Xa(j,14098)){c=1;break U}c=!Xa(j,1195)<<1}b=J[a>>2];if(K[b+86|0]==(c|0)){break c}if($A(a)){break c}H[b+86|0]=c;break c;case 39:if(!j){Sm(f,J[18237]);break c}V:{if(!K[j|0]){break V}b=J[h>>2];if(!(O=Ja[J[b+32>>2]](b,j,1,g+448|0)|0,Q=1,R=J[g+448>>2],R?O:Q)){break V}Ra(a,1097,0);break c}if(K[h+86|0]<=1){$A(a)}Oa(J[18237]);if(K[j|0]){J[g+16>>2]=j;J[18237]=ub(8863,g+16|0);break c}J[18237]=0;break c;case 35:if(!j){a=K[(m+(i<<4)|0)+8|0];pd(f,a-1|0,0-!a|0);break c}if(!K[h+85|0]){Ra(a,10663,0);break c}if((i|0)==1){break c}a=tv(j,0,1);b=m+(i<<4)|0;H[b+9|0]=1;a=a+1&7;H[b+8|0]=a>>>0<=1?1:a;ur(h);break c;case 3:if(!j){aB(f,l);pd(f,(J[l+8>>2]&J[h+32>>2]|J[l+12>>2]&J[h+36>>2])!=0,0);break c}a=J[l+8>>2];b=K[h+85|0];a=b?a:a&-16385;c=J[l+12>>2];c=b?c:c;W:{if(_i(j,0)){d=J[h+36>>2];b=J[h+32>>2];if(a&1&(b&268435456)!=0){break W}J[h+32>>2]=a|b;J[h+36>>2]=c|d;break W}b=J[h+36>>2]&(c^-1);J[h+32>>2]=J[h+32>>2]&(a^-1);J[h+36>>2]=b;if(!c&(a|0)==524288){J[h+520>>2]=0;J[h+524>>2]=0;break W}if(!(a&1)){break W}if(Xa(j,3298)){break W}sf(h)}Hb(f,166);ur(h);break c;case 37:break g;case 19:break h;case 20:break i;case 11:break j;case 8:break k;case 16:break l;case 28:break m;case 31:break n;case 15:break o;case 14:break p;case 7:break q;case 21:break r;case 13:break s;case 1:break u;case 9:break v;case 42:break w;case 41:break x;case 33:break y;case 29:break z;case 34:break B;case 17:break C;case 40:break D;case 0:break E;case 36:break G;default:break A}}if(!j){break c}Ei(a,e);e=hf(a,2,j,e);if(!e){break c}k=ec(e);J[a+44>>2]=7;Ze(a,e);i=J[e+4>>2];b=0;while(1){o=I[e+34>>1];if((o|0)<=(b|0)){break c}c=L[i+10>>1];X:{Y:{if(!(c&98)){m=0;d=0;break Y}if(!(J[l+8>>2]|J[l+12>>2])){p=p+1|0;break X}if(c&32){m=1;d=2;break Y}m=(c&64)>>>6|0;d=m?3:1}a=c&1;Z:{if(!a|!k){break Z}c=1;a=((o|0)>0?o:0)+1|0;while(1){if((a|0)==(c|0)){break Z}if(I[(J[k+4>>2]+(c<<1)|0)-2>>1]==(b|0)){a=c}else{c=c+1|0;continue}break}}c=Hc(e,i);o=J[l+8>>2]|J[l+12>>2]?12135:12104;s=J[i>>2];n=ll(i,30620);q=0;r=(K[i+4|0]&15)!=0;q=!c|m?q:J[c+8>>2];J[g+56>>2]=d;J[g+52>>2]=a;J[g+48>>2]=q;J[g+44>>2]=r;J[g+40>>2]=n;J[g+36>>2]=s;J[g+32>>2]=b-p;oe(f,1,o,g+32|0)}i=i+12|0;b=b+1|0;continue}}a=J[b+176>>2];c=J[b+180>>2];break f}_:{if(!j){break _}if(Qf(j,g+448|0)){break _}a=J[g+448>>2];if(J[g+452>>2]<0){break _}J[h+496>>2]=a&2147483647}a=J[h+496>>2];pd(f,a,a>>31);break c}$:{if(!j){break $}if(Qf(j,g+448|0)){break $}a=J[g+448>>2];if(J[g+452>>2]<0){break $}b=J[8199];a=a&2147483647;J[h+164>>2]=(a|0)>(b|0)?b:a|11?a:1}a=J[h+164>>2];pd(f,a,a>>31);break c}aa:{if(!j){break aa}if(Qf(j,g+448|0)){break aa}b=ip(-1,-1);a=J[g+448>>2];d=J[g+452>>2];c=Ia;if(!a&(d|0)<=0|(d|0)<0|!!(c|b)&((c|0)<=(d|0)&a>>>0>=b>>>0|(c|0)<(d|0))){break aa}ip(a,d)}pd(f,ip(-1,-1),Ia);break c}ba:{if(!j){break ba}if(Qf(j,g+448|0)){break ba}hw(J[g+448>>2],J[g+452>>2])}pd(f,hw(-1,-1),Ia);break c}ca:{if(!j){c=J[h+500>>2];break ca}a=Me(j);J[h+456>>2]=0;b=a;a=(a|0)>0;c=a?b:0;J[h+500>>2]=c;J[h+452>>2]=a?h:0;J[h+448>>2]=a?42:0}pd(f,c,c>>31);break c}da:{if(!j){c=65534;break da}c=Me(j);if(!(c&2)){break c}}k=J[a+40>>2];J[a+40>>2]=k+1;d=i;d=e?d:J[h+20>>2]-1|0;p=c&1;o=p|2;while(1){if((d|0)>=(i|0)){ea:{if((i|0)==1){break ea}gd(a,i);s=i<<4;e=J[(s+J[h+16>>2]|0)+12>>2]+16|0;while(1){e=J[e>>2];if(!e){break ea}c=J[e+8>>2];if(!(H[c+29|0]&1)){continue}b=c+8|0;m=L[c+38>>1]+46|0;fa:{while(1){l=J[b>>2];if(l){b=l+20|0;if(K[l+55|0]&128){continue}break fa}break}if(!(m&65535)){break fa}Cd(a,k,i,c,112);Pa(f,33,k,o+J[f+108>>2]|0,m<<16>>16)}b=J[s+J[h+16>>2]>>2];J[g+420>>2]=J[c>>2];J[g+416>>2]=b;b=hb(h,29201,g+416|0);if(p){c=vb(a);$a(f,117,0,c,0,b,-6);Na(f,84,c,1)}else{$a(f,148,0,0,0,b,-6)}continue}}i=i+1|0;continue}break}Hb(f,166);break c}a=0;ue(h);while(1){if(J[h+20>>2]>(a|0)){b=J[(J[h+16>>2]+(a<<4)|0)+4>>2];if(b){Ja[J[16481]](J[J[J[J[b+4>>2]>>2]+228>>2]+52>>2])}a=a+1|0;continue}break}break c}ga:{ha:{if(!j){c=0;a=0;if(J[h+268>>2]!=18){break ga}c=J[h+272>>2];break ha}c=Me(j);a=(c|0)>0;J[h+272>>2]=a?c:0;J[h+268>>2]=a?18:0;if(a){break ha}c=0;a=0;break ga}a=c>>31}pd(f,c,a);break c}c=J[c>>2]?i:12;b=0;ia:{if(!j){break ia}b=1;if(!Xa(j,11650)){break ia}b=2;if(!Xa(j,2596)){break ia}b=Xa(j,13188)?0:3}J[a+44>>2]=3;Pa(f,3,c,b,1);Na(f,84,1,3);break c}J[a+44>>2]=1;c=0;while(1){if((c|0)==42){break t}a=J[(c<<2)+56640>>2];if(!a){break t}Ic(f,1,a);Na(f,84,1,1);c=c+1|0;continue}}b=J[l+8>>2];fe(f,i);if(!(!j|K[l+5|0]&8)){a=Xf(f,2,50504);J[a+4>>2]=i;J[a+28>>2]=b;J[a+24>>2]=i;c=Me(j);I[a+22>>1]=1;J[a+32>>2]=c;if(!(K[h+35|0]&16)|(b|0)!=1){break c}H[a+20|0]=187;break c}a=Xf(f,3,50512);J[a+4>>2]=i;J[a+32>>2]=b;J[a+24>>2]=i}a=J[f+108>>2];b=(a|0)<=1?1:a;a=1;ja:{while(1){if((a|0)==(b|0)){break ja}c=P(a,20);a=a+1|0;d=c;c=J[f+104>>2];if(K[d+c|0]!=166){continue}break}H[c+20|0]=187}break c}if(!j){if(ve(a)){break c}Sm(f,J[(K[J[a>>2]+84|0]<<3)+50432>>2]);break c}if(K[h+24|0]&64){break c}c=50432;ka:{while(1){b=J[c>>2];if(!b){break ka}if(Xa(j,b)){c=c+8|0;continue}break}a=K[c+4|0];a=a?a:2;H[J[J[h+16>>2]+12>>2]+77|0]=a;Yo(h,a);break c}J[g+400>>2]=j;Ra(a,7991,g+400|0);break c}b=K[w|0];E=J[c>>2];J[a+44>>2]=6;z=100;J[g+448>>2]=100;D=E?i:-1;c=b&223;la:{if(!j){break la}if(Zf(j,g+448|0)){b=J[g+448>>2];z=(b|0)<=0?100:b;J[g+448>>2]=z;break la}u=hf(a,0,j,(D|0)>=0?J[J[h+16>>2]+(D<<4)>>2]:0);z=J[g+448>>2]}A=(c|0)==81;Na(f,71,z-1|0,1);M=h+388|0;N=(u|0)!=0;while(1){ma:{na:{if(J[h+20>>2]<=(x|0)){break na}if((x|0)!=(D|0)?E:0){break ma}gd(a,x);b=0;H[a+23|0]=0;k=x<<4;p=J[(k+J[h+16>>2]|0)+12>>2]+16|0;c=p;i=0;while(1){c=J[c>>2];if(c){e=J[c+8>>2];if((e|0)!=(u|0)?u:0){continue}d=e+8|0;b=((J[e+28>>2]^-1)>>>7&1)+b|0;e=0;while(1){d=J[d>>2];if(d){e=e+1|0;d=d+20|0;b=b+1|0;continue}break}i=(e|0)>(i|0)?e:i;continue}break}if(!b){break ma}d=Ib(h,(b+N<<2)+4|0,0);if(!d){break na}if(u){J[d+4>>2]=0;e=1}else{e=0}c=p;oa:while(1){c=J[c>>2];if(c){b=J[c+8>>2];if((b|0)!=(u|0)?u:0){continue}if(!(K[b+28|0]&128)){e=e+1|0;J[d+(e<<2)>>2]=J[b+20>>2]}b=b+8|0;while(1){b=J[b>>2];if(!b){continue oa}e=e+1|0;J[d+(e<<2)>>2]=J[b+44>>2];b=b+20|0;continue}}break}J[d>>2]=e;b=i+8|0;if((b|0)>J[a+44>>2]){J[a+44>>2]=b}J[a+28>>2]=0;H[a+19|0]=0;$a(f,155,2,e,1,d,-14);b=J[f+108>>2];if((b|0)>0){I[(J[f+104>>2]+P(b,20)|0)-18>>1]=x&255}b=Va(f,50,2);J[g+384>>2]=J[k+J[h+16>>2]>>2];$a(f,117,0,3,0,hb(h,30597,g+384|0),-6);Pa(f,111,2,3,3);eh(f);c=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(b,20)|0)+8>>2]=c;pa:while(1){p=J[p>>2];if(!p){break ma}n=J[p+8>>2];if((n|0)!=(u|0)?u:0){continue}qa:{switch(K[n+43|0]){case 1:if(I[n+34>>1]<=0){if(!Cc(M,J[J[n+48>>2]>>2])){continue}}Ze(a,n);b=J[n+52>>2];if(!b){continue}b=J[b+8>>2];if(!b){continue}b=J[b>>2];if(!b|J[b>>2]<4|!J[b+96>>2]){continue}Pa(f,174,x,3,A);J[n+24>>2]=J[n+24>>2]+1;sc(f,n,-16);b=Va(f,50,3);eh(f);J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(b,20)|0)+8>>2]=J[f+108>>2];continue;case 0:break qa;default:continue}}c=0;m=0;y=0;if(!(!(K[n+28|0]&128)|A)){m=ec(n);y=ic(a,L[m+50>>1]);Pa(f,75,1,y,(L[m+50>>1]+y|0)-1|0)}nk(a,n,112,0,1,0,g+444|0,g+440|0);Na(f,71,0,7);i=n+8|0;b=i;while(1){b=J[b>>2];if(b){Na(f,71,0,c+8|0);c=c+1|0;b=b+20|0;continue}break}l=J[g+444>>2];Na(f,36,l,0);B=Na(f,86,7,1);ra:{if(!(K[n+28|0]&128)){c=0;b=I[n+34>>1];d=(b|0)>0?b:0;b=-1;while(1){if((c|0)!=(d|0)){b=!(K[(J[n+4>>2]+P(c,12)|0)+10|0]&32)+b|0;c=c+1|0;continue}break}b=b-(I[n+32>>1]==(b|0))|0;break ra}b=L[ec(n)+52>>1]-1|0}if((b|0)>=0){Pa(f,94,l,b,3);tr(f,3)}sa:{if(!m|A){break sa}c=bb(f,41,l,0,y,L[m+50>>1]);Va(f,50,y);J[g+368>>2]=J[n>>2];$a(f,117,0,3,0,hb(h,6520,g+368|0),-6);eh(f);b=J[f+108>>2];ta:{if(K[J[f>>2]+87|0]){J[18300]=b;c=73192;break ta}c=J[f+104>>2]+P(c,20)|0;J[c+8>>2]=b;c=c+20|0}J[c+8>>2]=b;c=0;while(1){if(L[m+50>>1]<=c>>>0){break sa}sr(a,m,l,c,c+y|0);c=c+1|0;continue}}F=J[n+28>>2]&65536;c=0;while(1){ua:{va:{wa:{xa:{if(I[n+34>>1]>(c|0)){if(I[n+32>>1]==(c|0)){break ua}C=P(c,12);r=C+J[n+4>>2]|0;ya:{if(F){d=K[r+4|0];q=d>>>0>31;b=q;break ya}d=K[r+4|0];q=0;b=H[r+5|0]>65}s=b;if(!(b|d&15)){break ua}if(K[r+10|0]&32){k=3;td(f,n,l,c,3);o=5;e=-1;break va}if(!L[r+8>>1]){break xa}J[g+436>>2]=0;dj(h,Hc(n,r),K[h+84|0],K[r+5|0],g+436|0);b=J[g+436>>2];if(!b){break xa}d=L[b+16>>1];Pc(b);o=K[(d&63)+31120|0];break wa}b=J[n+16>>2];if(!(!b|K[h+33|0]&2)){b=kc(h,b,0);if(!K[h+87|0]){J[a+52>>2]=l+1;c=J[a+56>>2];d=c-2|0;J[a+56>>2]=d;e=c-1|0;c=J[b>>2];while(1){if((c|0)>=2){c=c-1|0;rc(a,J[(b+(c<<4)|0)+8>>2],e,0);continue}break}Fe(a,J[b+8>>2],d,16);cb(f,e);J[a+52>>2]=0;J[g+352>>2]=J[n>>2];$a(f,117,0,3,0,hb(h,6688,g+352|0),-6);eh(f);cb(f,d)}kb(h,b)}if(!A){d=-1;k=0;q=J[g+440>>2];c=i;e=0;while(1){b=J[c>>2];if(b){c=J[a+56>>2]-1|0;J[a+56>>2]=c;if((b|0)!=(m|0)){d=Qm(a,b,l,0,0,g+436|0,e,d);Na(f,86,k+8|0,1);o=k+q|0;c=bb(f,29,o,c,d,L[b+52>>1]);Ic(f,3,30011);Pa(f,111,7,3,3);Ic(f,4,29948);Pa(f,111,4,3,3);s=Ic(f,4,J[b>>2]);Pa(f,111,4,3,3);r=eh(f);J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(c,20)|0)+8>>2]=J[f+108>>2];if(!(K[n+28|0]&128)){Na(f,142,o,3);c=Pa(f,53,3,0,(L[b+52>>1]+d|0)-1|0);Ic(f,3,29980);Pa(f,111,7,3,3);Ic(f,4,29969);Lb(f,s-1|0);J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(c,20)|0)+8>>2]=J[f+108>>2]}e=0;c=0;while(1){if(L[b+50>>1]>c>>>0){if(J[J[b+32>>2]+(c<<2)>>2]!=33312){if(!e){e=J[a+56>>2]-1|0;J[a+56>>2]=e}Pa(f,94,o,c,3);Pa(f,52,3,e,c+d|0)}c=c+1|0;continue}break}if(e){c=Hb(f,9);cb(f,e);Ic(f,3,30011);Pa(f,111,7,3,3);Ic(f,4,29921);Lb(f,s-1|0);J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(c,20)|0)+8>>2]=J[f+108>>2]}if(K[b+54|0]){e=J[a+56>>2]-1|0;J[a+56>>2]=e;c=0;while(1){if(L[b+50>>1]>c>>>0){t=I[J[b+4>>2]+(c<<1)>>1];za:{if((t|0)>=0){if(K[(J[n+4>>2]+P(t&65535,12)|0)+4|0]&15){break za}}Na(f,50,c+d|0,e)}c=c+1|0;continue}break}c=Va(f,39,o);Lb(f,e);t=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(c,20)|0)+8>>2]=t;bb(f,41,o,e,d,L[b+50>>1]);Ic(f,3,29865);Lb(f,s);cb(f,e)}e=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(r,20)|0)+8>>2]=e;rr(a,J[g+436>>2]);e=b}k=k+1|0;c=b+20|0;continue}break}Na(f,39,l,B);c=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:(J[f+104>>2]+P(B,20)|0)-20|0)+8>>2]=c;Ic(f,2,29892);b=0;while(1){c=J[i>>2];if(c){if((c|0)!=(m|0)){Na(f,98,b+q|0,3);d=Pa(f,53,b+8|0,0,3);e=J[f+108>>2];if((e|0)>0){I[(J[f+104>>2]+P(e,20)|0)-18>>1]=144}Ic(f,4,J[c>>2]);Pa(f,111,4,2,3);eh(f);e=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(d,20)|0)+8>>2]=e}b=b+1|0;i=c+20|0;continue}break}if(!m){continue pa}Oc(a,y,L[m+50>>1]);continue pa}Na(f,39,l,B);J[(K[J[f>>2]+87|0]?73192:(J[f+104>>2]+P(B,20)|0)-20|0)+8>>2]=J[f+108>>2];continue pa}o=5}Aa:{if(K[n+28|0]&128){k=Le(ec(n),c<<16>>16);break Aa}k=wc(n,c<<16>>16)}e=l}b=J[a+56>>2];t=b-2|0;J[a+56>>2]=t;G=b-1|0;Ba:{if(!(K[r+4|0]&15)){break Ba}d=bb(f,18,e,t,k,o);v=J[f+108>>2];Ca:{if((e|0)<0){b=d;if((v|0)<=0){break Ca}I[(J[f+104>>2]+P(v,20)|0)-18>>1]=15;break Ca}if((v|0)>0){I[(J[f+104>>2]+P(v,20)|0)-18>>1]=13}Pa(f,94,e,k,3);b=Na(f,51,3,t)}v=J[n>>2];J[g+340>>2]=J[r>>2];J[g+336>>2]=v;$a(f,117,0,3,0,hb(h,6315,g+336|0),-6);if(!s){break Ba}Lb(f,G);s=J[f+108>>2];Da:{if(K[J[f>>2]+87|0]){J[18300]=s;b=73192;break Da}v=P(d,20);d=J[f+104>>2];J[(v+d|0)+8>>2]=s;b=d+P(b,20)|0}J[b+8>>2]=s}Ea:{Fa:{if(q){bb(f,18,e,t,k,o);b=J[f+108>>2];if((b|0)>0){I[(J[f+104>>2]+P(b,20)|0)-18>>1]=K[(K[r+4|0]>>>4|0)+50387|0]}b=J[(K[r+4|0]>>>2&60)+66908>>2];d=J[n>>2];J[g+296>>2]=J[C+J[n+4>>2]>>2];J[g+292>>2]=d;J[g+288>>2]=b;b=hb(h,6273,g+288|0);break Fa}if(F){break Ea}b=H[r+5|0];if((b|0)==66){bb(f,18,e,t,k,o);b=J[f+108>>2];if((b|0)>0){I[(J[f+104>>2]+P(b,20)|0)-18>>1]=28}b=J[n>>2];J[g+308>>2]=J[C+J[n+4>>2]>>2];J[g+304>>2]=b;b=hb(h,6335,g+304|0);break Fa}if((b|0)<67){break Ea}bb(f,18,e,t,k,o);b=J[f+108>>2];if((b|0)>0){I[(J[f+104>>2]+P(b,20)|0)-18>>1]=27}if((e|0)>=0){td(f,n,l,c,3)}$a(f,96,3,1,0,20902,-1);bb(f,18,-1,t,3,o);b=J[f+108>>2];if((b|0)>0){I[(J[f+104>>2]+P(b,20)|0)-18>>1]=28}b=J[n>>2];J[g+324>>2]=J[C+J[n+4>>2]>>2];J[g+320>>2]=b;b=hb(h,6295,g+320|0)}$a(f,117,0,3,0,b,-6)}cb(f,G);eh(f);cb(f,t)}c=c+1|0;continue}}}a=Xf(f,7,50400);if(a){J[a+116>>2]=15927;H[a+101|0]=255;J[a+56>>2]=11860;H[a+41|0]=255;J[a+8>>2]=1-z}b=J[f+108>>2]-2|0;J[(K[J[f>>2]+87|0]?73192:J[f+104>>2])+12>>2]=b;break c}x=x+1|0;continue}}if(!j){break c}a=_i(j,0);b=a?12:4;a=a?50608:31212;c=2;while(1){if((c|0)==4){break c}nl(h,14449,c,1,a,43,0,0,0,0,0);d=Ne(h,14449,c,1,0);J[d+4>>2]=b|J[d+4>>2]&-2097157;c=c+1|0;continue}}b=J[a+44>>2];l=b+5|0;J[a+44>>2]=l;q=b+3|0;r=b+2|0;s=b+1|0;m=J[J[(J[h+16>>2]+(i<<4)|0)+12>>2]+16>>2];while(1){if(!m){break c}Ga:{if(j){i=hf(a,0,j,e);m=0;break Ga}i=J[m+8>>2];m=J[m>>2]}if(K[i+43|0]|!i){continue}c=i+48|0;if(!J[c>>2]){continue}b=J[h+16>>2];d=Ab(h,J[i+60>>2]);e=J[b+(d<<4)>>2];gd(a,d);rd(a,d,J[i+20>>2],0,J[i>>2]);b=l+I[i+34>>1]|0;if((b|0)>J[a+44>>2]){J[a+44>>2]=b}Cd(a,0,d,i,112);Ic(f,s,J[i>>2]);k=1;b=c;while(1){p=J[b>>2];if(p){b=tc(h,J[p+8>>2],e);Ha:{if(!b){break Ha}J[g+448>>2]=0;rd(a,d,J[b+20>>2],0,J[b>>2]);if(mi(a,b,p,g+448|0,0)){break c}o=J[g+448>>2];if(!o){Cd(a,k,d,b,112);break Ha}Pa(f,112,k,J[o+44>>2],d);zd(a,o)}b=p+4|0;k=k+1|0;continue}break}if(J[a+40>>2]<(k|0)){J[a+40>>2]=k}k=1;n=Va(f,36,0);while(1){b=J[c>>2];if(b){o=tc(h,J[b+8>>2],e);J[g+444>>2]=0;J[g+448>>2]=0;if(o){mi(a,o,b,g+448|0,g+444|0)}p=J[a+56>>2]-1|0;J[a+56>>2]=p;d=J[b+20>>2];c=l+d|0;if((c|0)>J[a+44>>2]){J[a+44>>2]=c}c=0;while(1){if((c|0)<(d|0)){d=J[g+444>>2];t=J[(d?d+(c<<2)|0:(b+(c<<3)|0)+36|0)>>2];d=c+l|0;td(f,i,0,t,d);Na(f,50,d,p);c=c+1|0;d=J[b+20>>2];continue}break}c=J[g+448>>2];Ia:{if(c){$a(f,96,l,d,0,fh(h,c),J[b+20>>2]);bb(f,29,k,p,l,J[b+20>>2]);break Ia}if(!o){break Ia}Pa(f,30,k,J[f+108>>2]+2|0,l);Lb(f,p)}Na(f,J[i+28>>2]&128?75:135,0,r);c=J[b+8>>2];J[g+276>>2]=k-1;J[g+272>>2]=c;oe(f,q,18670,g+272|0);Na(f,84,s,4);cb(f,p);Ua(h,J[g+444>>2]);c=b+4|0;k=k+1|0;continue}break}Na(f,39,0,n+1|0);c=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(n,20)|0)+8>>2]=c;continue}}if(!j){break c}d=tc(h,j,e);if(!d|K[d+43|0]){break c}c=J[d+48>>2];if(!c){break c}b=Ab(h,J[d+60>>2]);J[a+44>>2]=8;gd(a,b);q=0;while(1){if(!c){break c}b=0;while(1){if(J[c+20>>2]>(b|0)){a=(b<<3)+c|0;e=J[J[d+4>>2]+P(J[a+36>>2],12)>>2];a=J[a+40>>2];i=J[c+8>>2];k=_A(K[c+26|0]);m=K[c+25|0];J[g+268>>2]=20361;J[g+264>>2]=_A(m);J[g+260>>2]=k;J[g+256>>2]=a;J[g+252>>2]=e;J[g+248>>2]=i;J[g+244>>2]=b;J[g+240>>2]=q;oe(f,1,4230,g+240|0);b=b+1|0;continue}break}q=q+1|0;c=J[c+4>>2];continue}}while(1){if((k|0)==66){break c}J[g+224>>2]=J[(k<<4)+35664>>2];oe(f,1,8864,g+224|0);k=k+1|0;continue}}J[a+44>>2]=1;c=h+396|0;while(1){c=J[c>>2];if(!c){break c}J[g+208>>2]=J[J[c+8>>2]+4>>2];oe(f,1,8864,g+208|0);continue}}b=J[h+24>>2];J[a+44>>2]=6;b=b>>>5&1;a=0;while(1){if((a|0)!=23){c=(a<<2)+72952|0;while(1){c=J[c>>2];if(c){ZA(f,c,1,b);c=c+36|0;continue}break}a=a+1|0;continue}break}c=h+424|0;while(1){c=J[c>>2];if(!c){break c}ZA(f,J[c+8>>2],0,b);continue}}J[a+44>>2]=2;c=h+440|0;b=0;while(1){c=J[c>>2];if(!c){break c}J[g+196>>2]=J[J[c+8>>2]>>2];J[g+192>>2]=b;oe(f,1,5307,g+192|0);b=b+1|0;continue}}J[a+44>>2]=3;c=0;while(1){if(J[h+20>>2]<=(c|0)){break c}a=J[h+16>>2]+(c<<4)|0;b=J[a+4>>2];if(b){a=J[a>>2];J[g+184>>2]=sv(b);J[g+180>>2]=a;J[g+176>>2]=c;oe(f,1,4239,g+176|0)}c=c+1|0;continue}}if(!j){break c}b=tc(h,j,e);if(!b){break c}c=Ab(h,J[b+60>>2]);J[a+44>>2]=5;gd(a,c);c=b+8|0;b=0;while(1){a=J[c>>2];if(!a){break c}J[g+456>>2]=11857;J[g+452>>2]=2167;J[g+448>>2]=18053;c=K[a+55|0]|K[a+56|0]<<8;d=K[a+54|0];e=J[a>>2];J[g+160>>2]=J[a+36>>2]!=0;J[g+148>>2]=e;J[g+152>>2]=(d|0)!=0;J[g+156>>2]=J[(g+448|0)+((c&3)<<2)>>2];J[g+144>>2]=b;oe(f,1,12111,g+144|0);c=a+20|0;b=b+1|0;continue}}if(!j){break c}b=$e(h,j,e);if(!b){b=hf(a,2,j,e);if(!b|!(K[b+28|0]&128)){break c}b=ec(b);if(!b){break c}}c=Ab(h,J[b+24>>2]);d=!(J[l+8>>2]|J[l+12>>2]);i=L[(d?50:52)+b>>1];J[a+44>>2]=d?3:6;k=J[b+12>>2];gd(a,c);c=0;while(1){if((c|0)==(i|0)){break c}d=I[J[b+4>>2]+(c<<1)>>1];if((d|0)>=0){e=J[J[k+4>>2]+P(d,12)>>2]}else{e=0}J[g+136>>2]=e;J[g+132>>2]=d;J[g+128>>2]=c;oe(f,1,18664,g+128|0);if(J[l+8>>2]|J[l+12>>2]){d=K[J[b+28>>2]+c|0];e=J[J[b+32>>2]+(c<<2)>>2];J[g+120>>2]=L[b+50>>1]>c>>>0;J[g+116>>2]=e;J[g+112>>2]=d;oe(f,4,18669,g+112|0)}Na(f,84,1,J[a+44>>2]);c=c+1|0;continue}}J[a+44>>2]=6;Ei(a,e);while(1){if(J[h+20>>2]<=(k|0)){break c}a=J[h+16>>2];Ja:{if(e){if(Ub(e,J[a+(k<<4)>>2])){break Ja}}m=k<<4;i=J[(m+a|0)+12>>2];a=J[i+12>>2];while(1){b=i+16|0;Ka:{La:while(1){c=b;if(!a){break Ka}while(1){c=J[c>>2];if(!c){a=0;continue La}d=J[c+8>>2];if(L[d+34>>1]){continue}break}break}J[g+96>>2]=J[d>>2];b=hb(h,29126,g+96|0);if(b){J[g+448>>2]=0;dp(h,b,g+448|0);Rc(J[g+448>>2]);Za(h,b)}if(K[h+87|0]){Ra(J[h+264>>2],1150,0);J[J[h+264>>2]+12>>2]=7}a=a-1|0;i=J[(m+J[h+16>>2]|0)+12>>2];continue}break}b=i+16|0;while(1){b=J[b>>2];if(!b){break Ja}c=J[b+8>>2];if(j){if(Ub(j,J[c>>2])){continue}}a=1851;Ma:{Na:{switch(K[c+43|0]-1|0){case 0:a=11761;break Ma;case 1:break Ma;default:break Na}}a=K[c+29|0]&16?1723:14316}i=J[m+J[h+16>>2]>>2];d=J[c>>2];Oa:{if(tb(d,18298,7)){break Oa}l=d+7|0;if(!Xa(l,9218)){d=18203;break Oa}if(Xa(l,9199)){break Oa}d=18184}l=I[c+34>>1];c=J[c+28>>2];J[g+84>>2]=c>>>16&1;J[g+80>>2]=c>>>7&1;J[g+76>>2]=l;J[g+72>>2]=a;J[g+68>>2]=d;J[g+64>>2]=i;oe(f,1,12143,g- -64|0);continue}}k=k+1|0;continue}}pd(f,a,c)}Za(h,w);Ua(h,j)}Fa=g+496|0}function Lg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,I=0,L=0,M=0,N=0;e=Fa-272|0;Fa=e;z=K[a+21|0]&2;if(z){w=J[c>>2];c=c+4|0}r=c;G=e+152|0;I=e+176|1;while(1){a:{b:{c:{d:{e:{d=K[b|0];f:{if((d|0)==37){o=b;break f}c=b;if(!d){break e}while(1){g:{o=c+1|0;d=K[c+1|0];if((d|0)==37){break g}c=o;if(d){continue}}break}nb(a,b,o-b|0);g=b;if(!K[o|0]){break e}}h:{i:{j:{k:{l:{m:{n:{o:{p:{c=K[o+1|0];if(c){o=o+1|0;d=-1;p=0;s=0;D=0;u=0;F=0;y=0;B=0;q=0;i=r;q:{while(1){h=1;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{c=c<<24>>24;switch(c-32|0){case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 15:break q;case 13:break r;case 14:break t;case 10:break u;case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:break v;case 12:break y;case 16:break z;case 1:break A;case 3:break B;case 0:break C;case 11:break D;default:break E}}if((c|0)!=108){break q}c=K[o+1|0];if((c|0)==108){break x}p=1;o=o+1|0;break w}y=43;break s}y=32;break s}F=1;break s}u=1;break s}D=1;break s}s=44;break s}p=2;c=K[o+2|0];o=o+2|0}c=c<<24>>24;break q}while(1){b=o+1|0;f=c-48|0;c=H[o+1|0];if((c-48&255)>>>0<=9){c=P(f,10)+c|0;o=b;continue}break}q=f&2147483647;f=c&255;if((f|0)==46){break s}h=B;if((f|0)==108){break r}o=b;break q}F:{if(z){c=pl(w);break F}c=J[i>>2];i=i+4|0}b=(c|0)<0;q=b?(c|0)!=-2147483648?0-c|0:0:c;h=b?1:B;b=K[o+1|0];if((b|0)==46|(b|0)==108){break r}c=b<<24>>24;o=o+1|0;B=h;break q}G:{H:{h=K[o+1|0];if((h|0)!=42){b=o+1|0;o=0;while(1){c=h<<24>>24;if((h-48&255)>>>0>9){break H}o=(P(o,10)+c|0)-48|0;h=K[b+1|0];b=b+1|0;continue}}I:{if(z){c=pl(w);break I}c=J[i>>2];i=i+4|0}d=(c|0)<0?(c|0)==-2147483648?-1:0-c|0:c;b=o+2|0;c=H[o+2|0];break G}d=o&2147483647}if((c|0)!=108){o=b;break q}o=b-1|0}h=B}c=K[o+1|0];B=h;o=o+1|0;if(c){continue}break}c=0}h=0;while(1){if((h|0)==23){break e}E=P(h,6);if(H[E+30624|0]!=(c|0)){h=h+1|0;continue}break}J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{t=K[E+30627|0];switch(t|0){case 12:break J;case 11:break L;case 9:case 10:case 14:break M;case 5:case 6:break N;case 8:break O;case 7:break P;case 4:break Q;case 1:case 2:case 3:break R;case 16:break S;case 0:case 15:break T;case 13:break U;default:break e}}s=0;p=1;break S}s=0}V:{if(!(4067322>>>h&1)){W:{if(z){r=i;b=pl(w);c=Ia;break W}if((p|0)==2){c=i+7&-8;r=c+8|0;b=J[c>>2];c=J[c+4>>2];break W}r=i+4|0;b=J[i>>2];c=b>>31}f=c;c=c>>31;b=b^c;l=b-c|0;t=(f|0)<0?45:y;j=(f^c)-((b>>>0<c>>>0)+c|0)|0;break V}if(z){l=pl(w);r=i;t=0;j=Ia;break V}t=0;X:{if((p|0)==2){b=i+7&-8;r=b+8|0;l=J[b>>2];j=J[b+4>>2];break X}r=i+4|0;l=J[i>>2];j=0}}if(D){b=q-((t&255)!=0)|0;d=(b|0)<(d|0)?d:b}Y:{if((d|0)<37){c=e+176|0;b=70;p=0;break Y}f=0;c=(d>>>0)/3|0;i=c;b=d+10|0;c=c+b|0;f=i>>>0>c>>>0?1:f;i=c;c=s&255;b=c?i:b;c=$o(a,b,c?f:0);if(!c){break e}p=c}y=(b+c|0)-1|0;g=y;if((h|0)==22){g=g-2|0;f=oJ(l,j,10,0);b=Ia;c=l-lJ(f,b,10,0)|0;b=(L=(pJ(f,b,10,0)|0)!=1|Ia?c:0,M=0,N=c>>>0<=3,N?L:M)<<1;H[g|0]=K[b+14864|0];H[y-1|0]=K[b+14865|0]}D=K[E+30628|0]+30768|0;v=K[E+30625|0];b=l;f=j;while(1){n=f;g=g-1|0;i=b;u=oJ(b,f,v,0);c=Ia;H[g|0]=K[(b-lJ(u,c,v,0)|0)+D|0];b=u;f=c;if(!n&i>>>0>=v>>>0|n){continue}break}c=y-g|0;while(1){if((c|0)<(d|0)){g=g-1|0;H[g|0]=48;c=c+1|0;continue}break}Z:{if(!(s&255)){break Z}b=c-1|0;k=(b|0)/3|0;d=(b-P(k,3)|0)+1|0;g=g-k|0;c=0;while(1){if((k|0)<=0){break Z}b=c+g|0;H[b|0]=K[b+k|0];d=d-1|0;if(!d){c=c+1|0;H[g+c|0]=s;k=k-1|0;d=3}c=c+1|0;continue}}if(t&255){g=g-1|0;H[g|0]=t}_:{if(7860991>>>h&1|(!F|!(j|l))){break _}c=K[E+30629|0]+30801|0;while(1){b=K[c|0];if(!b){break _}g=g-1|0;H[g|0]=b;c=c+1|0;continue}}d=y-g|0;break a}if(z){m=0;b=J[w+4>>2];if((b|0)>=J[w>>2]){break i}J[w+4>>2]=b+1;m=yb(J[J[w+8>>2]+(b<<2)>>2]);break i}b=i+7&-8;r=b+8|0;m=O[b>>3];break h}p=0;if(z){q=0;d=0;r=i;break a}J[J[i>>2]>>2]=J[a+16>>2];break K}H[e+176|0]=37;g=e+176|0;d=1;p=0;r=i;break a}$:{if(z){c=Zo(w);if(c){b=K[c|0];H[e+176|0]=b;h=1;if(b>>>0<192){break $}while(1){b=K[c+1|0];if((b&192)!=128){break $}c=c+1|0;H[(e+176|0)+h|0]=b;h=h+1|0;if((h|0)!=4){continue}break}h=4;break $}H[e+176|0]=0;h=1;break $}b=i+4|0;c=J[i>>2];aa:{if(c>>>0<=127){H[e+176|0]=c;h=1;break aa}if(c>>>0<=2047){H[e+177|0]=c&63|128;H[e+176|0]=c>>>6|192;h=2;break aa}if(c>>>0<=65535){H[e+178|0]=c&63|128;H[e+176|0]=c>>>12|224;H[e+177|0]=c>>>6&63|128;h=3;break aa}H[e+179|0]=c&63|128;H[e+178|0]=c>>>6&63|128;H[e+177|0]=c>>>12&63|128;H[e+176|0]=c>>>18&7|240;h=4}i=b}g=e+176|0;u=1;p=0;if((d|0)<2){break k}c=d-1|0;q=q-c|0;if(!(B&255|(q|0)<2)){Oh(a,q-1|0,32);q=0}nb(a,e+176|0,h);b=1;f=0;while(1){if((c|0)<2){break k}r=J[a+8>>2];j=b;d=c-1|0;b=b>>>0<d>>>0&(f|0)<=0|(f|0)<0;d=b?j:d;b=b?f:0;l=lJ(d,b,h,0);s=J[a+16>>2];f=l+s|0;n=Ia;j=n;j=f>>>0<s>>>0?j+1|0:j;if((j|0)>0){j=1}else{j=(j|0)>=0&f>>>0>=r>>>0}if(j){kl(a,l,n)}if(K[a+20|0]){break k}nb(a,J[a+4>>2]+(J[a+16>>2]-l|0)|0,l);j=b<<1|d>>>31;b=d<<1;f=j;c=c-d|0;continue}}if(!z){r=i+4|0;p=0;g=J[i>>2];if(!g){g=30620;break m}if((h|0)!=3){break m}if(J[a+16>>2]|(!J[a+12>>2]|q|(d|0)>=0)){break n}if(K[a+20|0]){p=g;break l}J[a+4>>2]=g;J[a+8>>2]=ff(J[a>>2],g);J[a+16>>2]=ob(g)&2147483647;H[a+21|0]=K[a+21|0]|4;break o}b=Zo(w);g=b?b:30620;p=0;r=i;break m}ba:{if(z){k=Zo(w);break ba}k=J[i>>2];i=i+4|0}r=i;t=(h|0)==6?34:39;h=(h|0)==5;i=k?k:h?20228:26148;n=d>>31;b=0;f=0;l=0;j=0;while(1){ca:{if(!(d|n)){break ca}g=K[b+i|0];if(!g){break ca}da:{if(!(g>>>0>191&u)){c=f;b=b+1|0;f=b?c:c+1|0;break da}while(1){c=i;b=b+1|0;f=b?f:f+1|0;if((K[b+c|0]&192)==128){continue}break}}c=(g|0)==(t|0);l=c+l|0;j=c>>>0>l>>>0?j+1|0:j;c=d;d=c-1|0;n=n-!c|0;continue}break}g=e+176|0;p=0;j=f+j|0;d=b+l|0;j=d>>>0<l>>>0?j+1|0:j;c=j;d=d+3|0;c=d>>>0<3?c+1|0:c;if((c|0)>=0&d>>>0>=71|(c|0)>0){p=$o(a,d,c);g=p;if(!g){break e}}d=0;n=0;l=0;j=0;v=h&(k|0)!=0;if(v){H[g|0]=t;l=1}c=b;b=!!b&(f|0)>=0|(f|0)>0;c=b?c:0;s=b?f:0;while(1){if((c|0)!=(d|0)|(n|0)!=(s|0)){h=K[d+i|0];H[g+l|0]=h;f=j;b=l+1|0;f=b?f:f+1|0;if((h|0)!=(t|0)){l=b;j=f}else{H[b+g|0]=t;l=l+2|0;j=l>>>0<2?j+1|0:j}b=n;d=d+1|0;n=d?b:b+1|0;continue}break}if(v){H[g+l|0]=t;h=l+1|0}else{h=l}H[g+h|0]=0;break j}if(!(H[a+21|0]&1)){break e}f=J[i>>2];if(F){if(!f|K[f+5|0]&8){break K}Qd(a,J[f+8>>2]);Ig(J[a>>2],f);break K}if(!f){break K}b=J[f+4>>2];if(!b){break K}nb(a,J[f>>2],b);c=J[a>>2];if(!c|J[c+68>>2]!=-2){break K}b=J[c+264>>2];if(!b){break K}d=J[b+244>>2];if(!d){break K}b=J[f>>2];if(b>>>0<d>>>0){break K}if(b>>>0>=ob(d)+d>>>0){break K}J[c+68>>2]=b-d}r=i+4|0;break o}if(!(H[a+21|0]&1)){break e}r=i+4|0;d=J[i>>2];c=J[d+12>>2];if(u?0:c){break p}b=J[d+8>>2];if(b){c=J[d+4>>2];if(c){Qd(a,c);nb(a,24900,1);b=J[d+8>>2]}Qd(a,b);break o}if(c){break p}b=J[d+20>>2];c=J[b+16>>2];if(K[b+5|0]&8){J[e+128>>2]=c;gb(a,24954,e+128|0);break o}J[e+112>>2]=c;gb(a,24940,e+112|0);break o}nb(a,29122,1);break e}Qd(a,c)}p=0;q=0;d=0;break a}p=g}if((d|0)<0){break l}if(u){c=g;while(1){ea:{if((d|0)<=0){break ea}b=K[c|0];if(!b){break ea}d=d-1|0;c=c+1|0;if(b>>>0<192){continue}while(1){b=c;c=c+1|0;if((K[b|0]&192)==128){continue}break}c=b;continue}break}h=c-g|0;u=1;break j}c=0;while(1){if((c|0)==(d|0)){break a}if(K[c+g|0]){c=c+1|0;continue}else{d=c;break a}}}h=ob(g)&2147483647;break j}r=i}fa:{if(!u){break fa}c=h;if((q|0)<=0){break fa}while(1){if((c|0)<=0){break fa}c=c-1|0;q=((K[g+c|0]&192)==128)+q|0;continue}}d=h;break a}r=i}v=(d|0)<0?6:(d|0)>=1e8?1e8:d;i=v;ga:{ha:{switch(t-1|0){case 0:i=0-v|0;break ga;case 2:break ga;default:break ha}}i=v+1|0}J[e+148>>2]=G;H[e+137|0]=0;ia:{ja:{ka:{if(m<0){H[e+136|0]=45;m=-m;break ka}H[e+136|0]=43;if(m!=0){break ka}J[e+148>>2]=24878;J[e+140>>2]=1;J[e+144>>2]=1;f=1;break ja}C(+m);c=x(1)|0;b=x(0)|0;la:{if((c&2146435072)==2146435072){J[e+140>>2]=0;J[e+144>>2]=0;c=!b&(c|0)==2146435072?1:2;H[e+137|0]=c;g=G;break la}ma:{if(K[65786]){Gl(e+96|0,m);b=J[e+104>>2];f=J[e+108>>2];c=0;d=J[e+96>>2];n=J[e+100>>2];na:{if(m>=1e19){while(1){if((vj(d,n,b,f,-805586501,-1258532657,596116123,1099578686)|0)>=0){je(e+80|0,d,n,b,f,-61397127,-42290448,-297213870,1051901938);c=c+100|0;b=J[e+88>>2];f=J[e+92>>2];d=J[e+80>>2];n=J[e+84>>2];continue}break}while(1){if((vj(d,n,b,f,0,399155200,263089522,1079984926)|0)>=0){je(e- -64|0,d,n,b,f,-2011384559,-1417843994,-40010789,1071495117);c=c+10|0;b=J[e+72>>2];f=J[e+76>>2];d=J[e+64>>2];n=J[e+68>>2];continue}break}while(1){if((vj(d,n,b,f,0,0,1175000016,1077810574)|0)<0){break na}je(e+48|0,d,n,b,f,-1717986918,-1717986919,-1717986919,1073453465);c=c+1|0;b=J[e+56>>2];f=J[e+60>>2];d=J[e+48>>2];n=J[e+52>>2];continue}}while(1){if((wj(d,n,b,f,1449991308,193581759,1018374929,1052554611)|0)<0){je(e,d,n,b,f,1280106687,-827280776,-765899721,1095443610);c=c-100|0;b=J[e+8>>2];f=J[e+12>>2];d=J[e>>2];n=J[e+4>>2];continue}break}while(1){if((wj(d,n,b,f,0,0,0,1075196205)|0)<0){je(e+16|0,d,n,b,f,0,0,-234881024,1075849733);c=c-10|0;b=J[e+24>>2];f=J[e+28>>2];d=J[e+16>>2];n=J[e+20>>2];continue}break}while(1){if((wj(d,n,b,f,0,0,2019396096,1077371717)|0)>=0){break na}je(e+32|0,d,n,b,f,0,0,0,1073889280);c=c-1|0;b=J[e+40>>2];f=J[e+44>>2];d=J[e+32>>2];n=J[e+36>>2];continue}}l=0;j=0;p=Fa-16|0;Fa=p;oa:{if((f|0)<0){break oa}g=f>>>16&32767;if(g>>>0<16383){break oa}l=-1;j=-1;if(g-16447>>>0<4294967232){break oa}Wh(p,d,n,b,f&65535|65536,16495-g|0);l=J[p>>2];j=J[p+4>>2]}Fa=p+16|0;b=l;break ma}J[e+264>>2]=0;J[e+268>>2]=0;O[e+256>>3]=m;c=0;pa:{if(m>0x7ffffffffffffc00){while(1){if(m>9223372036854774e103){ee(e+256|0,1e-100,-19991899802602883e-133);c=c+100|0;m=O[e+256>>3];continue}break}while(1){if(m>9223372036854774e13){ee(e+256|0,1e-10,-3643219731549774e-42);c=c+10|0;m=O[e+256>>3];continue}break}while(1){if(!(m>0x7ffffffffffffc00)){break pa}ee(e+256|0,.1,-5551115123125783e-33);c=c+1|0;m=O[e+256>>3];continue}}while(1){if(m<9223372036854775e-98){ee(e+256|0,1e100,-15902891109759918e67);c=c-100|0;m=O[e+256>>3];continue}break}while(1){if(m<92233720.36854775){ee(e+256|0,1e10,0);c=c-10|0;m=O[e+256>>3];continue}break}while(1){if(!(m<0xccccccccccccc80)){break pa}ee(e+256|0,10,0);c=c-1|0;m=O[e+256>>3];continue}}A=O[e+264>>3];f=A<0;qa:{if(m<0x10000000000000000&m>=0){d=~~m>>>0;if(R(m)>=1){b=~~(m>0?T(V(m*2.3283064365386963e-10),4294967295):W((m-+(~~m>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break qa}d=0;b=0}if(f){f=d;d=b;m=-A;ra:{if(m<0x10000000000000000&m>=0){l=~~m>>>0;if(R(m)>=1){j=~~(m>0?T(V(m*2.3283064365386963e-10),4294967295):W((m-+(~~m>>>0>>>0))*2.3283064365386963e-10))>>>0}else{j=0}break ra}l=0;j=0}b=f-l|0;j=d-((f>>>0<l>>>0)+j|0)|0;break ma}sa:{if(A<0x10000000000000000&A>=0){j=~~A>>>0;if(R(A)>=1){f=~~(A>0?T(V(A*2.3283064365386963e-10),4294967295):W((A-+(~~A>>>0>>>0))*2.3283064365386963e-10))>>>0}else{f=0}break sa}j=0;f=0}f=f+b|0;b=d+j|0;j=b>>>0<d>>>0?f+1|0:f}f=j;j=u?26:16;g=23;while(1){if(b|f){d=b;b=oJ(b,f,10,0);f=Ia;H[(e+g|0)+152|0]=d-lJ(b,f,10,0)|48;g=g-1|0;continue}break}k=23-g|0;J[e+140>>2]=k;b=c+k|0;J[e+144>>2]=b;ta:{ua:{va:{if((i|0)>=0){break va}i=b-i|0;if(i){break va}b=e+g|0;if(H[b+153|0]<53){break ta}H[b+152|0]=48;i=1;k=J[e+140>>2]+1|0;J[e+140>>2]=k;J[e+144>>2]=J[e+144>>2]+1;g=g-1|0;break ua}if((i|0)<=0){break ta}}if((j|0)>=(k|0)&(i|0)>=(k|0)){break ta}k=(i|0)<(j|0)?i:j;J[e+140>>2]=k;b=(e+g|0)+153|0;if(H[b+k|0]<53){break ta}wa:{while(1){k=k-1|0;d=b+k|0;c=K[d|0]+1|0;H[d|0]=c;if(c<<24>>24<58){break wa}H[d|0]=48;if(k){continue}break}H[J[e+148>>2]+g|0]=49;k=J[e+140>>2]+1|0;J[e+140>>2]=k;J[e+144>>2]=J[e+144>>2]+1;g=g-1|0;break ta}k=J[e+140>>2]}b=(e+136|0)+g|0;g=b+17|0;J[e+148>>2]=g;b=b+16|0;while(1){if(!(K[b+k|0]!=48|(k|0)<=0)){k=k-1|0;J[e+140>>2]=k;continue}break}c=K[e+137|0]}xa:{switch(c&255){default:if(D){H[g|0]=57;J[e+140>>2]=1;J[e+144>>2]=1e3;f=1e3;break ja}H[e+180|0]=K[12647];J[e+176>>2]=K[12643]|K[12644]<<8|(K[12645]<<16|K[12646]<<24);b=e+176|0;if(K[e+136|0]==45){break c}g=I;if(!y){break b}H[e+176|0]=y;break c;case 2:break ia;case 0:break xa}}f=J[e+144>>2]}c=(h|0)==15;b=(h|0)==2;k=v-((c|b)&(v|0)>0)|0;h=K[e+136|0];d=f-1|0;if(b|c){b=(f|0)<-3|(d|0)>(k|0);t=b?2:1;k=k-(b?0:d)|0;l=!F}else{l=u}i=(t|0)!=2?d:0;c=(i|0)>0?i:0;j=(q>>31)+(k>>31)|0;f=k+q|0;j=f>>>0<k>>>0?j+1|0:j;b=j;c=c+f|0;j=c>>>0<f>>>0?b+1|0:b;b=c+15|0;j=b>>>0<15?j+1|0:j;f=j;c=(i+2>>>0)/3|0;g=c;c=b+c|0;f=g>>>0>c>>>0?f+1|0:f;g=c;n=s&255;c=!n|(i|0)<=0;b=c?b:g;c=c?j:f;ya:{if(b>>>0<71&(c|0)<=0|(c|0)<0){g=e+176|0;p=0;break ya}p=$o(a,b,c);g=p;if(!g){break e}}s=g;b=(h|0)==45?45:y;f=b&255;if(f){H[g|0]=b;s=g+1|0}b=(k|0)>0|F|u;h=0;if((i|0)<0){H[s|0]=48;c=s+1|0;break d}while(1){c=s;if((i|0)<0){d=-1;break d}else{d=48;if(J[e+140>>2]>(h|0)){d=K[J[e+148>>2]+h|0];h=h+1|0}H[c|0]=d;s=c+1|0;if(!(!n|((i>>>0)%3|i>>>0<2))){H[c+1|0]=44;s=c+2|0}i=i-1|0;continue}}}g=D?11625:19957;break b}Fa=e+272|0;return}b=b&255;if(b){H[c|0]=46;c=c+1|0}while(1){if(!((k|0)<=0|(d|0)>-2)){H[c|0]=48;k=k-1|0;c=c+1|0;d=d+1|0;continue}break}while(1){if((k|0)>0){d=48;if(J[e+140>>2]>(h|0)){d=K[J[e+148>>2]+h|0];h=h+1|0}k=k-1|0;H[c|0]=d;c=c+1|0;continue}break}za:{if(!(l&255)|!b){break za}while(1){Aa:{Ba:{b=c-1|0;switch(K[b|0]-46|0){case 0:break Aa;case 2:break Ba;default:break za}}H[b|0]=0;c=b;continue}break}if(u){H[c|0]=48;c=c+1|0;break za}H[b|0]=0;c=b}if((t|0)==2){d=J[e+144>>2];b=(d|0)<=0;H[c+1|0]=b?45:43;H[c|0]=K[K[E+30628|0]+30768|0];h=b?1-d|0:d-1|0;if(h>>>0<100){b=c+2|0}else{b=(h>>>0)/100|0;H[c+2|0]=b+48;h=h-P(b,100)|0;b=c+3|0}c=((h&255)>>>0)/10|0;H[b|0]=c|48;H[b+1|0]=h-P(c,10)|48;c=b+2|0}H[c|0]=0;d=c-g|0;if(!D|B&255|(q|0)<=(d|0)){break a}c=q-d|0;h=q;while(1){if((c|0)<=(h|0)){H[g+h|0]=K[(h-c|0)+g|0];h=h-1|0;continue}break}h=(f|0)!=0;while(1)if(c){H[g+h|0]=48;h=h+1|0;c=c-1|0;continue}else{d=q;break a}}g=b}p=0;d=Ya(g)}Ca:{Da:{b=q-d|0;if((b|0)>0){if(B&255){break Da}Oh(a,b,32)}nb(a,g,d);break Ca}nb(a,g,d);Oh(a,b,32)}if(p){Za(J[a>>2],p)}b=o+1|0;continue}}function eo(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,N=0,O=0,Q=0,R=0,S=0,T=0;d=Fa-288|0;Fa=d;l=J[a+116>>2];S=d+15|0;while(1){a:{b:{if(J[l+20>>2]>=0){break b}if(!If(l)){break b}b=0;break a}c:{d:{if(!K[l+12|0]){b=0;if((P(J[l+20>>2],3)|0)<=J[J[a+20>>2]+40>>2]<<1){break a}F=K[a+68|0];if(!F){break a}break d}F=K[a+68|0];if(F){break d}b=J[a+20>>2]+8|0;e:{while(1){b=J[b>>2];if(!b){break e}if(!(!(K[b|0]|(a|0)==(b|0))&J[b+116>>2]==J[a+116>>2])){b=b+24|0;continue}break}b=Ta(79051);break a}J[d+24>>2]=0;J[d+240>>2]=0;e=J[l+52>>2];f:{b=Pb(J[l+72>>2]);g:{if(b){c=0;break g}J[d+48>>2]=cf(e,d+24|0,d+240|0,J[l+4>>2],0);c=J[d+24>>2];b=d+48|0;gt(l,c,b);if(K[e+17|0]){vd(e,J[d+240>>2],5,J[l+4>>2],b)}b=J[d+48>>2];if(!b){break f}}J[a+124>>2]=0;zb(c);break a}Qa(c+28|0,l+28|0,K[l+12|0]<<1);Qa(c+36|0,l+36|0,K[l+12|0]<<2);H[c+12|0]=K[l+12|0];Fh(l,K[J[c+56>>2]]&247);b=J[l+56>>2]+K[l+9|0]|0;e=J[d+240>>2];e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[b+8|0]=e;H[b+9|0]=e>>>8;H[b+10|0]=e>>>16;H[b+11|0]=e>>>24;J[a+124>>2]=c;J[a+120>>2]=l;b=0;I[a+70>>1]=0;I[a+72>>1]=0;H[a+68|0]=1;break c}if(J[J[l+72>>2]+32>>2]>=2){b=Ta(79111);break a}b=(F<<24>>24)-1|0;r=L[((b<<1)+a|0)+72>>1];k=J[((b<<2)+a|0)+120>>2];b=Pb(J[k+72>>2]);h:{if(b){break h}if(J[k+20>>2]<0){b=If(k);if(b){break h}}i:{if(!K[l+2|0]|K[l+12|0]!=1){break i}b=L[l+28>>1];if(J[k+4>>2]==1|(b|0)!=L[l+24>>1]|(r|0)!=L[k+24>>1]){break i}if(!b){b=Ta(77963);break h}c=J[l+52>>2];b=cf(c,d+24|0,d+208|0,0,0);if(b){break h}b=J[l+36>>2];J[d+176>>2]=b;I[d+144>>1]=Ja[J[l+76>>2]](l,b);h=J[d+24>>2];Fh(h,13);J[d+52>>2]=l;J[d+48>>2]=1;J[d+60>>2]=d+144;J[d+56>>2]=d+176;b=J[l+60>>2];J[d+88>>2]=2;J[d+64>>2]=b;b=ft(d+48|0,0,1,h);J[d+240>>2]=b;if(!b){J[h+20>>2]=(J[c+40>>2]-(L[h+18>>1]+L[d+144>>1]|0)|0)-2;j:{if(!K[c+17|0]){break j}b=d+240|0;vd(c,J[d+208>>2],5,J[k+4>>2],b);if(L[d+144>>1]<=L[h+16>>1]){break j}Ti(h,h,J[d+176>>2],b)}b=J[l+64>>2]+(L[l+24>>1]<<1)|0;g=J[l+56>>2]+(L[l+26>>1]&(K[b-2|0]<<8|K[b-1|0]))|0;b=0;while(1){k:{e=b+1|0;c=e+g|0;J[d+176>>2]=c;i=b+g|0;if(b>>>0>7){break k}b=e;if(H[i|0]<0){continue}}break}e=i+10|0;f=S;while(1){l:{b=c+1|0;J[d+176>>2]=b;c=H[c|0];H[f|0]=c;f=f+1|0;if((c|0)>=0){break l}c=b;if(b>>>0<e>>>0){continue}}break}b=J[d+240>>2];if(!b){b=d+11|0;b=co(k,L[k+24>>1],b,f-b|0,0,J[l+4>>2])}c=J[k+56>>2]+K[k+9|0]|0;e=J[d+208>>2];e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[c+8|0]=e;H[c+9|0]=e>>>8;H[c+10|0]=e>>>16;H[c+11|0]=e>>>24}zb(h);break h}G=Wi(J[J[a+20>>2]+36>>2]);b=K[a+3|0];J[d+284>>2]=0;H[d+136|0]=0;J[d+132>>2]=0;Sa(d+48|0,0,64);if(G){x=b&1;p=0;b=J[k+56>>2];c=L[k+24>>1];e=K[k+12|0];y=c+e|0;if(y>>>0>=2){p=0;m:{if(!r){break m}p=(r+x|0)-2|0;if((r|0)==(y|0)){break m}p=r-1|0}y=2-x|0}g=c;c=(p-e|0)+y|0;m=(b+K[k+9|0]|0)+8|0;n:{if((g|0)==(c|0)){break n}c=J[k+64>>2]+(c<<1)|0;m=b+(L[k+26>>1]&(K[c|0]<<8|K[c+1|0]))|0}u=J[k+52>>2];o=y+1|0;c=0;g=ab(m);b=y;h=0;o:{while(1){p:{if(!c){e=b<<2;c=e+(d+272|0)|0;i=Ji(u,g,c,0);J[d+284>>2]=i;if(!i){break p}}f=0;Sa(d+272|0,0,(b<<2)+4|0);break o}q:{c=J[c>>2];if(J[c+20>>2]>=0){break q}i=If(c);J[d+284>>2]=i;if(!i){break q}f=0;Sa(d+272|0,0,e);break o}h=(L[c+24>>1]+h|0)+4|0;if(b){c=K[k+12|0];b=b-1|0;e=p+b|0;if(!(!c|(e|0)!=L[k+28>>1])){e=b<<2;c=J[k+36>>2];J[e+(d+232|0)>>2]=c;g=ab(c);J[e+(d+144|0)>>2]=Ja[J[k+76>>2]](k,c);c=0;H[k+12|0]=0;continue}i=b<<2;f=i+(d+232|0)|0;c=J[k+64>>2]+(e-c<<1)|0;c=J[k+56>>2]+(L[k+26>>1]&(K[c|0]<<8|K[c+1|0]))|0;J[f>>2]=c;g=ab(c);j=i+(d+144|0)|0;i=Ja[J[k+76>>2]](k,c)|0;J[j>>2]=i;r:{if(!(K[u+24|0]&12)){break r}j=c-J[k+56>>2]|0;if(J[u+40>>2]<(j+i|0)){break r}Qa(j+G|0,c,i);J[f>>2]=(c-J[k+56>>2]|0)+G}Ok(k,e-K[k+12|0]|0,i,d+284|0);c=J[d+284>>2];continue}break}J[d+140>>2]=g;b=h+3&2147483644;c=J[u+36>>2]+P(b,6)|0;h=Yb(c,c>>31);J[d+56>>2]=h;if(!h){J[d+284>>2]=7;f=0;break o}B=J[d+272>>2];J[d+52>>2]=B;t=h+(b<<2)|0;J[d+60>>2]=t;s=t+(b<<1)|0;N=y+1|0;Q=K[B+8|0];D=Q<<2;v=K[B+2|0];c=0;i=0;g=0;while(1){s:{if((g|0)!=(N|0)){n=g<<2;e=J[n+(d+272|0)>>2];j=J[e+56>>2];if(K[j|0]!=K[J[B+56>>2]]){J[d+284>>2]=Ta(78384);f=0;break o}b=j+L[e+18>>1]|0;E=L[e+26>>1];f=L[e+24>>1];Sa(t+(c<<1)|0,0,f+K[e+12|0]<<1);q=K[e+12|0];if(!q){break s}w=L[e+28>>1];if(w>>>0<=f>>>0){f=0;while(1)if((f|0)==(w|0)){f=0;while(1){if((f|0)!=(q|0)){J[h+(c<<2)>>2]=J[(e+(f<<2)|0)+36>>2];f=f+1|0;c=c+1|0;continue}break}J[d+48>>2]=c;break s}else{J[h+(c<<2)>>2]=j+(E&(K[b+1|0]|K[b|0]<<8));f=f+1|0;c=c+1|0;b=b+2|0;continue}}J[d+284>>2]=Ta(78408);f=0;break o}E=(D+J[u+40>>2]|0)-12|0;c=0;h=0;while(1){t:{if((h|0)==(N|0)){g=0;t=J[d+48>>2];e=o;break t}g=(d+48|0)+(c<<2)|0;e=h<<2;b=J[e+(d+272|0)>>2];J[g+16>>2]=J[b+60>>2];f=g;g=J[e+(d+176|0)>>2];J[f+40>>2]=g;if(c){i=c-1|0;i=(g|0)==J[((i<<2)+d|0)+88>>2]?i:c}else{i=0}if(!v){c=J[k+60>>2];i=i+1|0;f=(d+48|0)+(i<<2)|0;J[f+40>>2]=g+1;J[f+16>>2]=c}j=e+(d+144|0)|0;f=E-J[b+20>>2]|0;J[j>>2]=f;c=0;while(1){if(c>>>0<K[b+12|0]){f=((Ja[J[b+76>>2]](b,J[(b+(c<<2)|0)+36>>2])|0)+f|0)+2|0;J[j>>2]=f;c=c+1|0;continue}break}J[e+(d+208|0)>>2]=g;c=i+1|0;h=h+1|0;continue}break}while(1){u:{if((e|0)>(g|0)){h=g+2|0;s=g<<2;b=d+208|0;i=s+b|0;f=b;c=g+1|0;b=c<<2;w=f+b|0;f=b;b=d+144|0;j=f+b|0;n=b+s|0;b=J[n>>2];while(1){v:{if((b|0)<=(E|0)){J[n>>2]=b;f=J[i>>2];q=(f|0)>(t|0)?f:t;while(1){if((f|0)==(q|0)){break u}h=Ff(d+48|0,f)+2|0;b=h+b|0;if((E|0)<(b|0)){break v}J[n>>2]=b;f=f+1|0;w:{if(v){break w}h=0;if((f|0)>=(t|0)){break w}h=Ff(d+48|0,f)+2|0}J[j>>2]=J[j>>2]-h;continue}}if((c|0)>=(e|0)){if(g>>>0>=4){J[n>>2]=b;J[d+284>>2]=Ta(78509);f=0;break o}J[j>>2]=0;J[w>>2]=t;e=h}z=d+48|0;q=J[i>>2];C=q-1|0;A=Ff(z,C)+2|0;f=A;x:{if(v){break x}f=0;if((q|0)>=(t|0)){break x}f=Ff(z,q)+2|0}b=b-A|0;J[j>>2]=f+J[j>>2];J[i>>2]=C;continue}break}J[i>>2]=f;b=g?J[(d+s|0)+204>>2]:0;g=c;if((b|0)<(f|0)){continue}J[d+284>>2]=Ta(78542);f=0;break o}s=J[d+60>>2];w=e-1|0;j=w;while(1){y:{z:{if((j|0)>0){z=j<<2;b=d+144|0;C=z+b|0;g=J[C>>2];c=b;n=j-1|0;b=n<<2;A=c+b|0;h=J[A>>2];R=b+(d+208|0)|0;b=J[R>>2];f=b-v|0;Ff(d+48|0,f);T=(j|0)!=(w|0)?-2:0;while(1){c=b-1|0;q=Ff(d+48|0,c);i=L[(f<<1)+s>>1];A:{if(!g){i=i+2|0;break A}if(x){break z}i=(g+i|0)+2|0;if((i|0)>((h+T|0)-q|0)){break z}}J[R>>2]=c;f=f-1|0;h=(h-q|0)-2|0;q=(b|0)>1;g=i;b=c;if(q){continue}break}break y}b=0;h=(e|0)>0?e:0;i=r-p|0;g=K[J[B+56>>2]];f=0;while(1){B:{if((b|0)==(h|0)){b=0;B=(f|0)>0?f:0;break B}C:{D:{if(b>>>0<=y>>>0){e=b<<2;j=e+(d+272|0)|0;c=J[j>>2];J[e+(d+240|0)>>2]=c;J[j>>2]=0;e=Pb(J[c+72>>2]);J[d+284>>2]=e;f=f+1|0;if(e|J[J[c+72>>2]+32>>2]==(((b|0)==(i|0)?2:1)|0)){break D}J[d+284>>2]=Ta(78619);break o}c=cf(u,d+24|0,d+140|0,x?1:J[d+140>>2],0);J[d+284>>2]=c;if(c){break o}c=J[d+24>>2];Fh(c,g);e=b<<2;J[e+(d+176|0)>>2]=t;J[e+(d+240|0)>>2]=c;f=f+1|0;if(!K[u+17|0]){break C}vd(u,J[c+4>>2],5,J[k+4>>2],d+284|0);if(!J[d+284>>2]){break C}break o}if(e){break o}}b=b+1|0;continue}break}while(1){if((b|0)!=(B|0)){c=b<<2;J[c+(d+112|0)>>2]=J[J[c+(d+240|0)>>2]+4>>2];b=b+1|0;continue}break}h=0;i=f-1|0;r=(i|0)>0?i:0;while(1){e=h;if((e|0)!=(r|0)){c=e;h=c+1|0;b=h;while(1){if((b|0)<(f|0)){j=d+240|0;c=M[J[j+(b<<2)>>2]+4>>2]<M[J[j+(c<<2)>>2]+4>>2]?b:c;b=b+1|0;continue}break}if((c|0)==(e|0)){continue}b=c<<2;c=d+240|0;b=J[b+c>>2];j=J[b+4>>2];c=J[c+(e<<2)>>2];e=J[c+4>>2];n=J[c+72>>2];x=L[n+28>>1];q=J[u+36>>2];w=J[16608];z=L[J[b+72>>2]+28>>1];I[n+28>>1]=z;Dh(n,((w>>>0)/(q>>>0)|0)+1|0);n=J[b+72>>2];I[n+28>>1]=x;Dh(n,e);n=J[c+72>>2];I[n+28>>1]=z;Dh(n,j);J[c+4>>2]=j;J[b+4>>2]=e;continue}break}c=d+240|0;e=J[c+(i<<2)>>2];b=J[e+4>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[m|0]=b;H[m+1|0]=b>>>8;H[m+2|0]=b>>>16;H[m+3|0]=b>>>24;if(!(g&8|(f|0)==(o|0))){b=J[e+56>>2];c=J[J[(y<<2)+((f|0)>(o|0)?c:d+272|0)>>2]+56>>2];c=K[c+8|0]|K[c+9|0]<<8|(K[c+10|0]<<16|K[c+11|0]<<24);H[b+8|0]=c;H[b+9|0]=c>>>8;H[b+10|0]=c>>>16;H[b+11|0]=c>>>24}if(K[u+17|0]){g=J[d+240>>2];c=K[g+12|0]+L[g+24>>1]|0;j=!v;s=0;e=g;b=0;h=0;while(1){if((h|0)<(t|0)){m=h+j|0;i=J[J[d+56>>2]+(h<<2)>>2];while(1){if((c|0)==(h|0)){b=b+1|0;g=J[((f|0)>(b|0)?d+240|0:d+272|0)+(b<<2)>>2];c=(m+L[g+24>>1]|0)+K[g+12|0]|0;continue}break}E:{if(J[(d+208|0)+(s<<2)>>2]==(h|0)){s=s+1|0;e=J[(d+240|0)+(s<<2)>>2];if(!v){break E}}if(!(J[e+4>>2]!=J[(d+112|0)+(b<<2)>>2]|(b|0)>=(f|0)|i>>>0<M[g+56>>2])){if(i>>>0<M[g+60>>2]){break E}}if(!Q){vd(u,ab(i),5,J[e+4>>2],d+284|0)}if(Ff(d+48|0,h)>>>0>L[e+16>>1]){Ti(e,g,i,d+284|0)}if(J[d+284>>2]){break o}t=J[d+48>>2]}h=h+1|0;continue}break}s=J[d+60>>2]}j=0;n=J[d+56>>2];g=0;F:{G:{while(1){H:{if((g|0)!=(r|0)){e=j+G|0;b=g<<2;c=J[b+(d+208|0)>>2];o=L[(c<<1)+s>>1];i=o+D|0;h=J[n+(c<<2)>>2];m=J[b+(d+240|0)>>2];I:{if(!K[m+8|0]){b=J[m+56>>2];o=K[h|0]|K[h+1|0]<<8|(K[h+2|0]<<16|K[h+3|0]<<24);H[b+8|0]=o;H[b+9|0]=o>>>8;H[b+10|0]=o>>>16;H[b+11|0]=o>>>24;break I}if(v){c=c-1|0;Ja[J[m+80>>2]](m,J[n+(c<<2)>>2],d+24|0);i=af(e+4|0,J[d+24>>2],J[d+28>>2])+4|0;h=e;e=0;break I}h=h-4|0;if((o|0)!=4){break I}i=Ja[J[k+76>>2]](k,h)|0}j=i+j|0;b=0;while(1){if(!((b|0)==6|J[((b<<2)+d|0)+88>>2]>(c|0))){b=b+1|0;continue}break}b=J[((b<<2)+d|0)- -64>>2];if(b>>>0<=h>>>0|b>>>0>=h+i>>>0){break H}J[d+284>>2]=Ta(78819);break o}i=1-f|0;z=(f|0)>(i|0)?f:i;D=!v;q=J[d+52>>2];e=J[d+208>>2];J:{while(1){if((i|0)!=(z|0)){b=i>>31;g=(b^i)-b|0;C=g+(d+132|0)|0;K:{if(K[C|0]){break K}L:{M:{if((i|0)<0){c=g-1|0;b=c<<2;if(J[b+(d+176|0)>>2]>=J[b+(d+208|0)>>2]){break M}break K}if(!i){p=0;h=e;b=0;break L}c=g-1|0}b=t;c=c<<2;h=d+208|0;p=D+J[c+h>>2]|0;h=J[h+(g<<2)>>2]-p|0;if((g|0)<=(y|0)){b=D+J[c+(d+176|0)>>2]|0}}A=g<<2;j=J[A+(d+240|0)>>2];o=J[j+64>>2];r=K[j+9|0];v=J[j+56>>2];x=K[j+12|0];m=L[j+24>>1];g=m;c=b;if((b|0)<(p|0)){b=et(j,b,p-b|0,d+48|0);if((b|0)>(g|0)){b=77849;break F}g=J[j+64>>2];Dc(g,g+(b<<1)|0,m<<1);g=m-b|0}m=x+(c+m|0)|0;b=h+p|0;if((m|0)>(b|0)){g=g-et(j,b,m-b|0,d+48|0)|0}m=r+v|0;b=v+(K[m+5|0]<<8|K[m+6|0])|0;J[d+24>>2]=b;N:{O:{r=o+(h<<1)|0;if(r>>>0>b>>>0|b>>>0>M[j+60>>2]){break O}if((c|0)>(p|0)){o=J[j+64>>2];b=c-p|0;b=(b|0)<(h|0)?b:h;Dc(o+(b<<1)|0,o,g<<1);if(Un(j,r,d+24|0,o,p,b,d+48|0)){break O}g=b+g|0}b=0;while(1){if(K[j+12|0]>b>>>0){w=c+L[(j+(b<<1)|0)+28>>1]|0;o=w-p|0;if(!((o|0)<0|(h|0)<=(o|0))){x=J[j+64>>2]+(o<<1)|0;if((g|0)>(o|0)){Dc(x+2|0,x,g-o<<1)}o=d+48|0;Ff(o,w);if(Un(j,r,d+24|0,x,w,1,o)){break O}g=g+1|0}b=b+1|0;continue}break}if(Un(j,r,d+24|0,J[j+64>>2]+(g<<1)|0,g+p|0,h-g|0,d+48|0)){break O}H[j+12|0]=0;I[j+24>>1]=h;H[m+3|0]=h>>>8;H[m+4|0]=K[j+24|0];b=J[d+24>>2]-v|0;b=b<<8|(b&65280)>>>8;H[m+5|0]=b;H[m+6|0]=b>>>8;break N}b=p;c=h;if((c|0)<=0){b=77923;break F}while(1){if((c|0)>0){g=(b<<1)+s|0;if(!L[g>>1]){I[g>>1]=Ja[J[q+76>>2]](q,J[n+(b<<2)>>2])}c=c-1|0;b=b+1|0;continue}break}b=ft(d+48|0,p,h,j);if(b){break J}}H[C|0]=1;J[j+20>>2]=E-J[A+(d+144|0)>>2]}i=i+1|0;continue}break}J[d+284>>2]=0;P:{if(L[k+24>>1]|(F|0)!=1){break P}b=J[d+240>>2];if(J[b+20>>2]<K[k+9|0]){break P}J[d+284>>2]=fo(b,-1);c=d+284|0;gt(b,k,c);wh(b,c);break G}if(!K[u+17|0]){break G}b=0;if(Q){break G}while(1){if((b|0)==(B|0)){break G}c=J[(d+240|0)+(b<<2)>>2];vd(u,ab(J[c+56>>2]+8|0),5,J[c+4>>2],d+284|0);b=b+1|0;continue}}J[d+284>>2]=b;break o}b=g+p|0;g=g+1|0;b=co(k,b,h,i,e,J[m+4>>2]);if(!b){continue}break}J[d+284>>2]=b;break o}c=(f|0)>(N|0)?f:N;b=f;while(1){if((b|0)==(c|0)){break o}wh(J[(d+272|0)+(b<<2)>>2],d+284|0);b=b+1|0;continue}}J[d+284>>2]=Ta(b);break o}c=b;i=g}J[C>>2]=i;J[A>>2]=h;b=0;b=(j|0)>=2?J[(d+z|0)+200>>2]:b;j=n;if((b|0)<(c|0)){continue}break}J[d+284>>2]=Ta(78586);f=0;break o}J[i>>2]=q;e=c;g=c;continue}}f=(j+L[e+18>>1]|0)+(L[e+24>>1]<<1)|0;while(1){if(b>>>0<f>>>0){J[h+(c<<2)>>2]=j+(E&(K[b+1|0]|K[b|0]<<8));c=c+1|0;J[d+48>>2]=c;b=b+2|0;continue}break}J[n+(d+176|0)>>2]=c;if(!(v|g>>>0>=y>>>0)){b=t+(c<<1)|0;f=J[n+(d+144|0)>>2];I[b>>1]=f;j=J[n+(d+232|0)>>2];n=f&65535;j=Qa(i+s|0,j,n)+D|0;J[h+(c<<2)>>2]=j;f=L[b>>1]-D|0;I[b>>1]=f;i=i+n|0;Q:{if(!K[e+8|0]){b=J[e+56>>2];b=K[b+8|0]|K[b+9|0]<<8|(K[b+10|0]<<16|K[b+11|0]<<24);H[j|0]=b;H[j+1|0]=b>>>8;H[j+2|0]=b>>>16;H[j+3|0]=b>>>24;break Q}while(1){if((f&65535)>>>0>3){break Q}H[i+s|0]=0;f=L[b>>1]+1|0;I[b>>1]=f;i=i+1|0;continue}}c=c+1|0;J[d+48>>2]=c}g=g+1|0;continue}}b=0;Ua(0,J[d+56>>2]);c=y+1|0;while(1){if((b|0)==(c|0)){b=0;c=(f|0)>0?f:0;while(1){if((b|0)!=(c|0)){zb(J[(d+240|0)+(b<<2)>>2]);b=b+1|0;continue}break}b=J[d+284>>2]}else{zb(J[(d+272|0)+(b<<2)>>2]);b=b+1|0;continue}break}}else{b=7}if(O){ef(O)}O=G}H[l+12|0]=0;zb(l);c=K[a+68|0]-1|0;H[a+68|0]=c;c=J[((c<<24>>24<<2)+a|0)+120>>2]}l=c;J[a+116>>2]=c;if(!b){continue}}break}if(O){ef(O)}Fa=d+288|0;return b}function sA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=Fa-272|0;Fa=f;i=J[a+24>>2];g=J[i>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{e=K[b|0];switch(e-45|0){case 14:break k;case 5:case 6:break l;case 30:break m;case 1:case 2:case 13:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:break d;case 4:break f;case 3:case 7:case 8:case 9:case 10:case 11:case 12:break g;case 0:break h;default:break n}}o:{switch(e-138|0){case 3:break j;case 1:case 2:break d;case 0:break f;default:break o}}p:{switch(e-171|0){case 1:break e;case 0:break h;default:break p}}if((e|0)==20){break f}if(!(K[i+24|0]&46)|(e|0)!=156){break d}Dm(g,i,4469,b,b);break d}a=J[i+4>>2];H[b|0]=167;J[b+44>>2]=J[a+24>>2];J[b+28>>2]=J[a+48>>2];I[b+32>>1]=L[b+32>>1]-1;H[b+1|0]=68;break d}c=i;while(1){if(!(!c|d>>>0>7)){J[(f+208|0)+(d<<2)>>2]=J[c+16>>2];d=d+1|0;c=J[c+12>>2];continue}break}Eb(a,J[b+12>>2]);a=J[b+12>>2];if(Xe(a)|K[g+220|0]>1){break b}c=K[b|0];H[b|0]=155;J[b+8>>2]=(c|0)==51;J[b+4>>2]=J[b+4>>2]|2048;c=0;while(1){if(!(!i|c>>>0>7)){J[i+16>>2]=J[(f+208|0)+(c<<2)>>2];c=c+1|0;i=J[i+12>>2];continue}break}_a(J[g>>2],a);J[b+12>>2]=0;break b}a=J[b+8>>2];break i}e=J[b+12>>2];if(K[i+24|0]&40){Dm(g,i,8999,0,b)}a=J[b+16>>2];q:{if(K[a|0]==59){break q}d=J[e+8>>2];e=J[a+12>>2];a=J[a+16>>2]}l=a;a=J[l+8>>2];n=J[e+8>>2];if(K[g+220|0]<2){break i}Zc(g,b,l);Zc(g,b+44|0,e)}q=J[g>>2];J[f+208>>2]=0;J[b+28>>2]=-1;if(!d|K[i+24|0]&6){break c}j=J[q+20>>2];e=(j|0)>0?j:0;while(1){r:{s:{if((c|0)==(e|0)){c=e;break s}k=J[q+16>>2];m=c<<4;if(Xa(J[k+m>>2],d)){break r}u=J[(k+m|0)+12>>2]}if((c|0)!=(j|0)){m=d;break c}m=d;if(Xa(11276,d)){break c}c=J[q+16>>2];m=J[c>>2];u=J[c+12>>2];break c}c=c+1|0;continue}}e=Xc(J[b+16>>2]);if(!e){break g}c=K[e|0];if((c|0)!=170&(c|0)!=59){break g}c=2;if((sA(a,e)|0)==2){break a}if(K[e|0]!=170){break g}H[b+2|0]=K[b|0];H[b|0]=175;c=0;break a}if(K[J[g>>2]+87|0]){break d}a=Mc(J[b+12>>2]);t:{u:{if(K[b|0]==48){c=J[b+20>>2];d=Mc(J[c+8>>2]);if((a|0)!=(d|0)){break t}c=c+24|0;break u}c=b+16|0}d=Mc(J[c>>2])}if((a|0)==(d|0)){break d}Ra(g,15608,0);Ig(J[g>>2],b);break d}if(!(K[b+5|0]&16)){break d}c=J[i+16>>2];v:{if(K[i+24|0]&46){Dm(g,i,5845,b,b);break v}$b(a,J[b+20>>2])}if((c|0)!=J[i+16>>2]){J[b+4>>2]=J[b+4>>2]|64}J[i+24>>2]=J[i+24>>2]|64;break d}l=J[b+20>>2];if(l){h=J[l>>2]}c=J[g>>2];j=K[c+84|0];if(H[b+7|0]&1){e=J[b+44>>2];d=K[e+16|0]!=166?e:0}s=J[i+24>>2];e=i+24|0;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{k=J[b+8>>2];c=Ne(c,k,h,j,0);H:{if(!c){c=Ne(J[g>>2],k,-2,j,0);h=(c|0)!=0;p=!c;break H}o=J[c+20>>2];I:{if(!(K[c+5|0]&4)){break I}J[b+4>>2]=J[b+4>>2]|524288;if((h|0)==2){j=J[l+24>>2];J[f+208>>2]=0;J[f+212>>2]=-1074790400;J:{K:{if(K[j|0]==153){j=J[j+8>>2];Hd(j,f+208|0,Ya(j),1);v=O[f+208>>3];if(!(v>1)){break K}}J[b+28>>2]=-1;break J}v=v*134217728;L:{if(R(v)<2147483648){j=~~v;break L}j=-2147483648}J[b+28>>2]=j;if((j|0)>=0){break I}}J[f+96>>2]=b;Ra(g,24794,f+96|0);J[i+20>>2]=J[i+20>>2]+1;break I}J[b+28>>2]=K[J[c+32>>2]]==117?8388608:125829120}M:{switch(Tb(g,31,0,J[c+32>>2],0)|0){case 1:J[f+80>>2]=b;Ra(g,19188,f+80|0);J[i+20>>2]=J[i+20>>2]+1;default:H[b|0]=121;break b;case 0:break M}}h=J[c+4>>2];if(h&10240){J[b+4>>2]=J[b+4>>2]|1048576}j=J[e>>2];N:{if(!(h&2048)){if(!(j&42)){break N}Dm(g,i,4993,0,b);h=J[c+4>>2];break N}H[b+2|0]=j&46;if(!(j&262144)){break N}J[b+4>>2]=J[b+4>>2]|1073741824}m=(o|0)!=0;if(!(K[g+18|0]|!(h&262144)|K[J[g>>2]+24|0]&32)){break G}O:{if(!(h&2621440)){p=1;break O}p=1;if(K[g+220|0]>1){break O}OA(g,b,c)}h=1}k=g+220|0;if(K[g+220|0]<2){break F}j=c;break x}k=g+220|0;p=1;j=0;if(K[g+220|0]>1){break x}h=0;if(o){break E}break C}j=0;if(c){if(J[c+24>>2]?0:d){break A}j=c}if(!m){break D}}c=J[e>>2];m=J[j+4>>2]&65536;if(!(!(c&1)|!(m?d:1))){r=1;if(!d|c&16384){break D}}J[f+4>>2]=b;J[f>>2]=d|m?1716:13128;Ra(g,26693,f);J[i+20>>2]=J[i+20>>2]+1;h=0;break w}if(h){break B}}if(K[J[g>>2]+177|0]){break B}J[f+48>>2]=b;Ra(g,19166,f+48|0);break z}if(!p){J[f+32>>2]=b;Ra(g,26721,f+32|0);break z}if(r){break y}if(H[b+7|0]&1){J[f+16>>2]=b;Ra(g,26835,f+16|0);J[i+20>>2]=J[i+20>>2]+1;h=0;break w}h=0;if(!J[b+12>>2]){break w}cB(g,b);J[i+20>>2]=J[i+20>>2]+1;break w}J[f+64>>2]=b;Ra(g,10386,f- -64|0);J[i+20>>2]=J[i+20>>2]+1;h=0;j=c;if(!m){break w}break y}J[i+20>>2]=J[i+20>>2]+1;h=0;if(!r){break w}}J[e>>2]=J[e>>2]&(!d^-16385);h=1;break w}h=(K[b+7|0]|m)&1}dc(a,l);c=1;if(!h){break a}m=J[b+12>>2];if(m){dc(a,J[m+20>>2])}P:{Q:{if(d){i=J[i+32>>2];if(K[k|0]<=1){b=i?J[i+72>>2]:0;k=J[d>>2];R:{S:{if(!(K[d+16|0]|!k)){b=TA(g,b,k);k=J[g>>2];if(!b){break R}J[d+8>>2]=kc(k,J[b+8>>2],0);J[d+12>>2]=kc(J[g>>2],J[b+12>>2],0);J[d+24>>2]=eb(J[g>>2],J[b+24>>2],0);J[d+28>>2]=eb(J[g>>2],J[b+28>>2],0);H[d+17|0]=K[b+17|0];H[d+18|0]=K[b+18|0];h=K[b+16|0];H[d+16|0]=h;H[d+20|0]=K[b+20|0];break S}Ps(g,d,b);h=K[d+16|0]}T:{U:{if(!(J[d+24>>2]|J[d+28>>2])|(h&255)!=89){break U}b=J[d+12>>2];if(J[b>>2]==1?b:0){break U}Ra(g,10790,0);break T}if(!(H[j+6|0]&1)){break T}if(!J[d+40>>2]){b=J[g>>2];m=J[j+32>>2];h=0;while(1){if((h|0)==8){break T}k=h<<4;if((m|0)==J[k+49856>>2]){_a(b,J[d+24>>2]);_a(b,J[d+28>>2]);H[d+20|0]=0;H[d+18|0]=J[k+49868>>2];m=K[k+49864|0];H[d+17|0]=m;H[d+16|0]=J[k+49860>>2];J[d+24>>2]=0;J[d+28>>2]=0;if((m|0)!=86){break T}J[d+24>>2]=jc(b,155,24095);break T}else{h=h+1|0;continue}}}Ra(g,4930,0)}J[d+44>>2]=j;k=J[g>>2]}if(K[k+87|0]){break d}}dc(a,J[d+8>>2]);dc(a,J[d+12>>2]);Eb(a,J[d+40>>2]);wA(i,d);d=J[e>>2];h=e;a=32768;break Q}H[b+2|0]=0;H[b|0]=168;if(H[b+7|0]&1){Eb(a,J[J[b+44>>2]+40>>2])}while(1){if(!i){break P}a=J[i+4>>2];J[f+216>>2]=0;J[f+220>>2]=0;J[f+224>>2]=0;J[f+228>>2]=0;J[f+208>>2]=0;J[f+212>>2]=0;J[f+264>>2]=0;J[f+268>>2]=0;J[f+256>>2]=0;J[f+260>>2]=0;J[f+216>>2]=81;J[f+220>>2]=82;J[f+212>>2]=83;J[f+232>>2]=f+248;d=J[g>>2];J[f+252>>2]=a;J[f+248>>2]=d;a=f+208|0;dc(a,J[b+20>>2]);d=J[b+12>>2];if(d){dc(a,J[d+20>>2])}if(H[b+7|0]&1){Eb(f+208|0,J[J[b+44>>2]+40>>2])}a=J[f+264>>2];if(a){Sb(J[g>>2],a)}a=L[f+228>>1];if(!(!a|a&1)){H[b+2|0]=(K[i+28|0]+K[b+2|0]|0)+1;i=J[i+12>>2];continue}break}if(!j){break P}H[b+2|0]=K[b+2|0]+K[i+28|0];h=i+24|0;d=J[j+4>>2]&134221824^134217744;a=J[i+24>>2]}J[h>>2]=a|d}J[e>>2]=J[e>>2]|s&16385;break a}c=(J[g+36>>2]!=0)<<1;break a}A=g+132|0;y=b+44|0;k=0;s=167;j=0;o=i;V:{W:{X:{Y:{Z:{while(1){_:{x=J[o+4>>2];if(!x){l=0;break _}e=x+8|0;l=0;r=0;while(1){$:{aa:{ba:{ca:{if(J[x>>2]>(r|0)){h=J[e+16>>2];if(!(K[e+38|0]&32)){break ca}w=J[J[e+20>>2]+28>>2];p=0;c=0;while(1){da:{if(J[w>>2]>(c|0)){J[f+248>>2]=0;d=w+(c<<4)|0;if(!rA(d+8|0,a,n,m,f+248|0)){break da}ea:{if(!J[f+248>>2]){fa:{if((l|0)<=0){break fa}ga:{if(K[e+38|0]&4){if((og(J[e+44>>2],a)|0)>=0){break ga}}kb(q,J[f+208>>2]);J[f+208>>2]=0;break fa}t=K[e+36|0];if(!(t&16)){break da}if(!(t&8)){kb(q,J[f+208>>2]);l=0;J[f+208>>2]=0;break fa}hr(g,f+208|0,k,I[b+32>>1])}p=1;l=l+1|0;break ea}if((l|0)>0){break da}}I[b+32>>1]=c;t=K[d+17|0]|K[d+18|0]<<8;k=t|64;H[d+17|0]=k;H[d+18|0]=k>>>8;j=j+1|0;k=e;if(!(t&128)){break da}}if(!n){break $}if(!p){break ba}break $}c=c+1|0;continue}}if(!k){k=0;break _}J[b+28>>2]=J[k+40>>2];c=J[k+16>>2];J[b+44>>2]=c;if(K[k+36|0]&72){J[b+4>>2]=J[b+4>>2]|2097152}u=J[c+60>>2];break _}if(!n){break aa}}ha:{if(!m){break ha}if(J[h+60>>2]!=(u|0)){break $}if(u){break ha}if(Kc(m,24938)){break $}}c=J[e+12>>2];if(c){if(Xa(n,c)){break $}if(K[g+220|0]<2){break aa}Zc(g,0,y);break aa}if(!Xa(n,J[h>>2])){break aa}if(J[h+20>>2]!=1){break $}ia:{ja:{if(tb(n,18298,7)){break ja}c=n+7|0;ka:{if(!Kc(J[h>>2]+7|0,9199)){if(!Xa(c,18191)){break ka}if(!u){break ja}if(!Xa(c,9218)){break ka}if(!Xa(c,18210)){break ka}break ja}if(Xa(c,18210)){break ja}}c=1;break ia}c=0}if(!c){break $}}p=yg(a);d=0;c=I[h+34>>1];w=(c|0)>0?c:0;c=J[h+4>>2];la:{while(1){if((d|0)==(w|0)){break la}ma:{na:{if((p|0)!=K[c+7|0]){break na}if(Xa(J[c>>2],a)){break na}oa:{if((l|0)<=0){break oa}pa:{if(K[e+38|0]&4){if((og(J[e+44>>2],a)|0)>=0){break pa}}kb(q,J[f+208>>2]);J[f+208>>2]=0;break oa}t=K[e+36|0];if(!(t&16)){break na}if(!(t&8)){kb(q,J[f+208>>2]);l=0;J[f+208>>2]=0;break oa}hr(g,f+208|0,k,I[b+32>>1])}I[b+32>>1]=I[h+32>>1]==(d|0)?-1:d;l=l+1|0;if(!(K[e+38|0]&32)){break ma}ak(e,d);break ma}c=c+12|0;d=d+1|0;continue}break}k=e}if(l){break $}c=J[h+28>>2]&512;k=c?k:e;j=!(c>>>9|0)+j|0;l=0}e=e- -64|0;r=r+1|0;continue}}qa:{if(l|m){break qa}e=0;c=J[g+132>>2];ra:{if(!c){break ra}d=K[g+158|0];sa:{if(K[g+159|0]){if(!(K[o+25|0]&4)){break ra}if(n){if(Xa(n,J[c>>2])){break ra}}e=(d|0)!=128;break sa}ta:{if(!n|(d|0)==128){break ta}if(Xa(1750,n)){break ta}e=1;break sa}if(!n|(d|0)==127){break ra}if(Xa(14938,n)){break ra}}J[b+28>>2]=e;e=c}ua:{if(!n|!(J[o+24>>2]&512)){break ua}c=J[o+8>>2];if(!c){break ua}if(Xa(16417,n)){break ua}e=J[J[c+32>>2]+24>>2];J[b+28>>2]=2}if(!e){l=0;break qa}l=yg(a);d=0;p=I[e+34>>1];h=(p|0)>0?p:0;j=j+1|0;c=J[e+4>>2];u=J[e+60>>2];va:{wa:{while(1){if((d|0)==(h|0)){break wa}xa:{if((l|0)==K[c+7|0]){if(!Xa(J[c>>2],a)){break xa}}c=c+12|0;d=d+1|0;continue}break}h=I[e+32>>1]==(d|0)?-1:d;if((p|0)>(h|0)){break va}}if(!aj(a)){break va}h=K[e+29|0]&2?h:-1}l=0;if((h|0)>=(p|0)){break qa}ya:{za:{c=J[b+28>>2];if((c|0)==2){if(K[g+220|0]>=2){J[b+44>>2]=e;I[b+32>>1]=h;l=1;s=167;break ya}J[b+28>>2]=J[J[o+8>>2]+36>>2]+wc(e,h<<16>>16);l=1;break za}J[y>>2]=e;if(K[g+159|0]){I[b+32>>1]=h;H[b+2|0]=167;l=1;J[b+28>>2]=((J[o+8>>2]+wc(e,h<<16>>16)|0)+P(c,I[e+34>>1]+1|0)|0)+1;break za}I[b+32>>1]=h;Aa:{if((h|0)<0){H[b+1|0]=68;break Aa}e=h>>>0>31?-1:1<<h;if(!c){J[g+148>>2]=e|J[g+148>>2];break Aa}J[g+152>>2]=e|J[g+152>>2]}l=1;s=77;break ya}s=176}k=0}p=(k|0)!=0;Ba:{if(!(!k|((j|0)!=1|l))){e=J[o+24>>2];if(e&40){break Ba}if(!aj(a)){break Ba}c=!((K[k+37|0]|K[k+38|0]<<8)&8192);if(c?K[J[k+16>>2]+29|0]&2:0){break Ba}if(c){I[b+32>>1]=65535}H[b+1|0]=68;p=1;d=1;break W}if(l){break Z}e=J[o+24>>2]}Ca:{if(!(e&128)|n){break Ca}c=0;d=J[o+8>>2];h=J[d>>2];l=(h|0)>0?h:0;while(1){if((c|0)==(l|0)){break Ca}Da:{r=d+(c<<4)|0;h=r;if(K[h+17|0]&3){break Da}h=J[h+12>>2];if(Ub(h,a)){break Da}a=J[r+8>>2];j=J[a+4>>2];if(!(!(j&16)|e&1)){J[f+192>>2]=h;Ra(g,6781,f+192|0);c=2;break a}if(!(!(j&32768)|(e&16384?(i|0)==(o|0):0))){J[f+176>>2]=h;Ra(g,6585,f+176|0);c=2;break a}if((Mc(a)|0)!=1){Ra(g,15608,0);c=2;break a}qA(g,d,c,b,z);if(K[g+220|0]<2){break V}Zc(g,0,b);break V}c=c+1|0;continue}}z=z+1|0;o=J[o+12>>2];if(o){continue}break}h=11012;o=0;if(n){break Y}Ea:{if(!(K[b+4|0]&128)){break Ea}Fa:{if(K[q+177|0]){break Fa}e=J[q+32>>2];c=30;if(H[i+26|0]&1){c=29;if((e&1342177281)==1073741825){break Fa}}if(!(e>>>c&1)){break Ea}}J[f+160>>2]=a;Ac(28,29264,f+160|0);e=J[g+8>>2];Ga:{if(!e){break Ga}j=Ya(a);c=Ib(q,j+5|0,0);if(!c){break Ga}J[c>>2]=J[e+208>>2];J[e+208>>2]=c;Qa(c+4|0,a,j+1|0)}J[b+44>>2]=0;J[b+48>>2]=0;H[b|0]=117;break b}c=1;if(zk(b)){break a}break Y}d=1;h=13939;if((l|0)==1){break W}break X}l=0}Ha:{Ia:{c=J[f+208>>2];if(c){if(J[c>>2]==(l-1|0)){a=J[b+4>>2];if(!(a&8388608)){break Ia}J[b+4>>2]=a&-8388609;break Ha}Vf(q,c)}Ja:{if(m){J[f+156>>2]=a;J[f+152>>2]=n;J[f+148>>2]=m;J[f+144>>2]=h;Ra(g,6192,f+144|0);break Ja}if(n){J[f+136>>2]=a;J[f+132>>2]=n;J[f+128>>2]=h;Ra(g,6405,f+128|0);break Ja}J[f+116>>2]=a;J[f+112>>2]=h;Ra(g,7774,f+112|0)}Ig(J[g>>2],b);H[g+17|0]=1;J[i+20>>2]=J[i+20>>2]+1;d=0;s=121;break W}_a(q,J[b+12>>2]);J[b+12>>2]=0;_a(q,J[b+16>>2]);J[b+16>>2]=0}hr(g,f+208|0,k,I[b+32>>1]);J[b+8>>2]=14697;H[b|0]=172;J[b+20>>2]=J[f+208>>2];break V}if(!(K[b+6|0]&129)){_a(q,J[b+12>>2]);J[b+12>>2]=0;_a(q,J[b+16>>2]);J[b+16>>2]=0;J[b+4>>2]=J[b+4>>2]|8388608}if(I[b+32>>1]>=0&d&p){a=J[k+52>>2];J[k+48>>2]=J[k+48>>2]|gr(b);J[k+52>>2]=Ia|a;H[b|0]=s;break V}H[b|0]=s;c=2;if(!d){break a}}c=J[g>>2];Ka:{if(!J[c+364>>2]){break Ka}e=K[b|0];a=(e|0)!=77;if(a&(e|0)!=167){break Ka}e=J[o+4>>2];j=Ab(c,u);if((j|0)<0){break Ka}if(a){c=0;a=J[e>>2];a=(a|0)>0?a:0;while(1){if((a|0)==(c|0)){break Ka}d=e+(c<<6)|0;if(J[b+28>>2]==J[d+48>>2]){a=d+24|0}else{c=c+1|0;continue}break}}else{a=A}a=J[a>>2];if(!a){break Ka}c=J[a>>2];La:{Ma:{d=I[b+32>>1];if((d|0)>=0){break Ma}d=I[a+32>>1];if((d|0)>=0){break Ma}a=20441;break La}a=J[J[a+4>>2]+P(d&65535,12)>>2]}if((pA(g,c,a,j)|0)!=2){break Ka}H[b|0]=121}while(1){c=1;J[i+16>>2]=J[i+16>>2]+1;if((i|0)==(o|0)){break a}i=J[i+12>>2];continue}}c=1}Fa=f+272|0;return c|0}function Ex(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,I=0,L=0,M=0,N=0;f=Fa-112|0;Fa=f;J[f+16>>2]=0;J[f+8>>2]=0;J[f+12>>2]=0;v=pb(648,0);a:{if(!v){l=7;break a}J[f+24>>2]=0;J[f+12>>2]=0;e=Gb(a,22,f+24|0,0);J[f+96>>2]=e;if(!e){e=1;d=J[f+24>>2];xb(d,1,1,0);b:{if((qb(d)|0)!=100){break b}j=Pe(d,0);h=Id(d,0);if(!j){break b}Vd(f+8|0,h,f+96|0);e=0;g=J[f+96>>2];if(g){break b}e=J[f+8>>2];if(e){Qa(e,j,h)}J[f+12>>2]=h;g=0;e=1}e=(L=jb(d),M=g,N=e,N?L:M)}B=v+584|0;E=v+568|0;F=(c|0)<=2?2:c;G=v+108|0;C=v+76|0;I=v- -64|0;s=v+40|0;c:{while(1){d:{if((b|0)<=0|e){break d}h=J[a+260>>2];J[f+4>>2]=0;Gb(a,28,f+4|0,0);d=J[f+4>>2];Uc(d,1,F);j=-1;if((qb(d)|0)==100){r=Sc(d,0);o=Ia;j=Ad(d,1)}i=h<<10;m=i>>31;e=jb(d);J[f+20>>2]=e;g=0;e:{if(e){break e}n=J[f+12>>2];if(!n){break e}h=0;d=0;J[f+24>>2]=0;J[f+28>>2]=0;l=J[f+8>>2];J[f+96>>2]=0;e=267;k=n-1|0;f:{if(H[l+k|0]<0){break f}p=l-1|0;g=k>>31&k;g:{while(1){if((k|0)>0){if(H[k+p|0]>=0){g=k;break g}else{k=k-1|0;continue}}break}if((n|0)>0){break f}}h=l-2|0;d=((g|0)>0?1:g)-1|0;while(1){h:{if((g|0)<2){e=d;break h}k=g+h|0;e=g-1|0;g=e;if(H[k|0]<0){continue}}break}J[f+12>>2]=e;h=uc(e+l|0,f+24|0)+e|0;d=h+l|0;e=H[d|0];i:{if((e|0)<0){d=lc(d,f+96|0);break i}J[f+96>>2]=e&255;d=1}e=(n|0)!=(d+h|0)?267:0;h=J[f+24>>2];d=J[f+28>>2]}J[f+20>>2]=e;j:{if((j|0)>=0){k=nJ(r,o,i,m);g=Ia;m=nJ(h,d,i,m)>>>0>k>>>0;k=Ia;if(m&(k|0)>=(g|0)|(g|0)<(k|0)){break j}}o=(c|0)<(j|0)?j:c;g=J[f+96>>2];j=(g|0)>(o|0)?o:g;D=1;g=1;r=h;o=d;break e}J[f+12>>2]=n;g=0}if((j|0)<=0){break d}l=267;d=i;if((r|0)!=0&(d|0)<=(o|0)|(d|0)<(o|0)|(o|0)<0){break c}i=Sa(v,0,648);J[i+580>>2]=1;k:{if(e){break k}J[f+24>>2]=0;l:{m:{n:{if(Gb(a,8,f+24|0,0)){l=0;break n}h=J[f+24>>2];d=o;e=r+1|0;d=e?d:d+1|0;xb(h,1,e,d);qb(h);l=0;m=Ad(h,0);e=jb(h);J[f+20>>2]=e;if(!m){break n}if(!g){break m}l=1;if((m|0)!=1){break m}}e=Gb(a,15,f+24|0,0);if(e){break l}h=J[f+24>>2];d=h;k=o;e=r+2|0;k=e>>>0<2?k+1|0:k;xb(d,1,e,k);d=o;e=r+1|0;d=e?d:d+1|0;e=(e&-1024)+1024|0;d=e>>>0<1024?d+1|0:d;xb(h,2,e,d);k=0;if((qb(h)|0)==100){k=(Og(h,0)|0)==5}e=jb(h);J[f+20>>2]=e;if(k){J[i+580>>2]=J[i+580>>2]|2}m=l}if(e){break k}J[f+24>>2]=0;x=Sa(B,0,64);d=j<<2;h=pb(d,0);J[x>>2]=h;if(!h){e=7;break l}Sa(h,0,d);e=Gb(a,12,f+24|0,0);if(e){break l}d=J[f+24>>2];xb(d,1,r,o);l=0;k=0;while(1){o:{if(k){break o}if((qb(d)|0)!=100|(j|0)<=(l|0)){break o}k=iy(l,0,Sc(d,1),Ia,Sc(d,2),Ia,Sc(d,3),Ia,Pe(d,4),Id(d,4),J[i+584>>2]+(l<<2)|0);J[i+588>>2]=J[i+588>>2]+1;l=l+1|0;continue}break}e=(L=k,M=jb(d),N=k,N?L:M);J[f+20>>2]=e;if(e){break k}e=0;if(J[i+588>>2]!=(j|0)){break k}e=Lj(a,x,E);J[f+20>>2]=e;if(e){break k}l=ai(a,x);J[f+20>>2]=l;p:{q:{r:{if(!(l?(l|0)!=100:0)){if(!(!g|(m|0)<=0)){w=J[i+636>>2];y=J[i+632>>2];J[f+84>>2]=0;e=Gb(a,32,f+84|0,0);if(e){break p}J[f+96>>2]=0;J[f+100>>2]=0;p=J[f+84>>2];d=p;j=o;h=r+1|0;j=h?j:j+1|0;xb(d,1,h,j);z=m-1|0;Uc(d,2,z);if((qb(d)|0)==100){m=Sc(d,1);q=Ia;j=Sc(d,2);k=Ia;ex(d,3,f+96|0,s);d=J[s>>2];h=J[s+4>>2];if((h|0)<0){J[s>>2]=0-d;J[s+4>>2]=0-(((d|0)!=0)+h|0);d=1;h=0}H[i+48|0]=!(d|h);t=Id(p,4);u=Pe(p,4);if(!u){jb(p);e=t?7:267;break p}n=J[f+96>>2];h=J[f+100>>2];A=h;e=0;J[f+24>>2]=0;g=Gb(a,34,f+24|0,0);if(!g){d=J[f+24>>2];xb(d,1,n,h);e=(qb(d)|0)==100;g=jb(d)}J[f+88>>2]=g;if(!e|g){break r}J[f+80>>2]=0;J[f+76>>2]=0;g=Xg(a,j,k,f+80|0,f+76|0);J[f+88>>2]=g;k=1;if(!g){g=Gp(f+24|0,J[f+80>>2],J[f+76>>2]);while(1){if(!(!J[f+24>>2]|g)){g=Ol(f+24|0);continue}break}J[f+88>>2]=g;d=J[f+48>>2];h=bx(y,w,d,J[f+52>>2]);Oa(d);k=(h|0)>0?e:0}Oa(J[f+80>>2]);break q}e=jb(p);break p}J[f+24>>2]=0;J[f+96>>2]=0;e=Gb(a,29,f+24|0,0);if(e){break p}d=J[f+24>>2];xb(d,1,r,o);h=J[i+588>>2];xb(d,2,h,h>>31);j=0;if((qb(d)|0)==100){j=Ad(d,0)}e=jb(d);if(e){break p}e=Gb(a,10,f+96|0,0);if(e){break p}e=J[f+96>>2];if((qb(e)|0)==100){d=Sc(e,0);J[i+24>>2]=d;g=Ia;J[i+28>>2]=g;h=d;d=j<<4;k=d;h=h+d|0;d=(d>>31)+g|0;J[i+32>>2]=h-1;J[i+36>>2]=(h>>>0<k>>>0?d+1|0:d)-!h}e=jb(e);if(e){break p}e=eg(a,J[i+32>>2],J[i+36>>2],0,0);if(e){break p}J[i+16>>2]=m;J[i>>2]=j;J[i+8>>2]=r;J[i+12>>2]=o;m=j>>31;e=J[i+24>>2];n=J[i+28>>2];h=0;d=0;while(1)if(!d&(h|0)==16){e=0;break p}else{g=i+(h<<5)|0;p=lJ(h,d,j,m);k=n+Ia|0;p=e+p|0;k=p>>>0<e>>>0?k+1|0:k;J[g+56>>2]=p;J[g+60>>2]=k;h=h+1|0;d=h?d:d+1|0;continue}}Yg(x);break c}k=e}s:{if(g){j=g;break s}j=g;if(!k){break s}e=H[u|0];if((e-1&255)>>>0>=15){jb(p);e=267;break p}h=e&255;d=0;J[i+32>>2]=n;J[i+36>>2]=A;J[i+24>>2]=m;J[i+28>>2]=q;J[i+16>>2]=z;J[i+8>>2]=r;J[i+12>>2]=o;g=((n-m|0)+1|0)/16|0;J[i>>2]=g;w=g>>31;while(1){if(!(!d&(h|0)==15)){h=h+1|0;j=h?d:d+1|0;n=(h<<5)+i|0;d=j;j=lJ(h,d,g,w);k=q+Ia|0;j=j+m|0;k=j>>>0<m>>>0?k+1|0:k;J[n+56>>2]=j;J[n+60>>2]=k;continue}break}d=P(e,g);j=d;g=d+m|0;d=(d>>31)+q|0;h=i+(e<<5)|0;J[h+56>>2]=g;J[h+60>>2]=g>>>0<j>>>0?d+1|0:d;d=J[a+232>>2];Vd(h+76|0,((d|0)<(t|0)?t:d)+20|0,f+88|0);g=J[f+88>>2];if(!g){Qa(J[h+76>>2],u,t);J[h+80>>2]=t;d=t+J[h+76>>2]|0;H[d|0]=0;H[d+1|0]=0;H[d+2|0]=0;H[d+3|0]=0;H[d+4|0]=0;H[d+5|0]=0;H[d+6|0]=0;H[d+7|0]=0;H[d+16|0]=0;H[d+17|0]=0;H[d+18|0]=0;H[d+19|0]=0;H[d+8|0]=0;H[d+9|0]=0;H[d+10|0]=0;H[d+11|0]=0;H[d+12|0]=0;H[d+13|0]=0;H[d+14|0]=0;H[d+15|0]=0}j=g;while(1){if((e|0)<0|j){break s}j=0;h=f+24|0;Sa(h,0,48);d=i+(e<<5)|0;k=J[d+76>>2];t:{if(!k){break t}g=Gp(h,k,J[d+80>>2]);while(1){if(!(!J[f+24>>2]|g)){g=Ol(f+24|0);continue}break}J[f+88>>2]=g;k=d- -64|0;h=J[f+52>>2];Vd(k,h,f+88|0);g=J[f+88>>2];j=g;if(g){break t}if((h|0)>0){Qa(J[k>>2],J[f+48>>2],h)}J[d+68>>2]=h;if((e|0)<=0){g=0;j=0;break t}J[f+80>>2]=0;J[f+76>>2]=0;g=J[f+44>>2];d=i+(e-1<<5)|0;h=J[f+40>>2];J[d+56>>2]=h;J[d+60>>2]=g;J[f+88>>2]=Xg(a,h,g,f+80|0,f+76|0);h=J[f+76>>2];g=J[a+232>>2];Vd(d+76|0,((g|0)<(h|0)?h:g)+20|0,f+88|0);g=J[f+88>>2];if(!g){Qa(J[d+76>>2],J[f+80>>2],h);J[d+80>>2]=h;d=h+J[d+76>>2]|0;H[d|0]=0;H[d+1|0]=0;H[d+2|0]=0;H[d+3|0]=0;H[d+4|0]=0;H[d+5|0]=0;H[d+6|0]=0;H[d+7|0]=0;H[d+16|0]=0;H[d+17|0]=0;H[d+18|0]=0;H[d+19|0]=0;H[d+8|0]=0;H[d+9|0]=0;H[d+10|0]=0;H[d+11|0]=0;H[d+12|0]=0;H[d+13|0]=0;H[d+14|0]=0;H[d+15|0]=0}Oa(J[f+80>>2]);j=g}Oa(J[f+48>>2]);e=e-1|0;continue}}e=(L=g,M=jb(p),N=j,N?L:M)}J[f+20>>2]=e;u:{v:{if(e){break v}if(J[i>>2]){w:{if(l){while(1){n=J[i+644>>2];A=J[i+640>>2];u=J[i+636>>2];w=J[i+632>>2];J[f+96>>2]=0;j=Fj(J[i+64>>2],J[i+68>>2],w,u);h=u-j|0;x:{if((h|0)<=0){e=267;break x}g=(Md(j,j>>31)+h|0)+Md(h,0)|0;d=n;t=Md(d,d>>31)+d|0;e=g+t|0;k=J[i+80>>2];y:{if((k|0)<=0|J[a+232>>2]>=(e+k|0)){break y}g=J[i+56>>2];d=J[i>>2];m=d;l=d+J[i+24>>2]|0;d=J[i+28>>2]+(d>>31)|0;h=J[i+60>>2];d=l>>>0<m>>>0?d+1|0:d;if((h|0)>=(d|0)&g>>>0>=l>>>0|(d|0)<(h|0)){break y}e=eg(a,g,h,J[i+76>>2],k);J[f+96>>2]=e;J[i+4>>2]=J[i+4>>2]+1;h=J[i+56>>2];d=J[i+60>>2];if(!e){e=1;k=j+1|0;while(1){z:{if((e|0)==16){m=0;break z}J[f+24>>2]=0;g=i+(e<<5)|0;y=g- -64|0;q=J[g+68>>2];j=Fj(J[y>>2],q,w,k);l=k-j|0;if((l|0)<=0){m=267;break z}m=j>>31;p=m;z=(Md(j,m)+l|0)+Md(l,0)|0;m=J[g+80>>2];A:{B:{if(!(J[a+232>>2]<(z+m|0)?q:0)){q=g+76|0;C:{if(m){break C}Vd(q,J[a+232>>2],f+24|0);if(J[f+24>>2]){m=J[g+80>>2];break C}H[J[q>>2]]=e;m=hc(J[q>>2]+1|0,h,d)+1|0;J[g+80>>2]=m}d=f+24|0;Vd(q,m+z|0,d);Vd(y,k,d);h=0;d=0;m=J[f+24>>2];if(m){break A}m=J[g+80>>2];if(J[g+68>>2]){m=hc(J[q>>2]+m|0,j,p)+J[g+80>>2]|0;J[g+80>>2]=m}m=hc(J[q>>2]+m|0,l,0)+J[g+80>>2]|0;J[g+80>>2]=m;Qa(m+J[q>>2]|0,j+w|0,l);J[g+80>>2]=l+J[g+80>>2];Qa(J[y>>2],w,k);m=0;j=k;break B}m=eg(a,J[g+56>>2],J[g+60>>2],J[g+76>>2],m);H[J[g+76>>2]]=e;j=J[g+76>>2]+1|0;h=h+1|0;d=h?d:d+1|0;J[g+80>>2]=hc(j,h,d)+1;j=J[g+60>>2];d=j;h=J[g+56>>2];l=h+1|0;j=l?d:d+1|0;J[g+56>>2]=l;J[g+60>>2]=j;j=0}J[g+68>>2]=j}if(m){break z}e=e+1|0;if(d|h){continue}}break}J[f+96>>2]=m;h=J[i+56>>2];d=J[i+60>>2]}k=0;J[i+80>>2]=0;J[i+68>>2]=0;h=h+1|0;d=h?d:d+1|0;J[i+56>>2]=h;J[i+60>>2]=d;e=(Md(u,u>>31)+(t+u|0)|0)+1|0}d=J[s+4>>2]+(e>>31)|0;h=e+J[s>>2]|0;d=h>>>0<e>>>0?d+1|0:d;J[s>>2]=h;J[s+4>>2]=d;Vd(C,e+k|0,f+96|0);e=J[f+96>>2];if(e){break x}if(!J[i+80>>2]){J[i+80>>2]=1;H[J[i+76>>2]]=0}e=ax(C,I,w,u,A,n);if(e){break x}e=ai(a,x)}g=J[i+4>>2];if(!((e|0)!=100|(g|0)<(b|0))){J[f+20>>2]=0;break w}if((e|0)==100){continue}break}J[f+20>>2]=e;if(e){break v}}g=J[i+4>>2]}u=g^-1;j=J[i+588>>2];e=0;n=0;while(1){if(!((j|0)<=0|e)){j=j-1|0;l=0;d=J[i+588>>2];d=(d|0)>0?d:0;g=0;while(1){if((d|0)!=(g|0)){h=g<<2;g=g+1|0;l=J[J[x>>2]+h>>2];if(J[l>>2]!=(j|0)){continue}}break}if(J[l+40>>2]){m=J[l>>2];p=J[l+60>>2];t=J[l+64>>2];J[f+32>>2]=0;h=0;d=0;J[f+24>>2]=0;J[f+28>>2]=0;J[f+104>>2]=0;J[f+96>>2]=0;J[f+100>>2]=0;J[f+88>>2]=0;J[f+92>>2]=0;J[f+84>>2]=0;l=0;q=0;e=Gb(a,32,f+84|0,0);if(!e){e=J[f+84>>2];xb(e,1,r,o);Uc(e,2,m);if((qb(e)|0)!=100){g=0}else{g=Pe(e,4);k=Id(e,4);l=Sc(e,1);q=Ia;g=$w(g,k,f+24|0,t,p,f+88|0)}e=(L=g,M=jb(e),N=g,N?L:M)}while(1){D:{if(e){break D}g=J[f+88>>2];k=J[f+92>>2];if(!(g|k)){break D}J[f+80>>2]=0;J[f+76>>2]=0;e=Xg(a,g,k,f+80|0,f+76|0);E:{if(e){break E}e=$w(J[f+80>>2],J[f+76>>2],f+96|0,t,p,f+88|0);if(e){break E}e=eg(a,g,k,J[f+96>>2],J[f+100>>2])}Oa(J[f+80>>2]);h=g;d=k;continue}break}F:{if(!(d|h)|e){break F}J[f+80>>2]=0;e=Gb(a,17,f+80|0,0);if(e){break F}e=J[f+80>>2];xb(e,1,l,q);xb(e,2,h-1|0,d-!h|0);qb(e);e=jb(e)}G:{if(e){break G}J[f+80>>2]=0;e=Gb(a,33,f+80|0,0);if(e){break G}g=J[f+80>>2];xb(g,1,h,d);_f(g,2,J[f+24>>2],J[f+28>>2],0);xb(g,3,r,o);Uc(g,4,m);qb(g);e=jb(g);we(g,1)}Oa(J[f+24>>2]);Oa(J[f+96>>2]);n=n+1|0}else{e=ix(a,l);if(e){continue}h=J[l>>2];J[f+24>>2]=0;e=Gb(a,30,f+24|0,0);if(e){continue}d=J[f+24>>2];xb(d,1,r,o);Uc(d,2,h);qb(d);e=jb(d)}continue}break}H:{if(e){break H}e=0;if(J[i+588>>2]==(n|0)){break H}g=0;J[f+24>>2]=0;J[f+96>>2]=0;j=0;l=0;k=0;I:{e=Gb(a,35,f+24|0,0);if(e){break I}d=J[f+24>>2];xb(d,1,r,o);m=0;while(1){J:{h=qb(d);if((h|0)==100){if((l|0)<(m|0)){e=k;break J}m=m+16|0;e=Bc(k,m<<2,0);if(e){break J}d=7}else{d=0}e=(L=d,M=jb(J[f+24>>2]),N=(h|0)==100,N?L:M);if(e){j=J[f+96>>2];break I}e=Gb(a,31,f+96|0,0);j=J[f+96>>2];if(e){break I}xb(j,2,r,o);e=0;break I}J[(l<<2)+e>>2]=Ad(d,0);l=l+1|0;k=e;continue}}H[a+240|0]=1;while(1){if(!(g>>>0>=l>>>0|e)){e=0;d=J[(g<<2)+k>>2];if((d|0)!=(g|0)){Uc(j,3,d);Uc(j,1,g);qb(j);e=jb(j)}g=g+1|0;continue}break}H[a+240|0]=0;Oa(k)}b=b+u|0;J[f+20>>2]=e;h=1;if(!n){break u}Vd(f+8|0,J[f+12>>2]+20|0,f+20|0);D=1;e=J[f+20>>2];if(e){break v}h=J[f+8>>2];d=J[f+12>>2];d=hc(h+d|0,r,o)+d|0;J[f+12>>2]=hc(d+h|0,n,0)+d}e=0}d=J[s>>2];h=0-d|0;d=0-(J[s+4>>2]+((d|0)!=0)|0)|0;J[s>>2]=h;J[s+4>>2]=d;h=0}J[f+24>>2]=e;g=15;K:{while(1){if((g|0)<0){break K}d=i+(g<<5)|0;if(J[d+80>>2]<=0){Oa(J[d+76>>2]);Oa(J[d- -64>>2]);g=g-1|0;continue}break}L:{if(g){break L}Vd(G,11,f+24|0);g=1;e=J[f+24>>2];if(e){break L}H[J[i+108>>2]]=1;J[i+112>>2]=hc(J[i+108>>2]+1|0,J[i+56>>2],J[i+60>>2])+1;e=0}l=0;while(1){if((g|0)!=(l|0)){d=i+(l<<5)|0;j=J[d+80>>2];if(!((j|0)<=0|e)){e=eg(a,J[d+56>>2],J[d+60>>2],J[d+76>>2],j)}Oa(J[d+76>>2]);Oa(J[d- -64>>2]);l=l+1|0;continue}break}if(!e){j=J[i+12>>2];d=J[i+8>>2]+1|0;j=d?j:j+1|0;k=d;l=J[i+16>>2];n=J[i+24>>2];p=J[i+28>>2];A=J[i+56>>2];q=J[i+60>>2];t=J[i+32>>2];u=J[i+36>>2];if(K[i+48|0]){e=0;m=0}else{e=J[s+4>>2];m=J[s>>2]}d=i+(g<<5)|0;e=Hp(a,k,j,l,n,p,A,q,t,u,m,e,J[d+76>>2],J[d+80>>2])}d=i+(g<<5)|0;Oa(J[d+76>>2]);Oa(J[d- -64>>2]);J[f+20>>2]=e}if(K[i+48|0]|!h){break k}d=o;h=r+1|0;d=h?d:d+1|0;gx(a,h,d,J[s>>2],J[s+4>>2]);break k}J[f+20>>2]=e}Yg(B);continue}break}l=e}M:{if(!D|l){break M}J[f+24>>2]=0;l=Gb(a,23,f+24|0,0);if(l){break M}a=J[f+24>>2];xb(a,1,1,0);_f(a,2,J[f+8>>2],J[f+12>>2],0);qb(a);l=jb(a);we(a,1)}Oa(v);Oa(J[f+8>>2])}Fa=f+112|0;return l}function vn(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0,Q=0,R=0,S=0;j=Fa-304|0;Fa=j;J[j+140>>2]=0;J[j+136>>2]=0;z=J[a>>2];a:{if(J[a+36>>2]){r=c;break a}J[j+112>>2]=0;r=0;b:{if(!c){break b}if(!(J[c+52>>2]|!(K[c+5|0]&2))){D=J[c+28>>2];J[c+28>>2]=0;ac(z,c);r=0;break b}r=c}k=nh(a,b);if(!k){break a}c=J[k>>2];h=J[z+16>>2];u=Ab(z,J[k+60>>2]);if(Tb(a,18,c,0,J[h+(u<<4)>>2])){break a}A=J[k+28>>2];E=pi(a,k,127,0,j+104|0);G=K[k+43|0];if(Ze(a,k)){break a}if(Zm(a,k,E)){break a}l=rb(a);if(!l){break a}if(!K[a+18|0]){I[l+152>>1]=L[l+152>>1]|16}fd(a,(r|E)!=0,u);c:{d:{if(J[a+276>>2]|(!r|d|E)|(J[r+64>>2]|K[k+43|0]==1)){break d}i=e;e:{if((i|0)!=11){break e}if(I[k+32>>1]>=0){i=K[k+42|0];if((i|0)!=11){break e}}i=2}c=J[r+32>>2];if(J[c>>2]!=1|J[c+28>>2]|(J[r+36>>2]|J[r+48>>2])){break d}if(J[r+40>>2]|J[r+60>>2]|(J[r+52>>2]|H[r+4|0]&1)){break d}h=J[r+28>>2];if(J[h>>2]!=1|K[J[h+8>>2]]!=180){break d}s=J[a>>2];q=_e(a,0,c+8|0);if(!q|J[q+20>>2]==J[k+20>>2]&J[q+60>>2]==J[k+60>>2]){break d}h=J[q+28>>2];g=J[k+28>>2];if(K[q+43|0]|(h^g)&128){break d}c=L[k+34>>1];if(L[k+32>>1]!=L[q+32>>1]|(h&65536?0:g&65536)|(c|0)!=L[q+34>>1]){break d}h=0;while(1){if(c<<16>>16>(h|0)){g=P(h,12);c=g+J[k+4>>2]|0;m=L[c+10>>1]&96;g=g+J[q+4>>2]|0;if((m|0)!=(L[g+10>>1]&96)){break d}if(m){if(Zb(0,Hc(q,g),Hc(k,c),-1)){break d}}if(K[c+5|0]!=K[g+5|0]){break d}if(Ub(Sf(c),Sf(g))|(K[g+4|0]&15?0:K[c+4|0]&15)){break d}f:{if(!h|L[c+10>>1]&96){break f}c=Hc(k,c);g=Hc(q,g);if((!c|0)==((g|0)!=0|0)){break d}if(!c){break f}if(Kc(J[c+8>>2],J[g+8>>2])){break d}}h=h+1|0;c=L[k+34>>1];continue}break}c=q+8|0;p=k+8|0;h=p;while(1){g=J[h>>2];if(g){n=K[g+54|0]?1:n;h=c;while(1){h=J[h>>2];if(!h){break d}if(!fB(g,h)){h=h+20|0;continue}break}if(!(J[h+44>>2]!=J[g+44>>2]|J[q+60>>2]!=J[k+60>>2])){h=J[16508];if(!h){break d}if(!(Ja[h|0](411)|0)){break d}}h=g+20|0;continue}break}h=J[k+16>>2];if(h){if(Bf(J[q+16>>2],h,-1)){break d}}g=J[s+36>>2];g:{if(J[s+32>>2]&16384){if(g&1){break d}if(!J[k+48>>2]){break g}break d}if(g&1){break d}}v=Ab(s,J[q+60>>2]);g=rb(a);gd(a,v);m=J[a+40>>2];J[a+40>>2]=m+2;B=eB(a,u,k);w=vb(a);Na(g,75,0,w);x=vb(a);o=m+1|0;Cd(a,o,u,k,113);if(!(K[s+24|0]&4|!(n|(J[k+8>>2]?I[k+32>>1]<0:0))&i-3>>>0>4294967293)){h=Na(g,36,o,0);t=Hb(g,9);n=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(h,20)|0)+8>>2]=n}h:{if(!(K[q+28|0]&128)){Cd(a,m,v,q,112);C=Na(g,36,m,0);i:{if(I[k+32>>1]>=0){h=Na(g,135,m,x);if(!(K[s+24|0]&4)){n=Pa(g,31,o,0,x);wr(a,i,k);y=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(n,20)|0)+8>>2]=y}dB(a,B,x);break i}if(!(J[k+8>>2]|K[s+24|0]&8)){h=Na(g,127,o,x);break i}h=Na(g,135,m,x)}i=169;if(K[s+24|0]&4){Va(g,137,o);i=152}Pa(g,129,o,m,x);Pa(g,128,o,w,x);if(!(K[s+24|0]&4)){Sd(g,-1,k,-5)}n=J[g+108>>2];if((n|0)>0){I[(J[g+104>>2]+P(n,20)|0)-18>>1]=i}Na(g,39,m,h);Na(g,122,m,0);Na(g,122,o,0);break h}rd(a,u,J[k+20>>2],1,J[k>>2]);rd(a,v,J[q+20>>2],0,J[q>>2])}while(1){i=c;j:{k:{n=J[p>>2];if(n){while(1){l:{i=J[i>>2];if(!i){break l}if(fB(n,i)){break l}i=i+20|0;continue}break}Pa(g,112,m,J[i+44>>2],v);zd(a,i);Pa(g,113,o,J[n+44>>2],u);zd(a,n);h=J[g+108>>2];if((h|0)>0){I[(J[g+104>>2]+P(h,20)|0)-18>>1]=1}p=Na(g,36,m,0);m:{n:{if(K[s+24|0]&4){B=L[i+52>>1];h=0;while(1){y=(h|0)==(B|0);if(y){break k}if(Ub(33312,J[J[i+32>>2]+(h<<2)>>2])){break n}h=h+1|0;continue}}i=8;if(!(K[q+28|0]&128)){break m}i=((K[n+55|0]|K[n+56|0]<<8)&3)==2?9:8;break m}i=8;if(y){break k}}Pa(g,134,m,w,1);break j}if(C){i=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(C,20)|0)+8>>2]=i}mb(a,x);mb(a,w);if(!t){A=0;i=0;break c}kk(a);Na(g,70,0,0);i=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(t,20)|0)+8>>2]=i;Na(g,122,o,0);break d}Va(g,137,o);Na(g,129,o,m);i=152}Na(g,138,o,w);h=J[g+108>>2];if((h|0)>0){I[(J[g+104>>2]+P(h,20)|0)-18>>1]=i}Na(g,39,m,p+1|0);h=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(p,20)|0)+8>>2]=h;Na(g,122,m,0);Na(g,122,o,0);p=n+20|0;continue}}B=eB(a,u,k);c=J[a+44>>2];q=c+1|0;i=q+I[k+34>>1]|0;J[a+44>>2]=i;s=q;if(K[k+43|0]==1){J[a+44>>2]=i+1;s=c+2|0}N=A&128;p=!(L[k+28>>1]&1088);o:{p:{q:{r:{if(!d){c=-1;break r}H[d+4|0]=1;i=0;c=J[d>>2];m=(c|0)>0?c:0;while(1)if((i|0)==(m|0)){c=-1;h=0;while(1){if((h|0)==(m|0)){break r}i=0;g=I[k+34>>1];o=(g|0)>0?g:0;g=(h<<3)+d|0;s:{t:{while(1){if((i|0)==(o|0)){break t}u:{n=P(i,12);if(!Xa(J[g+8>>2],J[n+J[k+4>>2]>>2])){J[g+12>>2]=i;o=J[k+4>>2];if(!(K[(o+n|0)+10|0]&96)){break u}J[j+96>>2]=J[n+o>>2];Ra(a,29406,j+96|0);break q}i=i+1|0;continue}break}if(I[k+34>>1]<=(i|0)){break t}p=(h|0)==(i|0)?p:0;c=I[k+32>>1]==(i|0)?h:c;break s}i=J[g+8>>2];if(aj(i)){p=0;c=h;if(!N){break s}}J[j+84>>2]=i;J[j+80>>2]=b+8;Ra(a,7201,j+80|0);H[a+17|0]=1;break q}h=h+1|0;continue}}else{J[((i<<3)+d|0)+12>>2]=-1;i=i+1|0;continue}}x=s+1|0;v:{w:{x:{y:{if(r){h=J[a+44>>2]+1|0;J[a+44>>2]=h;i=0;g=J[l+108>>2];Pa(l,11,h,0,g+1|0);J[j+124>>2]=0;J[j+128>>2]=0;J[j+116>>2]=0;J[j+120>>2]=0;J[j+112>>2]=h;H[j+108|0]=13;J[j+120>>2]=p&255?x:0;J[j+124>>2]=I[k+34>>1];if(Gc(a,r,j+108|0)|J[a+36>>2]){break a}C=J[j+120>>2];xi(l,h);h=J[l+108>>2];J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(g,20)|0)+8>>2]=h;v=J[J[r+28>>2]>>2];if(E){break w}p=rb(a);i=J[p+108>>2];n=0;if(K[k+43|0]==1){n=ud(J[a>>2],k)}o=(i|0)<=1?1:i;h=k+8|0;m=1;while(1){t=0;if((m|0)==(o|0)){break y}i=73192;i=K[J[p>>2]+87|0]?i:J[p+104>>2]+P(m,20)|0;g=K[i|0];z:{if((g|0)!=173){if((g|0)!=112|(u|0)!=J[i+12>>2]){break z}g=h;t=J[i+8>>2];if((t|0)==J[k+20>>2]){break w}while(1){i=J[g>>2];if(!i){break z}g=i+20|0;if((t|0)!=J[i+44>>2]){continue}break}break w}if(J[i+16>>2]==(n|0)){break w}}m=m+1|0;continue}}J[j+188>>2]=0;J[j+192>>2]=0;J[j+180>>2]=0;J[j+184>>2]=0;J[j+172>>2]=0;J[j+176>>2]=0;J[j+164>>2]=0;J[j+168>>2]=0;J[j+160>>2]=a;C=0;v=0;if(D){v=J[D>>2];if(He(j+160|0,D)){break x}}t=-1}u=1;break v}i=0;r=0;break a}t=J[a+40>>2];J[a+40>>2]=t+1;i=vb(a);h=vb(a);Na(l,118,t,v);g=Va(l,12,J[j+112>>2]);Pa(l,97,C,v,i);Na(l,127,t,h);Pa(l,128,t,i,h);Lb(l,g);m=J[l+108>>2];J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(g,20)|0)+8>>2]=m;mb(a,i);mb(a,h);u=0}A:{if((v|0)<=0|d){break A}g=0;B:{m=J[k+28>>2];c=I[k+32>>1];if(!(m&96)|(c|0)<0){break B}i=c;while(1){if((i|0)<=0){break B}i=i-1|0;c=c-((K[(J[k+4>>2]+P(i,12)|0)+10|0]&96)!=0)|0;continue}}h=I[k+34>>1];C:{if(!(m&98)){break C}m=(h|0)>0?h:0;i=0;while(1){if((i|0)==(m|0)){break C}g=((K[(J[k+4>>2]+P(i,12)|0)+10|0]&98)!=0)+g|0;i=i+1|0;continue}}i=h-g|0;if((i|0)==(v|0)){break A}J[j+72>>2]=v;J[j+68>>2]=i;J[j+64>>2]=b+8;Ra(a,16176,j- -64|0);break q}D:{if(!d){break D}i=J[d>>2];if((i|0)==(v|0)){break D}J[j+52>>2]=i;J[j+48>>2]=v;Ra(a,5195,j+48|0);break q}i=0;A=0;if(!(K[a+18|0]|!(H[z+36|0]&1)|(J[a+132>>2]|K[a+159|0]))){A=J[a+44>>2]+1|0;J[a+44>>2]=A;Na(l,71,0,A)}if((G|0)==2){break o}h=nk(a,k,113,0,-1,0,j+140|0,j+136|0);i=Ib(z,(h<<2)+8|0,0);if(i){break p}}i=0;break a}g=0;h=(h|0)>0?h:0;m=k+8|0;while(1){if((g|0)!=(h|0)){m=J[m>>2];n=J[a+44>>2]+1|0;J[a+44>>2]=n;J[(g<<2)+i>>2]=n;J[a+44>>2]=J[a+44>>2]+L[m+52>>1];g=g+1|0;m=m+20|0;continue}break}g=J[a+44>>2]+1|0;J[a+44>>2]=g;J[(h<<2)+i>>2]=g}if(f){E:{switch(K[k+43|0]-1|0){case 0:J[j+32>>2]=J[k>>2];Ra(a,29573,j+32|0);break a;case 1:Ra(a,1835,0);break a;default:break E}}if(Ck(a,J[f>>2])){break a}O=J[j+140>>2];J[b+48>>2]=O;Q=j+212|0;R=J[j+136>>2];h=f;while(1){J[h+44>>2]=R;J[h+40>>2]=O;J[h+36>>2]=x;J[h+32>>2]=b;F:{if(!J[h>>2]){break F}y=0;J[j+300>>2]=0;J[j+292>>2]=0;J[j+296>>2]=0;J[j+284>>2]=0;J[j+288>>2]=0;J[j+276>>2]=0;J[j+280>>2]=0;J[j+272>>2]=b;J[j+268>>2]=a;m=h;while(1){if(!m){break F}g=J[m>>2];if(!g){break F}n=j+268|0;if(He(n,g)){break a}if(Yc(n,J[m+4>>2])){break a}M=J[b+48>>2];G:{g=J[b+24>>2];F=J[m>>2];H:{if(K[g+28|0]&128|J[F>>2]!=1){break H}n=J[F+8>>2];if(K[n|0]!=167){break H}if(L[n+32>>1]==65535){break G}}Sa(j+160|0,0,104);J[j+240>>2]=M;H[j+212|0]=167;J[j+172>>2]=Q;H[j+160|0]=113;g=g+8|0;I:{while(1){n=J[g>>2];if(n){J:{if(!K[n+54|0]){break J}o=J[F>>2];if((o|0)!=L[n+50>>1]){break J}g=J[n+36>>2];if(g){p=J[m+4>>2];if(!p){break J}if(Zb(a,p,g,M)){break J}o=L[n+50>>1]}p=0;while(1){if((o|0)!=(p|0)){J[j+168>>2]=J[J[n+32>>2]+(p<<2)>>2];g=L[J[n+4>>2]+(p<<1)>>1];K:{if((g|0)==65534){w=J[(J[n+40>>2]+(p<<4)|0)+8>>2];if(K[w|0]==113){break K}J[j+172>>2]=w;w=j+160|0;break K}I[j+244>>1]=g;J[j+172>>2]=Q;w=j+160|0}g=0;while(1){if((g|0)==(o|0)){break J}S=g<<4;g=g+1|0;if(Zb(0,J[(F+S|0)+8>>2],w,M)>>>0>1){continue}break}p=p+1|0;continue}break}J[m+28>>2]=n;break I}g=n+20|0;continue}break}n=J[m+28>>2]}if(n){break G}L:{if(!(J[m+16>>2]|y)){H[j+144|0]=0;break L}J[j+16>>2]=y+1;wd(16,j+144|0,30016,j+16|0)}J[j>>2]=j+144;Ra(a,2746,j);break a}y=y+1|0;m=J[m+16>>2];continue}}h=J[h+16>>2];if(h){continue}break}}M:{if(!u){p=Va(l,36,t);n=J[l+108>>2];break M}if(!r){n=0;p=0;break M}n=Va(l,12,J[j+112>>2]);if((c|0)>=0){Na(l,80,c+C|0,s)}p=n}w=0;o=x;m=0;while(1){h=I[k+34>>1];if((m|0)<(h|0)){N:{if(I[k+32>>1]==(m|0)){Va(l,76,o);break N}O:{P:{h=J[k+4>>2]+P(m,12)|0;g=L[h+10>>1];Q:{if(g&98){w=w+1|0;if(g&32){o=o-1|0;break N}if(g&64){if(!(H[j+104|0]&1)){break N}Va(l,76,o);break N}if(d){break Q}gk(a,Hc(k,h),o);break N}if(!d){break P}}g=0;y=J[d>>2];y=(y|0)>0?y:0;while(1){if((g|0)!=(y|0)){if(J[((g<<3)+d|0)+12>>2]==(m|0)){break O}g=g+1|0;continue}break}gk(a,Hc(k,h),o);break N}if(!v){gk(a,Hc(k,h),o);break N}g=m-w|0}if(!u){Pa(l,94,t,g,o);break N}if(r){if((x|0)==(C|0)){break N}Na(l,81,g+C|0,o);break N}h=J[((g<<4)+D|0)+8>>2];g=Ge(a,h,o);if((g|0)==(o|0)){break N}Na(l,J[h+4>>2]&4194304?80:81,g,o)}o=o+1|0;m=m+1|0;continue}break}o=J[a+56>>2]-1|0;J[a+56>>2]=o;if(H[j+104|0]&1){h=ic(a,h+1|0);R:{if((c|0)<0){Na(l,71,-1,h);break R}S:{if(!u){Pa(l,94,t,c,h);break S}Xb(a,J[((c<<4)+D|0)+8>>2],h)}g=Va(l,51,h);Na(l,71,-1,h);m=J[l+108>>2];J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(g,20)|0)+8>>2]=m;Va(l,13,h)}g=h+1|0;Pa(l,80,x,g,I[k+36>>1]-1|0);if(K[k+28|0]&96){hk(a,g,k)}if((G|0)!=2){ug(l,k,g)}ni(a,E,127,0,1,k,h+(I[k+34>>1]^-1)|0,e,o);Oc(a,h,I[k+34>>1]+1|0)}T:{if((G|0)==2){break T}if(K[k+43|0]==1){Na(l,75,0,q)}U:{if((c|0)>=0){V:{if(!u){Pa(l,94,t,c,s);break V}if(r){break V}W:{h=J[((c<<4)+D|0)+8>>2];if(K[h|0]!=121){break W}g=1;if(K[k+43|0]==1){break W}Pa(l,127,J[j+140>>2],s,B);break U}Xb(a,h,s)}X:{if(K[k+43|0]!=1){h=Va(l,51,s);Pa(l,127,J[j+140>>2],s,B);g=J[l+108>>2];J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(h,20)|0)+8>>2]=g;break X}Na(l,50,s,J[l+108>>2]+2|0)}Va(l,13,s);g=0;break U}if(!(!N&K[k+43|0]!=1)){g=0;Na(l,75,0,s);break U}Pa(l,127,J[j+140>>2],s,B);g=1}dB(a,B,s);if(K[k+28|0]&96){hk(a,x,k)}if(K[k+43|0]==1){c=ud(z,k);Ym(a,k);$a(l,7,1,I[k+34>>1]+2|0,q,c,-11);c=J[l+108>>2];if((c|0)>0){I[(J[l+104>>2]+P(c,20)|0)-18>>1]=(e|0)==11?2:e}c=J[a+128>>2];H[(c?c:a)+21|0]=1;break T}J[j+160>>2]=0;h=J[j+140>>2];m=J[j+136>>2];hB(a,k,i,h,m,q,0,(c^-1)>>>31|0,e&255,o,j+160|0,0,f);if(K[z+33|0]&64){Vm(a,k,0,q,0,0)}yr(a,k,h,m,q,i,0,g,!(J[j+160>>2]?J[l+232>>2]:0))}if(A){Na(l,86,A,1)}if(E){ni(a,E,127,0,2,k,(I[k+34>>1]^-1)+s|0,e,o)}cb(l,o);if(!u){Na(l,39,t,n);e=J[l+108>>2];J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(p,20)|0)+8>>2]=e;Va(l,122,t);break c}if(!r){break c}Lb(l,n);e=J[l+108>>2];J[(K[J[l>>2]+87|0]?73192:J[l+104>>2]+P(p,20)|0)+8>>2]=e}if(!(K[a+18|0]|J[a+132>>2])){kk(a)}if(!A){break a}Xm(l,A,15467)}yc(z,b);kb(z,D);Hk(z,f);ac(z,r);ne(z,d);if(i){Sb(z,i)}Fa=j+304|0}function mg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;u=Fa-16|0;Fa=u;e=J[b>>2];o=J[e>>2];r=J[o>>2];a:{if(K[r+87|0]){break a}m=J[b+24>>2];f=P(c,48);g=f;h=m+f|0;k=J[h>>2];J[e+496>>2]=0;w=e+496|0;d=Ve(w,J[k+12>>2]);s=Ia;i=K[k|0];b:{if((i|0)==49){if(KA(o,k)){break a}e=J[k+20>>2];g=f+m|0;c:{if(K[k+5|0]&16){e=Sq(w,e);j=Ia;break c}e=We(w,e);j=Ia}J[g+32>>2]=e;J[g+36>>2]=j;g=d|e;j=j|s;break b}g=g+m|0;e=Ve(w,J[k+16>>2]);J[g+32>>2]=e;j=Ia;J[g+36>>2]=j;if(!J[k+12>>2]|J[k+4>>2]&266240|J[k+20>>2]){g=tm(w,k);j=Ia;break b}g=d|e;j=j|s}if(J[w>>2]){e=m+P(c,48)|0;I[e+10>>1]=L[e+10>>1]|4096}l=J[k+4>>2];d:{if(!(l&3)){break d}e=De(w,J[k+36>>2]);f=Ia;n=f;if(l&1){j=j|f;z=j>>>1|0;g=e|g;p=(j&1)<<31|g>>>1;if((f|0)==(z|0)&e>>>0>p>>>0|f>>>0>z>>>0){z=e-1|0;B=f-!e|0;break d}Ra(o,3224,0);break a}f=j>>>1|0;if((n|0)==(f|0)&e>>>0>((j&1)<<31|g>>>1)>>>0|f>>>0<n>>>0){break d}if(!(!(K[a+44|0]&64)|J[a>>2]<=0)){Ra(o,3224,0);break a}l=l&-4;J[k+4>>2]=l}e=m+P(c,48)|0;p=e;J[e+40>>2]=g;J[e+44>>2]=j;J[e+16>>2]=-1;J[e+20>>2]=-1;I[e+12>>1]=0;f=i-45|0;e:{f:{if(!(f>>>0>12|!(1<<f&7985))){n=Cf(J[k+12>>2]);f=Cf(J[k+16>>2]);l=d&J[e+32>>2]|s&J[e+36>>2]?2048:16383;q=J[e+28>>2];if((q|0)>0){n=J[(J[n+20>>2]+(q<<4)|0)-8>>2]}if(Hz(a,u,n,i)){J[p+20>>2]=J[u>>2];J[e+24>>2]=J[u+4>>2];I[p+12>>1]=Gz(i)&l}if((i|0)==45){e=m+P(c,48)|0;I[e+10>>1]=L[e+10>>1]|2048}g:{if(!f){break g}if(!Hz(a,u,f,i)|K[f+4|0]&32){break g}n=0;f=k;e=h;h:{if(J[p+20>>2]<0){break h}f=eb(r,f,0);if(K[r+87|0]){_a(r,f);break a}e=Yd(b,f,3);if(!e){break a}h=J[b+24>>2];lg(b,e,c);e=P(e,48);if((i|0)==45){i=e+h|0;I[i+10>>1]=L[i+10>>1]|2048}h=e+h|0;i=J[b+24>>2];e=i+P(c,48)|0;I[e+10>>1]=L[e+10>>1]|8;if(K[J[o>>2]+80|0]&128){break h}m=K[f|0];if((m|0)!=53&(m|0)!=45|H[f+4|0]&1){break h}m=mc(J[f+12>>2]);q=mc(J[f+16>>2]);if((m|0)!=(q|0)&((m|0)<67|(q|0)<67)){break h}m=Qh(o,f);if(!(!m|J[m+12>>2]==15)){m=J[f+16>>2];q=uf(o,J[f+12>>2]);m=uf(o,m);if(Xa(J[q>>2],J[m>>2])){break h}}n=2048;i=i+P(c,48)|0;I[i+12>>1]=L[i+12>>1]|2048}i=J[f+12>>2];i:{j:{if(K[i|0]==177){break j}m=J[f+16>>2];if(K[m|0]==177){break j}if((Tf(o,i,m)|0)==(Tf(o,J[f+16>>2],J[f+12>>2])|0)){break i}}J[f+4>>2]=J[f+4>>2]^1024}J[f+12>>2]=sJ(J[f+12>>2],J[f+16>>2],32);J[f+16>>2]=Ia;i=K[f|0];if(i>>>0>=54){H[f|0]=(i-54^2)+54}J[h+20>>2]=J[u>>2];i=J[u+4>>2];J[h+40>>2]=g;J[h+44>>2]=j;J[h+32>>2]=d|z;J[h+36>>2]=s|B;J[h+24>>2]=i;I[h+12>>1]=l&Gz(K[f|0])+n;h=e;break f}if((i|0)!=50){break f}e=J[k+4>>2];if(e&1){break f}if(Xe(n)){break f}J[k+8>>2]=13493;H[k|0]=170;J[k+4>>2]=e|536870912;J[p+40>>2]=0;J[p+44>>2]=0;I[p+12>>1]=0;break f}k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{n=K[k|0];switch(n-48|0){case 1:case 2:break e;case 3:break r;case 0:break t;default:break u}}if((n|0)==43){break s}if((n|0)!=172){break e}if(K[b+8|0]!=44){break f}e=J[k+20>>2];if(!e){break f}p=J[o>>2];g=J[e>>2];d=Ne(p,J[k+8>>2],g,1,0);if(!d){break f}x=J[d+4>>2];if(!(x&4)){break f}e=J[k+20>>2];d=J[d+8>>2];q=K[d+2|0];f=K[d+1|0];j=K[d|0];if((g|0)>=3){d=J[e+40>>2];if(K[d|0]!=117){break f}d=J[d+8>>2];t=K[d|0];if(!t|(K[d+1|0]|(j|0)==(t|0)|(f|0)==(t|0))){break f}}n=J[e+24>>2];i=Cf(J[e+8>>2]);s=K[i|0];if((s|0)!=156){break p}if(!(K[p+34|0]&128)){break q}break n}if(K[b+8|0]!=44){break f}e=J[k+20>>2];g=P(c,48);d=0;while(1){if((d|0)==2){break f}h=db(o,K[d+50086|0],eb(r,J[k+12>>2],0),eb(r,J[(e+(d<<4)|0)+8>>2],0));_j(h,k);h=Yd(b,h,3);mg(a,b,h);j=J[b+24>>2];lg(b,h,c);d=d+1|0;h=g+j|0;continue}}C=J[b+24>>2];D=P(c,48);e=C+D|0;y=J[e>>2];v=J[b>>2];x=J[v>>2];p=J[x>>2];i=ib(p,424,0);J[e+24>>2]=i;v:{if(!i){break v}I[e+10>>1]=L[e+10>>1]|16;e=Sa(i+32|0,0,384);H[i+9|0]=0;J[i>>2]=v;J[i+20>>2]=0;J[i+4>>2]=0;J[i+24>>2]=e;J[i+12>>2]=0;J[i+16>>2]=8;Am(i,y,43);$q(a,i);if(K[p+87|0]){break v}s=v+496|0;e=J[i+24>>2];n=J[i+12>>2];h=-1;m=-1;l=-1;t=-1;while(1){if(!(!(h|m)|(n|0)<=0)){d=L[e+12>>1];w:{if(!(d&511)){d=Ib(p,416,0);if(!d){l=0;t=0;break w}J[e+24>>2]=d;J[e+20>>2]=-1;I[e+12>>1]=1024;I[e+10>>1]=L[e+10>>1]|32;g=Sa(d+32|0,0,384);j=J[b>>2];H[d+9|0]=0;J[d>>2]=j;J[d+20>>2]=0;J[d+4>>2]=0;J[d+24>>2]=g;J[d+12>>2]=0;J[d+16>>2]=8;Am(d,J[e>>2],44);$q(a,d);J[d+4>>2]=b;l=0;t=0;g=0;j=0;x:{if(K[p+87|0]){break x}f=0;A=J[d+12>>2];A=(A|0)>0?A:0;d=J[d+24>>2];while(1){if((f|0)==(A|0)){break x}E=K[J[d>>2]]-45|0;if(!(!(1<<E&7985?E>>>0<=12:0)&L[d+12>>1]!=64)){g=De(s,J[d+20>>2])|g;j=j|Ia}d=d+48|0;f=f+1|0;continue}}h=h&g;m=j&m;break w}f=L[e+10>>1];if(f&8){break w}g=De(s,J[e+20>>2]);j=Ia;if(f&2){g=De(s,J[(J[i+24>>2]+P(J[e+16>>2],48)|0)+20>>2])|g;j=j|Ia}d=d&2;l=d?g&l:0;t=d?j&t:0;h=h&g;m=j&m}n=n-1|0;e=e+48|0;continue}break}J[i+416>>2]=h;J[i+420>>2]=m;e=-1;d=C+P(c,48)|0;J[d+20>>2]=-1;I[d+12>>1]=512;y:{if(!(h|m)){break y}H[b+9|0]=1;if(J[i+12>>2]!=2){break y}h=J[i+24>>2];z:while(1){g=Fz(h,q);if(!g){break y}q=q+1|0;f=0;while(1){j=Fz(h+48|0,f);if(!j){continue z}A:{if((L[j+10>>1]|L[g+10>>1])&128){break A}d=L[g+12>>1];if(!(d&62)){break A}h=L[j+12>>1];if(!(h&62)){break A}d=d|h;if(d&65497?d&65509:0){break A}if(Zb(0,J[J[g>>2]+12>>2],J[J[j>>2]+12>>2],-1)){break A}if(Zb(0,J[J[g>>2]+16>>2],J[J[j>>2]+16>>2],-1)){break A}j=eb(J[J[J[b>>2]>>2]>>2],J[g>>2],0);if(!j){break A}n=d&d-1?d&24?8:32:d;d=53;while(1){h=d;d=d+1|0;if((n|0)!=2<<h-53){continue}break}H[j|0]=h;mg(a,b,Yd(b,j,3))}f=f+1|0;h=J[i+24>>2];continue}}}if(!(l|t)){break v}h=0;while(1){if(!(F>>>0>1|h)){f=J[i+12>>2];d=J[i+24>>2];while(1){if((f|0)<=0){break v}f=f-1|0;I[d+10>>1]=L[d+10>>1]&65471;B:{g=J[d+20>>2];if((g|0)!=(e|0)){if(De(s,g)&l|t&Ia){break B}}d=d+48|0;continue}break}j=J[J[d>>2]+12>>2];h=1;n=J[d+24>>2];m=(n|0)!=-2;while(1){if(!(!h|(f|0)<0)){C:{D:{if((g|0)!=J[d+20>>2]){I[d+10>>1]=L[d+10>>1]&65471;break D}h=0;if((n|0)!=J[d+24>>2]){break C}e=J[d>>2];if(!m){if(Zb(x,J[e+12>>2],j,-1)){break C}e=J[d>>2]}e=mc(J[e+16>>2]);if((mc(J[J[d>>2]+12>>2])|0)!=(e|0)?e:0){break C}I[d+10>>1]=L[d+10>>1]|64}h=1}d=d+48|0;f=f-1|0;continue}break}F=F+1|0;e=g;continue}break}if(!h){break v}d=J[i+24>>2];f=J[i+12>>2];e=0;h=0;while(1){if((f|0)>0){if(K[d+10|0]&64){h=eb(p,J[J[d>>2]+16>>2],0);e=Kb(J[v>>2],e,h);h=J[J[d>>2]+12>>2]}f=f-1|0;d=d+48|0;continue}break}d=db(x,49,eb(p,h,0),0);if(d){_j(d,y);J[d+20>>2]=e;e=Yd(b,d,3);mg(a,b,e);lg(b,e,c);break v}kb(p,e)}h=D+J[b+24>>2]|0;break f}e=J[k+12>>2];if(K[e|0]!=167|(l&1|I[e+32>>1]<0)){break f}g=Yd(b,db(o,54,eb(r,e,0),nc(r,121,0,0)),131);if(!g){break f}d=J[b+24>>2]+P(g,48)|0;J[d+32>>2]=0;J[d+36>>2]=0;J[d+20>>2]=J[e+28>>2];e=I[e+32>>1];I[d+12>>1]=4;J[d+24>>2]=e;lg(b,g,c);h=J[b+24>>2]+P(c,48)|0;I[h+10>>1]=L[h+10>>1]|8;e=J[h+44>>2];J[d+40>>2]=J[h+40>>2];J[d+44>>2]=e;break f}l=0;d=I[i+32>>1];v=IA(J[o+240>>2],d);E:{if(!v){break E}g=L[v+16>>1];e=g&31;if((g&63)>>>0>=32){e=262144>>>e|0}else{e=((1<<e)-1&262144)<<32-e|262148>>>e}if(!(e&1)){break E}l=Wa(v)}e=J[o+8>>2];J[e+228>>2]=J[e+228>>2]|((d|0)>31?-2147483648:1<<d-1);break o}if((s|0)!=117){break n}l=J[i+8>>2]}e=0;if(!l){q=1;break l}while(1){g=e;y=e+l|0;d=K[y|0];if(!(!d|(d|0)==(j|0)|((d|0)==(f|0)|(d|0)==(q|0)))){e=e+1|0;if((d|0)!=(t|0)){continue}e=K[e+l|0]?g+2|0:e;continue}break}q=1;if((g|0)<=1){e=0;if(K[l|0]==(t|0)|(g|0)!=1){break l}}if(K[y-1|0]==255){break m}f=0;f=(d|0)==(j|0)?!K[y+1|0]:f;F:{e=jc(p,117,l);if(!e){break F}d=0;j=J[e+8>>2];H[j+g|0]=0;l=0;while(1){if((d|0)<(g|0)){d=(H[d+j|0]==(t|0))+d|0;H[j+l|0]=K[d+j|0];l=l+1|0;d=d+1|0;continue}break}d=j+l|0;H[d|0]=0;G:{if(K[n|0]!=167){break G}if((mc(n)|0)!=66){break G}if(K[n+7|0]&3){break F}g=J[n+44>>2];if(!g|K[g+43|0]!=1){break F}}if(!((Hd(j,u,l,1)|0)>0|(l|0)==1&K[j|0]==45)){d=d-1|0;g=K[d|0];H[d|0]=g+1;j=Hd(j,u,l,1);H[d|0]=g;if((j|0)<=0){break F}}ce(p,e);Pc(v);break f}q=0;if((s|0)!=156){break k}d=J[o+8>>2];g=I[i+32>>1];J[d+228>>2]=J[d+228>>2]|((g|0)>31?-2147483648:1<<g-1);if(!f){break l}if(!K[J[i+8>>2]+1|0]){break k}g=vb(o);Ge(o,i,g);if(K[J[d>>2]+87|0]){d=73192}else{d=(J[d+104>>2]+P(J[d+108>>2],20)|0)-20|0}J[d+12>>2]=0;mb(o,g);break k}q=1}e=0}f=0}Pc(v);if(q){break f}j=J[J[k+20>>2]+24>>2];g=eb(r,e,0);H:{l=x&8;if(l|K[J[o>>2]+87|0]){break H}d=m+P(c,48)|0;I[d+10>>1]=L[d+10>>1]|1024;d=0;while(1){i=J[e+8>>2]+d|0;h=K[i|0];if(!h){break H}H[i|0]=h&(K[h+31216|0]^-1|223);H[J[g+8>>2]+d|0]=K[h+30832|0];d=d+1|0;continue}}if(!K[r+87|0]){d=J[g+8>>2];h=(Ya(d)+d|0)-1|0;d=K[h|0];if(!l){f=(d|0)!=64?f:0;d=K[d+30832|0]}H[h|0]=d+1}d=l?33312:20343;e=db(o,57,li(o,eb(r,j,0),d),e);_j(e,k);e=Yd(b,e,259);d=db(o,56,li(o,eb(r,j,0),d),g);_j(d,k);d=Yd(b,d,259);mg(a,b,e);mg(a,b,d);h=J[b+24>>2]+P(c,48)|0;if(!f){break f}lg(b,e,c);lg(b,d,c)}n=K[k|0]}I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{e=n&255;switch(e-49|0){case 1:case 2:case 3:break O;case 0:break P;case 4:break Q;default:break R}}if((e|0)!=45){break O}}S:{d=J[k+12>>2];e=Mc(d);if((e|0)<2){break S}g=J[k+16>>2];if((Mc(g)|0)!=(e|0)|(K[g+5|0]&16?K[d+5|0]&16:0)|K[b+8|0]!=44){break S}d=0;while(1){if((d|0)==(e|0)){break N}h=xr(o,J[k+12>>2],d,e);g=xr(o,J[k+16>>2],d,e);h=db(o,K[k|0],h,g);_j(h,k);mg(a,b,Yd(b,h,32769));d=d+1|0;continue}}if((n&255)!=49){break O}}if(J[h+28>>2]){break O}d=J[k+12>>2];if(!(K[k+5|0]&16)|K[d|0]!=177){break O}e=J[k+20>>2];if((K[e+5|0]&2?0:J[e+52>>2])|J[e+68>>2]|K[b+8|0]!=44){break O}f=0;while(1){if((Mc(d)|0)<=(f|0)){break I}e=Yd(b,k,32770);f=f+1|0;J[(J[b+24>>2]+P(e,48)|0)+28>>2]=f;mg(a,b,e);lg(b,e,c);d=J[k+12>>2];continue}}if(K[b+8|0]!=44){break I}T:{a=n&255;if(a-51>>>0<2){break T}l=0;e=0;d=0;f=0;U:{switch(a-171|0){case 0:break T;case 1:break U;default:break J}}e=J[k+20>>2];if(!e|J[e>>2]!=2){break K}V:{d=J[e+24>>2];if(K[d|0]!=167|K[J[d+44>>2]+43|0]!=1){break V}h=J[k+8>>2];a=0;while(1){if((a|0)==4){break V}g=a<<3;if(Xa(h,J[g+50096>>2])){a=a+1|0;continue}else{l=K[g+50100|0];e=J[e+8>>2];f=1;break J}}}d=J[e+8>>2];if(K[d|0]!=167){break K}a=J[d+44>>2];if(K[a+43|0]!=1){break K}a=J[ud(r,a)+8>>2];h=J[J[a>>2]+72>>2];if(!h){break K}l=Ja[h|0](a,2,J[k+8>>2],u,u+12|0)|0;if((l|0)<150){break K}e=J[e+24>>2];f=1;break J}a=J[k+16>>2];f=0;e=J[k+12>>2];if(K[e|0]==167){f=K[J[e+44>>2]+43|0]==1}if(!a){d=e;e=0;break L}if(K[a|0]!=167|K[J[a+44>>2]+43|0]!=1){break M}f=f+1|0;d=a;break L}a=J[b+24>>2]+P(c,48)|0;I[a+12>>1]=8192;I[a+10>>1]=L[a+10>>1]|6;break I}d=e;e=a}l=68;W:{X:{a=n&255;switch(a-51|0){case 0:break X;case 1:break J;default:break W}}l=70;break J}if((a|0)!=171){l=0;break J}l=69;break J}l=0;e=0;d=0}while(1){a=d;d=e;if((f|0)<=0){break I}f=f-1|0;e=Ve(w,d);g=Ia;h=e;e=a;if(h&Ve(w,e)|Ia&g){continue}a=db(o,46,0,eb(r,d,0));if(!(!(H[k+4|0]&1)|!a)){J[a+4>>2]=J[a+4>>2]|1;J[a+36>>2]=J[k+36>>2]}j=Yd(b,a,3);i=J[b+24>>2]+P(j,48)|0;J[i+32>>2]=h;J[i+36>>2]=g;J[i+20>>2]=J[e+28>>2];h=I[e+32>>1];H[i+15|0]=l;I[i+12>>1]=64;J[i+24>>2]=h;lg(b,j,c);a=J[b+24>>2]+P(c,48)|0;I[a+10>>1]=L[a+10>>1]|8;h=J[a+44>>2];J[i+40>>2]=J[a+40>>2];J[i+44>>2]=h;continue}}a=J[b+24>>2]+P(c,48)|0;b=J[a+32>>2];c=B|J[a+36>>2];J[a+32>>2]=b|z;J[a+36>>2]=c}Fa=u+16|0}function Ge(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;f=Fa-144|0;Fa=f;g=J[a+8>>2];J[f+68>>2]=0;J[f+64>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{while(1){z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{if(!b){break J}if(!(!J[a+72>>2]|K[b+6|0]&128)){d=a+72|0;while(1){K:{e=-1;i=J[d>>2];if(!i){break K}L:{e=J[i+4>>2];if((e|0)<0){break L}h=J[a+52>>2];M:{if(!h){d=e;break M}d=-1;if((e|0)!=(h-1|0)){break L}}if(Zb(0,b,J[i>>2],d)){break L}e=mc(b);N:{if(e>>>0<=65){if(K[i+17|0]!=65){break L}break N}d=K[i+17|0];if((e|0)==66){if((d|0)==66){break N}break L}if((d|0)!=67){break L}}d=J[a+8>>2];if(K[i+16|0]){e=J[d+108>>2];Pa(d,20,J[i+8>>2],e+3|0,c);Pa(d,94,J[i+8>>2],J[i+12>>2],c);Lb(d,0);i=J[a+72>>2];J[a+72>>2]=0;Xb(a,b,c);J[a+72>>2]=i;i=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:(J[d+104>>2]+P(e,20)|0)+40|0)+8>>2]=i;e=c;break K}Pa(d,94,J[i+8>>2],J[i+12>>2],c);e=c;break K}d=i+20|0;continue}break}d=e;if((d|0)>=0){break a}}O:{e=K[b|0];switch(e-102|0){case 74:break j;case 69:break n;case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break p;case 71:break q;case 12:break r;case 73:break s;case 66:break u;case 70:break v;case 36:break w;case 76:break x;case 72:case 79:break A;case 11:break B;case 75:break D;case 77:break E;case 55:break F;case 65:break H;case 67:break I;case 10:case 13:case 14:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 78:break J;case 53:break d;case 68:break e;case 51:break f;case 15:break g;case 52:break h;case 54:break i;default:break O}}P:{switch(e-19|0){case 17:break k;case 26:break n;case 33:case 34:case 35:case 36:case 37:case 38:break o;case 24:case 25:break p;case 0:break r;case 31:case 32:break t;case 1:break w;case 30:break y;case 29:break z;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:case 21:case 22:case 23:case 27:case 28:break J;default:break P}}if((e|0)==71){break G}if((e|0)==77){break C}}Na(g,75,0,c);break b}e=I[b+34>>1];d=J[b+40>>2];if((e|0)<J[d+24>>2]){if(!K[d|0]){d=e+J[d+12>>2]|0;break a}if(K[d+1|0]){b=J[d+20>>2];e=e<<4;a=J[b+e>>2];b=b+e|0;Pa(g,94,J[d+8>>2],I[b+14>>1],c);if(!a){break b}b=I[b+12>>1];if((b|0)<0|K[(J[a+4>>2]+P(b&65535,12)|0)+5|0]!=69){break b}Va(g,87,c);break b}if(J[b+44>>2]){break H}Pa(g,94,J[b+28>>2],I[b+32>>1],c);break b}Na(g,75,0,c);break l}if(K[b+4|0]&32){d=Ge(a,J[b+12>>2],c);a=68;c=I[b+32>>1];Q:{if((c|0)<0){break Q}b=J[b+44>>2];if((c|0)>=I[b+34>>1]){break Q}a=H[(J[b+4>>2]+P(c,12)|0)+5|0];if((a|0)<66){break a}}$a(g,96,d,1,0,(a<<1&254)+49612|0,-1);break a}l=J[b+28>>2];if((l|0)<0){d=J[a+52>>2];if((d|0)<0){e=L[b+32>>1];k=e<<16>>16;if((k|0)<0){d=d^-1;break a}j=J[b+44>>2];d=wc(j,k)-d|0;b=J[j+4>>2]+P(e,12)|0;e=L[b+10>>1];if(e&96){if(e&256){J[f>>2]=J[b>>2];Ra(a,29376,f);d=0;break a}c=e|256;I[b+10>>1]=c;if(e&128){qr(a,j,b,d);c=L[b+10>>1]}I[b+10>>1]=c&65151;break a}if(K[b+5|0]!=69){break a}Na(g,81,d,c);Va(g,87,c);break b}l=d-1|0;break c}e=J[a+76>>2];if(!e){break c}d=I[b+32>>1];while(1){if(!e){break c}if((d|0)!=J[e+12>>2]|J[e+4>>2]!=(l|0)){e=J[e+20>>2];continue}else{k=J[a+8>>2];if(K[e+16|0]){j=Va(k,20,J[e+8>>2])}d=Ge(a,J[e>>2],c);$a(J[a+8>>2],96,d,1,0,e+17|0,1);if(j){e=J[k+108>>2];R:{if(K[J[k>>2]+87|0]){J[18300]=e;j=73192;break R}j=J[k+104>>2]+P(j,20)|0;J[j+8>>2]=e}J[j+12>>2]=d}if(d){break a}break c}}}d=J[a+132>>2];if(!(d|K[a+18|0])){d=0;Ra(a,11498,0);break a}S:{T:{U:{e=K[b+1|0];switch(e-2|0){case 0:break T;case 2:break U;default:break S}}$a(g,70,0,4,0,J[b+8>>2],0);break l}j=J[a+128>>2];H[(j?j:a)+21|0]=1}jh(a,d?1811:1,e<<24>>24,J[b+8>>2],0,0);break l}k=J[b+20>>2];i=J[k>>2];h=J[a+56>>2]-1|0;J[a+56>>2]=h;d=J[a>>2];e=0;m=J[b+12>>2];if(m){l=eb(d,m,0);if(K[d+87|0]){_a(d,l);break l}RA(l,pr(a,l,f+68|0));j=f+80|0;Sa(j,0,52);J[f+92>>2]=l;H[f+80|0]=53;J[f+68>>2]=0}n=k+8|0;p=i-1|0;while(1){if((e|0)<(p|0)){o=e<<4;b=J[o+n>>2];V:{if(!m){j=b;break V}J[f+96>>2]=b}b=J[a+56>>2]-1|0;J[a+56>>2]=b;rc(a,j,b,16);Xb(a,J[n+(o|16)>>2],c);Lb(g,h);cb(g,b);e=e+2|0;continue}break}W:{if(i&1){Xb(a,J[(k+(p<<4)|0)+8>>2],c);break W}Na(g,75,0,c)}_a(d,l);QA(g);cb(g,h);break l}e=K[a+23|0];X:{d=J[b+40>>2];if(!d){break X}if(!K[d|0]){c=J[d+12>>2]+I[b+34>>1]|0;break l}if(!K[d+1|0]){break X}Pa(g,94,J[d+8>>2],I[(J[d+20>>2]+(I[b+34>>1]<<4)|0)+14>>1],c);break l}d=Pa(g,20,J[b+28>>2],0,c);H[a+23|0]=0;Xb(a,J[b+12>>2],c);H[a+23|0]=e;e=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(d,20)|0)+8>>2]=e;break l}Ra(a,15608,0);break l}d=J[b+44>>2];e=I[b+32>>1];Na(g,157,(wc(d,e)+P(J[b+28>>2],I[d+34>>1]+1|0)|0)+1|0,c);if(K[(J[d+4>>2]+P(e&65535,12)|0)+5|0]!=69|(e|0)<0){break l}Va(g,87,c);break l}if(K[b+5|0]&2){break A}Xb(a,J[b+12>>2],c);Va(g,180,c);break b}b=J[b+12>>2];continue}break}or(a,b,c,0,0);break b}e=J[a+56>>2];d=e-2|0;J[a+56>>2]=d;Na(g,75,0,c);k=a;a=e-1|0;Pm(k,b,a,d);Na(g,71,1,c);cb(g,a);Na(g,86,c,0);cb(g,d);break b}c=J[b+12>>2];e=J[c+28>>2];if(!(K[a+26|0]<=K[c+2|0]?e:0)){e=ek(a,c);J[c+28>>2]=e;H[c+2|0]=K[a+26|0]}d=J[b+28>>2];j=Mc(c);if((d|0)!=(j|0)){J[f+52>>2]=j;J[f+48>>2]=d;Ra(a,5325,f+48|0);e=J[c+28>>2]}d=e+I[b+32>>1]|0;break a}d=0;if(K[J[a>>2]+87|0]){break a}Y:{if(!(!(K[b+5|0]&16)|(e|0)!=138)){d=J[J[J[b+20>>2]+28>>2]>>2];if((d|0)!=1){break Y}}d=ek(a,b);break a}nr(a,d,1);break l}if(H[b+7|0]&1){d=J[J[b+44>>2]+56>>2];break a}m=J[a>>2];d=K[m+84|0];Z:{if(!K[a+23|0]){break Z}if(!Om(b)){break Z}d=Nm(a,b,-1);break a}h=J[b+20>>2];if(h){k=J[h>>2]}_:{$:{i=Ne(m,J[b+8>>2],k,d,0);if(!(!i|J[i+20>>2])){d=J[i+4>>2];if(!(!h|!(d&4194304))){d=J[a+8>>2];aa:{switch(J[i+8>>2]){case 0:b=J[h>>2];e=J[a+56>>2]-1|0;J[a+56>>2]=e;Xb(a,J[h+8>>2],c);j=(b|0)<=1?1:b;b=1;while(1){if((b|0)!=(j|0)){Na(d,51,c,e);Xb(a,J[(h+(b<<4)|0)+8>>2],c);b=b+1|0;continue}break};QA(d);cb(d,e);break b;case 5:b=f+80|0;Sa(b,0,52);J[f+100>>2]=h;H[f+80|0]=157;d=Ge(a,b,c);break a;default:d=Ge(a,J[h+8>>2],c);break a;case 3:Na(d,71,Zb(0,J[h+8>>2],J[h+24>>2],-1),c);break b;case 2:Na(d,71,Mm(a,J[h+8>>2],J[h+24>>2],-1),c);break b;case 1:a=J[h+24>>2];if(K[a|0]==167){Na(d,71,gn(J[h+8>>2],J[a+28>>2],1),c);break b}Na(d,75,0,c);break b;case 4:break aa}}J[f+100>>2]=11413;J[f+96>>2]=11847;J[f+92>>2]=9628;J[f+88>>2]=17894;J[f+84>>2]=2215;J[f+80>>2]=18081;a=mc(J[h+8>>2]);if((a|0)>=65){a=J[(((a&255)<<2)+f|0)-180>>2]}else{a=13816}Ic(d,c,a);break b}if(d&2621440){OA(a,b,i)}d=(k|0)>0?k:0;e=0;while(1){if((d|0)!=(e|0)){ba:{if(e>>>0>31){break ba}if(!be(J[(h+(e<<4)|0)+8>>2])){break ba}l=1<<e|l}if(!(!(K[i+4|0]&32)|j)){j=hd(a,J[(h+(e<<4)|0)+8>>2])}e=e+1|0;continue}break}ca:{if(!h){e=0;break ca}da:{if(l){d=J[a+44>>2];J[a+44>>2]=d+k;e=d+1|0;break da}e=ic(a,k)}d=J[i+4>>2]&192;ea:{if(!d){break ea}fa:{n=J[h+8>>2];switch(K[n|0]-167|0){case 0:case 2:break fa;default:break ea}}H[n+2|0]=d}zf(a,h,e,0,2)}ga:{ha:{if((k|0)>=2){if(!(H[b+5|0]&1)){break ha}d=h+24|0;break ga}if((k|0)!=1){break $}}d=h+8|0}d=J[d>>2];J[f+80>>2]=0;J[f+140>>2]=0;if(!d|K[d|0]!=167){break $}d=J[d+44>>2];if(!d|K[d+43|0]!=1){break $}d=J[ud(m,d)+8>>2];h=J[J[d>>2]+72>>2];if(!h){break $}if(!(Ja[h|0](d,k,J[i+32>>2],f+80|0,f+140|0)|0)){break $}d=ib(m,Ya(J[i+32>>2])+41|0,0);if(!d){break $}h=Qa(d,i,40);n=h+40|0;J[h+32>>2]=n;i=J[i+32>>2];Qa(n,i,Ya(i)+1|0);J[h+16>>2]=J[f+80>>2];J[h+8>>2]=J[f+140>>2];J[h+4>>2]=J[h+4>>2]|16;break _}J[f+32>>2]=b;Ra(a,26883,f+32|0);break l}d=i}if(K[d+4|0]&32){if(!j){j=J[m+8>>2]}$a(g,85,0,0,0,j,-2)}dk(a,l,e,c,k,d,K[b+2|0]);if(!k|l){break b}Oc(a,e,k);break b}ia:{d=J[b+40>>2];ja:{if(!d){break ja}e=I[b+34>>1];if((e|0)<0){break ja}if((e|0)<J[d+36>>2]){break ia}}J[f+16>>2]=b;Ra(a,26907,f+16|0);break l}d=J[d+24>>2]+(e+J[d+12>>2]|0)|0;break a}Na(g,71,1,c);b=Va(g,e,Ec(a,J[b+12>>2],f+68|0));Na(g,71,0,c);d=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(b,20)|0)+8>>2]=d;break l}e=Ec(a,J[b+12>>2],f+68|0);d=ck(J[b+16>>2]);bb(g,91,e,c,d^1,d^K[b+2|0]==45);break l}Na(g,e,Ec(a,J[b+12>>2],f+68|0),c);break l}ka:{la:{ma:{d=J[b+12>>2];switch(K[d|0]-153|0){case 0:break la;case 2:break ma;default:break ka}}NA(a,d,1,c);break b}mr(g,J[d+8>>2],1,c);break b}J[f+84>>2]=67584;J[f+88>>2]=0;H[f+80|0]=155;d=Ec(a,f+80|0,f+68|0);Pa(g,107,Ec(a,J[b+12>>2],f- -64|0),d,c);break l}d=Ec(a,J[b+12>>2],f+68|0);Pa(g,e,Ec(a,J[b+16>>2],f- -64|0),d,c);break l}q=1;d=0;break m}e=(e|0)==45?53:52;m=128;d=1}j=J[b+12>>2];if(Ee(j)){i=J[b+16>>2];d=J[a+8>>2];h=Mc(j);g=J[a+56>>2]-1|0;J[a+56>>2]=g;if(J[a+36>>2]){break l}b=J[b+4>>2];if((Mc(i)|0)!=(h|0)){Ra(a,15608,0);break l}r=b>>>10&1;s=MA(a,j);t=MA(a,i);Na(d,71,1,c);k=(e|0)==52?53:(e|0)==57?54:(e|0)==55?56:e;u=h-2|0;h=h-1|0;b=0;while(1){J[f+80>>2]=0;J[f+140>>2]=0;J[f+76>>2]=0;J[f+72>>2]=0;if(l){J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(l,20)|0)+8>>2]=J[d+108>>2]}n=LA(a,j,b,s,f+76|0,f+80|0);p=LA(a,i,b,t,f+72|0,f+140|0);l=J[d+108>>2];o=k&255;Lm(a,J[f+76>>2],J[f+72>>2],o,n,p,g,m,r);mb(a,J[f+80>>2]);mb(a,J[f+140>>2]);na:{oa:{switch(o-54|0){case 0:case 2:break oa;default:break na}}if((b|0)>=(h|0)){break na}l=Hb(d,58)}pa:{if(!q){Na(d,71,0,c);break pa}Pa(d,92,n,c,p)}if((b|0)!=(h|0)){qa:{if((o|0)==53){Na(d,51,c,g);k=53;break qa}Na(d,9,0,g);k=(b|0)==(u|0)?e:k}b=b+1|0;continue}break}j=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(l,20)|0)+8>>2]=j;cb(d,g);if((e|0)!=52){break l}Na(d,19,c,c);break l}k=Ec(a,j,f+68|0);i=Ec(a,J[b+16>>2],f- -64|0);Na(g,71,1,c);Lm(a,j,J[b+16>>2],e,k,i,J[g+108>>2]+2|0,m,J[b+4>>2]>>>10&1);if(d){Na(g,71,0,c);break l}Pa(g,92,k,c,i)}d=c;mb(a,J[f+68>>2]);mb(a,J[f+64>>2]);break a}Xb(a,J[b+12>>2],c);Na(g,88,c,Hi(J[b+8>>2],0));break b}d=J[b+28>>2];break a}Na(g,78,I[b+32>>1],c);if(!K[J[b+8>>2]+1|0]){break b}a=J[a+236>>2];b=ew(a,I[b+32>>1]);J[a>>2]=0;sc(g,b,-1);break b}a=J[b+8>>2]+2|0;b=Ya(a)-1|0;$a(g,77,(b|0)/2|0,c,0,Ts(J[g>>2],a,b),-6);break b}Ic(g,c,J[b+8>>2]);break b}mr(g,J[b+8>>2],0,c);break b}Na(g,71,ck(b),c);break b}NA(a,b,0,c);break b}d=K[b+2|0];td(J[a+8>>2],J[b+44>>2],l,I[b+32>>1],c);if(!d){break b}b=73192;a=J[a+8>>2];if(!K[J[a>>2]+87|0]){b=(J[a+104>>2]+P(J[a+108>>2],20)|0)-20|0}a=K[b|0];if((a|0)!=176){if((a|0)!=94){break b}I[b+2>>1]=d;break b}I[b+2>>1]=d&1}d=c}Fa=f+144|0;return d}function ye(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;l=Fa-16|0;Fa=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(a>>>0<=244){g=J[18305];h=a>>>0<11?16:a+11&504;c=h>>>3|0;b=g>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+73260|0;d=J[a+73268>>2];a=J[d+8>>2];j:{if((b|0)==(a|0)){J[18305]=rJ(-2,c)&g;break j}J[a+12>>2]=b;J[b+8>>2]=a}a=d+8|0;b=c<<3;J[d+4>>2]=b|3;b=b+d|0;J[b+4>>2]=J[b+4>>2]|1;break a}k=J[18307];if(k>>>0>=h>>>0){break i}if(b){a=2<<c;d=kJ((0-a|a)&b<<c);a=d<<3;b=a+73260|0;e=J[a+73268>>2];a=J[e+8>>2];k:{if((b|0)==(a|0)){g=rJ(-2,d)&g;J[18305]=g;break k}J[a+12>>2]=b;J[b+8>>2]=a}J[e+4>>2]=h|3;c=e+h|0;a=d<<3;d=a-h|0;J[c+4>>2]=d|1;J[a+e>>2]=d;if(k){b=(k&-8)+73260|0;f=J[18310];a=1<<(k>>>3);l:{if(!(a&g)){J[18305]=a|g;a=b;break l}a=J[b+8>>2]}J[b+8>>2]=f;J[a+12>>2]=f;J[f+12>>2]=b;J[f+8>>2]=a}a=e+8|0;J[18310]=c;J[18307]=d;break a}j=J[18306];if(!j){break i}c=J[(kJ(j)<<2)+73524>>2];e=(J[c+4>>2]&-8)-h|0;b=c;while(1){m:{a=J[b+16>>2];if(!a){a=J[b+20>>2];if(!a){break m}}b=(J[a+4>>2]&-8)-h|0;d=b>>>0<e>>>0;e=d?b:e;c=d?a:c;b=a;continue}break}i=J[c+24>>2];d=J[c+12>>2];if((d|0)!=(c|0)){a=J[c+8>>2];J[a+12>>2]=d;J[d+8>>2]=a;break b}b=c+20|0;a=J[b>>2];if(!a){a=J[c+16>>2];if(!a){break h}b=c+16|0}while(1){f=b;d=a;b=a+20|0;a=J[b>>2];if(a){continue}b=d+16|0;a=J[d+16>>2];if(a){continue}break}J[f>>2]=0;break b}h=-1;if(a>>>0>4294967231){break i}a=a+11|0;h=a&-8;j=J[18306];if(!j){break i}e=0-h|0;g=0;n:{if(h>>>0<256){break n}g=31;if(h>>>0>16777215){break n}a=S(a>>>8|0);g=((h>>>38-a&1)-(a<<1)|0)+62|0}b=J[(g<<2)+73524>>2];o:{p:{q:{if(!b){a=0;break q}a=0;c=h<<((g|0)!=31?25-(g>>>1|0)|0:0);while(1){r:{f=(J[b+4>>2]&-8)-h|0;if(f>>>0>=e>>>0){break r}d=b;e=f;if(e){break r}e=0;a=b;break p}f=J[b+20>>2];b=J[((c>>>29&4)+b|0)+16>>2];a=f?(f|0)==(b|0)?a:f:a;c=c<<1;if(b){continue}break}}if(!(a|d)){d=0;a=2<<g;a=(0-a|a)&j;if(!a){break i}a=J[(kJ(a)<<2)+73524>>2]}if(!a){break o}}while(1){b=(J[a+4>>2]&-8)-h|0;c=b>>>0<e>>>0;e=c?b:e;d=c?a:d;b=J[a+16>>2];if(b){a=b}else{a=J[a+20>>2]}if(a){continue}break}}if(!d|J[18307]-h>>>0<=e>>>0){break i}g=J[d+24>>2];c=J[d+12>>2];if((d|0)!=(c|0)){a=J[d+8>>2];J[a+12>>2]=c;J[c+8>>2]=a;break c}b=d+20|0;a=J[b>>2];if(!a){a=J[d+16>>2];if(!a){break g}b=d+16|0}while(1){f=b;c=a;b=a+20|0;a=J[b>>2];if(a){continue}b=c+16|0;a=J[c+16>>2];if(a){continue}break}J[f>>2]=0;break c}a=J[18307];if(a>>>0>=h>>>0){d=J[18310];b=a-h|0;s:{if(b>>>0>=16){c=d+h|0;J[c+4>>2]=b|1;J[a+d>>2]=b;J[d+4>>2]=h|3;break s}J[d+4>>2]=a|3;a=a+d|0;J[a+4>>2]=J[a+4>>2]|1;c=0;b=0}J[18307]=b;J[18310]=c;a=d+8|0;break a}i=J[18308];if(i>>>0>h>>>0){b=i-h|0;J[18308]=b;c=J[18311];a=c+h|0;J[18311]=a;J[a+4>>2]=b|1;J[c+4>>2]=h|3;a=c+8|0;break a}a=0;e=h+47|0;if(J[18423]){c=J[18425]}else{J[18426]=-1;J[18427]=-1;J[18424]=4096;J[18425]=4096;J[18423]=l+12&-16^1431655768;J[18428]=0;J[18416]=0;c=4096}g=e+c|0;f=0-c|0;b=g&f;if(b>>>0<=h>>>0){break a}d=J[18415];if(d){c=J[18413];j=c+b|0;if(d>>>0<j>>>0|c>>>0>=j>>>0){break a}}t:{if(!(K[73664]&4)){u:{v:{w:{x:{d=J[18311];if(d){a=73668;while(1){c=J[a>>2];if(c>>>0<=d>>>0&d>>>0<c+J[a+4>>2]>>>0){break x}a=J[a+8>>2];if(a){continue}break}}c=Xh(0);if((c|0)==-1){break u}g=b;d=J[18424];a=d-1|0;if(a&c){g=(b-c|0)+(a+c&0-d)|0}if(g>>>0<=h>>>0){break u}d=J[18415];if(d){a=J[18413];f=a+g|0;if(d>>>0<f>>>0|a>>>0>=f>>>0){break u}}a=Xh(g);if((c|0)!=(a|0)){break w}break t}g=f&g-i;c=Xh(g);if((c|0)==(J[a>>2]+J[a+4>>2]|0)){break v}a=c}if((a|0)==-1){break u}if(h+48>>>0<=g>>>0){c=a;break t}c=J[18425];c=c+(e-g|0)&0-c;if((Xh(c)|0)==-1){break u}g=c+g|0;c=a;break t}if((c|0)!=-1){break t}}J[18416]=J[18416]|4}c=Xh(b);a=Xh(0);if((c|0)==-1|(a|0)==-1|a>>>0<=c>>>0){break d}g=a-c|0;if(g>>>0<=h+40>>>0){break d}}a=J[18413]+g|0;J[18413]=a;if(a>>>0>M[18414]){J[18414]=a}y:{e=J[18311];if(e){a=73668;while(1){d=J[a>>2];b=J[a+4>>2];if((d+b|0)==(c|0)){break y}a=J[a+8>>2];if(a){continue}break}break f}a=J[18309];if(!(a>>>0<=c>>>0?a:0)){J[18309]=c}a=0;J[18418]=g;J[18417]=c;J[18313]=-1;J[18314]=J[18423];J[18420]=0;while(1){d=a<<3;b=d+73260|0;J[d+73268>>2]=b;J[d+73272>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=g-40|0;a=-8-c&7;b=d-a|0;J[18308]=b;a=a+c|0;J[18311]=a;J[a+4>>2]=b|1;J[(c+d|0)+4>>2]=40;J[18312]=J[18427];break e}if(J[a+12>>2]&8|(c>>>0<=e>>>0|d>>>0>e>>>0)){break f}J[a+4>>2]=b+g;a=-8-e&7;c=a+e|0;J[18311]=c;b=J[18308]+g|0;a=b-a|0;J[18308]=a;J[c+4>>2]=a|1;J[(b+e|0)+4>>2]=40;J[18312]=J[18427];break e}d=0;break b}c=0;break c}if(M[18309]>c>>>0){J[18309]=c}b=c+g|0;a=73668;z:{A:{B:{while(1){if((b|0)!=J[a>>2]){a=J[a+8>>2];if(a){continue}break B}break}if(!(K[a+12|0]&8)){break A}}a=73668;while(1){C:{b=J[a>>2];if(b>>>0<=e>>>0){f=b+J[a+4>>2]|0;if(f>>>0>e>>>0){break C}}a=J[a+8>>2];continue}break}d=g-40|0;a=-8-c&7;b=d-a|0;J[18308]=b;a=a+c|0;J[18311]=a;J[a+4>>2]=b|1;J[(c+d|0)+4>>2]=40;J[18312]=J[18427];a=(f+(39-f&7)|0)-47|0;d=a>>>0<e+16>>>0?e:a;J[d+4>>2]=27;a=J[18420];J[d+16>>2]=J[18419];J[d+20>>2]=a;a=J[18418];J[d+8>>2]=J[18417];J[d+12>>2]=a;J[18419]=d+8;J[18418]=g;J[18417]=c;J[18420]=0;a=d+24|0;while(1){J[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0<f>>>0){continue}break}if((d|0)==(e|0)){break e}J[d+4>>2]=J[d+4>>2]&-2;f=d-e|0;J[e+4>>2]=f|1;J[d>>2]=f;if(f>>>0<=255){b=(f&-8)+73260|0;c=J[18305];a=1<<(f>>>3);D:{if(!(c&a)){J[18305]=a|c;a=b;break D}a=J[b+8>>2]}J[b+8>>2]=e;J[a+12>>2]=e;J[e+12>>2]=b;J[e+8>>2]=a;break e}a=31;if(f>>>0<=16777215){a=S(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}J[e+28>>2]=a;J[e+16>>2]=0;J[e+20>>2]=0;b=(a<<2)+73524|0;d=J[18306];c=1<<a;E:{if(!(d&c)){J[18306]=c|d;J[b>>2]=e;break E}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);d=J[b>>2];while(1){b=d;if((f|0)==(J[b+4>>2]&-8)){break z}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;d=J[c+16>>2];if(d){continue}break}J[c+16>>2]=e}J[e+24>>2]=b;J[e+12>>2]=e;J[e+8>>2]=e;break e}J[a>>2]=c;J[a+4>>2]=J[a+4>>2]+g;j=(-8-c&7)+c|0;J[j+4>>2]=h|3;e=b+(-8-b&7)|0;i=h+j|0;g=e-i|0;F:{if(J[18311]==(e|0)){J[18311]=i;a=J[18308]+g|0;J[18308]=a;J[i+4>>2]=a|1;break F}if(J[18310]==(e|0)){J[18310]=i;a=J[18307]+g|0;J[18307]=a;J[i+4>>2]=a|1;J[a+i>>2]=a;break F}c=J[e+4>>2];if((c&3)==1){f=c&-8;G:{if(c>>>0<=255){b=J[e+12>>2];a=J[e+8>>2];if((b|0)==(a|0)){J[18305]=J[18305]&rJ(-2,c>>>3|0);break G}J[a+12>>2]=b;J[b+8>>2]=a;break G}h=J[e+24>>2];a=J[e+12>>2];H:{if((e|0)!=(a|0)){b=J[e+8>>2];J[b+12>>2]=a;J[a+8>>2]=b;break H}I:{b=e+20|0;c=J[b>>2];if(!c){c=J[e+16>>2];if(!c){break I}b=e+16|0}while(1){d=b;a=c;b=a+20|0;c=J[b>>2];if(c){continue}b=a+16|0;c=J[a+16>>2];if(c){continue}break}J[d>>2]=0;break H}a=0}if(!h){break G}c=J[e+28>>2];b=(c<<2)+73524|0;J:{if(J[b>>2]==(e|0)){J[b>>2]=a;if(a){break J}J[18306]=J[18306]&rJ(-2,c);break G}J[h+(J[h+16>>2]==(e|0)?16:20)>>2]=a;if(!a){break G}}J[a+24>>2]=h;b=J[e+16>>2];if(b){J[a+16>>2]=b;J[b+24>>2]=a}b=J[e+20>>2];if(!b){break G}J[a+20>>2]=b;J[b+24>>2]=a}g=f+g|0;e=e+f|0;c=J[e+4>>2]}J[e+4>>2]=c&-2;J[i+4>>2]=g|1;J[g+i>>2]=g;if(g>>>0<=255){b=(g&-8)+73260|0;c=J[18305];a=1<<(g>>>3);K:{if(!(c&a)){J[18305]=a|c;a=b;break K}a=J[b+8>>2]}J[b+8>>2]=i;J[a+12>>2]=i;J[i+12>>2]=b;J[i+8>>2]=a;break F}c=31;if(g>>>0<=16777215){a=S(g>>>8|0);c=((g>>>38-a&1)-(a<<1)|0)+62|0}J[i+28>>2]=c;J[i+16>>2]=0;J[i+20>>2]=0;b=(c<<2)+73524|0;L:{d=J[18306];a=1<<c;M:{if(!(d&a)){J[18306]=a|d;J[b>>2]=i;break M}c=g<<((c|0)!=31?25-(c>>>1|0)|0:0);a=J[b>>2];while(1){b=a;if((J[a+4>>2]&-8)==(g|0)){break L}d=c>>>29|0;c=c<<1;d=(d&4)+a|0;a=J[d+16>>2];if(a){continue}break}J[d+16>>2]=i}J[i+24>>2]=b;J[i+12>>2]=i;J[i+8>>2]=i;break F}a=J[b+8>>2];J[a+12>>2]=i;J[b+8>>2]=i;J[i+24>>2]=0;J[i+12>>2]=b;J[i+8>>2]=a}a=j+8|0;break a}a=J[b+8>>2];J[a+12>>2]=e;J[b+8>>2]=e;J[e+24>>2]=0;J[e+12>>2]=b;J[e+8>>2]=a}a=J[18308];if(a>>>0<=h>>>0){break d}b=a-h|0;J[18308]=b;c=J[18311];a=c+h|0;J[18311]=a;J[a+4>>2]=b|1;J[c+4>>2]=h|3;a=c+8|0;break a}J[18304]=48;a=0;break a}N:{if(!g){break N}b=J[d+28>>2];a=(b<<2)+73524|0;O:{if(J[a>>2]==(d|0)){J[a>>2]=c;if(c){break O}j=rJ(-2,b)&j;J[18306]=j;break N}J[g+(J[g+16>>2]==(d|0)?16:20)>>2]=c;if(!c){break N}}J[c+24>>2]=g;a=J[d+16>>2];if(a){J[c+16>>2]=a;J[a+24>>2]=c}a=J[d+20>>2];if(!a){break N}J[c+20>>2]=a;J[a+24>>2]=c}P:{if(e>>>0<=15){a=e+h|0;J[d+4>>2]=a|3;a=a+d|0;J[a+4>>2]=J[a+4>>2]|1;break P}J[d+4>>2]=h|3;f=d+h|0;J[f+4>>2]=e|1;J[e+f>>2]=e;if(e>>>0<=255){b=(e&-8)+73260|0;c=J[18305];a=1<<(e>>>3);Q:{if(!(c&a)){J[18305]=a|c;a=b;break Q}a=J[b+8>>2]}J[b+8>>2]=f;J[a+12>>2]=f;J[f+12>>2]=b;J[f+8>>2]=a;break P}a=31;if(e>>>0<=16777215){a=S(e>>>8|0);a=((e>>>38-a&1)-(a<<1)|0)+62|0}J[f+28>>2]=a;J[f+16>>2]=0;J[f+20>>2]=0;b=(a<<2)+73524|0;R:{c=1<<a;S:{if(!(c&j)){J[18306]=c|j;J[b>>2]=f;break S}a=e<<((a|0)!=31?25-(a>>>1|0)|0:0);h=J[b>>2];while(1){b=h;if((J[b+4>>2]&-8)==(e|0)){break R}c=a>>>29|0;a=a<<1;c=(c&4)+b|0;h=J[c+16>>2];if(h){continue}break}J[c+16>>2]=f}J[f+24>>2]=b;J[f+12>>2]=f;J[f+8>>2]=f;break P}a=J[b+8>>2];J[a+12>>2]=f;J[b+8>>2]=f;J[f+24>>2]=0;J[f+12>>2]=b;J[f+8>>2]=a}a=d+8|0;break a}T:{if(!i){break T}b=J[c+28>>2];a=(b<<2)+73524|0;U:{if(J[a>>2]==(c|0)){J[a>>2]=d;if(d){break U}J[18306]=rJ(-2,b)&j;break T}J[i+(J[i+16>>2]==(c|0)?16:20)>>2]=d;if(!d){break T}}J[d+24>>2]=i;a=J[c+16>>2];if(a){J[d+16>>2]=a;J[a+24>>2]=d}a=J[c+20>>2];if(!a){break T}J[d+20>>2]=a;J[a+24>>2]=d}V:{if(e>>>0<=15){a=e+h|0;J[c+4>>2]=a|3;a=a+c|0;J[a+4>>2]=J[a+4>>2]|1;break V}J[c+4>>2]=h|3;d=c+h|0;J[d+4>>2]=e|1;J[d+e>>2]=e;if(k){b=(k&-8)+73260|0;f=J[18310];a=1<<(k>>>3);W:{if(!(a&g)){J[18305]=a|g;a=b;break W}a=J[b+8>>2]}J[b+8>>2]=f;J[a+12>>2]=f;J[f+12>>2]=b;J[f+8>>2]=a}J[18310]=d;J[18307]=e}a=c+8|0}Fa=l+16|0;return a|0}function XI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0;h=Fa-256|0;Fa=h;d=J[a>>2];p=J[d>>2];r=J[b+4>>2];J[b+4>>2]=r|64;i=2;a:{if(K[p+87|0]){break a}i=1;if(r&64){break a}if(L[a+20>>1]){c=J[d+108>>2]+1|0;J[d+108>>2]=c;J[b+16>>2]=c}c=J[b+64>>2];v=J[b+28>>2];w=J[b+32>>2];b:{c:{if(!(!J[d+276>>2]|!(r&2097152))){if(!c){c=ib(p,36,0);J[b+64>>2]=c;i=2;if(!c){break a}}J[c+4>>2]=1;break c}if(!c){break b}}if(J[d+36>>2]){break b}J[c+8>>2]=J[d+276>>2];J[d+276>>2]=c}rk(d,w);z=w+8|0;f=z;while(1){d:{e:{f:{g:{h:{i:{j:{k:{if(J[w>>2]>(l|0)){if(J[f+16>>2]){break e}e=J[f+8>>2];if(!e){i=2;if($b(a,J[f+20>>2])){break a}c=J[f+20>>2];e=ib(J[d>>2],64,0);J[f+16>>2]=e;if(!e){break a}J[e+24>>2]=1;k=J[d>>2];j=J[f+12>>2];l:{if(j){k=Ob(k,j);break l}J[h>>2]=f;k=hb(k,19445,h)}J[e>>2]=k;while(1){k=c;c=J[c+52>>2];if(c){continue}break}Em(d,J[k+28>>2],e+34|0,e+4|0);I[e+38>>1]=200;I[e+32>>1]=65535;J[e+28>>2]=J[e+28>>2]|16896;if(!J[d+36>>2]){break g}break a}m:{m=J[d+276>>2];if(J[d+36>>2]|!m|(J[f+4>>2]|K[f+38|0]&2)){break m}while(1){if(!m){break m}c=0;i=J[m>>2];i=(i|0)>0?i:0;n:{o:{while(1){if((c|0)==(i|0)){break o}k=P(c,24);c=c+1|0;n=k+m|0;k=J[n+12>>2];if(Xa(e,k)){continue}break}c=J[n+24>>2];if(!c){break n}J[h+112>>2]=k;Ra(d,c,h+112|0);break f}if(J[m+4>>2]){break m}m=J[m+8>>2];continue}break}c=J[d>>2];i=2;if(kA(d,f)){break a}o=ib(c,64,0);if(!o){break a}j=J[n+28>>2];if(!j){j=ib(c,20,0);J[n+28>>2]=j;p:{if(j){if(dd(d,52,j)){break p}}Za(c,o);break a}H[j+18|0]=K[n+32|0]}J[f+16>>2]=o;J[o+24>>2]=1;e=Ob(c,J[n+12>>2]);I[o+38>>1]=200;I[o+32>>1]=65535;J[o>>2]=e;J[o+28>>2]=J[o+28>>2]|16896;e=Pd(c,J[n+20>>2],0);J[f+20>>2]=e;if(K[c+87|0]){break a}J[e+4>>2]=J[e+4>>2]|67108864;c=K[f+37|0]|K[f+38|0]<<8;if(c&2){J[h+96>>2]=J[f+56>>2];Ra(d,29702,h+96|0);break a}J[f+60>>2]=j;c=c|256;H[f+37|0]=c;H[f+38|0]=c>>>8;J[j>>2]=J[j>>2]+1;g=-1;c=K[e|0];j=c;k=e;q:{q=(c&254)!=134;if(q){break q}while(1){if((j&255)!=(c&255)){break q}c=0;u=J[k+32>>2];j=J[u>>2];s=(j|0)>0?j:0;while(1){if((c|0)!=(s|0)){j=u+(c<<6)|0;r:{if(J[j+12>>2]){break r}t=J[j+16>>2];if(!t){break r}if(Xa(t,J[n+12>>2])){break r}J[j+24>>2]=o;J[o+24>>2]=J[o+24>>2]+1;t=K[j+45|0]|K[j+46|0]<<8|64;H[j+45|0]=t;H[j+46|0]=t>>>8;t=J[k+4>>2];if(t&8192){break k}J[k+4>>2]=t|8192;if((g|0)<0){g=J[d+40>>2];J[d+40>>2]=g+1}J[j+48>>2]=g}c=c+1|0;continue}break}if(!(K[k+5|0]&32)){break q}c=K[e|0];k=J[k+52>>2];j=K[k|0];continue}}J[n+24>>2]=8540;j=J[d+276>>2];J[d+276>>2]=m;s:{if(K[e+5|0]&32){J[k+64>>2]=J[e+64>>2];c=$b(a,k);J[k+64>>2]=0;if(!c){break s}break d}if($b(a,e)){break d}}J[d+276>>2]=m;c=e;while(1){k=c;c=J[c+52>>2];if(c){continue}break}k=J[k+28>>2];c=J[n+16>>2];if(!c){c=k;break h}if(!k){break h}k=J[k>>2];g=J[c>>2];if((k|0)==(g|0)){break h}a=J[n+12>>2];J[h+72>>2]=g;J[h+68>>2]=k;J[h+64>>2]=a;Ra(d,5182,h- -64|0);break d}c=_e(d,0,f);J[f+16>>2]=c;i=2;if(!c){break a}e=J[c+24>>2];if(e>>>0>=65535){J[h+16>>2]=J[c>>2];Ra(d,23312,h+16|0);J[f+16>>2]=0;break a}J[c+24>>2]=e+1;if(K[c+43|0]!=1){if(kA(d,f)){break a}if(!K[c+43|0]){break g}}e=K[a+20|0];if(Ze(d,c)){break a}t:{u:{switch(K[c+43|0]-1|0){case 1:if(!(K[p+35|0]&128|J[c+60>>2]==J[J[p+16>>2]+28>>2])){J[h+32>>2]=J[c>>2];Ra(d,15533,h+32|0)}J[f+20>>2]=Pd(p,J[c+44>>2],0);break t;case 0:break u;default:break t}}if(!(K[f+37|0]&128)){break t}i=J[c+52>>2];if(!i|K[i+18|0]<=(J[p+32>>2]>>>7&1)>>>0){break t}J[h+48>>2]=J[c>>2];Ra(d,29619,h+48|0)}i=L[c+34>>1];I[c+34>>1]=65535;I[a+20>>1]=1;$b(a,J[f+20>>2]);I[a+20>>1]=e;I[c+34>>1]=i;break g}i=2;if(J[d+36>>2]){break a}c=J[b+32>>2];g=c+72|0;q=c+8|0;i=0;while(1){if((J[c>>2]-1|0)<=(i|0)){t=0;j=J[v>>2];e=(j|0)>0?j:0;c=0;while(1){if((c|0)!=(e|0)){a=J[((c<<4)+v|0)+8>>2];i=K[a|0];v:{if((i|0)!=141){if((i|0)!=180){break v}break j}if(K[J[a+16>>2]]==180){break j}}c=c+1|0;t=J[a+4>>2]|t;continue}break}g=J[b+28>>2];break i}w:{if(!J[q+16>>2]){break w}k=J[g+16>>2];if(!k){break w}x:{y:{e=K[g+36|0];if(e&4){if(J[g+44>>2]|K[g+38|0]&4){break y}l=0;f=0;while(1){if((f|0)<I[k+34>>1]){a=J[k+4>>2]+P(f,12)|0;z:{if(K[a+10|0]&2){break z}j=J[a>>2];if(!er(c,0,i,j,0,0,1)){break z}a=wn(d,l,0);l=0;if(!a){break z}l=Ob(J[d>>2],j);J[a+(J[a>>2]<<3)>>2]=l;l=a}f=f+1|0;continue}break}if(l){J[g+44>>2]=l;a=K[g+37|0]|K[g+38|0]<<8|5120;H[g+37|0]=a;H[g+38|0]=a>>>8}if(J[d+36>>2]){break f}}n=e&32?1:2;e=J[g+44>>2];if(!(K[g+38|0]&4)){break x}m=i+1|0;f=J[d>>2];u=0;while(1){if(J[e>>2]<=(u|0)){break w}A:{a=J[(e+(u<<3)|0)+8>>2];o=Cn(k,a);if((o|0)>=0){if(er(c,0,i,a,h+244|0,h+240|0,(K[g+37|0]|K[g+38|0]<<8)>>>12&1)){break A}}J[h+128>>2]=a;Ra(d,5684,h+128|0);break f}l=J[h+240>>2];j=dr(f,c,J[h+244>>2],l);ak((c+(J[h+244>>2]<<6)|0)+8|0,l);l=0;B:{if(!(K[c+44|0]&64)){break B}while(1){C:{if(er(c,J[h+244>>2]+1|0,i,a,h+244|0,h+240|0,(K[g+37|0]|K[g+38|0]<<8)>>>12&1)){s=c+(J[h+244>>2]<<6)|0;if(K[s+46|0]&4){if((og(J[s+52>>2],a)|0)>=0){break C}}J[h+144>>2]=a;Ra(d,26934,h+144|0)}if(!l){break B}j=pe(d,Kb(d,l,j),49992,0);break B}l=Kb(d,l,j);s=J[h+240>>2];j=dr(f,c,J[h+244>>2],s);ak((c+(J[h+244>>2]<<6)|0)+8|0,s);continue}}l=dr(f,c,m,o);ak(g,o);a=db(d,53,j,l);if(a){J[a+4>>2]=n|J[a+4>>2];J[a+36>>2]=J[l+28>>2]}J[b+36>>2]=Od(d,J[b+36>>2],a);u=u+1|0;continue}}J[h+160>>2]=0;Ra(d,13382,h+160|0);break f}if(!e){break w}gh(e,J[g+40>>2],n);J[b+36>>2]=Od(d,J[b+36>>2],J[g+44>>2]);J[g+44>>2]=0;a=K[g+37|0]|K[g+38|0]<<8|2048;H[g+37|0]=a;H[g+38|0]=a>>>8}q=q- -64|0;g=g- -64|0;i=i+1|0;continue}}J[h+80>>2]=J[n+12>>2];Ra(d,8431,h+80|0);break a}s=r&2048;B=v+8|0;C=J[J[d>>2]+32>>2]&68;g=0;while(1){D:{if((j|0)>(y|0)){a=(y<<4)+B|0;j=J[a>>2];D=J[j+4>>2];m=0;q=0;f=j;c=K[f|0];if((c|0)!=180){E:{if((c|0)==141){f=J[f+16>>2];if(K[f|0]==180){break E}}g=Kb(d,g,j);if(g){c=(J[g>>2]<<4)+g|0;J[c-4>>2]=J[a+4>>2];e=(K[c+1|0]|K[c+2|0]<<8)&65532|(K[a+9|0]|K[a+10|0]<<8)&3;H[c+1|0]=e;H[c+2|0]=e>>>8;J[a+4>>2]=0}J[a>>2]=0;break D}q=J[J[j+12>>2]+8>>2]}A=J[f+36>>2];e=z;i=0;while(1){F:{G:{H:{I:{c=J[w>>2];if((c|0)<=(i|0)){break I}r=J[e+16>>2];k=J[e+12>>2];if(!k){k=J[r>>2]}if(K[p+87|0]){break I}J:{if(K[e+38|0]&32){x=J[J[e+20>>2]+28>>2];n=0;break J}K:{if(!q){break K}if(!Xa(q,k)){break K}a=i+1|0;break F}x=0;f=Ab(p,J[r+60>>2]);n=24938;if((f|0)<0){break J}n=J[J[p+16>>2]+(f<<4)>>2]}f=0;o=i+1|0;if(!(K[e+102|0]&4)|!s|(o|0)>=(c|0)){break H}u=J[e+108>>2];c=0;while(1){if(J[u>>2]<=(c|0)){break G}l=J[((c<<3)+u|0)+8>>2];a=jc(p,59,l);if(!(!a|K[a+4|0]&3)){J[a+36>>2]=A}g=Kb(d,g,a);if(g){a=J[g>>2];J[h+208>>2]=l;a=(a<<4)+g|0;J[a-4>>2]=hb(p,6443,h+208|0);l=(K[a+1|0]|K[a+2|0]<<8)&65404|130;H[a+1|0]=l;H[a+2|0]=l>>>8}c=c+1|0;continue}}if(m){break D}if(q){J[h+224>>2]=q;Ra(d,8413,h+224|0);break D}Ra(d,16340,0);break D}u=0}a=I[r+34>>1]+(!(K[r+29|0]&2)&(s|0)!=0)|0;E=(a|0)>0?a:0;F=!(q|s)&(i|0)!=0;G=i^-1;while(1){L:{if((f|0)==(E|0)){break L}M:{N:{if(I[r+34>>1]==(f|0)){J[h+252>>2]=20447;J[h+248>>2]=20441;J[h+244>>2]=18322;a=0;while(1){if((a|0)==3){break M}i=(h+244|0)+(a<<2)|0;c=0;O:{while(1){if((c|0)==(f|0)){break O}if(Ub(J[i>>2],J[J[r+4>>2]+P(c,12)>>2])){c=c+1|0;continue}break}a=a+1|0;if((c|0)!=(f|0)){continue}}break}i=J[i>>2];if(i){break N}break M}c=J[r+4>>2]+P(f,12)|0;i=J[c>>2];P:{if(!x){break P}a=(f<<4)+x|0;if(((K[a+17|0]|K[a+18|0]<<8)&3)==3){break M}if(!q){break P}if(!rA(a+8|0,0,q,0,0)){break M}}a=L[c+10>>1];if(!(a&2?K[b+6|0]&2:1)){break M}if(!(a&1024)|q){break N}if(!s){break M}}if(!(!F|!(K[e+38|0]&4))){m=1;if((og(J[e+44>>2],i)|0)>=0){break M}}m=jc(p,59,i);a=J[w>>2];Q:{R:{if((a|0)>=2){if(s|!(K[e+36|0]&64)){break R}l=a+G|0;a=e;while(1){if((l|0)<=0){break R}c=a;a=c- -64|0;l=l-1|0;if(!(K[c+102|0]&4)){continue}c=J[c+108>>2];if(!c){continue}if((og(c,i)|0)<0){continue}break}}if(K[d+220|0]<2){break Q}}a=jc(p,59,k);m=db(d,141,a,m);S:{if(K[d+220|0]<2){break S}c=J[j+12>>2];if(!c){break S}Zc(d,a,c)}if(!n){break Q}m=db(d,141,jc(p,59,n),m)}if(!(!m|K[m+4|0]&3)){J[m+36>>2]=A}g=Kb(d,g,m);if(!g){m=1;g=0;break L}a=J[g>>2]-1|0;T:{if(!(!s|K[d+220|0]>1)){a=(a<<4)+g|0;U:{if(x){c=Ob(p,J[((f<<4)+x|0)+12>>2]);break U}J[h+200>>2]=i;J[h+196>>2]=k;J[h+192>>2]=n;c=hb(p,6196,h+192|0)}J[a+12>>2]=c;c=(K[a+17|0]|K[a+18|0]<<8)&-4|(I[r+34>>1]==(f|0)?3:2);H[a+17|0]=c;H[a+18|0]=c>>>8;V:{if(K[e+38|0]&4){if((og(J[e+44>>2],i)|0)>=0){break V}}if(u){if((og(u,i)|0)>=0){break V}}m=1;if(!(K[(J[r+4>>2]+P(f,12)|0)+11|0]&4)|I[r+34>>1]<=(f|0)){break M}}c=c|256;H[a+17|0]=c;H[a+18|0]=c>>>8;break T}a=(a<<4)+g|0;if(!M&(C|0)==4){J[h+180>>2]=i;J[h+176>>2]=k;J[a+12>>2]=hb(p,6437,h+176|0);c=(K[a+17|0]|K[a+18|0]<<8)&65532;H[a+17|0]=c;H[a+18|0]=c>>>8;break T}J[a+12>>2]=Ob(p,i);c=(K[a+17|0]|K[a+18|0]<<8)&65532;H[a+17|0]=c;H[a+18|0]=c>>>8}m=1}f=f+1|0;continue}break}a=o}i=a;e=e- -64|0;continue}}Vf(p,v);J[b+28>>2]=g;break i}t=t|D;y=y+1|0;j=J[v>>2];continue}}i=0;if(!g){break a}if(J[g>>2]>J[p+128>>2]){Ra(d,3323,0);break f}if(!(t&4194312)){break a}J[b+4>>2]=J[b+4>>2]|262144;break a}Em(d,c,o+34|0,o+4|0);if(!q){J[n+24>>2]=J[e+4>>2]&8192?7632:7423;$b(a,e)}J[n+24>>2]=0;J[d+276>>2]=j}if(!(K[f+37|0]&2)){break e}if(!jA(d,f)){break e}}i=2;break a}f=f- -64|0;l=l+1|0;continue}break}J[d+276>>2]=j}Fa=h+256|0;return i|0}function tn(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;q=Fa-80|0;Fa=q;N=J[a>>2];a:{if(J[a+36>>2]){break a}i=nh(a,b);if(!i){break a}p=Ab(J[a>>2],J[i+60>>2]);D=pi(a,i,129,c,q+40|0);l=J[b>>2]>=2?J[c>>2]:l;O=K[i+43|0];if(Ze(a,i)){break a}if(Zm(a,i,D)){break a}w=J[a+40>>2];C=w+1|0;J[a+40>>2]=C;if(K[i+28|0]&128){s=ec(i)}g=C;m=w;E=i+8|0;r=E;while(1){j=J[r>>2];if(j){h=g+1|0;J[a+40>>2]=h;m=(j|0)==(s|0)?g:m;V=V+1|0;r=j+20|0;g=h;continue}break}if(f){C=J[f+44>>2];m=J[f+40>>2];J[a+40>>2]=w}J[b+48>>2]=m;r=Ib(N,((I[i+34>>1]+V<<2)+V|0)+6|0,0);if(!r){r=0;break a}g=0;R=(I[i+34>>1]<<2)+r|0;n=R+(V<<2)|0;v=V+1|0;W=Sa(n+4|0,1,v);H[W+v|0]=0;h=I[i+34>>1];h=(h|0)>0?h:0;while(1){if((g|0)!=(h|0)){J[(g<<2)+r>>2]=-1;g=g+1|0;continue}break}h=q- -64|0;J[h>>2]=0;J[h+4>>2]=0;J[q+72>>2]=0;J[q+76>>2]=0;J[q+56>>2]=0;J[q+60>>2]=0;J[q+52>>2]=f;J[q+48>>2]=b;J[q+44>>2]=a;J[q+68>>2]=512;k=rb(a);if(!k){break a}t=-1;j=0;while(1){b:{c:{if(J[c>>2]>(j|0)){h=(j<<4)+c|0;o=yg(J[h+12>>2]);if(!l){if(Yc(q+44|0,J[h+8>>2])){break a}}g=0;u=I[i+34>>1];y=(u|0)>0?u:0;while(1){if((g|0)!=(y|0)){d:{G=J[i+4>>2]+P(g,12)|0;if((o|0)!=K[G+7|0]){break d}u=J[G>>2];if(Xa(u,J[h+12>>2])){break d}if(I[i+32>>1]==(g|0)){X=J[h+8>>2];S=1;t=j;break c}h=L[G+10>>1];if(!(!s|!(h&1))){aa=1;break c}if(!(h&96)){break c}J[q+16>>2]=u;Ra(a,29478,q+16|0);break a}g=g+1|0;continue}break}g=J[h+12>>2];e:{if(s){break e}if(!aj(g)){break e}X=J[h+8>>2];u=20441;S=1;g=-1;t=j;break b}J[q>>2]=g;Ra(a,7915,q);H[a+17|0]=1;break a}Z=S+aa|0;f:{if(!(K[i+28|0]&96)){break f}h=0;g=0;while(1){j=h;g:{if(I[i+34>>1]>(g|0)){j=(g<<2)+r|0;if(J[j>>2]>=0){break g}u=J[i+4>>2]+P(g,12)|0;if(!(K[u+10|0]&96)){break g}if(!jk(Hc(i,u),r,S)){break g}J[j>>2]=99999;h=1;break g}h=0;g=0;if(j){continue}break f}g=g+1|0;continue}}h=K[i+43|0]==1;J[b+56>>2]=h?-1:0;J[b+60>>2]=h?-1:0;_=Z&255;F=oi(a,i,r,_);u=(_|0)!=0|(F|0)>1;G=n+5|0;y=(e|0)==5;n=(e|0)!=11;while(1){h:{i:{j:{k:{l:{m:{n:{o:{h=J[E>>2];if(h){if(u|(h|0)==(s|0)){break o}j=J[h+36>>2];if(j){if(jk(j,r,S)){break o}}g=0;while(1){if(L[h+50>>1]<=g>>>0){break i}j=I[J[h+4>>2]+(g<<1)>>1];p:{if((j|0)>=0){j=(J[((j&65535)<<2)+r>>2]^-1)>>>31|0;break p}j=jk(J[(J[h+40>>2]+(g<<4)|0)+8>>2],r,S)}g=g+1|0;if(!j){continue}break}g=J[a+44>>2]+1|0;J[a+44>>2]=g+L[h+52>>1];if(n){break j}y=K[h+54|0]==5?1:y;break j}J[q+36>>2]=y;h=J[a+44>>2]+1|0;J[a+44>>2]=h;ba=(z<<2)+R|0;J[ba>>2]=h;if(y){Sa(W,1,v)}if(!K[a+18|0]){I[k+152>>1]=L[k+152>>1]|16}n=0;fd(a,(D|F)!=0,p);j=0;z=0;g=K[i+43|0];if((g|0)!=1){j=J[a+44>>2];n=j+1|0;T=J[ba>>2];q:{if(!(D|aa)){u=n;if(!F){break q}}z=j+2|0;u=I[i+34>>1]+n|0}h=u;j=h+1|0;h=Z&255|D|F;p=h?j:u;J[a+44>>2]=p+I[i+34>>1];Q=h?j:n;j=p+1|0}r:{s:{t:{if((O|0)!=2){h=0;G=0;E=0;u=0;if(!l){break t}break r}h=J[a+260>>2];J[a+260>>2]=J[i>>2];E=0;if(l){u=a;break s}Dr(a,i,d,m);u=a}if(Yc(q+44|0,d)){G=h;break k}g=K[i+43|0];E=1}G=h}if((g&255)==1){j=J[a+8>>2];m=J[a>>2];w=ud(m,i);f=J[b+48>>2];h=I[i+34>>1];p=J[a+40>>2];J[a+40>>2]=p+1;v=h+2|0;l=Na(j,118,p,v);h=J[a+44>>2];o=h+v|0;J[a+44>>2]=o;t=h+1|0;u:{v:{w:{x:{if(J[b>>2]>=2){y:{if(!(K[i+28|0]&128)){if(X){s=0;f=eb(m,X,0);break y}s=0;f=db(a,75,0,0);break y}s=ec(i);f=I[J[s+4>>2]>>1];h=J[(f<<2)+r>>2];if((h|0)>=0){f=eb(m,J[((h<<4)+c|0)+8>>2],0);break y}f=ik(a,f)}z=Tc(J[a>>2],f);g=0;while(1){if(I[i+34>>1]<=(g|0)){break x}f=J[(g<<2)+r>>2];z:{if((f|0)>=0){h=eb(m,J[((f<<4)+c|0)+8>>2],0);break z}h=ik(a,g);if(!h){h=0;break z}H[h+2|0]=1}g=g+1|0;z=Kb(a,z,h);continue}}C=o+2|0;J[a+44>>2]=C;n=Ye(a,b,d,0,0,0,4,0);if(!n){break k}m=h+3|0;g=0;while(1){if((g|0)<I[i+34>>1]){A=J[(g<<2)+r>>2];A:{if((A|0)>=0){Xb(a,J[((A<<4)+c|0)+8>>2],g+m|0);break A}Pa(j,176,f,g,g+m|0);A=J[j+108>>2];if((A|0)<=0){break A}I[(J[j+104>>2]+P(A,20)|0)-18>>1]=1}g=g+1|0;continue}break}B:{if(!(K[i+28|0]&128)){Na(j,135,f,t);h=h+2|0;if(X){Xb(a,X,h);break B}Na(j,135,f,h);break B}g=I[J[ec(i)+4>>2]>>1];Pa(j,176,f,g,t);Na(j,81,g+m|0,h+2|0)}if(K[n+46|0]){break v}f=J[a+128>>2];H[(f?f:a)+20|0]=1;f=o+1|0;Pa(j,97,t,v,f);Na(j,127,p,C);Pa(j,128,p,f,C);break w}Cr(a,p,s,z,b,d);kb(m,z);n=0}if(J[b>>2]==1){qd(n)}g=0;f=(v|0)>0?v:0;l=Va(j,36,p);while(1)if((f|0)==(g|0)){f=1;break u}else{Pa(j,94,p,g,g+t|0);g=g+1|0;continue}}$d(j,l);Va(j,122,f);f=0}Ym(a,i);$a(j,7,0,v,t,w,-11);h=J[j+108>>2];if((h|0)>0){I[(J[j+104>>2]+P(h,20)|0)-18>>1]=(e|0)==11?2:e}e=J[a+128>>2];H[(e?e:a)+21|0]=1;if(f){Na(j,39,p,l+1|0);e=J[j+108>>2];J[(K[J[j>>2]+87|0]?73192:J[j+104>>2]+P(l,20)|0)+8>>2]=e;Na(j,122,p,0);break k}qd(n);break k}v=J[a+56>>2]-1|0;J[a+56>>2]=v;if(!(J[a+132>>2]|!(H[N+36|0]&1)|(K[a+159|0]|(K[a+18|0]|f)))){Y=J[a+44>>2]+1|0;J[a+44>>2]=Y;Na(k,71,0,Y)}C:{D:{E:{F:{G:{H:{I:{if(!(!E|K[i+28|0]&128)){h=0;Pa(k,75,0,T,n);x=J[a+40>>2];J[a+40>>2]=x+1;$=Pa(k,118,x,0,T);p=0;break I}h=J[a+44>>2];A=s?L[s+50>>1]:0;B=A<<16>>16;o=h+B|0;p=(o+l|0)+1|0;J[a+44>>2]=p;h=h+1|0;if(f){break H}g=0;g=(O|0)==2?I[i+34>>1]:g;x=J[a+40>>2];J[a+40>>2]=x+1;if(s){Pa(k,75,0,h,o)}o=(l+B|0)+g|0;$=Na(k,118,x,o);J:{if(!s){break J}g=pk(a,s);if(!g){break J}I[g+8>>1]=o;sc(k,g,-8)}if(E){break I}Cr(a,x,s,c,b,d);m=(O|0)==2?x:m}if(!l){break F}B=A<<16>>16;break G}if(!l){break E}}y=1;g=J[a+128>>2];H[(g?g:a)+20|0]=1;o=0;ca=1;p=h;break l}if(!f){break D}}rc(a,d,v,16);o=1;break C}g=4;if(!(y|D|(Z&255|(K[a+18|0]|F))|(K[d+6|0]&64?d:0))){g=12}U=Ye(a,b,d,0,0,0,g,C);if(!U){break k}o=1;ca=H[U+48|0]&1;l=J[U+24>>2];M=J[U+20>>2];g=K[U+46|0];if((g|0)==1){break C}o=J[a+128>>2];H[(o?o:a)+20|0]=1;o=2;if((g|0)!=2){o=g;break C}if((l|0)==(m|0)|(l|0)<0){break C}o=!K[(l-w|0)+W|0]<<1}K:{L:{if(K[i+28|0]&128){g=0;B=A<<16>>16;y=(B|0)>0?B:0;while(1){if((g|0)==(y|0)){break L}td(k,i,m,I[J[s+4>>2]+(g<<1)>>1],g+h|0);g=g+1|0;continue}}Na(k,135,m,n);if(!o){g=J[a+44>>2]+1|0;J[a+44>>2]=g;J[ba>>2]=g;Pa(k,128,x,T,n);break K}if(!$){break m}$d(k,$);break m}if(o){y=0;if(!$){break n}$d(k,$);break n}$a(k,97,h,B,p,fh(N,s),B);bb(k,138,x,p,h,B)}o=0;break m}g=J[a+44>>2]+1|0;J[a+44>>2]=g+L[h+52>>1];break j}p=h;break l}y=0;B=0}T=0;M:{if(f){l=v;break M}if((o|0)!=2&E){qd(U)}N:{if((O|0)==2){break N}g=0;O:{if(!o){break O}if((M|0)>=0){H[(M-w|0)+W|0]=0}if((l|0)>=0){H[(l-w|0)+W|0]=0}g=0;if((o|0)!=2|(((l^-1)>>31)+V|0)<=0){break O}g=Hb(k,15)}nk(a,i,113,0,w,W,q+32|0,q+28|0);if(!g){break N}mk(k,g)}if(o){if(!((m|0)==(M|0)|(l|0)==(m|0))){bb(k,28,m,v,p,B)}l=v;if((o|0)!=1){l=J[a+56>>2]-1|0;J[a+56>>2]=l}Na(k,50,s?p:n,v);break M}if(!(!s&(y^1))){l=J[a+56>>2]-1|0;J[a+56>>2]=l;Na(k,36,x,v);T=J[k+108>>2];if(y){if((O|0)==2){break M}if(s){g=0;w=A<<16>>16;M=(w|0)>0?w:0;while(1){if((g|0)!=(M|0)){Pa(k,94,x,g,g+h|0);g=g+1|0;continue}break}bb(k,28,m,l,h,w);break M}Na(k,135,x,n);Pa(k,31,m,l,n);break M}Na(k,134,x,p);bb(k,28,m,l,p,0);break M}Na(k,36,x,v);l=J[a+56>>2]-1|0;J[a+56>>2]=l;T=Na(k,135,x,n);Pa(k,31,m,l,n)}if(S){P:{if(E){Xb(a,X,Q);break P}Pa(k,94,x,t,Q)}Va(k,13,Q)}Q:{if(!(D|aa|F)){break Q}g=0;if(F){h=Br(a,i)}else{h=g}w=h|Wm(a,D,c,0,3,i,e);M=(w|0)==-1;while(1){R:{S:{if(I[i+34>>1]>(g|0)){h=L[(J[i+4>>2]+P(g,12)|0)+10>>1];t=wc(i,g<<16>>16)+z|0;T:{if(M){break T}if(g>>>0<=31){if(w>>>g&1|h&1){break T}break S}if(!(h&1)){break S}}td(k,i,m,g,t);break R}if(s|S){break Q}Na(k,80,n,Q);break Q}Na(k,75,0,t)}g=g+1|0;continue}}w=A<<16>>16;A=Wm(a,D,c,1,1,i,e);M=(O|0)==2;h=j;g=0;while(1){z=I[i+34>>1];if((g|0)<(z|0)){U:{if(I[i+32>>1]==(g|0)){Na(k,75,0,h);break U}t=L[(J[i+4>>2]+P(g,12)|0)+10>>1];if(t&96){h=(t<<26>>31)+h|0;break U}t=J[(g<<2)+r>>2];if((t|0)>=0){if(y){Pa(k,94,x,t+(M?z:w)|0,h);break U}Xb(a,J[((t<<4)+c|0)+8>>2],h);break U}if(A>>>g&1|(!(J[q+40>>2]&1)|g>>>0>31)){td(k,i,m,g,h);ca=0;break U}Na(k,75,0,h)}h=h+1|0;g=g+1|0;continue}break}if(K[i+28|0]&96){hk(a,j,i)}V:{W:{if(!(H[q+40|0]&1)){break W}ug(k,i,j);ni(a,D,129,c,1,i,n,e,l);if((O|0)==2){break V}X:{if(s){bb(k,28,m,l,p,B);break X}Pa(k,31,m,l,n)}g=0;h=j;while(1){if((g|0)<I[i+34>>1]){t=L[(J[i+4>>2]+P(g,12)|0)+10>>1];Y:{if(t&96){h=(t<<26>>31)+h|0;break Y}if(I[i+32>>1]==(g|0)|J[(g<<2)+r>>2]>=0){break Y}td(k,i,m,g,h)}h=h+1|0;g=g+1|0;continue}break}if(!(K[i+28|0]&96)){break W}hk(a,j,i)}if((O|0)==2){break V}h=Z&255;hB(a,i,R,m,C,Q,n,h,e&255,l,q+36|0,r,0);Z:{if(!(h|J[q+36>>2])){break Z}if(s){bb(k,28,m,l,p,B);break Z}Pa(k,31,m,l,n)}if(F){Vm(a,i,n,0,r,_)}zr(a,i,m,C,R,-1);if(ca){Va(k,143,m)}if(!(!(Z&255)&(F|0)<=1)){Na(k,130,m,0)}if(F){Vm(a,i,0,Q,r,_);yr(a,i,m,C,Q,R,(o|0)==2?6:4,0,0);gB(a,i,c,n,r,_);break V}yr(a,i,m,C,Q,R,(o|0)==2?6:4,0,0)}if(Y){Na(k,86,Y,1)}if(D){ni(a,D,129,c,2,i,n,e,l)}_:{$:{switch(o-1|0){case 1:cb(k,l);qd(U);break _;case 0:break _;default:break $}}cb(k,l);Na(k,39,x,T)}cb(k,v);if(!(K[a+18|0]|(J[a+132>>2]|f))){kk(a)}if(!Y){break k}Xm(k,Y,15587)}if(!u){break a}J[u+260>>2]=G;break a}if(g){break h}}g=0;H[z+G|0]=0}J[(z<<2)+R>>2]=g;z=z+1|0;E=h+20|0;continue}}J[(g<<2)+r>>2]=j}aa:{switch(Tb(a,23,J[i>>2],u,J[J[N+16>>2]+(p<<4)>>2])-1|0){case 1:J[(g<<2)+r>>2]=-1;break;case 0:break a;default:break aa}}j=j+1|0;continue}}Ua(N,r);yc(N,b);kb(N,c);_a(N,d);Fa=q+80|0}function Vx(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;h=Fa-496|0;Fa=h;J[h+492>>2]=0;y=K[J[e>>2]+3|0];J[h+488>>2]=0;v=ob(J[e+4>>2]);i=ob(J[e+8>>2]);a:{b:{c:{j=(d<<2)-8|0;p=pb(j,0);if(!p){break c}x=Sa(p,0,j);w=pb(j,0);if(!w){break c}B=v+1|0;z=i+1|0;i=0;A=Sa(w,0,j);F=(y|0)!=52;n=3;while(1){d:{e:{f:{g:{h:{i:{j:{if(!((d|0)<=(n|0)|i)){k=J[(n<<2)+e>>2];k:{if(J[h+488>>2]){break k}if(ob(k)>>>0<9){break k}if(tb(k,12818,8)){break k}if(Op(H[k+8|0])){break k}i=Cx(c,k+9|0,h+488|0,g);J[h+492>>2]=i;break d}i=k;l:{if(F){break l}while(1){j=K[i|0];if(!j){break l}if((j|0)!=61){i=i+1|0;continue}break}J[h+48>>2]=i+1;j=ub(8863,h+48|0);if(j){ci(j)}J[h+476>>2]=10;J[h+472>>2]=15250;J[h+468>>2]=10;J[h+464>>2]=15170;J[h+460>>2]=7;J[h+456>>2]=2831;J[h+452>>2]=5;J[h+448>>2]=9662;J[h+444>>2]=10;J[h+440>>2]=4248;J[h+436>>2]=8;J[h+432>>2]=4250;J[h+428>>2]=6;J[h+424>>2]=1450;J[h+420>>2]=9;J[h+416>>2]=10120;if(!j){break j}C=i-k|0;i=0;m:{n:{while(1){if((i|0)==8){break n}o:{D=(h+416|0)+(i<<3)|0;if(J[D+4>>2]==(C|0)){if(!tb(k,J[D>>2],C)){break o}}i=i+1|0;continue}break}p:{switch(i|0){case 0:q:{if((ob(j)|0)!=4){break q}if(tb(j,23550,4)){break q}E=1;break m}J[h+16>>2]=j;Nd(g,7888,h+16|0);E=1;J[h+492>>2]=1;break m;case 1:Oa(t);t=j;j=0;break m;case 2:Oa(l);l=j;j=0;break m;case 3:Oa(o);o=j;j=0;break m;case 4:r:{s:{t:{switch(ob(j)-3|0){case 0:if(tb(j,17542,3)){break s}break r;case 1:break t;default:break s}}if(!tb(j,17537,4)){break r}}J[h+32>>2]=j;Nd(g,7865,h+32|0);J[h+492>>2]=1}G=(K[j|0]&223)==68;break m;case 5:Oa(r);r=j;j=0;break m;case 6:Oa(s);s=j;j=0;break m;case 7:break p;default:break n}}J[(u<<2)+A>>2]=j;u=u+1|0;j=0;break m}J[h>>2]=k;Nd(g,7838,h);J[h+492>>2]=1}Oa(j);i=J[h+492>>2];break d}j=ob(k);J[x+(m<<2)>>2]=k;m=m+1|0;q=(j+q|0)+1|0;i=0;break d}if(!r|i){break f}Oa(l);Oa(o);if(m){l=0;i=J[h+492>>2];break g}Oa(x);J[h+400>>2]=J[e+4>>2];J[h+404>>2]=r;m=0;J[h+416>>2]=0;j=ub(19682,h+400|0);i=7;u:{if(!j){break u}d=dp(b,j,h+416|0);i=0;if(!d){break u}J[h+384>>2]=Wf(b);Nd(g,8863,h+384|0);i=d}Oa(j);p=0;if(i){break h}i=0;l=J[h+416>>2];if(l){m=L[l+144>>1]}j=0;d=0;while(1){if((i|0)!=(m|0)){k=ob(wl(l,i))+1|0;j=j+k|0;d=k>>>0>j>>>0?d+1|0:d;i=i+1|0;continue}break}i=m<<2;k=i+j|0;d=i>>>0>k>>>0?d+1|0:d;p=pb(k,d);if(!p){i=7;break i}n=i+p|0;i=0;k=0;while(1){if((k|0)==(m|0)){break i}o=wl(l,k);d=ob(o)+1|0;o=Qa(n,o,d);J[(k<<2)+p>>2]=o;k=k+1|0;n=d+o|0;continue}}i=7;J[h+492>>2]=7;break d}Rc(l);q=j}J[h+492>>2]=i;l=0;if(!s|i){break g}while(1){v:{o=0;if((l|0)==(m|0)){break v}if(Ub(s,J[(l<<2)+p>>2])){l=l+1|0;continue}else{d=(l|0)<(m|0)?m:l;while(1){if((d|0)!=(l|0)){j=(l<<2)+p|0;l=l+1|0;J[j>>2]=J[(l<<2)+p>>2];continue}break}m=m-1|0}}break}l=0;break e}o=0}n=0;if(i){break b}}if(!m){J[p>>2]=2831;m=1;q=8}if(!J[h+488>>2]){c=Cx(c,14007,h+488|0,g);J[h+492>>2]=c;n=0;if(c){break b}}j=1;w:{if(!t){break w}k=K[t|0];if(!k){break w}j=2;i=t;while(1){c=k&255;x:{if((c|0)!=44){if(c){break x}break w}j=j+1|0}k=K[i+1|0];i=i+1|0;continue}}y:{z:{d=P(j,24);n=pb(d,0);if(!n){c=7;j=0;break z}c=0;x=Sa(n,0,d);if(!t){break z}i=1;k=t;while(1){if((i|0)>=(j|0)){break z}J[h+416>>2]=0;d=Bx(k,h+416|0);if(d){k=d+k|0;d=J[h+416>>2];A:{if(!(d?(d|0)<=1e7:0)){i=i-1|0;j=j-1|0;break A}J[x+P(i,24)>>2]=d}i=i+1|0;k=k+1|0;continue}break}J[h+492>>2]=1;J[h+368>>2]=t;Nd(g,7803,h+368|0);j=0;c=J[h+492>>2];break y}J[h+492>>2]=c}d=0;if(c){break a}k=m<<2;c=k+(((v+z|0)+q|0)+m|0)|0;q=P(j,24);c=(c+q|0)+297|0;d=pb(c,0);if(!d){J[h+492>>2]=7;break b}i=0;c=Sa(d,0,c);J[c+272>>2]=0;J[c+24>>2]=m;J[c+12>>2]=b;v=c+296|0;J[c+28>>2]=v;b=J[h+488>>2];J[c+268>>2]=1048576;J[c+36>>2]=b;b=(y|0)==52;H[c+238|0]=b&!E;H[c+237|0]=b;H[c+239|0]=G;H[c+236|0]=b;J[c+48>>2]=255;b=k+v|0;J[c+264>>2]=b;J[c+44>>2]=s;J[c+40>>2]=r;Qa(b,n,q);J[c+260>>2]=j;k=(j|0)>0?j:0;while(1){b=J[c+264>>2];if((i|0)!=(k|0)){b=b+P(i,24)|0;I[b+4>>1]=257;J[b+8>>2]=0;J[b+12>>2]=0;J[b+16>>2]=0;J[b+20>>2]=0;i=i+1|0;continue}break}b=b+P(j,24)|0;J[c+32>>2]=b;b=b+m|0;J[c+20>>2]=b;b=Qa(b,J[e+8>>2],z)+z|0;J[c+16>>2]=b;r=(m|0)>0?m:0;i=Qa(b,J[e+4>>2],B)+B|0;k=0;while(1){if((k|0)==(r|0)){b=0;k=(u|0)>0?u:0;e=0;while(1){if((e|0)==(r|0)){B:{i=0;while(1){if((i|0)==(k|0)){break B}e=J[(i<<2)+A>>2];if(e){J[h+352>>2]=e;Nd(g,7915,h+352|0);b=1}i=i+1|0;continue}}}else{i=0;q=e<<2;s=ob(J[q+J[c+28>>2]>>2]);while(1){if((i|0)!=(k|0)){m=(i<<2)+A|0;j=J[m>>2];C:{if(!j){break C}if((ob(j)|0)!=(s|0)){break C}if(tb(J[q+J[c+28>>2]>>2],j,s)){break C}H[J[c+32>>2]+e|0]=1;Oa(j);J[m>>2]=0}i=i+1|0;continue}break}e=e+1|0;continue}break}J[h+492>>2]=b;if(!(!l^(o|0)!=0|b)){J[h+492>>2]=1;J[h+336>>2]=l?4248:4250;Nd(g,8958,h+336|0)}i=0;J[h+416>>2]=0;D:{if(!J[c+40>>2]){E:{if(!o){j=0;b=30620;break E}j=Ax(o);b=j}Qe(h+492|0,h+416|0,15181,0);while(1){if((i|0)<J[c+24>>2]){J[h+72>>2]=J[J[c+28>>2]+(i<<2)>>2];J[h+68>>2]=i;J[h+64>>2]=b;Qe(h+492|0,h+416|0,27367,h- -64|0);i=i+1|0;continue}break}if(J[c+44>>2]){J[h+288>>2]=15163;Qe(h+492|0,h+416|0,19675,h+288|0)}Oa(j);break D}Qe(h+492|0,h+416|0,15084,0);while(1){if((i|0)<J[c+24>>2]){J[h+304>>2]=J[J[c+28>>2]+(i<<2)>>2];Qe(h+492|0,h+416|0,28231,h+304|0);i=i+1|0;continue}break}b=J[c+44>>2];if(!b){break D}J[h+320>>2]=b;Qe(h+492|0,h+416|0,19675,h+320|0)}e=J[c+16>>2];k=30620;j=J[c+40>>2];if(j){b=30620}else{j=J[c+20>>2];b=2830}J[h+280>>2]=b;J[h+276>>2]=j;J[h+272>>2]=e;Qe(h+492|0,h+416|0,1607,h+272|0);J[c+224>>2]=J[h+416>>2];i=0;J[h+416>>2]=0;j=0;if(l){j=Ax(l);k=j}Qe(h+492|0,h+416|0,21802,0);while(1){if((i|0)<J[c+24>>2]){J[h+80>>2]=k;Qe(h+492|0,h+416|0,26355,h+80|0);i=i+1|0;continue}break}if(J[c+44>>2]){Qe(h+492|0,h+416|0,21800,0)}Oa(j);J[c+228>>2]=J[h+416>>2];r=0;F:{if(J[h+492>>2]){break F}if(a){i=0;J[h+416>>2]=0;b=J[c+12>>2];if(!J[c+40>>2]){e=J[c+44>>2];k=ub(18586,0);G:{H:{while(1){if(!k){break H}if(J[c+24>>2]>(i|0)){J[h+248>>2]=J[J[c+28>>2]+(i<<2)>>2];J[h+244>>2]=i;J[h+240>>2]=k;i=i+1|0;k=ub(28190,h+240|0);continue}break}if(!e){break G}J[h+260>>2]=e;J[h+256>>2]=k;k=ub(15159,h+256|0);if(k){break G}}J[h+416>>2]=7;k=0}e=J[c+16>>2];g=J[c+20>>2];J[h+232>>2]=k;J[h+224>>2]=e;J[h+228>>2]=g;Ae(h+416|0,b,25231,h+224|0);Oa(k)}e=J[c+20>>2];J[h+208>>2]=J[c+16>>2];J[h+212>>2]=e;e=h+416|0;Ae(e,b,21929,h+208|0);g=J[c+20>>2];J[h+192>>2]=J[c+16>>2];J[h+196>>2]=g;Ae(e,b,22146,h+192|0);if(K[c+238|0]){g=J[c+20>>2];J[h+176>>2]=J[c+16>>2];J[h+180>>2]=g;Ae(e,b,22001,h+176|0)}if(K[c+237|0]){Rp(h+416|0,c)}b=J[h+416>>2];J[h+492>>2]=b;b=!b}else{b=1}if(!((y|0)==52|a)){H[c+237|0]=2}if(b){J[h+160>>2]=J[c+16>>2];a=ub(12794,h+160|0);I:{if(!a){i=7;break I}i=dp(J[c+12>>2],a,h+416|0);if((i|0)!=23){if(i){break I}b=J[h+416>>2];qb(b);J[c+244>>2]=Ad(b,0);i=Rc(b);break I}J[c+244>>2]=1024;i=0}Oa(a);J[h+492>>2]=i;J[c+232>>2]=J[c+244>>2]-35;if(i){break F}a=J[c+44>>2];b=J[c+12>>2];J[h+144>>2]=1;bp(b,1,h+144|0);bp(J[c+12>>2],2,0);J[h+128>>2]=J[J[c+28>>2]>>2];a=a?a:15150;k=ub(30577,h+128|0);i=1;while(1){if(!(!k|J[c+24>>2]<=(i|0))){J[h+100>>2]=J[J[c+28>>2]+(i<<2)>>2];J[h+96>>2]=k;i=i+1|0;k=ub(30575,h+96|0);continue}break}b=J[c+20>>2];J[h+120>>2]=a;J[h+116>>2]=b;J[h+112>>2]=k;j=7;a=ub(26094,h+112|0);if(!(!k|!a)){j=fj(J[c+12>>2],a)}Oa(a);Oa(k);J[h+492>>2]=j;break F}J[c+232>>2]=J[c+244>>2]-35}s=0;break a}J[h+416>>2]=0;e=k<<2;j=Np(J[e+p>>2],h+416|0);b=J[h+416>>2];if((b|0)>0){Qa(i,j,b)}b=b+i|0;H[b|0]=0;ci(i);J[e+J[c+28>>2]>>2]=i;k=k+1|0;i=b+1|0;continue}}n=n+1|0;continue}}J[h+492>>2]=7;w=0}d=0}Oa(t);Oa(n);Oa(l);Oa(o);Oa(r);Oa(s);i=0;a=(u|0)>0?u:0;while(1){if((a|0)!=(i|0)){Oa(J[(i<<2)+w>>2]);i=i+1|0;continue}break}Oa(p);Oa(w);b=J[h+492>>2];J:{if(b){if(d){_p(d);break J}a=J[h+488>>2];if(!a){break J}Ja[J[J[a>>2]+8>>2]](a)|0;break J}J[f>>2]=d}Fa=h+496|0;return b}function hB(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0;M=Fa-16|0;Fa=M;n=L[b+34>>1];o=J[a+8>>2];A=J[a>>2];p=J[b+28>>2];if(p&128){z=ec(b);q=L[z+50>>1]}else{q=1}Q=q;a:{if(!(p&2048)){break a}n=n<<16>>16;x=(n|0)>0?n:0;p=f+1|0;n=1;while(1){w=n^-1;n=0;while(1){if((n|0)!=(x|0)){v=J[b+4>>2]+P(n,12)|0;q=K[v+4|0]&15;b:{if(!q|I[b+32>>1]==(n|0)){break b}s=L[v+10>>1]&96;y=!s;if(!((y|t)&1)){r=r+1|0;break b}if(!(s|!l)&J[(n<<2)+l>>2]<0){break b}c:{d:{e:{f:{u=(i|0)==11?(q|0)==11?2:q:i;if((u|0)==5){if(!L[v+8>>1]|t&1){break f}q=wc(b,n<<16>>16)+p|0;s=Va(o,51,q);bk(a,Hc(b,v),q);B=B+1|0;J[(K[J[o>>2]+87|0]?73192:J[o+104>>2]+P(s,20)|0)+8>>2]=J[o+108>>2];break b}if(w&y){break b}E=wc(b,n<<16>>16)+p|0;switch(u-1|0){case 0:case 2:break d;case 1:break e;default:break c}}E=wc(b,n<<16>>16)+p|0}q=J[a+128>>2];H[(q?q:a)+21|0]=1;u=2}q=J[b>>2];J[M+4>>2]=J[v>>2];J[M>>2]=q;v=hb(A,6437,M);Pa(o,69,1299,u,E);sc(o,v,-6);v=J[o+108>>2];if((v|0)<=0){break b}I[(J[o+104>>2]+P(v,20)|0)-18>>1]=1;break b}Na(o,50,E,j)}n=n+1|0;continue}break}if((!(r|B)|t)&1){break a}t=1;n=0;if(!(K[b+28|0]&96)|(B|0)<=0){continue}hk(a,p,b);continue}}v=0;r=J[b+16>>2];if(!(!r|K[A+33|0]&2)){J[a+52>>2]=f^-1;u=(i|0)==11?2:i;t=f+1|0;n=0;while(1){if((n|0)<J[r>>2]){x=r+(n<<4)|0;p=J[x+8>>2];g:{if(l){if(!jk(p,l,h)){break g}}if(!R){ug(o,b,t);R=1}q=J[a+56>>2]-1|0;J[a+56>>2]=q;p=eb(A,p,0);if(!K[A+87|0]){Fe(a,p,q,16)}_a(A,p);h:{if((u|0)==4){Lb(o,j);u=4;break h}u=(u|0)==5?2:u;jh(a,275,u,J[x+12>>2],0,3)}cb(o,q)}n=n+1|0;continue}break}J[a+52>>2]=0}q=b+8|0;r=J[b+8>>2];W=1;i:{j:{if(!m){m=0;break j}if(!J[m>>2]){l=K[m+20|0];i=l?6:4;m=l?m:0;break j}if(!r){break j}while(1){if(r){v=v+1|0;r=J[r+20>>2];continue}break}l=ib(A,P(v,10),0);if(!l){break i}J[m+24>>2]=l;x=l+(v<<3)|0;t=0;r=m;while(1){if(!(!r|!J[r>>2])){p=0;n=q;w=J[r+28>>2];k:{if(!w){break k}while(1){n=J[n>>2];if(!(!n|(n|0)==(w|0))){p=p+1|0;n=n+20|0;continue}break}w=p+x|0;if(K[w|0]){break k}H[w|0]=1;w=l+(t<<3)|0;J[w+4>>2]=p;J[w>>2]=n;t=t+1|0}r=J[r+16>>2];continue}break}W=0;n=0;p=q;while(1){r=J[p>>2];if(r){if(!K[n+x|0]){p=l+(t<<3)|0;J[p+4>>2]=n;J[p>>2]=r;t=t+1|0}n=n+1|0;p=r+20|0;continue}else{r=v}break}v=l}l:{m:{l=J[A+32>>2];if(l&24576){n:{if(l&8192){N=pi(a,b,128,0,0);l=1;if(N){break n}l=(oi(a,b,0,0)|0)!=0;break n}l=oi(a,b,0,0)}if(l){break m}}w=0;break l}C=J[a+44>>2]+1|0;J[a+44>>2]=C;Na(o,71,0,C);w=J[a+56>>2]-1|0;J[a+56>>2]=w}o:{if(!h){l=0;break o}l=0;if(z){break o}p=J[a+56>>2]-1|0;J[a+56>>2]=p;n=i;if((n|0)==11){l=K[b+42|0];n=(l|0)==11?2:l}p:{if(!m){l=0;break p}l=Jq(m,0);if(l){n=K[l+20|0]?6:4}if((l|0)==(m|0)){l=m;break p}S=Hb(o,9)}if(!((i|0)==5|(n|0)!=5|(!J[q>>2]|S))){O=Hb(o,9)+1|0}q:{if(!g){break q}Pa(o,53,f,p,g);t=J[o+108>>2];if((t|0)<=0){break q}I[(J[o+104>>2]+P(t,20)|0)-18>>1]=144}Pa(o,31,d,p,f);r:{s:{t:{switch(n-1|0){default:n=2;case 0:case 1:case 2:wr(a,n,b);break s;case 4:if(C){n=J[a+128>>2];H[(n?n:a)+20|0]=1;lk(a,b,N,d,e,f,1,0,5,1,-1);Na(o,86,C,1);T=1;G=1;break r}if(!J[q>>2]){T=1;G=0;break r}T=1;n=J[a+128>>2];H[(n?n:a)+20|0]=1;zr(a,b,d,e,0,-1);G=0;break r;case 5:kz(a,m,b,0,d);break;case 3:break t}}Lb(o,j)}G=0}cb(o,p);if(!(!m|(l|0)==(m|0))){X=Hb(o,9);break o}if(!O){O=0;break o}ba=Hb(o,9);p=J[o+108>>2];J[(K[J[o>>2]+87|0]?73192:(J[o+104>>2]+P(O,20)|0)-20|0)+8>>2]=p}u:{if(!W){y=J[v+4>>2];p=J[v>>2];break u}y=0;p=r}ca=(g|0)!=0&(N|0)!=0;da=S+1|0;ea=g+1|0;_=f^-1;Y=f+1|0;E=0;x=w;while(1){v:{w:{x:{if(p){q=(y<<2)+c|0;if(!J[q>>2]){break v}y:{if(!m){break y}l=Jq(m,p);if(!S|(m|0)!=(l|0)){break y}J[(K[J[o>>2]+87|0]?73192:J[o+104>>2]+P(S,20)|0)+8>>2]=J[o+108>>2];l=m}F=J[a+56>>2]-1|0;J[a+56>>2]=F;if(!R){ug(o,b,Y);R=1}if(J[p+36>>2]){Na(o,75,0,J[q>>2]);J[a+52>>2]=_;hA(a,J[p+36>>2],F);J[a+52>>2]=0}D=e+y|0;$=J[q>>2];t=$+1|0;n=0;while(1){s=L[p+52>>1];if(n>>>0<s>>>0){z:{A:{B:{C:{D:{s=L[J[p+4>>2]+(n<<1)>>1];switch(s-65534|0){case 1:break B;case 0:break D;default:break C}}J[a+52>>2]=_;bk(a,J[(J[p+40>>2]+(n<<4)|0)+8>>2],n+t|0);J[a+52>>2]=0;break z}s=s<<16>>16;if(L[b+32>>1]!=(s&65535)){break A}}Na(o,82,f,n+t|0);break z}Na(o,81,wc(b,s)+Y|0,n+t|0)}n=n+1|0;continue}break}Pa(o,97,t,s,J[q>>2]);if(!(!g|h)&(p|0)==(z|0)){break w}n=K[p+54|0];if(!n){break w}s=l?K[l+20|0]?6:4:(i|0)==11?(n|0)==11?2:n:i;E:{if(J[p+20>>2]|(p|0)!=(z|0)|(s|0)!=5|y){break E}n=J[A+32>>2];if(n&8192){if(pi(a,b,128,0,0)){break E}n=J[A+32>>2]}if(!(n&16384)){break w}if(J[b+48>>2]){break E}if(!tg(b)){break w}}U=bb(o,27,D,F,t,L[p+50>>1]);q=t;V=(p|0)==(z|0);if(!V){q=ic(a,Q)}if(!g&(s|0)!=5){break x}if(!(K[b+28|0]&128)){Na(o,142,D,q);if(!g){break x}Pa(o,53,q,F,g);n=J[o+108>>2];if((n|0)<=0){break x}I[(J[o+104>>2]+P(n,20)|0)-18>>1]=144;break x}n=0;F:{if(V){break F}while(1){if(L[z+50>>1]<=n>>>0){break F}Pa(o,94,D,Le(p,I[J[z+4>>2]+(n<<1)>>1]),n+q|0);n=n+1|0;continue}}if(!g){break x}fa=((K[p+55|0]|K[p+56|0]<<8)&3)==2?t:q;u=L[z+50>>1];B=u+J[o+108>>2]|0;n=0;Z=52;while(1){if((u&65535)>>>0<=n>>>0){break x}u=Ai(a,J[J[z+32>>2]+(n<<2)>>2]);aa=(L[z+50>>1]-1|0)==(n|0);Z=aa?53:Z;B=aa?F:B;$a(o,Z,wc(b,I[J[z+4>>2]+(n<<1)>>1])+ea|0,B,n+fa|0,u,-2);u=J[o+108>>2];if((u|0)>0){I[(J[o+104>>2]+P(u,20)|0)-18>>1]=144}n=n+1|0;u=L[z+50>>1];continue}}if(O){Lb(o,O);h=J[o+108>>2];J[(K[J[o>>2]+87|0]?73192:J[o+104>>2]+P(ba,20)|0)+8>>2]=h}if(G){Na(o,17,C,x);G:{if(!z){H:{if(!g){break H}Pa(o,53,f,w,g);e=J[o+108>>2];if((e|0)<=0){break H}I[(J[o+104>>2]+P(e,20)|0)-18>>1]=144}Pa(o,31,d,w,f);wr(a,2,b);break G}Lb(o,w)}cb(o,x)}I:{if(K[b+28|0]&128){break I}Pa(o,97,Y,I[b+36>>1],J[(y<<2)+c>>2]);if(R){break I}ug(o,b,0)}J[k>>2]=T;break i}J:{K:{switch(s-1|0){case 0:case 1:case 2:br(a,s,p);break J;case 5:kz(a,m,b,p,D);case 3:Lb(o,j);break J;default:break K}}n=J[o+108>>2];if(C){s=J[a+128>>2];H[(s?s:a)+20|0]=1;G=G+1|0}L:{if(ca){Va(o,167,d);lk(a,b,N,d,e,q,Q<<16>>16,0,5,V,D);Va(o,168,d);break L}lk(a,b,N,d,e,q,Q<<16>>16,0,5,V,D)}T=1;if(!C){break J}Na(o,86,C,1);B=Hb(o,9);cb(o,x);x=J[a+56>>2]-1|0;J[a+56>>2]=x;if(J[p+36>>2]){Na(o,50,$,x)}u=n-U|0;while(1){if((u|0)>0){n=73192;n=K[J[o>>2]+87|0]?n:J[o+104>>2]+P(U,20)|0;s=K[n|0];M:{if((s|0)==142){break M}D=L[n+2>>1];$a(o,s,J[n+4>>2],H[s+35360|0]&1?x:J[n+8>>2],J[n+12>>2],J[n+16>>2],H[n+1|0]);n=J[o+108>>2];if((n|0)<=0){break M}I[(J[o+104>>2]+P(n,20)|0)-18>>1]=D}U=U+1|0;u=u-1|0;continue}break}br(a,2,p);p=J[o+108>>2];J[(K[J[o>>2]+87|0]?73192:J[o+104>>2]+P(B,20)|0)+8>>2]=p}cb(o,F);if((q|0)!=(t|0)){Oc(a,q,Q)}if(!l|!X){break v}n=J[l+16>>2];if(!(J[n+28>>2]?!n|!J[n>>2]:1)){break v}Lb(o,da);J[(K[J[o>>2]+87|0]?73192:J[o+104>>2]+P(X,20)|0)+8>>2]=J[o+108>>2];X=0;break v}cb(o,F)}if(W){r=J[r+20>>2];p=r;y=y+1|0}else{p=0;E=E+1|0;y=E;if((y|0)>=(r|0)){continue}n=(y<<3)+v|0;p=J[n>>2];y=J[n+4>>2]}continue}}Fa=M+16|0}function hg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=Fa-16|0;Fa=k;g=J[a+12>>2];a:{b:{c:{d:{e:{while(1){f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{h=b+g|0;c=K[h|0];switch(c|0){case 0:break a;case 46:break p;case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:break q;case 43:break r;case 44:break s;case 58:break t;case 9:case 10:case 13:case 32:break u;case 34:break w;case 39:break x;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 33:case 35:case 36:case 37:case 38:case 40:case 41:case 42:break e;case 11:case 12:case 47:break g;default:break y}}d=c-225|0;if(d>>>0<=14){break v}break k}H[a+37|0]=1;c=K[h|0]}i=c&255;j=b+1|0;c=j;f=7;while(1){z:{d=K[c+g|0];if(!K[d+51936|0]){e=c;break z}e=c+1|0;d=K[g+e|0];if(!K[d+51936|0]){break z}e=c+2|0;d=K[g+e|0];if(!K[d+51936|0]){break z}c=c+3|0;continue}if((d|0)!=(i|0)){A:{if((d|0)==92){h=e+g|0;B:{C:{D:{E:{F:{G:{c=e+1|0;d=K[g+c|0];switch(d-110|0){case 1:case 2:case 3:case 5:case 9:break l;case 8:break C;case 10:break D;case 0:case 4:case 6:break E;case 7:break F;default:break G}}H:{switch(d-10|0){case 1:case 2:break l;case 3:break B;case 0:break C;default:break H}}I:{switch(d-47|0){case 1:break C;case 0:break E;default:break I}}J:{switch(d-98|0){case 1:case 2:case 3:break l;case 0:case 4:break E;default:break J}}if((d|0)==34){break E}if((d|0)==39){break C}if((d|0)==92){break E}if((d|0)!=226|K[h+2|0]!=128){break l}if((K[h+3|0]&254)==168){break C}break l}if(!qq(h+2|0)){break l}}f=(f&255)==7?8:f;break A}if(!pq(h+2|0)){break l}}H[a+37|0]=1;f=9;break A}d=e+2|0;e=K[d+g|0];H[a+37|0]=1;c=(e|0)==10?d:c;f=9;break A}if(d<<24>>24<=31){J[a+28>>2]=e;break c}c=e;f=(d|0)==34?9:f}c=c+1|0;continue}break}nd(a,f&255,(b^-1)+e|0,g+j|0);c=e+1|0;break a}if(!(1<<d&16391)){break k}break g}b=(Bl(h+1|0,51920)+b|0)+1|0;continue}J[a+28>>2]=b;c=-5;break a}J[a+28>>2]=b;c=-4;break a}H[a+37|0]=1;c=K[h|0]}if(c<<24>>24>48){break n}f=b+1|0;i=f+g|0;d=K[i|0];K:{if((c&255)==48){if(!(!(K[K[h+2|0]+31216|0]&8)|(d|32)!=120)){e=1;H[a+37|0]=1;d=b+3|0;while(1){c=d;d=d+1|0;if(K[K[c+g|0]+31216|0]&8){continue}break}break m}if(d-58>>>0<4294967286){break n}break K}if(d-58>>>0<=4294967285){if((d|0)==46){e=1;break o}if((d|0)!=105&(d|0)!=73){break d}if(tb(i,12639,3)){break d}H[a+37|0]=1;L:{if(K[h|0]==45){nd(a,5,6,23119);break L}nd(a,5,5,23120)}c=(tb(h+4|0,1065,5)?4:9)+b|0;break a}if((d|0)!=48){break n}c=K[h+2|0];if(c-58>>>0>=4294967286){break K}if(!(K[K[h+3|0]+31216|0]&8)|(c|32)!=120){break n}e=1;H[a+37|0]=1;d=b+4|0;while(1){c=d;d=d+1|0;if(K[K[c+g|0]+31216|0]&8){continue}break}break m}J[a+28>>2]=f;break c}e=3;if(K[h+1|0]-58>>>0<=4294967285){break d}}H[a+37|0]=1}c=b;i=1;while(1){f=e|2;while(1){d=c;c=d+1|0;j=K[g+c|0];if(j-58>>>0>4294967285){continue}if((j|0)==46){d=e&2;e=f;if(!d){continue}break j}break}l=d+g|0;f=H[l|0];if((j&223)==69){if((f|0)<=47){if((f|0)!=46){break j}f=d-1|0;if(f>>>0<b>>>0|K[g+f|0]-58>>>0<4294967286){break j}H[a+37|0]=1;e=e|1}if(!i){break j}M:{N:{f=d+2|0;d=K[f+g|0];switch(d-43|0){case 0:case 2:break N;default:break M}}d=K[l+3|0];c=f}e=e|2;i=0;if((d-58&255)>>>0>245){continue}break j}break}if((f|0)>47){break m}if((f|0)!=46){break j}d=d-1|0;if(d>>>0<b>>>0|K[d+g|0]-58>>>0<4294967286){break j}H[a+37|0]=1;e=e|1}d=a;a=(K[h|0]==43)+b|0;nd(d,e+3&255,c-a|0,a+g|0);break a}J[a+28>>2]=c;break c}if((c|0)==194){break g}O:{P:{switch(c-91|0){default:Q:{switch(c-123|0){default:if((c|0)==102){break O}if((c|0)==110){break f}if((c|0)!=116){break e}if(bg(h,12960,4)){break d}c=b+4|0;if(K[K[g+c|0]+31216|0]&6){break d}cm(a,1);break a;case 2:break i;case 1:break e;case 0:break Q}}h=J[a+4>>2];nd(a,12,J[a+20>>2]-b|0,0);c=L[a+32>>1]+1|0;I[a+32>>1]=c;if((c&65535)>>>0>=1001){break d}i=g+2|0;f=J[a+4>>2];R:{while(1){S:{j=J[a+4>>2];T:{U:{V:{W:{b=b+1|0;d=hg(a,b);if((d|0)<=0){if((d|0)==-2){b=J[a+28>>2];e=4;if((f|0)==J[a+4>>2]){break T}H[a+37|0]=1;break T}c=dm(b+g|0);J[k+12>>2]=7;b=b+c|0;e=g+b|0;c=K[e|0];if(!(K[c+31216|0]&66)){if((c|0)!=92){break W}if(!Hy(e+1|0,k+12|0)){break W}}d=b;while(1){c=d;d=d+1|0;l=g+d|0;m=K[l|0];if(K[m+31216|0]&70){if(!dm(l)){continue}}if((m|0)==92){if(Hy(c+i|0,k+12|0)){continue}}break}nd(a,K[k+12|0],d-b|0,e);H[a+37|0]=1}c=-1;if(K[a+35|0]){break a}if((K[j+J[a>>2]|0]&15)-11>>>0<=4294967291){break d}b=K[d+g|0];if((b|0)!=58){break V}d=d+1|0;break U}e=1;if((d|0)==-1){break T}J[a+28>>2]=b;break T}X:{if(!K[b+52272|0]){break X}while(1){b=d;d=d+1|0;c=K[g+d|0];if(K[c+52272|0]){continue}break}if((c|0)!=58){break X}d=b+2|0;break U}Y:{Z:{c=hg(a,d);switch(c+5|0){case 4:break a;case 0:break Y;default:break Z}}J[a+28>>2]=d;break c}d=J[a+28>>2]+1|0}b=hg(a,d);if((b|0)<=0){c=-1;if((b|0)==-1){break a}J[a+28>>2]=d;break a}e=6;d=b+g|0;c=K[d|0];if((c|0)==44){break T}if((c|0)==125){break R}if(K[c+52272|0]){b=(Bl(d+1|0,51920)+b|0)+1|0;c=K[g+b|0];if((c|0)==44){break T}if((c|0)==125){break R}}_:{switch(hg(a,b)+4|0){case 2:break S;case 0:break _;default:break d}}b=J[a+28>>2]}c=-1;switch(e-4|0){case 0:break R;case 2:continue;default:break a}}break}b=J[a+28>>2]}oq(a,h,J[a+4>>2]-f|0);I[a+32>>1]=L[a+32>>1]-1;c=b+1|0;break a;case 1:break e;case 0:break P;case 2:break h}}e=J[a+4>>2];nd(a,11,J[a+20>>2]-b|0,0);c=-1;if(K[a+35|0]){break a}d=J[a+4>>2];c=L[a+32>>1]+1|0;I[a+32>>1]=c;if((c&65535)>>>0>=1001){break d}c=b;$:{while(1){b=c+1|0;c=hg(a,b);if((c|0)<=0){aa:{switch(c+3|0){case 0:c=J[a+28>>2];if((d|0)==J[a+4>>2]){break $}H[a+37|0]=1;break $;case 2:break a;default:break aa}}J[a+28>>2]=b;break c}f=c+g|0;b=K[f|0];if((b|0)==44){continue}if((b|0)==93){break $}if(K[b+52272|0]){c=(Bl(f+1|0,51920)+c|0)+1|0;b=K[g+c|0];if((b|0)==44){continue}if((b|0)==93){break $}}ba:{switch(hg(a,c)+4|0){case 0:c=J[a+28>>2];continue;case 1:break ba;default:break j}}break}c=J[a+28>>2]}oq(a,e,J[a+4>>2]-d|0);I[a+32>>1]=L[a+32>>1]-1;c=c+1|0;break a}if(bg(h,13493,5)){break d}c=b+5|0;if(K[K[g+c|0]+31216|0]&6){break d}cm(a,2);break a}J[a+28>>2]=c;break c}J[a+28>>2]=b;c=-2;break a}J[a+28>>2]=b;c=-3;break a}c=dm(h);if(!c){break d}H[a+37|0]=1;b=b+c|0;continue}break}if(bg(h,11625,4)){break e}d=b+4|0;if(!(K[K[d+g|0]+31216|0]&6)){break b}}d=0;while(1){if((d|0)==5){break d}ca:{e=d<<4;if(K[e+52192|0]!=(c|0)&K[e+52193|0]!=(c|0)){break ca}f=J[e+52200>>2];e=H[e+52194|0];if(tb(h,f,e)){break ca}e=b+e|0;if(K[K[e+g|0]+31216|0]&6){break ca}da:{if(d>>>0<=1){nd(a,5,5,23120);break da}cm(a,0)}H[a+37|0]=1;c=e;break a}d=d+1|0;continue}}J[a+28>>2]=b}c=-1;break a}cm(a,0);c=d}Fa=k+16|0;return c}function HF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=Fa-144|0;Fa=e;J[e+24>>2]=0;J[e+20>>2]=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)<2){break i}h=J[a+24>>2];f=L[J[c>>2]+16>>1];g=f&31;j:{if((f&63)>>>0>=32){f=-1431655766>>>g|0}else{f=((1<<g)-1&-1431655766)<<32-g|-1431655766>>>g}if(!(f&1)){break j}f=J[((h<<2)+c|0)+8>>2];i=L[f+16>>1];g=i&31;if((i&63)>>>0>=32){i=-1431655766>>>g|0}else{i=((1<<g)-1&-1431655766)<<32-g|-1431655766>>>g}if(i&1){break j}b=Wa(f);c=sb(f);if(!b){g=7;break c}k:{switch(c-7|0){case 1:if(tb(b,12827,8)){break g}g=Lx(a,0);break c;case 0:if(tb(b,14972,7)){break g}g=Kx(a,0);if(g){break c}J[e+128>>2]=0;J[e>>2]=J[a+224>>2];b=ub(7317,e);if(!b){d=7;J[e+64>>2]=7;break e}d=lh(J[a+12>>2],b,-1,e+128|0,0);J[e+64>>2]=d;Oa(b);if(d){break e}b=J[a+24>>2];b=lJ(b,b>>31,12,0);g=Ia;b=b+12|0;g=b>>>0<12?g+1|0:g;g=pb(b,g);if(!g){d=7;J[e+64>>2]=7;break e}d=0;c=Sa(g,0,b);b=(J[a+24>>2]<<2)+4|0;l=c+b|0;m=l+b|0;break d;default:break k}}if((c|0)==15){break h}if((c|0)>=7){break g}g=1;if((c|0)!=5){break c}if(tb(b,12249,5)){break c}g=Ij(a);break c}if(!(fb(J[((h<<2)+c|0)+16>>2])&-2147483648)){break i}J[e+24>>2]=19;break b}h=J[a+24>>2];g=h>>31<<3|h>>>29;h=(h<<3)+8|0;g=h>>>0<8?g+1|0:g;g=pb(h,g);if(!g){J[e+24>>2]=7;break b}i=J[a+24>>2]+1|0;l=Sa(g,0,i<<3);l:{if(J[a+272>>2]){J[e+24>>2]=0;break l}h=Gb(a,16,e- -64|0,0);if(h){J[e+24>>2]=h;break a}h=J[e+64>>2];we(h,0);qb(h);h=jb(h);J[e+24>>2]=h;if(h){break a}}m=1;j=1;m:{if(J[a+40>>2]|(b|0)<2){break m}h=J[((J[a+24>>2]<<2)+c|0)+12>>2];k=L[h+16>>1];f=k&31;if((k&63)>>>0>=32){f=-1431655766>>>f|0}else{f=((1<<f)-1&-1431655766)<<32-f|-1431655766>>>f}if(f&1){h=J[c+4>>2];k=L[h+16>>1];f=k&31;if((k&63)>>>0>=32){f=-1431655766>>>f|0}else{f=((1<<f)-1&-1431655766)<<32-f|-1431655766>>>f}}if(f&1){break m}k=J[c>>2];n=L[k+16>>1];f=n&31;if((n&63)>>>0>=32){f=-1431655766>>>f|0}else{f=((1<<f)-1&-1431655766)<<32-f|-1431655766>>>f}if(!(f&1)){f=fb(k);k=Ia;if((fb(h)|0)==(f|0)&(Ia|0)==(k|0)){break m}}f=K[J[a+12>>2]+92|0];n:{if((f|0)==5){h=Jx(a,h,e+20|0,l);break n}h=Ix(a,c,d)}J[e+24>>2]=h;if(h){break a}j=(f|0)==5}f=J[c>>2];k=L[f+16>>1];h=k&31;if((k&63)>>>0>=32){h=-1431655766>>>h|0}else{h=((1<<h)-1&-1431655766)<<32-h|-1431655766>>>h}if(!(h&1)){h=Jx(a,f,e+20|0,l);J[e+24>>2]=h;m=!h}f=l+(i<<2)|0;if(!(!m|(b|0)<2)){b=fb(J[((J[a+24>>2]<<2)+c|0)+16>>2]);o:{p:{if(!j){break p}h=Ix(a,c,d);J[e+24>>2]=h;if(!h){break p}if(J[a+40>>2]|(h|0)!=19){break o}J[e+24>>2]=267;break o}h=b;b=Wp(a,0,b,J[d>>2],J[d+4>>2]);J[e+24>>2]=b;if(b){break o}b=2;while(1){q:{if((J[a+24>>2]+2|0)<=(b|0)){d=0;break q}d=b-2|0;if(!K[d+J[a+32>>2]|0]){j=(b<<2)+c|0;d=Vp(a,h,Wa(J[j>>2]),d,f+(d<<2)|0);if(d){break q}d=sb(J[j>>2]);j=f+(J[a+24>>2]<<2)|0;J[j>>2]=d+J[j>>2]}b=b+1|0;continue}break}J[e+24>>2]=d}if(K[a+238|0]){Gx(e+24|0,a,f)}J[e+20>>2]=J[e+20>>2]+1}if(!K[a+236|0]){break a}Fx(e+24|0,a,f,l,J[e+20>>2]);break a}if(tb(b,12020,15)){break g}J[e+36>>2]=0;b=Gb(a,27,e+36|0,0);if(b){break f}c=J[e+36>>2];Uc(c,1,J[a+288>>2]);Uc(c,2,J[a+260>>2]);b=0;while(1){r:{s:{if(b){break s}if((qb(c)|0)!=100){break s}b=0;h=Ad(c,0);g=0;while(1){if(J[a+260>>2]<=(g|0)){break r}j=0;m=0;if(!b){J[e+136>>2]=0;J[e+128>>2]=0;J[e+132>>2]=0;c=e- -64|0;Sa(c,0,64);J[e+140>>2]=19;t:{b=bi(a,h,g,-2,0,0,0,1,c);if(b){break t}b=Lj(a,c,e+128|0);if(b){break t}u:while(1){b=ai(a,e- -64|0);if((b|0)!=100){break t}d=J[e+124>>2];b=J[e+120>>2];c=0;f=0;J[e+56>>2]=0;J[e+60>>2]=0;J[e+48>>2]=0;J[e+52>>2]=0;l=b+d|0;b=uc(b,e+56|0)+b|0;while(1){if(b>>>0>=l>>>0){continue u}J[e+40>>2]=0;J[e+44>>2]=0;b=uc(b,e+40|0)+b|0;if(l>>>0<=b>>>0){continue}i=J[e+44>>2];d=J[e+40>>2];if(!i&d>>>0<=1){J[e+48>>2]=0;J[e+52>>2]=0;if(d|i){b=uc(b,e+48|0)+b|0;c=0;f=0;continue}b=uc(b,e+40|0)+b|0;d=J[e+40>>2];f=J[e+44>>2];c=J[e+56>>2];i=J[e+60>>2];if(K[a+239|0]){J[e+56>>2]=c-d;J[e+60>>2]=i-((c>>>0<d>>>0)+f|0);c=0;f=0;continue}f=f+i|0;i=c;c=c+d|0;f=i>>>0>c>>>0?f+1|0:f;J[e+56>>2]=c;J[e+60>>2]=f;c=0;f=0}else{o=J[e+112>>2];p=J[e+116>>2];q=J[e+56>>2];r=J[e+60>>2];s=J[e+48>>2];f=f+i|0;i=d;d=c+d|0;f=(i>>>0>d>>>0?f+1|0:f)-(d>>>0<2)|0;c=d-2|0;j=Up(o,p,h,g,q,r,s,c)^j;m=m^Ia}continue}}}Yg(e- -64|0)}g=g+1|0;k=j^k;n=m^n;continue}}j=0;m=0;c=jb(c);if(b){break f}if(c){b=c;break f}o=J[J[a+36>>2]>>2];J[e+64>>2]=0;J[e+16>>2]=J[a+224>>2];c=ub(7317,e+16|0);v:{if(!c){b=7;c=0;break v}b=lh(J[a+12>>2],c,-1,e- -64|0,0);Oa(c);c=J[e+64>>2]}w:while(1){x:{if(b){break x}if((qb(c)|0)!=100){break x}b=0;f=Sc(c,0);p=Ia;l=Tp(a,c);h=0;while(1){if(b){continue w}d=h;if((h|0)>=J[a+24>>2]){continue w}h=h+1|0;b=0;if(K[d+J[a+32>>2]|0]){continue}b=Oe(c,h);J[e+128>>2]=0;g=fg(J[a+36>>2],l,b,-1,e+128|0);i=J[e+128>>2];y:while(1){if(!g){J[e+48>>2]=0;J[e+40>>2]=0;J[e+32>>2]=0;J[e+28>>2]=0;g=Ja[J[o+20>>2]](i,e+56|0,e+48|0,e+40|0,e+32|0,e+28|0)|0;if(g){continue}q=J[e+56>>2];r=J[e+48>>2];s=J[e+28>>2];j=Up(q,r,l,0,f,p,d,s)^j;m=m^Ia;b=1;t=J[a+260>>2];t=(t|0)<=1?1:t;while(1){if((b|0)==(t|0)){continue y}u=J[J[a+264>>2]+P(b,24)>>2];if((r|0)>=(u|0)){j=Up(q,u,l,b,f,p,d,s)^j;m=m^Ia}b=b+1|0;continue}}break}if(i){Ja[J[o+16>>2]](i)|0}b=(g|0)!=101?g:0;continue}}break}Rc(c);break f}c=J[e+36>>2];continue}}if(!tb(b,21861,6)){J[e+128>>2]=b+6;h=Sp(e+128|0);b=8;d=J[e+128>>2];c=K[d|0];if((c|0)==44){g=1;if(!K[d+1|0]){break c}J[e+128>>2]=d+1;b=Sp(e+128|0);c=K[J[e+128>>2]]}g=1;if(c&255|(b|0)<2){break c}J[e+64>>2]=0;z:{if(!K[a+237|0]){Rp(e- -64|0,a);g=J[e+64>>2];if(g){break z}}g=Ex(a,h,b)}Se(a);break c}g=1;if(c>>>0<11){break c}if(tb(b,21857,10)){break c}J[e+64>>2]=b+10;J[e+128>>2]=0;J[e+56>>2]=0;b=Sp(e- -64|0);J[a+48>>2]=(b|0)==1?8:(b|0)>16?8:b;if(!K[a+237|0]){Rp(e+128|0,a);g=J[e+128>>2];if(g){break c}}g=Gb(a,23,e+56|0,0);if(g){break c}b=J[e+56>>2];xb(b,1,2,0);Uc(b,2,J[a+48>>2]);qb(b);g=jb(b);break c}g=b?b:(j|0)!=(k|0)|(m|0)!=(n|0)?267:b;break c}g=0}h=0;j=J[e+128>>2];while(1){A:{if(d){break A}if((qb(j)|0)!=100){break A}c=0;i=Tp(a,j);d=Wp(a,0,i,Sc(j,0),Ia);f=Sa(g,0,(J[a+24>>2]<<2)+4|0);while(1){B:{if(d){break B}b=c;if((b|0)>=J[a+24>>2]){break B}c=b+1|0;d=0;if(K[b+J[a+32>>2]|0]){continue}d=Vp(a,i,Oe(j,c),b,f+(b<<2)|0);b=Id(j,c);k=f+(J[a+24>>2]<<2)|0;J[k>>2]=b+J[k>>2];continue}break}J[e+64>>2]=d;b=0;if(K[a+238|0]){Gx(e- -64|0,a,f);d=J[e+64>>2]}if(d){Rc(j);j=0;d=1}else{while(1){if((b|0)<=J[a+24>>2]){c=b<<2;i=c+l|0;J[i>>2]=J[i>>2]+J[c+f>>2];b=b+1|0;continue}break}h=h+1|0}continue}break}if(K[a+236|0]){Fx(e- -64|0,a,l,m,h)}Oa(g);if(!j){g=J[e+64>>2];break c}b=Rc(j);c=J[e+64>>2];g=c?c:b}J[e+24>>2]=g}g=0}Oa(g);Se(a);Fa=e+144|0;return J[e+24>>2]}function kg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=Q(0),r=0,s=0,t=0,u=0;h=Fa-176|0;Fa=h;e=Sa(d,0,48);a:{b:{if(!b){if(!Sj(a)){break b}o=Wy(a,e);break a}o=1;d=J[c>>2];c:{if(K[(L[d+16>>1]&63)+31120|0]-1>>>0<=1){Vy(e,yb(d));break c}g=Wa(d);if(!g){break a}j=K[g|0];J[h+88>>2]=h+112;J[h+84>>2]=h+116;J[h+80>>2]=h+168;d:{d=g+((j|0)==45)|0;if((rf(d,16633,h+80|0)|0)!=3){break d}f=d+10|0;while(1){d=f;f=d+1|0;l=K[d|0];if((l|0)==84|H[l+31216|0]&1){continue}break}if(yq(d,e)){if(K[d|0]){break d}H[e+43|0]=0}H[e+42|0]=1;H[e+40|0]=0;d=J[h+168>>2];J[e+8>>2]=(j|0)==45?0-d|0:d;J[e+12>>2]=J[h+116>>2];J[e+16>>2]=J[h+112>>2];if(!K[e+44|0]){break c}vc(e);break c}if(!yq(g,e)){break c}e:{if(!Xa(g,1673)){if(Sj(a)){break e}}if((Hd(g,h+120|0,Ya(g),1)|0)>0){Vy(e,O[h+120>>3]);break c}if(Xa(g,17918)){if(Xa(g,14906)){break b}}if(!Sj(a)){break b}H[e+47|0]=1}if(Wy(a,e)){break a}}r=(b|0)<=1?1:b;s=e+8|0;t=h+128|0;n=1;while(1){f:{g:{h:{i:{if((n|0)!=(r|0)){d=(n<<2)+c|0;g=Wa(J[d>>2]);sb(J[d>>2]);if(!g){break a}l=K[g|0];d=K[l+30832|0];f=d-43|0;if(f>>>0>14|!(1<<f&32741)){break i}f=1;d=g+1|0;while(1){j:{k=f+g|0;j=K[k|0];k:{if(!j|(j|0)==58|H[j+31216|0]&1){break k}if((j|0)!=45){break j}l:{switch(f-5|0){case 1:J[h+64>>2]=h+116;if((rf(d,12731,h- -64|0)|0)==1){break k}break j;case 0:break l;default:break j}}J[h+48>>2]=h+116;if((rf(d,12735,h+48|0)|0)!=1){break j}}m:{if((Hd(g,h+168|0,f,1)|0)<=0){break m}n:{if(K[k|0]!=45){d=g;break n}j=1;o:{switch(l-43|0){case 0:case 2:break o;default:break h}}p:{if((f|0)==5){J[h+24>>2]=h+108;J[h+20>>2]=h+112;J[h+16>>2]=h+116;if((rf(d,16657,h+16|0)|0)!=3){break m}break p}J[h+40>>2]=h+108;J[h+36>>2]=h+112;J[h+32>>2]=h+116;g=d;if((rf(d,16645,h+32|0)|0)!=3){break m}}if(J[h+112>>2]>11|J[h+108>>2]>30){break m}Ue(e);H[e+40|0]=0;d=J[e+12>>2];f=J[e+8>>2];j=J[h+112>>2];k=J[h+116>>2];q:{if((l|0)==45){J[h+108>>2]=0-J[h+108>>2];f=f-k|0;d=d-j|0;break q}f=f+k|0;d=d+j|0}if((d|0)>0){j=(d-1>>>0)/12|0}else{j=0-((12-d>>>0)/12|0)|0}J[e+8>>2]=f+j;J[e+12>>2]=P(j,-12)+d;vc(e);j=0;I[e+42>>1]=0;k=J[e+4>>2];f=J[e>>2];d=J[h+108>>2];m=lJ(d,d>>31,864e5,0);f=f+m|0;d=Ia+k|0;J[e>>2]=f;J[e+4>>2]=f>>>0<m>>>0?d+1|0:d;d=K[g+11|0];if(!d){break h}j=1;if(!(H[d+31216|0]&1)){break h}J[h+4>>2]=h+100;J[h>>2]=h+104;f=2;d=g+12|0;if((rf(d,14823,h)|0)!=2){break h}}if(K[d+f|0]==58){g=K[d|0];f=h+120|0;Sa(f,0,48);j=1;if(yq((g-58>>>0<4294967286)+d|0,f)){break h}vc(f);d=J[h+120>>2];f=J[h+124>>2];vc(e);j=0;H[e+44|0]=0;I[e+42>>1]=0;k=J[e+4>>2];m=J[e>>2];d=nJ(d-432e5|0,f-(d>>>0<432e5)|0,864e5,0);g=(l|0)==45;l=g?0-d|0:d;f=m+l|0;m=k;k=Ia;d=m+(g?0-(k+((d|0)!=0)|0)|0:k)|0;J[e>>2]=f;J[e+4>>2]=f>>>0<l>>>0?d+1|0:d;break h}f=f+g|0;while(1){d=f;f=d+1|0;if(H[K[d|0]+31216|0]&1){continue}break}j=1;f=Ya(d);if(f-11>>>0<4294967288){break h}g=f-1|0;j=K[g+d|0];vc(e);j=(j&223)==83?g:f;i=O[h+168>>3];u=i<0?-.5:.5;f=0;while(1){r:{if((f|0)==6){j=1}else{g=f<<4;if((j|0)!=K[g+51824|0]){break r}if(tb(g+51825|0,d,j)){break r}q=N[g+51832>>2];if(!(+Q(-q)<i)|!(+q>i)){break r}s:{t:{u:{switch(f-4|0){case 0:Ue(e);if(R(i)<2147483648){d=~~i}else{d=-2147483648}f=d+J[e+12>>2]|0;v:{if((f|0)>0){j=(f-1>>>0)/12|0;break v}j=0-((12-f>>>0)/12|0)|0}J[e+12>>2]=P(j,-12)+f;J[e+8>>2]=j+J[e+8>>2];break t;case 1:break u;default:break s}}Ue(e);if(R(i)<2147483648){d=~~i}else{d=-2147483648}J[e+8>>2]=d+J[e+8>>2]}H[e+40|0]=0;i=i-+(d|0)}vc(e);i=i*1e3*+N[g+51836>>2]+u;w:{if(R(i)<0x8000000000000000){d=~~i>>>0;if(R(i)>=1){f=~~(i>0?T(V(i*2.3283064365386963e-10),4294967295):W((i-+(~~i>>>0>>>0))*2.3283064365386963e-10))>>>0}else{f=0}break w}d=0;f=-2147483648}j=J[e>>2];g=j+d|0;d=J[e+4>>2]+f|0;J[e>>2]=g;J[e+4>>2]=g>>>0<j>>>0?d+1|0:d;j=0}H[e+44|0]=0;I[e+42>>1]=0;break h}f=f+1|0;continue}}j=1;break h}f=f+1|0;continue}}vc(e);if(K[e+46|0]){break a}c=J[e+4>>2];if((c|0)==108096&M[e>>2]>275971583|c>>>0>108096){break a}o=0;if(!K[e+42|0]|(b|0)!=1|J[e+16>>2]<29){break a}H[e+42|0]=0;break a}x:{switch(d-115|0){default:y:{switch(d-106|0){default:if((d|0)!=97){break a}if(Xa(g,9988)|n>>>0>1){break a}if(K[e+40|0]|!K[e+41|0]){break g}i=O[e+32>>3];if(!(i>=-21086676e4)|!(i<=253402300799)){break f}H[e+44|0]=0;I[e+42>>1]=0;H[e+40|0]=1;i=i*1e3+21086676e7+.5;z:{if(R(i)<0x8000000000000000){d=~~i>>>0;if(R(i)>=1){f=~~(i>0?T(V(i*2.3283064365386963e-10),4294967295):W((i-+(~~i>>>0>>>0))*2.3283064365386963e-10))>>>0}else{f=0}break z}d=0;f=-2147483648}J[e>>2]=d;J[e+4>>2]=f;break g;case 0:if(Xa(g,1404)|n>>>0>1|!K[e+40|0]){break a}if(K[e+41|0]){break g}break a;case 1:break a;case 2:break y}}if(Xa(g,13853)){break a}if(!Sj(a)){break a}j=Uy(e,a);break h;case 2:if(!(Xa(g,12372)|!K[e+41|0])){if(n>>>0>1){break a}i=O[e+32>>3]*1e3+21086676e7;if(!(i>=0)|!(i<4642690608e5)){break a}H[e+44|0]=0;J[e+40>>2]=1;i=i+.5;A:{if(R(i)<0x8000000000000000){d=~~i>>>0;if(R(i)>=1){f=~~(i>0?T(V(i*2.3283064365386963e-10),4294967295):W((i-+(~~i>>>0>>>0))*2.3283064365386963e-10))>>>0}else{f=0}break A}d=0;f=-2147483648}J[e>>2]=d;J[e+4>>2]=f;break f}if(Xa(g,17533)){break a}if(!Sj(a)){break a}if(K[e+45|0]){break f}vc(e);g=0;m=0;d=0;j=J[e+4>>2];p=j;l=J[e>>2];f=l;while(1){Sa(t,0,40);H[h+160|0]=1;k=f-g|0;g=j-((f>>>0<g>>>0)+m|0)|0;j=g;f=k;J[h+120>>2]=f;J[h+124>>2]=g;g=h+120|0;if(Uy(g,a)){break a}vc(g);k=J[h+120>>2];g=k-l|0;k=J[h+124>>2]-((k>>>0<l>>>0)+p|0)|0;m=k;if(g|k){k=d>>>0<3;d=d+1|0;if(k){continue}}break};Sa(s,0,40);H[e+45|0]=1;H[e+40|0]=1;J[e>>2]=f;J[e+4>>2]=j;break f;case 4:if(tb(g,29856,8)){break a}d=g+8|0;if((Hd(d,h+168|0,Ya(d),1)|0)<=0){break a}i=O[h+168>>3];if(!(i>=0)|!(i<7)){break a}if(R(i)<2147483648){d=~~i}else{d=-2147483648}if(+(d|0)!=i){break a}Ue(e);H[e+40|0]=0;H[e+44|0]=0;vc(e);H[e+44|0]=0;I[e+42>>1]=0;g=d>>31;f=d;j=g;d=J[e+4>>2];k=d;g=J[e>>2];l=g+1296e5|0;d=l>>>0<1296e5?d+1|0:d;d=nJ(mJ(l,d,864e5,0),Ia,7,0);l=Ia;m=(j|0)<=(l|0)&d>>>0>f>>>0|(j|0)<(l|0);p=m?d-7|0:d;f=lJ(f-p|0,j-((f>>>0<p>>>0)+(m?l-(d>>>0<7)|0:l)|0)|0,864e5,0);d=k+Ia|0;f=f+g|0;d=f>>>0<g>>>0?d+1|0:d;J[e>>2]=f;J[e+4>>2]=d;break f;case 1:case 3:break a;case 0:break x}}if(tb(g,30020,9)){if(Xa(g,17918)){if(Xa(g,14906)){break a}}H[e+47|0]=1;break f}if(!(K[e+40|0]|K[e+42|0]|K[e+43|0])){break a}Aq(e);H[e+43|0]=1;H[e+44|0]=0;J[e+32>>2]=0;J[e+36>>2]=0;J[e+20>>2]=0;J[e+24>>2]=0;I[e+40>>1]=0;d=g+9|0;if(!Xa(d,12176)){J[e+16>>2]=1;break f}if(!Xa(d,9795)){J[e+12>>2]=1;J[e+16>>2]=1;break f}j=(Xa(d,1410)|0)!=0}if(j){break a}break f}H[e+41|0]=0}n=n+1|0;continue}}o=1}Fa=h+176|0;return o}function En(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=Fa-208|0;Fa=j;a:{if(!(c|e)){break a}g=J[a+248>>2];if(!g){break a}m=J[a>>2];b:{c:{d:{if(!e){if(yn(m,J[g>>2])){J[g+28>>2]=J[g+28>>2]|4096}n=m+177|0;if(!K[n|0]){break b}f=J[m+172>>2];if(!K[g+43|0]){break c}if(f){break d}J[g+20>>2]=0;break b}n=m+177|0;if(!K[n|0]){break b}}Ra(a,30620,0);break a}J[g+20>>2]=f;if((f|0)!=1){break b}J[g+28>>2]=J[g+28>>2]|1}e:{if(!(d&65536)){break e}J[g+28>>2]=J[g+28>>2]|65536;f=0;while(1){if(I[g+34>>1]<=(f|0)){break e}k=J[g+4>>2];l=P(f,12);i=k+l|0;h=K[i+4|0];if(h>>>0<=15){b=k+l|0;c=J[b>>2];d=J[g>>2];if(K[b+10|0]&4){J[j+168>>2]=ll(b,30620);J[j+164>>2]=c;J[j+160>>2]=d;Ra(a,29722,j+160|0);break a}J[j+148>>2]=c;J[j+144>>2]=d;Ra(a,6205,j+144|0);break a}if((h&240)==16){H[i+5|0]=65}if(!(!(H[i+10|0]&1)|(h&15|I[g+32>>1]==(f|0)))){H[i+4|0]=h|2;J[g+28>>2]=J[g+28>>2]|2048}f=f+1|0;continue}}f:{if(!(d&128)){break f}f=J[g+28>>2];if(f&8){Ra(a,5748,0);break a}if(!(f&4)){J[j+128>>2]=J[g>>2];Ra(a,7010,j+128|0);break a}J[g+28>>2]=f|640;k=J[a+8>>2];o=J[a>>2];if(!(K[o+178|0]&2)){f=0;while(1){if((f|0)<I[g+34>>1]){i=J[g+4>>2]+P(f,12)|0;g:{if(!(H[i+10|0]&1)){break g}h=K[i+4|0];if(h&15){break g}H[i+4|0]=h|2}f=f+1|0;continue}break}J[g+28>>2]=J[g+28>>2]|2048}f=J[a+144>>2];if(f){J[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(f,20)|0)+12>>2]=2}f=I[g+32>>1];h:{if((f|0)>=0){f=J[J[g+4>>2]+P(f&65535,12)>>2];J[j+180>>2]=f;J[j+184>>2]=Ya(f);f=nc(o,59,j+180|0,0);i:{f=Tc(J[a>>2],f);if(f){if(K[a+220|0]>=2){Zc(a,J[f+8>>2],g+32|0)}H[f+16|0]=K[a+218|0];I[g+32>>1]=65535;Ci(a,0,0,0,f,K[g+42|0],0,0,0,0,2);if(!J[a+36>>2]){break i}}J[g+28>>2]=J[g+28>>2]&-129;break f}i=ec(g);break h}i=ec(g);f=1;h=1;while(1){if(f>>>0<L[i+50>>1]){j:{if(uk(i,h,i,f)){I[i+52>>1]=L[i+52>>1]-1;break j}l=J[i+32>>2];J[l+(h<<2)>>2]=J[l+(f<<2)>>2];l=J[i+28>>2];H[l+h|0]=K[f+l|0];l=J[i+4>>2];I[l+(h<<1)>>1]=L[l+(f<<1)>>1];h=h+1|0}f=f+1|0;continue}break}I[i+50>>1]=h}f=K[i+55|0]|K[i+56|0]<<8;h=f|32;H[i+55|0]=h;H[i+56|0]=h>>>8;if(!(K[o+178|0]&2)){f=f|40;H[i+55|0]=f;H[i+56|0]=f>>>8}l=L[i+50>>1];I[i+52>>1]=l;k:{if(!k){break k}f=J[i+44>>2];if(!f){break k}H[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(f,20)|0)|0]=9}J[i+44>>2]=J[g+20>>2];f=g+8|0;while(1){l:{m:{f=J[f>>2];if(!f){f=0;h=I[g+34>>1];h=(h|0)>0?h:0;k=0;while(1){if((f|0)==(h|0)){break m}if(!fs(J[i+4>>2],l,f)){k=!(K[(J[g+4>>2]+P(f,12)|0)+10|0]&32)+k|0}f=f+1|0;continue}}if(((K[f+55|0]|K[f+56|0]<<8)&3)==2){break l}h=0;k=0;while(1){if((h|0)!=(l|0)){k=(uk(f,L[f+50>>1],i,h)^1)+k|0;h=h+1|0;continue}break}h=L[f+50>>1];if(!k){I[f+52>>1]=h;break l}if(es(o,f,h+k|0)){break f}k=L[f+50>>1];h=0;while(1){if((h|0)==(l|0)){break l}if(!uk(f,L[f+50>>1],i,h)){I[J[f+4>>2]+(k<<1)>>1]=L[J[i+4>>2]+(h<<1)>>1];J[J[f+32>>2]+(k<<2)>>2]=J[J[i+32>>2]+(h<<2)>>2];if(K[J[i+28>>2]+h|0]){p=K[f+55|0]|K[f+56|0]<<8|1024;H[f+55|0]=p;H[f+56|0]=p>>>8}k=k+1|0}h=h+1|0;continue}}if(es(o,i,k+l|0)){break f}f=0;while(1){if((f|0)<I[g+34>>1]){h=J[i+4>>2];if(!(fs(h,l,f)|K[(J[g+4>>2]+P(f,12)|0)+10|0]&32)){I[h+(l<<1)>>1]=f;J[J[i+32>>2]+(l<<2)>>2]=33312;l=l+1|0}f=f+1|0;continue}break}ds(i);break f}f=f+20|0;continue}}l=Ab(m,J[g+60>>2]);f=J[g+16>>2];n:{if(!f){break n}yi(a,g,4,0,f);if(!J[a+36>>2]){break n}kb(m,J[g+16>>2]);J[g+16>>2]=0}o:{if(!(K[g+28|0]&96)){f=I[g+34>>1];break o}k=0;h=0;while(1){f=I[g+34>>1];if((f|0)>(h|0)){f=P(h,12);i=f+J[g+4>>2]|0;p:{if(K[i+10|0]&96){if(!yi(a,g,8,Hc(g,i),0)){break p}pn(a,g,f+J[g+4>>2]|0,nc(m,121,0,0));break p}k=k+1|0}h=h+1|0;continue}break}if(k){break o}Ra(a,11027,0);break a}h=J[g+4>>2];i=0;while(1){if((f|0)>0){f=f-1|0;i=K[h+6|0]+i|0;h=h+12|0;continue}break}I[g+40>>1]=Fd((L[g+32>>1]>>>15|0)+i<<2,0);f=g+8|0;while(1){f=J[f>>2];if(f){cs(f);f=f+20|0;continue}break}q:{if(!K[n|0]){k=rb(a);if(!k){break a}Va(k,122,0);s=K[g+43|0];r:{if(e){if(K[a+220|0]){J[a+12>>2]=1;J[a+36>>2]=J[a+36>>2]+1;break a}i=J[a+44>>2];h=i+3|0;J[a+44>>2]=h;d=J[a+128>>2];H[(d?d:a)+21|0]=1;Pa(k,113,1,J[a+100>>2],l);f=J[k+108>>2];if((f|0)>0){I[(J[k+104>>2]+P(f,20)|0)-18>>1]=16}J[a+40>>2]=2;n=i+1|0;Pa(k,11,n,0,f+1|0);if(J[a+36>>2]){break a}d=on(a,e,65);if(!d){break a}o=L[d+34>>1];I[g+34>>1]=o;I[g+36>>1]=o;J[g+4>>2]=J[d+4>>2];J[d+4>>2]=0;I[d+34>>1]=0;xd(m,d);J[j+196>>2]=0;J[j+200>>2]=0;J[j+188>>2]=0;J[j+192>>2]=0;J[j+184>>2]=n;H[j+180|0]=13;Gc(a,e,j+180|0);if(J[a+36>>2]){break a}xi(k,n);n=J[k+108>>2];J[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(f,20)|0)+8>>2]=n;f=Va(k,12,J[j+184>>2]);i=i+2|0;Pa(k,97,J[j+192>>2],J[j+196>>2],i);d=0;ug(k,g,0);Na(k,127,1,h);Pa(k,128,1,i,h);Lb(k,f);i=J[k+108>>2];J[(K[J[k>>2]+87|0]?73192:J[k+104>>2]+P(f,20)|0)+8>>2]=i;Va(k,122,1);f=I[g+34>>1];n=(f|0)>0?f:0;i=J[g+4>>2];h=0;while(1){if((h|0)!=(n|0)){h=h+1|0;d=(as(J[i>>2])+d|0)+5|0;i=i+12|0;continue}break}d=as(J[g>>2])+d|0;p=(d+P(f,6)|0)+35|0;q=Yb(p,p>>31);if(!q){Db(m);break r}d=(d|0)<50;u=d?27638:27637;f=d?24905:30592;o=wd(p,q,30446,0);J[j+180>>2]=Ya(o);$r(o,j+180|0,J[g>>2]);i=J[j+180>>2];H[i+o|0]=40;d=d?30620:30593;h=i+1|0;i=J[g+4>>2];n=0;while(1){r=h+o|0;t=p-h|0;if((n|0)<I[g+34>>1]){J[j+180>>2]=Ya(wd(t,r,d,0))+h;$r(o,j+180|0,J[i>>2]);d=J[j+180>>2];r=J[(H[i+5|0]<<2)+49740>>2];h=Ya(r);Qa(d+o|0,r,h);h=d+h|0;J[j+180>>2]=h;i=i+12|0;n=n+1|0;d=f;continue}break}J[j+112>>2]=u;wd(t,r,8863,j+112|0);break r}d=d?a+208|0:c;f=J[d>>2];i=J[a+200>>2];h=f-i|0;h=K[f|0]!=59?J[d+4>>2]+h|0:h;J[j+104>>2]=i;J[j+100>>2]=h;J[j+96>>2]=s?18763:20379;q=hb(m,6001,j+96|0)}f=J[J[m+16>>2]+(l<<4)>>2];d=J[g>>2];i=J[a+100>>2];J[j+88>>2]=J[a+96>>2];J[j+84>>2]=q;J[j+80>>2]=i;J[j+76>>2]=d;J[j+72>>2]=d;J[j+68>>2]=s?1851:14316;J[j+64>>2]=f;fc(a,16868,j- -64|0);Ua(m,q);Df(a,l);s:{if(K[a+220|0]|!(K[g+28|0]&8)){break s}d=J[m+16>>2]+(l<<4)|0;if(J[J[d+12>>2]+72>>2]){break s}J[j+48>>2]=J[d>>2];fc(a,25306,j+48|0)}J[j+32>>2]=J[g>>2];kh(k,l,hb(m,28149,j+32|0),0);if(K[g+28|0]&96){d=J[J[m+16>>2]+(l<<4)>>2];J[j+20>>2]=J[g>>2];J[j+16>>2]=d;$a(k,148,1,0,0,hb(m,29142,j+16|0),-6)}d=J[J[m+16>>2]+(l<<4)>>2];J[j+4>>2]=J[g>>2];J[j>>2]=d;$a(k,148,1,0,0,hb(m,25728,j),-6);if(!K[m+177|0]){break q}}if(jd(J[g+60>>2]+8|0,J[g>>2],g)){Db(m);break a}J[a+248>>2]=0;J[m+24>>2]=J[m+24>>2]|1;if(Kc(J[g>>2],14706)){break q}J[J[g+60>>2]+72>>2]=g}if(K[g+43|0]|e){break a}J[g+44>>2]=(J[(J[b>>2]?b:c)>>2]-J[a+200>>2]|0)+13}Fa=j+208|0}function Ci(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;m=Fa-224|0;Fa=m;o=J[a>>2];J[m+168>>2]=0;J[m+164>>2]=0;a:{if(J[a+36>>2]|K[a+220|0]==1&(k|0)!=2){break a}if(ve(a)){break a}if(Ck(a,e)){break a}b:{c:{d:{e:{if(d){b=Ef(a,b,c,m+168|0);if((b|0)<0){break a}f:{if(K[o+177|0]){break f}n=nh(a,d);if(J[c+4>>2]|!n){break f}b=J[n+60>>2]==J[J[o+16>>2]+28>>2]?1:b}c=J[a>>2];J[m+172>>2]=a;c=J[c+16>>2]+(b<<4)|0;J[m+212>>2]=J[c>>2];c=J[c+12>>2];J[m+180>>2]=11;J[m+184>>2]=12;J[m+188>>2]=13;J[m+192>>2]=0;I[m+196>>1]=0;J[m+204>>2]=c;J[m+176>>2]=a;c=m+172|0;J[m+200>>2]=c;H[m+208|0]=(b|0)==1;J[m+216>>2]=1554;t=J[m+168>>2];J[m+220>>2]=t;zn(c,d);c=_e(a,0,d+8|0);if(!c){break a}if(!(J[J[o+16>>2]+28>>2]==J[c+60>>2]|(b|0)!=1)){J[m+144>>2]=J[c>>2];Ra(a,29652,m+144|0);break d}r=0;if(!(K[c+28|0]&128)){break e}r=ec(c);break e}c=J[a+248>>2];if(!c){break a}b=Ab(o,J[c+60>>2]);r=0}q=J[o+16>>2];l=J[c>>2];if(!(tb(l,18298,7)|!d|K[o+177|0])){J[m>>2]=l;Ra(a,15366,m);break d}g:{switch(K[c+43|0]-1|0){case 1:Ra(a,15307,0);break c;case 0:Ra(a,15332,0);break c;default:break g}}n=q+(b<<4)|0;h:{i:{j:{if(t){p=oc(o,t);if(!p){break d}if(Dk(a,p,1554,J[c>>2])){break c}if(K[a+220|0]>1){break h}k:{if(K[o+177|0]){break k}if(!tc(o,p,J[n>>2])){break k}J[m+128>>2]=p;Ra(a,7233,m+128|0);break c}if(!$e(o,p,J[n>>2])){break j}if(!j){J[m+112>>2]=p;Ra(a,3747,m+112|0);break c}gd(a,b);Bk(a);break c}p=c+8|0;j=1;while(1){p=J[p>>2];if(p){j=j+1|0;p=p+20|0;continue}break}J[m+100>>2]=j;J[m+96>>2]=l;p=hb(o,16692,m+96|0);if(!p){break d}if(!K[a+220|0]){break i}H[p+7|0]=K[p+7|0]+1}if(K[a+220|0]>1){break h}}j=(b|0)==1;n=J[n>>2];if(Tb(a,18,j?9192:9211,0,n)){break c}if(Tb(a,j?3:1,p,J[c>>2],n)){break c}}l:{if(!e){e=(J[c+4>>2]+P(I[c+34>>1],12)|0)-12|0;I[e+10>>1]=L[e+10>>1]|8;e=J[e>>2];J[m+156>>2]=e;J[m+160>>2]=Ya(e);j=0;e=nc(o,59,m+156|0,0);e=Tc(J[a>>2],e);if(!e){break b}H[(J[e>>2]<<4)+e|0]=(i|0)!=-1?i:0;break l}ss(a,e,1554);if(J[a+36>>2]){break c}}j=J[e>>2];n=(j|0)>0?j:0;i=0;while(1){if((i|0)!=(n|0)){l=J[((i<<4)+e|0)+8>>2];if(K[l|0]==113){s=(Ya(J[l+8>>2])+s|0)+1|0}i=i+1|0;continue}break}i=Ya(p);l=Xr(o,j+(r?L[r+50>>1]:1)<<16>>16,(i+s|0)+1|0,m+164|0);m:{n:{if(K[o+87|0]){j=e;break n}j=J[m+164>>2];J[l>>2]=j;n=i+1|0;i=n+j|0;J[m+164>>2]=i;Qa(j,p,n);H[l+54|0]=f;J[l+12>>2]=c;j=(K[l+55|0]|K[l+56|0]<<8)&65524|(k&3|((f|0)!=0)<<3);H[l+55|0]=j;H[l+56|0]=j>>>8;j=b<<4;J[l+24>>2]=J[(j+J[o+16>>2]|0)+12>>2];I[l+50>>1]=J[e>>2];if(h){yi(a,c,2,h,0);J[l+36>>2]=h}h=K[J[(j+q|0)+12>>2]+76|0];j=e;if(K[a+220|0]>=2){J[l+40>>2]=e;j=0}s=e+8|0;v=h>>>0>3;e=0;while(1){if(L[l+50>>1]>e>>>0){Yr(J[s>>2]);h=0;yi(a,c,32,J[s>>2],0);if(J[a+36>>2]){break m}n=Cf(J[s>>2]);o:{if(K[n|0]!=167){if(J[a+248>>2]==(c|0)){Ra(a,3898,0);break m}if(!J[l+40>>2]){J[l+40>>2]=j;j=0}I[J[l+4>>2]+(e<<1)>>1]=65534;n=(K[l+55|0]|K[l+56|0]<<8)&61431|4096;H[l+55|0]=n;H[l+56|0]=n>>>8;q=-2;break o}q=I[n+32>>1];p:{if((q|0)<0){q=I[c+32>>1];break p}u=P(q,12);n=J[c+4>>2];if(!(K[(u+n|0)+4|0]&15)){n=(K[l+55|0]|K[l+56|0]<<8)&65527;H[l+55|0]=n;H[l+56|0]=n>>>8;n=J[c+4>>2]}if(!(K[(n+u|0)+10|0]&32)){break p}n=K[l+55|0]|K[l+56|0]<<8|6144;H[l+55|0]=n;H[l+56|0]=n>>>8}I[J[l+4>>2]+(e<<1)>>1]=q}n=J[s>>2];q:{if(K[n|0]==113){q=J[n+8>>2];n=Ya(q)+1|0;n=Qa(i,q,n)+n|0;J[m+164>>2]=n;break q}if((q|0)<0){n=i;i=0;break q}n=i;i=Sf(J[c+4>>2]+P(q,12)|0)}i=i?i:33312;if(!K[o+177|0]){if(!Ai(a,i)){break m}}J[J[l+32>>2]+(e<<2)>>2]=i;H[J[l+28>>2]+e|0]=v?K[s+8|0]:0;s=s+16|0;e=e+1|0;i=n;continue}break}r:{if(r){h=0;while(1){if(L[r+50>>1]<=h>>>0){break r}s:{if(uk(l,L[l+50>>1],r,h)){I[l+52>>1]=L[l+52>>1]-1;break s}I[J[l+4>>2]+(e<<1)>>1]=L[J[r+4>>2]+(h<<1)>>1];J[J[l+32>>2]+(e<<2)>>2]=J[J[r+32>>2]+(h<<2)>>2];H[J[l+28>>2]+e|0]=K[J[r+28>>2]+h|0];e=e+1|0}h=h+1|0;continue}}I[J[l+4>>2]+(e<<1)>>1]=65535;J[J[l+32>>2]+(e<<2)>>2]=33312}mt(l);if(!J[a+248>>2]){cs(l)}ds(l);t:{if(!d|L[l+52>>1]<I[c+34>>1]){break t}h=K[l+55|0]|K[l+56|0]<<8;e=h|32;H[l+55|0]=e;H[l+56|0]=e>>>8;e=0;i=I[c+34>>1];i=(i|0)>0?i:0;while(1){if((e|0)==(i|0)){break t}u:{if(I[c+32>>1]==(e|0)){break u}if((Le(l,e<<16>>16)|0)>=0){break u}e=h&65503;H[l+55|0]=e;H[l+56|0]=e>>>8;break t}e=e+1|0;continue}}v:{w:{x:{if(J[a+248>>2]!=(c|0)){break x}e=c+8|0;while(1){h=J[e>>2];if(!h){break x}y:{i=L[h+50>>1];if((i|0)!=L[l+50>>1]){break y}e=0;z:{while(1){if((e|0)==(i|0)){break z}A:{n=e<<1;if(L[n+J[h+4>>2]>>1]!=L[n+J[l+4>>2]>>1]){break A}n=e<<2;if(Xa(J[n+J[h+32>>2]>>2],J[n+J[l+32>>2]>>2])){break A}e=e+1|0;continue}break}if((e|0)!=(i|0)){break y}}b=K[h+54|0];e=K[l+54|0];B:{if((b|0)==(e|0)){break B}if(!((b|0)==11|(e|0)==11)){J[m+80>>2]=0;Ra(a,16298,m+80|0);b=K[h+54|0]}if((b&255)!=11){break B}H[h+54|0]=K[l+54|0]}if((k|0)==2){b=(K[h+55|0]|K[h+56|0]<<8)&65532|2;H[h+55|0]=b;H[h+56|0]=b>>>8}h=0;if(K[a+220|0]<2){break m}J[l+20>>2]=J[a+252>>2];break w}e=h+20|0;continue}}C:{if(K[a+220|0]>1){break C}if(K[o+177|0]){D:{if(!d){break D}J[l+44>>2]=J[o+172>>2];if(!nt(l)){break D}h=0;Ra(a,14544,0);J[a+12>>2]=Ta(124931);break m}if(jd(J[l+24>>2]+24|0,J[l>>2],l)){Db(o);h=0;break m}J[o+24>>2]=J[o+24>>2]|1;break C}if(!(J[c+28>>2]&128?d:1)){break C}h=J[a+44>>2]+1|0;J[a+44>>2]=h;e=rb(a);if(!e){h=0;break n}fd(a,1,b);J[l+44>>2]=Hb(e,187);Pa(e,147,b,h,2);if(g){g=J[a+208>>2];i=J[a+212>>2];k=K[(g+i|0)-1|0];n=J[t>>2];J[m+72>>2]=n;J[m+64>>2]=f?20313:30620;J[m+68>>2]=(i+(g-n|0)|0)-((k|0)==59);f=hb(o,6016,m- -64|0)}else{f=0}g=J[J[o+16>>2]+(b<<4)>>2];i=J[l>>2];k=J[c>>2];J[m+48>>2]=f;J[m+44>>2]=h;J[m+40>>2]=k;J[m+36>>2]=i;J[m+32>>2]=g;fc(a,21870,m+32|0);Ua(o,f);if(d){kn(a,l,h);Df(a,b);J[m+16>>2]=J[l>>2];kh(e,b,hb(o,27775,m+16|0),0);Na(e,166,0,1)}f=J[e+108>>2];J[(K[J[e>>2]+87|0]?73192:J[e+104>>2]+P(J[l+44>>2],20)|0)+8>>2]=f}if(!(K[o+177|0]?0:d)){J[l+20>>2]=J[c+8>>2];J[c+8>>2]=l;break v}h=0;if(K[a+220|0]<2){break n}}J[a+252>>2]=l}h=0;break b}if(!l){break b}}Uk(o,l);break b}p=0}j=e}k=c+8|0;E:{while(1){c=k;b=J[c>>2];if(!b){break E}k=b+20|0;if(K[b+54|0]!=5){continue}break}while(1){a=J[k>>2];if(!a|K[a+54|0]==5){break E}J[c>>2]=a;J[b+20>>2]=J[a+20>>2];J[a+20>>2]=b;c=a+20|0;continue}}e=j}_a(o,h);kb(o,e);yc(o,d);Ua(o,p);Fa=m+224|0}
function qb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=Fa-208|0;Fa=e;a:{if(bs(a)){d=Nc(90711);break a}w=a+104|0;s=a+136|0;n=J[a>>2];h=n;while(1){b:{c:{d=K[a+151|0];if((d|0)==2){break c}while(1){d:{switch((d&255)-1|0){case 0:if(K[a+152|0]&3){J[a+36>>2]=17;d=1;if(H[a+150|0]>=0){break b}d=ln(a);break b}d=J[h+184>>2];if(!d){J[h+296>>2]=0}if(!(!J[a+200>>2]|(K[h+177|0]|!(K[h+94|0]&130)))){jn(J[h>>2],s);d=J[h+184>>2]}J[h+184>>2]=d+1;c=L[a+152>>1];if(!(c&64)){J[h+192>>2]=J[h+192>>2]+1;c=L[a+152>>1]}if(c&128){J[h+188>>2]=J[h+188>>2]+1}H[a+151|0]=2;J[a+32>>2]=0;break c;case 2:break d;default:break c}}jb(a);d=K[a+151|0];continue}}e:{f:{g:{h:{c=L[a+152>>1]&12;if(c){j=J[a+88>>2];q=j+40|0;o=J[a>>2];b=1;b=(c|0)!=4?H[o+35|0]&1:b;fi(q,8);if(J[a+36>>2]==7){Db(o);d=1;break e}g=0;i=0;f=L[a+152>>1]&12;p=J[a+108>>2];i=b?J[a+88>>2]+360|0:i;if(!i){m=0;break h}d=0;m=0;if(K[i+16|0]&16){m=J[i+8>>2];g=J[i+12>>2]>>>2|0}while(1){if((d|0)==(g|0)){break h}p=J[J[(d<<2)+m>>2]+4>>2]+p|0;d=d+1|0;continue}}J[h+196>>2]=J[h+196>>2]+1;d=Nr(a);J[h+196>>2]=J[h+196>>2]-1;if((d|0)!=100){break e}break g}c=J[a+32>>2];x=(f|0)!=8;while(1){l=c+1|0;if((c|0)>=(p|0)){J[a+36>>2]=0;d=101;break f}f=w;i:{d=c;b=J[a+108>>2];if((c|0)<(b|0)){break i}d=c-b|0;b=0;while(1){f=J[(b<<2)+m>>2];k=J[f+4>>2];if((k|0)>(d|0)){break i}b=b+1|0;d=d-k|0;continue}}t=J[f>>2];j:{if(!i){break j}r=t+P(d,20)|0;if(K[r+1|0]!=252){break j}b=0;f=(g|0)>0?g:0;k=g+1|0;u=k<<2;while(1){k:{if((b|0)!=(f|0)){if(J[(b<<2)+m>>2]!=J[r+16>>2]){break k}}else{b=f}if((b|0)!=(g|0)){break j}b=ih(i,u,(g|0)!=0);J[a+36>>2]=b;if(b){d=1;break f}m=J[i+8>>2];J[m+(g<<2)>>2]=J[r+16>>2];J[i+12>>2]=u;I[i+16>>1]=L[i+16>>1]&62016|16;p=J[J[r+16>>2]+4>>2]+p|0;g=k;break j}b=b+1|0;continue}}l:{if(x){break l}b=K[t+P(d,20)|0];if((b|0)==188){break l}f=(c|0)<=0;c=l;if(f|(b|0)!=8){continue}}break}J[a+32>>2]=l;if(J[o+296>>2]){J[a+36>>2]=9;Fc(a,15481,0);d=1;break e}I[e+204>>1]=0;J[e+200>>2]=0;J[e+192>>2]=0;J[e+196>>2]=1e9;J[e+184>>2]=0;J[e+188>>2]=0;b=11540;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{c=t+P(d,20)|0;switch(H[c+1|0]+15|0){case 11:break n;case 10:break q;case 1:break r;case 4:break s;case 5:break t;case 3:break u;case 12:break v;case 2:break w;case 0:break x;case 8:break y;case 13:break z;case 7:break A;default:break p}}f=J[c+16>>2];J[e+16>>2]=L[f+6>>1];gb(e+184|0,16796,e+16|0);b=0;while(1){if(L[f+6>>1]>b>>>0){l=K[J[f+16>>2]+b|0];k=e;g=J[(f+(b<<2)|0)+20>>2];if(g){g=J[g>>2]}else{g=30620}J[k+8>>2]=Kc(g,33312)?g:20911;J[e+4>>2]=l&2?24899:30620;J[e>>2]=l&1?24903:30620;gb(e+184|0,6098,e);b=b+1|0;continue}break}nb(e+184|0,27638,1);break m}b=J[c+16>>2];f=K[b+4|0];J[e+32>>2]=J[b>>2];J[e+36>>2]=J[(f<<2)+33328>>2];gb(e+184|0,6448,e+32|0);break m}b=J[c+16>>2];f=J[b+32>>2];J[e+52>>2]=H[b|0];J[e+48>>2]=f;gb(e+184|0,25535,e+48|0);break m}b=J[J[c+16>>2]+4>>2];f=J[b+32>>2];J[e+68>>2]=H[b|0];J[e+64>>2]=f;gb(e+184|0,25535,e- -64|0);break m}b=J[c+16>>2];f=J[b+4>>2];J[e+80>>2]=J[b>>2];J[e+84>>2]=f;gb(e+184|0,14967,e+80|0);break m}J[e+96>>2]=J[c+16>>2];gb(e+184|0,17526,e+96|0);break m}O[e+112>>3]=O[J[c+16>>2]>>3];gb(e+184|0,12564,e+112|0);break m}b=J[c+16>>2];f=L[b+16>>1];if(f&2){g=b+8|0;break o}if(f&36){f=J[b+4>>2];J[e+144>>2]=J[b>>2];J[e+148>>2]=f;gb(e+184|0,14967,e+144|0);break m}if(f&8){O[e+128>>3]=O[b>>3];gb(e+184|0,12564,e+128|0);break m}b=f&1?20228:25655;break n}J[e+160>>2]=J[J[c+16>>2]+8>>2];gb(e+184|0,9966,e+160|0);break m}f=J[c+16>>2];g=J[f>>2];b=1;while(1){if(b>>>0<=g>>>0){J[e+180>>2]=J[f+(b<<2)>>2];J[e+176>>2]=(b|0)==1?91:44;gb(e+184|0,1873,e+176|0);b=b+1|0;continue}break}nb(e+184|0,18436,1);break m}g=J[c+16>>2];break o}g=c+16|0}b=J[g>>2];if(!b){break m}}Qd(e+184|0,b)}if(K[e+204|0]&7){Db(o)}f=Ed(e+184|0);B:{if((L[a+152>>1]&12)==8){b=J[c+4>>2];xc(q,b,b>>31);b=J[c+8>>2];xc(j+80|0,b,b>>31);c=J[c+12>>2];xc(j+120|0,c,c>>31);c=4;break B}xc(q,d,d>>31);cd(j+80|0,J[(K[c|0]<<2)+33344>>2],-1,-1,1,0);b=J[c+4>>2];xc(j+120|0,b,b>>31);b=J[c+8>>2];xc(j+160|0,b,b>>31);b=J[c+12>>2];xc(j+200|0,b,b>>31);xc(j+280|0,L[c+2>>1],0);Rb(j+320|0);c=6}d=1;cd(P(c,40)+j|0,f,-1,-1,1,1);J[a+120>>2]=q;c=K[o+87|0];J[a+36>>2]=c?7:0;if(c){break e}}d=100;J[h+64>>2]=100;break a}J[a+32>>2]=l}c=J[s>>2];b=J[s+4>>2];if((b|0)>0){c=1}else{c=!!c&(b|0)>=0}if(c){Ar(h,a)}J[a+120>>2]=0;C:{if((d|0)==101){if(!K[h+85|0]){d=101;break C}d=0;f=0;while(1){if(J[h+20>>2]>(d|0)){g=J[h+16>>2]+(d<<4)|0;c=J[g+4>>2];D:{if(!c){break D}b=J[c+4>>2];J[b+4>>2]=J[c>>2];c=J[J[b>>2]+232>>2];if(!c){break D}b=J[c+12>>2];J[c+12>>2]=0;if((b|0)<=0){break D}c=J[h+268>>2];if(!c|f){break D}f=Ja[c|0](J[h+272>>2],h,J[g>>2],b)|0}d=d+1|0;continue}break}J[a+36>>2]=f;d=f?1:101;break C}if(H[a+150|0]>=0){break C}d=ln(a)}J[h+64>>2]=d;if((bd(J[a>>2],J[a+36>>2])|0)!=7){break b}J[a+36>>2]=7;d=H[a+150|0]<0?7:d}d=J[h+72>>2]&d;if((d|0)!=17){break a}if((v|0)==50){d=17;break a}l=J[a+32>>2];d=Fa-256|0;Fa=d;b=J[a>>2];g=vk(b,a?J[a+200>>2]:0,-1,K[a+150|0],a,d+12|0,0);E:{if(g){if((g|0)!=7){break E}Db(b);break E}c=d+16|0;b=J[d+12>>2];Qa(c,b,240);b=Qa(b,a,240);c=Qa(a,c,240);f=J[b+8>>2];J[b+8>>2]=J[c+8>>2];J[c+8>>2]=f;f=J[b+4>>2];J[b+4>>2]=J[c+4>>2];J[c+4>>2]=f;f=J[b+200>>2];J[b+200>>2]=J[c+200>>2];J[c+200>>2]=f;f=J[b+204>>2];J[b+204>>2]=J[c+204>>2];J[c+204>>2]=f;J[c+228>>2]=J[b+228>>2];H[c+150|0]=K[b+150|0];Qa(c+164|0,b+164|0,36);J[c+184>>2]=J[c+184>>2]+1;f=0;while(1){if(I[b+16>>1]>(f|0)){k=P(f,40);bw(k+J[c+100>>2]|0,k+J[b+100>>2]|0);f=f+1|0;continue}break}c=J[d+12>>2];J[c+36>>2]=0;kf(c)}Fa=d+256|0;F:{if(g){c=Wa(J[n+288>>2]);Ua(n,J[a+124>>2]);if(K[n+87|0]){break F}J[a+124>>2]=Ob(n,c);d=bd(n,g);J[a+36>>2]=d;break a}jb(a);if((l|0)>=0){H[a+149|0]=254}v=v+1|0;h=J[a>>2];continue}break}d=7;J[a+36>>2]=7;J[a+124>>2]=0}Fa=e+208|0;return d|0}function sp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,y=0,A=0,D=0,E=0;n=Fa-48|0;Fa=n;C(+a);k=x(1)|0;d=x(0)|0;a:{b:{g=k&2147483647;c:{if(g>>>0<=1074752122){if((k&1048575)==598523){break c}if(g>>>0<=1073928572){if((k|0)>0|(k|0)>=0){a=a+-1.5707963267341256;e=a+-6077100506506192e-26;O[b>>3]=e;O[b+8>>3]=a-e+-6077100506506192e-26;d=1;break a}a=a+1.5707963267341256;e=a+6077100506506192e-26;O[b>>3]=e;O[b+8>>3]=a-e+6077100506506192e-26;d=-1;break a}if((k|0)>0|(k|0)>=0){a=a+-3.1415926534682512;e=a+-1.2154201013012384e-10;O[b>>3]=e;O[b+8>>3]=a-e+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;e=a+1.2154201013012384e-10;O[b>>3]=e;O[b+8>>3]=a-e+1.2154201013012384e-10;d=-2;break a}if(g>>>0<=1075594811){if(g>>>0<=1075183036){if((g|0)==1074977148){break c}if((k|0)>0|(k|0)>=0){a=a+-4.712388980202377;e=a+-1.8231301519518578e-10;O[b>>3]=e;O[b+8>>3]=a-e+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;e=a+1.8231301519518578e-10;O[b>>3]=e;O[b+8>>3]=a-e+1.8231301519518578e-10;d=-3;break a}if((g|0)==1075388923){break c}if((k|0)>0|(k|0)>=0){a=a+-6.2831853069365025;e=a+-2.430840202602477e-10;O[b>>3]=e;O[b+8>>3]=a-e+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;e=a+2.430840202602477e-10;O[b>>3]=e;O[b+8>>3]=a-e+2.430840202602477e-10;d=-4;break a}if(g>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+-6755399441055744;e=a+j*-1.5707963267341256;p=j*6077100506506192e-26;s=e-p;c=s<-.7853981633974483;if(R(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(c){d=d-1|0;j=j+-1;p=j*6077100506506192e-26;e=a+j*-1.5707963267341256;break d}if(!(s>.7853981633974483)){break d}d=d+1|0;j=j+1;p=j*6077100506506192e-26;e=a+j*-1.5707963267341256}a=e-p;O[b>>3]=a;C(+a);c=x(1)|0;x(0)|0;k=g>>>20|0;e:{if((k-(c>>>20&2047)|0)<17){break e}s=e;a=j*6077100506303966e-26;e=e-a;p=j*20222662487959506e-37-(s-e-a);a=e-p;O[b>>3]=a;C(+a);c=x(1)|0;x(0)|0;if((k-(c>>>20&2047)|0)<50){break e}s=e;a=j*20222662487111665e-37;e=e-a;p=j*84784276603689e-45-(s-e-a);a=e-p;O[b>>3]=a}O[b+8>>3]=e-a-p;break a}if(g>>>0>=2146435072){a=a-a;O[b>>3]=a;O[b+8>>3]=a;d=0;break a}z(0,d|0);z(1,k&1048575|1096810496);a=+B();d=0;c=1;while(1){f=(n+16|0)+(d<<3)|0;if(R(a)<2147483648){d=~~a}else{d=-2147483648}e=+(d|0);O[f>>3]=e;a=(a-e)*16777216;d=1;f=c;c=0;if(f){continue}break}O[n+32>>3]=a;d=2;while(1){c=d;d=c-1|0;v=n+16|0;if(O[v+(c<<3)>>3]==0){continue}break}f=0;h=Fa-560|0;Fa=h;d=(g>>>20|0)-1046|0;g=(d-3|0)/24|0;w=(g|0)>0?g:0;g=P(w,-24)+d|0;o=J[15045];q=c+1|0;i=q-1|0;if((o+i|0)>=0){d=o+q|0;c=w-i|0;while(1){O[(h+320|0)+(f<<3)>>3]=(c|0)<0?0:+J[(c<<2)+60192>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}m=g-24|0;d=0;f=(o|0)>0?o:0;l=(q|0)<=0;while(1){f:{if(l){a=0;break f}u=d+i|0;c=0;a=0;while(1){a=O[(c<<3)+v>>3]*O[(h+320|0)+(u-c<<3)>>3]+a;c=c+1|0;if((q|0)!=(c|0)){continue}break}}O[(d<<3)+h>>3]=a;c=(d|0)==(f|0);d=d+1|0;if(!c){continue}break}D=47-g|0;u=48-g|0;y=(g|0)<25;E=g-25|0;d=o;while(1){g:{a=O[(d<<3)+h>>3];c=0;f=d;r=(d|0)<=0;if(!r){while(1){t=(h+480|0)+(c<<2)|0;e=a*5.960464477539063e-8;h:{if(R(e)<2147483648){l=~~e;break h}l=-2147483648}e=+(l|0);a=e*-16777216+a;i:{if(R(a)<2147483648){l=~~a;break i}l=-2147483648}J[t>>2]=l;f=f-1|0;a=O[(f<<3)+h>>3]+e;c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=xj(a,m);a=a+V(a*.125)*-8;j:{if(R(a)<2147483648){c=~~a;break j}c=-2147483648}l=c;a=a-+(l|0);k:{l:{m:{n:{if(!y){f=(d<<2)+h|0;i=J[f+476>>2];c=i>>u;t=f;f=i-(c<<u)|0;J[t+476>>2]=f;l=c+l|0;c=f>>D;break n}if(m){break m}c=J[((d<<2)+h|0)+476>>2]>>23}i=c;if((i|0)<=0){break k}break l}i=2;if(a>=.5){break l}i=0;break k}c=0;f=0;if(!r){while(1){A=(h+480|0)+(c<<2)|0;r=J[A>>2];t=16777215;o:{p:{if(f){break p}t=16777216;if(r){break p}f=0;break o}J[A>>2]=t-r;f=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}q:{if(y){break q}c=8388607;r:{switch(E|0){case 1:c=4194303;break;case 0:break r;default:break q}}r=(d<<2)+h|0;J[r+476>>2]=J[r+476>>2]&c}l=l+1|0;if((i|0)!=2){break k}a=1-a;i=2;if(!f){break k}a=a-xj(1,m)}s:{t:{if(a==0){f=0;c=d;if((o|0)>=(c|0)){break s}while(1){c=c-1|0;f=J[(h+480|0)+(c<<2)>>2]|f;if((c|0)>(o|0)){continue}break}if(!f){break s}g=m;while(1){g=g-24|0;d=d-1|0;if(!J[(h+480|0)+(d<<2)>>2]){continue}break}break t}a=xj(a,24-g|0);u:{if(a>=16777216){f=(h+480|0)+(d<<2)|0;e=a*5.960464477539063e-8;v:{if(R(e)<2147483648){c=~~e;break v}c=-2147483648}a=+(c|0)*-16777216+a;w:{if(R(a)<2147483648){m=~~a;break w}m=-2147483648}J[f>>2]=m;d=d+1|0;break u}if(R(a)<2147483648){c=~~a}else{c=-2147483648}g=m}J[(h+480|0)+(d<<2)>>2]=c}a=xj(1,g);if((d|0)>=0){c=d;while(1){f=c;O[(c<<3)+h>>3]=a*+J[(h+480|0)+(c<<2)>>2];c=c-1|0;a=a*5.960464477539063e-8;if(f){continue}break}f=d;while(1){a=0;c=0;g=d-f|0;m=(g|0)>(o|0)?o:g;if((m|0)>=0){while(1){a=O[(c<<3)+62960>>3]*O[(c+f<<3)+h>>3]+a;q=(c|0)!=(m|0);c=c+1|0;if(q){continue}break}}O[(h+160|0)+(g<<3)>>3]=a;c=(f|0)>0;f=f-1|0;if(c){continue}break}}a=0;if((d|0)>=0){c=d;while(1){f=c;c=c-1|0;a=a+O[(h+160|0)+(f<<3)>>3];if(f){continue}break}}O[n>>3]=i?-a:a;a=O[h+160>>3]-a;c=1;if((d|0)>0){while(1){a=a+O[(h+160|0)+(c<<3)>>3];f=(c|0)!=(d|0);c=c+1|0;if(f){continue}break}}O[n+8>>3]=i?-a:a;Fa=h+560|0;d=l&7;break g}c=1;while(1){f=c;c=c+1|0;if(!J[(h+480|0)+(o-f<<2)>>2]){continue}break}f=d+f|0;while(1){i=d+q|0;d=d+1|0;O[(h+320|0)+(i<<3)>>3]=J[(w+d<<2)+60192>>2];c=0;a=0;if((q|0)>0){while(1){a=O[(c<<3)+v>>3]*O[(h+320|0)+(i-c<<3)>>3]+a;c=c+1|0;if((q|0)!=(c|0)){continue}break}}O[(d<<3)+h>>3]=a;if((d|0)<(f|0)){continue}break}d=f;continue}break}a=O[n>>3];if((k|0)<0){O[b>>3]=-a;O[b+8>>3]=-O[n+8>>3];d=0-d|0;break a}O[b>>3]=a;O[b+8>>3]=O[n+8>>3]}Fa=n+48|0;return d}function zF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,L=0,M=0,N=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;d=Fa-208|0;Fa=d;a:{if((b|0)>=7){Bb(a,26619,-1);break a}if(Nl(a,3415,J[c>>2],d+12|0)){break a}s=15;t=-1;y=21815;D=21821;E=21811;b:{switch(b-2|0){case 4:s=fb(J[c+20>>2]);case 3:t=fb(J[c+16>>2]);case 2:y=Wa(J[c+12>>2]);case 1:D=Wa(J[c+8>>2]);case 0:E=Wa(J[c+4>>2]);break;default:break b}}if(E?!y|!D:1){Qb(a);break a}if(!s){lb(a,30620,-1,0);break a}n=J[d+12>>2];if(Ul(a,n)){break a}H=J[n>>2];J[d+128>>2]=0;J[d+120>>2]=0;J[d+124>>2]=0;if(!J[n+16>>2]){lb(a,30620,0,0);break a}b=(s|0)<=-64?-64:s;b=(b|0)>=64?64:b;T=b-1|0;U=0-b|0;u=1;while(1){v=U;v=(s|0)>=0?(u+T|0)/(u|0)|0:v;z=0;F=0;G=0;A=0;B=0;c:{d:while(1){if((u|0)!=(z|0)){x=(d+16|0)+P(z,24)|0;b=x;J[b>>2]=0;J[b+4>>2]=0;J[b+16>>2]=0;J[b+20>>2]=0;J[b+8>>2]=0;J[b+12>>2]=0;r=0;I=-1;while(1){e:{f:{if(J[H+24>>2]>(r|0)){if((r|0)!=(t|0)&(t|0)>=0){break e}f=Ml(n,d+200|0,0);if(f){break c}b=Be(P(J[d+200>>2],40),0);J[d+152>>2]=b;if(!b){f=7;break c}J[d+144>>2]=v;J[d+140>>2]=r;J[d+156>>2]=-1;J[d+148>>2]=J[d+200>>2];J[d+136>>2]=n;f=dg(J[n+16>>2],121,d+136|0);q=J[d+152>>2];if(f){L=0;M=0;b=0;N=0;O=0;Q=0;w=0;break f}m=0;b=J[d+200>>2];g=(b|0)>0?b:0;b=0;while(1){if((b|0)==(g|0)){g=0;i=0;l=0;j=0;b=-1}else{h=J[(P(b,40)+q|0)+16>>2];e=b&63;c=e&31;if((e&63)>>>0>=32){e=1<<c;i=0}else{i=1<<c;e=i-1&1>>>32-c}c=h?i:0;F=c|F;G=G|(h?e:0);b=b+1|0;continue}break}g:while(1){w=b;O=l;Q=j;L=g;M=i;N=m;h:while(1){i:{j:{if(J[d+156>>2]>=0){b=0;c=J[d+148>>2];g=(c|0)>0?c:0;i=2147483647;q=J[d+152>>2];while(1){if((b|0)==(g|0)){break j}e=P(b,40)+q|0;if(J[e+16>>2]){h=J[e+8>>2];o=h;k=i>>>0>h>>>0;e=J[e+12>>2];h=i>>31;i=k&(e|0)<=(h|0)|(e|0)<(h|0)?o:i}b=b+1|0;continue}}b=0;J[d+156>>2]=0;while(1){c=J[d+148>>2];if((c|0)<=(b|0)){break i}c=J[d+152>>2]+P(b,40)|0;Fp(c+16|0,c+8|0,J[d+144>>2]);b=b+1|0;continue}}if((i|0)==2147483647){b=r;break f}e=(i-J[d+144>>2]|0)+1|0;J[d+156>>2]=e;h=i+1|0;b=0;while(1){if((b|0)>=(c|0)){break i}c=J[d+152>>2]+P(b,40)|0;Fp(c+16|0,c+8|0,h);Fp(c+32|0,c+24|0,e);b=b+1|0;c=J[d+148>>2];continue}}m=J[d+156>>2];R=m>>31;q=0;l=0;j=0;g=0;i=0;b=0;while(1){k:{if((c|0)>(q|0)){C=J[d+152>>2]+P(q,40)|0;e=J[C+32>>2];if(!e){break k}J[d+204>>2]=e;c=J[C+28>>2];e=c;h=J[C+24>>2];J[d+160>>2]=h;J[d+164>>2]=c;c=q&63;k=c&31;if((c&63)>>>0>=32){c=1<<k;o=0}else{o=1<<k;c=o-1&1>>>32-k}S=o;k=g|S;V=c;o=i|c;while(1){l:{c=J[d+144>>2]+m|0;p=c>>31;if(!(h>>>0<m>>>0&(e|0)<=(R|0)|(e|0)<(R|0)|((p|0)<=(e|0)&c>>>0<=h>>>0|(e|0)>(p|0)))){W=S&(g|A);X=V&(i|B);c=h-m|0;e=c&31;if((c&63)>>>0>=32){c=1<<e;g=0}else{g=1<<e;c=g-1&1>>>32-e}Y=g;g=c;c=J[C>>2];i=(c|0)>0?c:0;h=0;e=0;while(1){if(!(!e&(i|0)==(h|0))){p=h&31;if((h&63)>>>0>=32){c=0;p=g>>>p|0}else{c=g>>>p|0;p=((1<<p)-1&g)<<32-p|Y>>>p}l=p|l;j=c|j;h=h+1|0;e=h?e:e+1|0;continue}break}b=(W|X?1:1e3)+b|0;if(K[J[d+204>>2]]>=2){break l}i=o;g=k}c=J[d+148>>2];break k}Ej(d+204|0,d+160|0);h=J[d+160>>2];e=J[d+164>>2];g=k;i=o;continue}}if((b|0)<=(w|0)){continue h}continue g}q=q+1|0;continue}}}}z=z+1|0;A=A|J[x+8>>2];B=B|J[x+12>>2];continue d}Oa(q);if(f){break c}if((w|0)<=(I|0)){break e}c=x;J[c+16>>2]=O;J[c+20>>2]=Q;J[c+8>>2]=L;J[c+12>>2]=M;J[c+4>>2]=N;J[c>>2]=b;I=w}r=r+1|0;continue}}break}if(!(((A|0)!=(F|0)|(B|0)!=(G|0))&(u|0)!=4)){x=u-1|0;f=0;m=0;while(1){if(m>>>0>=u>>>0|f){break c}o=J[n>>2];J[d+188>>2]=0;b=(d+16|0)+P(m,24)|0;h=J[b+16>>2];e=J[b+20>>2];i=J[b+4>>2];b=J[b>>2]+1|0;k=Oe(J[n+12>>2],b);c=J[n+12>>2];m:{if(!k){f=(Og(c,b)|0)!=5?7:0;break m}w=Id(c,b);b=J[o+36>>2];r=J[b>>2];f=fg(b,J[n+20>>2],k,w,d+184|0);if(f){break m}c=0;s=J[d+184>>2];t=0;n:{o:while(1){f=0;while(1){if(f){break n}J[d+176>>2]=-1;J[d+172>>2]=0;J[d+168>>2]=0;p:{f=Ja[J[r+20>>2]](s,d+180|0,d+176|0,d+172|0,d+168|0,d+188|0)|0;if(f){if((f|0)!=101){break n}b=k+t|0;break p}b=J[d+188>>2];if((i|0)>(b|0)){continue o}q:{if(!c){l=0;j=0;r:{if(!(e|h)){h=0;e=0;break r}while(1){c=l;l=c+1|0;j=l?j:j+1|0;b=0;f=h;g=c&31;if((c&63)>>>0>=32){g=e>>>g|0}else{g=((1<<g)-1&e)<<32-g|f>>>g}if(!(g&1)){continue}break}while(1){g=b;b=b+1|0;f=h;l=(g^-1)+v|0;j=l&31;if((l&63)>>>0>=32){f=e>>>j|0}else{f=((1<<j)-1&e)<<32-j|f>>>j}if(!(f&1)){continue}break}g=c-g|0;if((g|0)<2){break r}c=J[d+172>>2];j=J[n+20>>2];J[d+136>>2]=0;l=J[o+36>>2];b=J[l>>2];f=fg(l,j,c+k|0,w-c|0,d+160|0);if(f){break q}g=((g|0)/2|0)+v|0;f=0;c=J[d+160>>2];s:{while(1){if(!f){if((g|0)<=J[d+136>>2]){Ja[J[b+16>>2]](c)|0;break s}else{J[d+200>>2]=0;J[d+196>>2]=0;J[d+192>>2]=0;f=Ja[J[b+20>>2]](c,d+204|0,d+200|0,d+196|0,d+192|0,d+136|0)|0;continue}}break}Ja[J[b+16>>2]](c)|0;if((f|0)!=101){break q}}b=J[d+136>>2]+(((f|0)!=0)-v|0)|0;c=(b|0)>0?b:0;i=c+i|0;b=c&31;if((c&63)>>>0>=32){c=0;h=e>>>b|0}else{c=e>>>b|0;h=((1<<b)-1&e)<<32-b|h>>>b}e=c}t:{u:{if(!(!m&(i|0)<=0)){f=cg(d+120|0,y,-1);break u}b=J[d+172>>2];if(!b){break t}f=cg(d+120|0,k,b)}c=1;if(f){continue}}c=1;b=J[d+188>>2];if((i|0)>(b|0)){continue o}}if((i+v|0)<=(b|0)){f=0;b=y;if((m|0)==(x|0)){break p}break n}f=0;if((b|0)>(i|0)){f=cg(d+120|0,k+t|0,J[d+172>>2]-t|0)}c=b-i|0;b=c&31;if((c&63)>>>0>=32){j=1<<b;c=0}else{c=1<<b;j=c-1&1>>>32-b}b=c&h;c=e&j;if(!(!(b|c)|f)){f=cg(d+120|0,E,-1)}v:{if(f){break v}g=d+120|0;j=J[d+172>>2];f=cg(g,j+k|0,J[d+168>>2]-j|0);if(f|!(b|c)){break v}f=cg(g,D,-1)}c=1;t=J[d+168>>2];continue}c=1;continue}break}break}f=cg(d+120|0,b,-1)}Ja[J[r+16>>2]](s)|0}m=m+1|0;continue}}u=u+1|0;continue}break}Se(H);if(f){Td(a,f);Oa(J[d+120>>2]);break a}lb(a,J[d+120>>2],-1,1)}Fa=d+208|0}function Hd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=Fa-128|0;Fa=h;J[b>>2]=0;J[b+4>>2]=0;a:{if(!c){break a}b:{if((d|0)==1){e=a;d=1;l=1;break b}e=3-d|0;c=c&-2;while(1){c:{if((c|0)<=(e|0)){l=1}else{if(!K[a+e|0]){break c}l=-100}c=e^1;e=(d&1)+a|0;d=2;break b}e=e+2|0;continue}}m=a+c|0;while(1){if(e>>>0>=m>>>0){break a}o=K[e|0];if(H[o+31216|0]&1){e=d+e|0;continue}break}a=((o|0)==45?d:(o|0)==43?d:0)+e|0;d:{e:{f:while(1){e=1;if(a>>>0>=m>>>0){break e}c=K[a|0];if(c-58>>>0>=4294967286){p=p+1|0;a=a+d|0;e=c<<24>>24;c=lJ(f,g,10,0);g=e+c|0;e=Ia+(e>>31)|0;f=g-48|0;c=(c>>>0>g>>>0?e+1|0:e)-(g>>>0<48)|0;g=c;if((c|0)==429496729&f>>>0<2576980376|c>>>0<429496729){continue}while(1){if(K[a|0]-58>>>0<4294967286|a>>>0>=m>>>0){continue f}n=n+1|0;a=a+d|0;continue}}break}g:{if((c|0)!=46){break g}l=l+1|0;while(1){a=a+d|0;if(m>>>0<=a>>>0){break g}c=K[a|0];if(c-58>>>0<4294967286){break g}if((g|0)==429496729&f>>>0>2576980375|g>>>0>429496729){continue}p=p+1|0;n=n-1|0;c=c<<24>>24;f=lJ(f,g,10,0);g=c+f|0;c=Ia+(c>>31)|0;c=f>>>0>g>>>0?c+1|0:c;f=g-48|0;g=c-(g>>>0<48)|0;continue}}if(a>>>0>=m>>>0){break e}h:{if((K[a|0]|32)!=101){q=1;break h}l=l+1|0;a=a+d|0;if(m>>>0<=a>>>0){break d}i:{j:{switch(K[a|0]-43|0){case 2:a=a+d|0;e=-1;break i;case 0:break j;default:break i}}a=a+d|0}while(1){if(a>>>0>=m>>>0){break h}c=K[a|0];if(c-58>>>0<4294967286){break h}i=(i|0)>=1e4?1e4:((c<<24>>24)+P(i,10)|0)-48|0;a=a+d|0;q=1;continue}}while(1){if(!(H[K[a|0]+31216|0]&1)|a>>>0>=m>>>0){break d}a=a+d|0;continue}}q=1}r=b;k:{if(f|g){e=P(e,i)+n|0;while(1){if(!((g|0)==429496729&f>>>0>2576980376|g>>>0>429496729|(e|0)<=0)){e=e-1|0;f=lJ(f,g,10,0);g=Ia;continue}break}while(1){c=oJ(f,g,10,0);d=Ia;if(!((lJ(c,d,10,0)|0)!=(f|0)|(Ia|0)!=(g|0)|(e|0)>=0)){e=e+1|0;f=c;g=d;continue}break}s=b;j=+(f>>>0)+ +(g>>>0)*4294967296;l:{if(!e){break l}m:{n:{if(K[65786]){i=Fa-16|0;Fa=i;o:{if(!(f|g)){f=0;g=0;c=0;b=0;break o}b=S(g);b=(b|0)==32?S(f)+32|0:b;Ud(i,f,g,0,0,112-(b^63)|0);d=0;f=d+J[i+8>>2]|0;b=(J[i+12>>2]^65536)+(16446-b<<16)|0;g=d>>>0>f>>>0?b+1|0:b;c=J[i+4>>2];b=J[i>>2]}J[h+96>>2]=b;J[h+100>>2]=c;J[h+104>>2]=f;J[h+108>>2]=g;Fa=i+16|0;f=J[h+104>>2];g=J[h+108>>2];b=J[h+96>>2];i=J[h+100>>2];if((e|0)<=0){break n}while(1)if(e>>>0<100){while(1)if(e>>>0<10){while(1){if((e|0)<=0){break m}je(h+32|0,b,i,f,g,0,0,0,1073889280);e=e-1|0;f=J[h+40>>2];g=J[h+44>>2];b=J[h+32>>2];i=J[h+36>>2];continue}}else{je(h+16|0,b,i,f,g,0,0,-234881024,1075849733);e=e-10|0;f=J[h+24>>2];g=J[h+28>>2];b=J[h+16>>2];i=J[h+20>>2];continue}}else{je(h,b,i,f,g,1280106687,-827280776,-765899721,1095443610);e=e-100|0;f=J[h+8>>2];g=J[h+12>>2];b=J[h>>2];i=J[h+4>>2];continue}}j=+(f>>>0)+ +(g>>>0)*4294967296;O[h+112>>3]=j;p:{if(j<0x10000000000000000&j>=0){c=~~j>>>0;if(R(j)>=1){b=~~(j>0?T(V(j*2.3283064365386963e-10),4294967295):W((j-+(~~j>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break p}c=0;b=0}d=b;q:{if((g|0)==(d|0)&c>>>0<=f>>>0|d>>>0<g>>>0){j=+(f-c>>>0)+ +(g-((c>>>0>f>>>0)+d|0)>>>0)*4294967296;break q}j=-(+(c-f>>>0)+ +(b-((c>>>0<f>>>0)+g|0)>>>0)*4294967296)}O[h+120>>3]=j;r:{if((e|0)>0){while(1)if(e>>>0<100){while(1)if(e>>>0<10){while(1){if((e|0)<=0){break r}ee(h+112|0,10,0);e=e-1|0;continue}}else{ee(h+112|0,1e10,0);e=e-10|0;continue}}else{ee(h+112|0,1e100,-15902891109759918e67);e=e-100|0;continue}}while(1)if((e|0)>-100){while(1)if((e|0)>-10){while(1){if((e|0)>=0){break r}ee(h+112|0,.1,-5551115123125783e-33);e=e+1|0;continue}}else{ee(h+112|0,1e-10,-3643219731549774e-42);e=e+10|0;continue}}else{ee(h+112|0,1e-100,-19991899802602883e-133);e=e+100|0;continue}}j=O[h+112>>3]+O[h+120>>3];C(+j);c=x(1)|0;b=x(0)|0;j=(c&2146435072)!=2146435072?j:c&1048575|b?Infinity:j;break l}while(1)if((e|0)>-100){while(1)if((e|0)>-10){while(1){if((e|0)>=0){break m}je(h+80|0,b,i,f,g,-1717986918,-1717986919,-1717986919,1073453465);e=e+1|0;f=J[h+88>>2];g=J[h+92>>2];b=J[h+80>>2];i=J[h+84>>2];continue}}else{je(h- -64|0,b,i,f,g,-2011384559,-1417843994,-40010789,1071495117);e=e+10|0;f=J[h+72>>2];g=J[h+76>>2];b=J[h+64>>2];i=J[h+68>>2];continue}}else{je(h+48|0,b,i,f,g,-61397127,-42290448,-297213870,1051901938);e=e+100|0;f=J[h+56>>2];g=J[h+60>>2];b=J[h+48>>2];i=J[h+52>>2];continue}}n=vj(b,i,f,g,-98454,-268435457,-1,1140785151);k=Fa-32|0;Fa=k;c=g&2147483647;e=c;d=e-1006698496|0;c=e-1140785152|0;s:{if((d|0)==(c|0)&0|c>>>0>d>>>0){d=f<<4|i>>>28;e=g<<4|f>>>28;c=i&268435455;f=c;if((c|0)==134217728&(b|0)!=0|c>>>0>134217728){c=e+1073741824|0;d=d+1|0;c=d?c:c+1|0;break s}c=e+1073741824|0;if(b|(f|0)!=134217728){break s}b=d&1;d=b+d|0;c=b>>>0>d>>>0?c+1|0:c;break s}if(!(!f&(e|0)==2147418112?!(b|i):e>>>0<2147418112)){d=f<<4|i>>>28;c=(g<<4|f>>>28)&524287|2146959360;break s}d=0;c=2146435072;if(e>>>0>1140785151){break s}c=0;e=e>>>16|0;if(e>>>0<15249){break s}c=g&65535|65536;Ud(k+16|0,b,i,f,c,e-15233|0);Wh(k,b,i,f,c,15361-e|0);b=J[k+8>>2];c=b;b=J[k+12>>2]<<4|c>>>28;e=c<<4;d=J[k+4>>2];i=d;d=d>>>28|e;c=b;i=i&268435455;b=J[k>>2]|(J[k+16>>2]|J[k+24>>2]|(J[k+20>>2]|J[k+28>>2]))!=0;if((i|0)==134217728&(b|0)!=0|i>>>0>134217728){d=d+1|0;c=d?c:c+1|0;break s}if(b|(i|0)!=134217728){break s}e=c;b=d;d=d+(d&1)|0;c=b>>>0>d>>>0?e+1|0:e}Fa=k+32|0;z(0,d|0);z(1,g&-2147483648|c);j=(t=Infinity,u=+B(),v=(n|0)>0,v?t:u)}O[s>>3]=j;if((o|0)!=45){break k}j=-j}else{j=(o|0)==45?-0:0}O[r>>3]=j}if(!(!q|(a|0)!=(m|0)|((p|0)<=0|(l|0)<=0))){i=l;break a}if(!(!q&(l|0)!=3|(l|0)<2)){i=-1;if((p|0)>0){break a}}i=0}Fa=h+128|0;return i}function Aj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=Fa-80|0;Fa=h;c=J[a>>2];if(K[c+87|0]){J[a+36>>2]=7}d=J[a+216>>2];if(d){while(1){b=d;d=J[b+4>>2];if(d){continue}break}mu(b);J[a+224>>2]=0;J[a+216>>2]=0}lu(a);fi(J[a+88>>2],J[a+20>>2]);while(1){b=J[a+220>>2];if(b){J[a+220>>2]=J[b+4>>2];e=b+88|0;f=e+P(J[b+60>>2],40)|0;d=0;while(1){if(J[b+64>>2]>(d|0)){i=J[f+(d<<2)>>2];if(i){Ri(J[b>>2],i)}d=d+1|0;continue}break}fi(e,J[b+60>>2]);Wk(J[J[b>>2]>>2],b+40|0,-1,0);Za(J[J[b>>2]>>2],b);continue}break}if(J[a+236>>2]){Wk(J[a>>2],a+236|0,-1,0)}a:{b:{if(!(K[a+152|0]&128)){break b}ku(a);b=0;e=J[a+36>>2];c:{d:{if(!e){break d}e:{e=e&255;if(e>>>0>13){break e}b=1;if(!(1<<e&9856)){break e}i=0;f=L[a+152>>1];if(!(!(f&64)|(e|0)!=9)){l=1;break c}if(!(!(f&32)|(e|0)!=13&(e|0)!=7)){i=2;break c}Tg(c,516);Dj(c);H[c+85|0]=1;J[a+40>>2]=0;J[a+44>>2]=0;l=1;if(!J[a+36>>2]){break d}break c}l=1;b=0;i=0;if(K[a+148|0]!=3){break c}}Qi(a,0);l=1;i=0}f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if(!(!K[c+85|0]|!J[c+408>>2]&J[c+384>>2]>0|J[c+192>>2]!=(!(K[a+152|0]&64)|0))){e=J[a+36>>2];if(!(K[a+148|0]!=3|b?e:0)){d=1;if(Qi(a,1)){b=787;if(!(K[a+152|0]&64)){break k}break a}b=J[c+32>>2];e=J[c+36>>2];if(e&2){J[c+32>>2]=b;J[c+36>>2]=e&-3;b=11;break k}f=J[c+408>>2];b=0;J[c+408>>2]=0;d=0;while(1){if(!(J[c+384>>2]<=(d|0)|b)){b=0;e=J[J[f+(d<<2)>>2]+8>>2];q:{if(!e){break q}g=J[J[e>>2]+60>>2];if(!g){break q}b=Ja[g|0](e)|0;bf(a,e)}d=d+1|0;continue}break}J[c+408>>2]=f;g=0;e=0;d=0;while(1){if(b){break l}if(J[c+20>>2]>(d|0)){b=0;j=J[c+16>>2]+(d<<4)|0;f=J[j+4>>2];if(!(!f|K[f+8|0]!=2)){b=J[f+4>>2];J[b+4>>2]=J[f>>2];b=J[b>>2];if(!(52>>>K[b+5|0]&1|K[j+8|0]==1|K[b+12|0])){e=!K[b+16|0]+e|0}g=1;b=Qu(b)}d=d+1|0;continue}break}r:{if(!g){break r}f=J[c+232>>2];if(!f){break r}b=531;if(Ja[f|0](J[c+228>>2])|0){break k}}b=0;s:{f=sv(J[J[c+16>>2]+4>>2]);t:{if(!Ya(f)){d=0;break t}d=0;if((e|0)>1){break s}}while(1){if(J[c+20>>2]<=(d|0)|b){break n}b=J[(J[c+16>>2]+(d<<4)|0)+4>>2];if(b){b=om(b,0)}else{b=0}d=d+1|0;continue}}g=J[c>>2];J[h+76>>2]=0;b=Ya(f);J[h+56>>2]=0;J[h+52>>2]=f;J[h+48>>2]=0;n=hb(c,17930,h+48|0);if(!n){b=7;break l}k=n+4|0;e=k+b|0;u:{while(1){v:{if(!d){break v}if(d>>>0>=101){J[h+16>>2]=k;Ac(13,8042,h+16|0);b=J[g+28>>2];if(!b){break u}Ja[b|0](g,k,0)|0;break u}if((d|0)!=1){break v}J[h+32>>2]=k;Ac(13,8494,h+32|0)}se(4,h+68|0);b=J[h+68>>2];J[h>>2]=b>>>8;J[h+4>>2]=b&255;wd(13,e,18732,h);b=Ja[J[g+32>>2]](g,k,0,h+72|0)|0;if(!b){d=d+1|0;if(J[h+72>>2]){continue}}break}if(b){break o}}d=0;b=ju(g,k,h+76|0,16406,0);if(b){break o}f=0;e=0;j=J[h+76>>2];w:{while(1){if(J[c+20>>2]<=(d|0)){break w}x:{b=J[(J[c+16>>2]+(d<<4)|0)+4>>2];y:{if(!b|K[b+8|0]!=2){break y}m=J[J[J[b+4>>2]>>2]+188>>2];if(!m){break y}b=(p=j,q=m,r=Ya(m)+1|0,s=f,t=e,o=J[J[j>>2]+12>>2],Ja[o](p|0,q|0,r|0,s|0,t|0)|0);m=Ya(m);if(b){break x}b=m+1|0;f=b+f|0;e=b>>>0>f>>>0?e+1|0:e}d=d+1|0;continue}break}Ch(j);e=J[g+28>>2];if(!e){break o}Ja[e|0](g,k,0)|0;break o}if(Ja[J[J[j>>2]+48>>2]](j)&1024){break p}b=Ja[J[J[j>>2]+20>>2]](j,2)|0;if(!b){break p}Ch(j);e=J[g+28>>2];if(!e){break o}Ja[e|0](g,k,0)|0;break o}if(!((e|0)!=17|J[c+184>>2]<2)){J[a+40>>2]=0;J[a+44>>2]=0;break j}Tg(c,0);J[a+40>>2]=0;J[a+44>>2]=0;break j}if(!l){break i}i=1;if(!J[a+36>>2]){break i}z:{switch(K[a+148|0]-2|0){default:Tg(c,516);Dj(c);i=0;break h;case 1:break i;case 0:break z}}i=2;break i}b=0;d=0;A:{while(1){if(b){break A}if(J[c+20>>2]>(d|0)){b=J[(J[c+16>>2]+(d<<4)|0)+4>>2];if(b){b=om(b,k)}else{b=0}d=d+1|0;continue}break}Ch(j);b=J[g+28>>2];if(b){b=Ja[b|0](g,k,1)|0}else{b=0}Za(c,n);if(b){break l}d=0;b=J[18291];if(b){Ja[b|0]()}while(1){if(J[c+20>>2]>(d|0)){b=J[(J[c+16>>2]+(d<<4)|0)+4>>2];if(b){Wj(b,1)}d=d+1|0;continue}break}b=J[18292];if(!b){break m}Ja[b|0]();break m}Ch(j)}Za(c,n);break l}d=0;while(1){if(b){break l}if(J[c+20>>2]<=(d|0)){break m}b=J[(J[c+16>>2]+(d<<4)|0)+4>>2];if(b){b=Wj(b,0)}else{b=0}d=d+1|0;continue}}fu(c,64);J[c+512>>2]=0;J[c+516>>2]=0;J[c+520>>2]=0;J[c+524>>2]=0;e=J[c+36>>2];J[c+32>>2]=J[c+32>>2]&-524289;J[c+36>>2]=e;J[c+24>>2]=J[c+24>>2]&-2;break j}d=5;if((b|0)!=5){break k}b=5;if(K[a+152|0]&64){break a}}Cm(c,b);J[a+36>>2]=b;Tg(c,0);J[a+40>>2]=0;J[a+44>>2]=0}J[c+508>>2]=0;b=0;if(l){break f}}if(!J[J[a>>2]+508>>2]|!J[a+48>>2]){break g}d=0;e=0;f=J[a+48>>2]-1|0;b=J[a>>2];j=(i|0)!=2;while(1){if(J[b+20>>2]>(e|0)){g=J[(J[b+16>>2]+(e<<4)|0)+4>>2];if(g){B:{if(!j){l=to(g,2,f);if(l){break B}}l=to(g,1,f)}d=d?d:l}e=e+1|0;continue}break}J[b+508>>2]=J[b+508>>2]-1;J[a+48>>2]=0;C:{D:{if(!d){if((i|0)==2){d=Pi(b,2,f);if(d){break D}}d=Pi(b,1,f)}if((i|0)!=2){break C}}e=J[a+76>>2];J[b+512>>2]=J[a+72>>2];J[b+516>>2]=e;e=J[a+84>>2];J[b+520>>2]=J[a+80>>2];J[b+524>>2]=e}if(!d){break g}b=J[a+36>>2];if(!((b&255)!=19?b:0)){J[a+36>>2]=d;Ua(c,J[a+124>>2]);J[a+124>>2]=0}Tg(c,516);Dj(c)}H[c+85|0]=1;J[a+40>>2]=0;J[a+44>>2]=0}b=i}if(!(K[a+152|0]&16)){break b}f=0;e=0;if((b|0)!=2){e=J[a+44>>2];b=e+J[c+116>>2]|0;f=J[a+40>>2];i=J[c+112>>2];d=f+i|0;J[c+112>>2]=d;J[c+116>>2]=d>>>0<i>>>0?b+1|0:b}J[c+104>>2]=f;J[c+108>>2]=e;J[a+40>>2]=0;J[a+44>>2]=0}J[c+184>>2]=J[c+184>>2]-1;b=L[a+152>>1];if(!(b&64)){J[c+192>>2]=J[c+192>>2]-1;b=L[a+152>>1]}if(b&128){J[c+188>>2]=J[c+188>>2]-1}H[a+151|0]=3;if(!K[c+87|0]){d=J[a+36>>2]==5?5:0;break a}J[a+36>>2]=7;d=0}Fa=h+80|0;return d}function TF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Fa-48|0;Fa=h;o=J[a+4>>2];p=101;a:{while(1){g=J[a+12>>2];j=J[a+8>>2];if((g|0)>=(j|0)){break a}b:{while(1){i=j;if((g|0)==(i|0)){break b}i=H[g+o|0];if(!(i&128|(K[i+56160|0]?(i|0)>=48:0))){g=g+1|0;J[a+12>>2]=g;continue}break}i=g}m=i;i=(g|0)>(j|0)?g:j;c:{while(1){if((g|0)==(i|0)){break c}j=H[g+o|0];if(!(!(j&128)&(!K[j+56160|0]|(j|0)<48))){g=g+1|0;J[a+12>>2]=g;continue}break}i=g}q=(i|0)<=(m|0);if(q){continue}k=J[a+20>>2];l=i-m|0;if((l|0)>J[a+24>>2]){g=l+20|0;J[a+24>>2]=g;k=Bc(k,g,g>>31);if(!k){p=7;break a}J[a+20>>2]=k}r=m+o|0;d:{e:{if(l-21>>>0<=4294967277){break e}g=0;i=22;while(1){f:{if((g|0)!=(l|0)){j=K[g+r|0];if((j-65&255)>>>0<=25){j=j|32;break f}if((j-97&255)>>>0<26){break f}break e}H[h+39|0]=0;H[h+40|0]=0;H[h+41|0]=0;H[h+42|0]=0;H[h+43|0]=0;g=h+i|0;J[h+12>>2]=g+17;g:{if(K[g+17|0]!=115){break g}g=h+12|0;if(Jb(g,4243,4466,0)){break g}if(Jb(g,12150,12169,0)){break g}if(Jb(g,4466,4466,0)){break g}J[h+12>>2]=J[h+12>>2]+1}g=J[h+12>>2];i=h+12|0;h:{if(Jb(i,14633,14634,108)){break h}i:{if(!Jb(i,12124,30620,109)){if(!Jb(i,14694,30620,109)){break h}if((g|0)!=J[h+12>>2]){break i}break h}if((g|0)==J[h+12>>2]){break h}}g=h+12|0;if(Jb(g,18176,13203,0)){break h}if(Jb(g,18098,14405,0)){break h}if(Jb(g,12083,12832,0)){break h}j:{g=J[h+12>>2];if(!Re(g)){break j}i=K[g|0];if((i|0)!=K[g+1|0]){break j}i=i-108|0;if(1<<i&16513?i>>>0<=14:0){break j}J[h+12>>2]=g+1;break h}if(!Yx(g)){break h}if(!Xx(g)){break h}g=g-1|0;J[h+12>>2]=g;H[g|0]=101}g=J[h+12>>2];k:{if(K[g|0]!=121){break k}if(!Zx(g+1|0)){break k}H[g|0]=105}l:{m:{switch(H[g+1|0]-97|0){case 0:g=h+12|0;if(Jb(g,18148,13203,108)){break l}Jb(g,3105,10785,108);break l;case 2:g=h+12|0;if(Jb(g,13848,14737,108)){break l}Jb(g,18179,14746,108);break l;case 4:Jb(h+12|0,12073,12832,108);break l;case 6:Jb(h+12|0,11578,12436,108);break l;case 11:g=h+12|0;if(Jb(g,18097,14405,108)){break l}if(Jb(g,18275,11854,108)){break l}if(Jb(g,13805,2986,108)){break l}if(Jb(g,14099,14844,108)){break l}Jb(g,9982,3743,108);break l;case 14:g=h+12|0;if(Jb(g,12078,12832,108)){break l}if(Jb(g,18150,13203,108)){break l}Jb(g,18137,13203,108);break l;case 18:g=h+12|0;if(Jb(g,18292,11854,108)){break l}if(Jb(g,12092,12956,108)){break l}if(Jb(g,12585,11562,108)){break l}Jb(g,9974,3743,108);break l;case 19:break m;default:break l}}g=h+12|0;if(Jb(g,18286,11854,108)){break l}if(Jb(g,12086,12956,108)){break l}Jb(g,18101,14405,108)}n:{o:{p:{q:{r:{g=H[J[h+12>>2]];switch(g-105|0){case 1:case 2:break n;case 3:break p;case 0:break q;default:break r}}if((g|0)==115){break o}if((g|0)!=101){break n}g=h+12|0;if(Jb(g,12160,17899,108)){break n}if(Jb(g,18142,30620,108)){break n}Jb(g,18280,11854,108);break n}Jb(h+12|0,12154,17899,108);break n}g=h+12|0;if(Jb(g,12166,17899,108)){break n}Jb(g,12589,30620,108);break n}Jb(h+12|0,11294,30620,108)}s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{g=J[h+12>>2];switch(H[g+1|0]-97|0){case 21:case 25:break t;case 20:break u;case 19:break v;case 18:break w;case 14:break x;case 13:break y;case 11:break z;case 8:break A;case 4:break B;case 2:break C;case 0:break D;default:break s}}if(K[g|0]!=108){break s}g=g+2|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}if(K[g|0]!=101|K[g+2|0]!=110){break s}E:{switch(K[g+3|0]-97|0){case 0:case 4:break E;default:break s}}g=g+4|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}if(K[g|0]!=114){break s}g=g+2|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}if(K[g|0]!=99){break s}g=g+2|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}if(K[g|0]!=101|K[g+2|0]!=98|(K[g+3|0]|8)!=105){break s}g=g+4|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}if(K[g|0]!=116){break s}F:{switch(K[g+2|0]-97|0){case 0:g=g+3|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s;case 4:break F;default:break s}}g=h+12|0;if(Jb(g,13894,30620,110)){break s}if(Jb(g,11493,30620,110)){break s}Jb(g,13807,30620,110);break s}if(K[g|0]==117){g=g+2|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}if((K[g+3|0]-115&255)>>>0>1){break s}Jb(h+12|0,12120,30620,110);break s}if(K[g|0]!=109|K[g+2|0]!=105){break s}g=g+3|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}g=h+12|0;if(Jb(g,18156,30620,110)){break s}Jb(g,12100,30620,110);break s}if(K[g|0]!=115|K[g+2|0]!=111){break s}g=g+3|0;if(!Xd(g)){break s}J[h+12>>2]=g;break s}if(K[g|0]!=101|K[g+2|0]!=105){break s}g=g+3|0;if(!Xd(g)){break s}J[h+12>>2]=g}g=J[h+12>>2];G:{if(K[g|0]!=101){break G}i=g+1|0;if(!Xd(i)){if(!Yx(i)){break G}if(Xx(i)){break G}}J[h+12>>2]=i;g=i}if(!(!Xd(g)|K[g|0]!=108|K[g+1|0]!=108)){g=g+1|0;J[h+12>>2]=g}j=ob(g);J[c>>2]=j;i=0;while(1){H[j+k|0]=i;i=K[g|0];if(!i){break d}j=j-1|0;g=g+1|0;continue}}H[(h+16|0)+i|0]=j;i=i-1|0;g=g+1|0;continue}}g=0;i=0;j=(l|0)>0?l:0;while(1){if((g|0)!=(j|0)){n=K[g+r|0];s=(n-65&255)>>>0<26;H[g+k|0]=s?n|32:n;i=s?i:(n-48&255)>>>0<10?1:i;g=g+1|0;continue}break}i=i?3:10;if(i<<1<(l|0)){g=l-i|0;while(1){if((g|0)<(l|0)){H[i+k|0]=K[g+k|0];i=i+1|0;g=g+1|0;continue}break}j=i}H[j+k|0]=0;J[c>>2]=j}J[b>>2]=J[a+20>>2];J[d>>2]=m;J[e>>2]=J[a+12>>2];g=J[a+16>>2];J[a+16>>2]=g+1;J[f>>2]=g;if(q){continue}break}p=0}Fa=h+48|0;return p|0}function qd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;c=K[a+44|0];w=J[a+4>>2];l=J[a>>2];u=J[l>>2];f=J[l+8>>2];x=J[f+108>>2];while(1){if((c|0)>0){p=c-1|0;d=P(p,96)+a|0;b=J[d+816>>2];if(b){cb(f,J[d+784>>2]);J[d+784>>2]=0;J[b+16>>2]=J[f+108>>2];Pa(f,67,J[b+8>>2],J[b+12>>2],1);v=v+1|0}i=J[d+840>>2];a:{if(K[d+821|0]!=187){e=0;b:{if(!(K[i+41|0]&2)|(K[a+47|0]!=2|K[a+44|0]!=(c|0))){break b}c=J[i+32>>2];if(!(K[c+55|0]&128)){break b}b=L[i+30>>1];if(!b|I[J[c+8>>2]+(b<<1)>>1]<36){break b}e=J[l+44>>2]+1|0;c=0;while(1){if((b|0)!=(c|0)){Pa(f,94,J[d+768>>2],c,c+e|0);c=c+1|0;continue}break}J[l+44>>2]=(b+J[l+44>>2]|0)+1;e=bb(f,K[d+821|0]==38?21:24,J[d+768>>2],0,e,b);Na(f,9,1,J[d+828>>2])}c=J[d+784>>2];if(c){cb(f,c)}Pa(f,K[d+821|0],J[d+824>>2],J[d+828>>2],K[d+822|0]);c=J[f+108>>2];if((c|0)>0){I[(J[f+104>>2]+P(c,20)|0)-18>>1]=K[d+823|0]}if(J[d+796>>2]){cb(f,J[d+800>>2]);Na(f,61,J[d+796>>2],J[d+828>>2]-1|0)}if(!e){break a}J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(e,20)|0)+8>>2]=J[f+108>>2];break a}c=J[d+784>>2];if(!c){break a}cb(f,c)}c:{if(!(K[i+41|0]&8)|J[d+832>>2]<=0){break c}cb(f,J[d+776>>2]);e=J[d+832>>2];c=J[d+836>>2]+P(e,20)|0;while(1){if((e|0)<=0){break c}m=c-16|0;b=c-20|0;k=K[J[f>>2]+87|0];if(k){g=73192}else{g=(J[f+104>>2]+P(J[m>>2],20)|0)+20|0}h=J[f+108>>2];J[g+8>>2]=h;g=c-4|0;if(K[g|0]!=187){j=c-8|0;d:{if(!J[j>>2]){break d}k=J[i+40>>2]&263168;if(J[d+760>>2]){Na(f,25,J[b>>2],(((k|0)==262144)+h|0)+2|0)}if((k|0)!=262144){break d}bb(f,26,J[d+768>>2],J[f+108>>2]+2|0,J[c-12>>2],J[j>>2]);if(K[J[f>>2]+87|0]){c=73192}else{c=(J[f+104>>2]+P(J[m>>2],20)|0)+20|0}J[c+8>>2]=J[f+108>>2]}Na(f,K[g|0],J[b>>2],J[m>>2]);k=K[J[f>>2]+87|0];h=J[f+108>>2]}if(k&255){c=73192}else{c=(J[f+104>>2]+P(J[m>>2],20)|0)-20|0}J[c+8>>2]=h;e=e-1|0;c=b;continue}}cb(f,J[d+772>>2]);c=J[d+816>>2];if(c){Pa(f,67,J[c+8>>2],0,1)}c=J[d+780>>2];if(c){Lb(f,c);c=J[f+108>>2];e:{if(K[J[f>>2]+87|0]){J[18300]=c;b=73192;break e}b=J[f+104>>2]+P(J[d+780>>2],20)|0;J[b+8>>2]=c;b=b-40|0}J[b+8>>2]=c}c=J[d+808>>2];if(c){Na(f,61,J[d+804>>2]>>>1|0,c)}c=p;e=J[d+760>>2];if(!e){continue}b=J[i+40>>2];p=Va(f,59,e);if(!(b&64)){Va(f,136,J[d+764>>2])}e=b&8192;f:{g:{h:{if(!(b&512)){if(!e){break f}if(J[d+832>>2]){break h}break f}if(!e){break g}}b=J[d+832>>2];Pa(f,101,J[d+768>>2],J[b+44>>2],Ab(u,J[b+24>>2]));zd(l,b)}Va(f,136,J[d+768>>2])}i:{if(K[d+821|0]==67){Na(f,10,J[d+824>>2],J[d+788>>2]);break i}Lb(f,J[d+788>>2])}e=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(p,20)|0)+8>>2]=e;continue}break}p=l+72|0;c=a+760|0;k=0;while(1){if(K[a+44|0]>k>>>0){j:{if(J[c+56>>2]){b=0;g=0;j=0;i=Fa-80|0;Fa=i;q=J[c+80>>2];m=J[c+56>>2];d=J[a>>2];h=J[d+8>>2];s=J[a+4>>2];o=K[c+60|0];r=s+(o<<6)|0;J[i>>2]=J[J[r+24>>2]>>2];cc(d,1,7392,i);y=(k|0)>0?k:0;while(1){if((b|0)!=(y|0)){n=P(b,96)+a|0;t=J[n+840>>2];e=J[t+8>>2];t=J[t+12>>2];Va(h,136,J[n+764>>2]);n=J[n+768>>2];if(n){Va(h,136,n)}g=e|g;j=j|t;b=b+1|0;continue}break}b=s+(o<<6)|0;n=b+8|0;e=0;k:{if(K[b+44|0]&64){break k}o=(J[q+8>>2]|g)^-1;j=(j|J[q+12>>2])^-1;b=0;while(1){if(J[a+92>>2]<=(b|0)){break k}g=J[a+104>>2]+P(b,48)|0;if(L[g+12>>1]!=8192?L[g+10>>1]&32770:0){break k}l:{if(J[g+40>>2]&o|j&J[g+44>>2]){break l}g=J[g>>2];if(K[g+4|0]&3){break l}e=Od(d,e,eb(J[d>>2],g,0))}b=b+1|0;continue}}J[i+8>>2]=1;J[i+12>>2]=1;Qa(i+16|0,n,64);H[i+52|0]=0;H[d+26|0]=K[d+26|0]+1;q=Ye(d,i+8|0,e,0,0,0,4096,0);if(q){n=J[c+4>>2];b=J[d+44>>2];g=b+1|0;J[d+44>>2]=g;s=J[q+28>>2];m:{o=J[r+24>>2];if(!(K[o+28|0]&128)){Na(h,135,n,g);j=1;break m}r=ec(o);j=L[r+50>>1];J[d+44>>2]=b+j;b=0;while(1){if((b|0)==(j|0)){break m}td(h,o,n,I[J[r+4>>2]+(b<<1)>>1],b+g|0);b=b+1|0;continue}}b=bb(h,64,J[m+4>>2],0,g,j);bb(h,29,J[m>>2],s,g,j);g=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(b,20)|0)+8>>2]=g;Na(h,10,J[m+8>>2],J[m+12>>2]);qd(q)}_a(J[d>>2],e);hh(d);H[d+26|0]=K[d+26|0]-1;Fa=i+80|0;break j}b=(K[c+60|0]<<6)+w|0;if(K[b+45|0]&32){Qz(l,J[c+32>>2],J[c+4>>2],J[b+40>>2],0);break j}d=J[b+24>>2];g=K[u+87|0];b=J[c+80>>2];e=J[b+40>>2];n:{if(e&576){b=b+32|0;break n}if(!(e&8192)){break j}b=c+72|0}i=J[b>>2];if(g|!i){break j}b=x;b=!K[a+46|0]|K[J[i+12>>2]+28|0]&128?b:J[a+56>>2];o:{if(!(K[i+56|0]&16)){break o}e=p;while(1){e=J[e>>2];if(!e){break o}if(J[e+8>>2]==J[c+8>>2]){J[e+4>>2]=-1;J[e+8>>2]=-1}e=e+20|0;continue}}e=73192;g=b;b=J[c+32>>2]+1|0;h=P(g-b|0,20);e=K[J[f>>2]+87|0]?e:J[f+104>>2]+P(b,20)|0;m=h+e|0;g=J[c+4>>2];while(1){p:{if((g|0)!=J[e+4>>2]){break p}q:{b=K[e|0];if((b|0)!=20){if((b|0)!=135){if((b|0)!=94){break p}h=J[e+8>>2];j=J[d+28>>2];if(j&128){h=L[J[ec(d)+4>>2]+(h<<1)>>1];break q}b=0;if(!(j&32)){break q}while(1){if(h<<16>>16<(b|0)){break q}h=(L[(J[d+4>>2]+P(b,12)|0)+10>>1]>>>5&1)+h|0;b=b+1|0;continue}}b=J[c+8>>2];H[e|0]=142;J[e+4>>2]=b;break p}J[e+4>>2]=J[c+8>>2];break p}b=Le(i,h<<16>>16);if((b|0)<0){break p}J[e+8>>2]=b&65535;J[e+4>>2]=J[c+8>>2]}e=e+20|0;if(m>>>0>e>>>0){continue}break}}c=c+96|0;k=k+1|0;continue}break}cb(f,J[a+32>>2]);I[l+156>>1]=J[a+36>>2];Uz(u,a);H[l+26|0]=K[l+26|0]-v}function Et(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=Fa+-64|0;Fa=f;J[f+48>>2]=d;o=J[a+8>>2];a:{b:{if(!(K[a+1|0]&32)){break b}e=gg(J[o+4>>2],J[a+64>>2],a);J[f+52>>2]=e;if(e){break a}if(!d|H[a+68|0]>=0){break b}e=Ta(79384);break a}if(K[a|0]>=3){e=Jf(a);J[f+52>>2]=e;if(e&-17){break a}}c:{e=J[a+112>>2];if(!e){if(K[o+11|0]){ko(o,J[a+64>>2],J[b+8>>2],J[b+12>>2],0)}if(!(!(K[a+1|0]&2)|(J[b+8>>2]!=J[a+32>>2]|J[b+12>>2]!=J[a+36>>2]))){if(!L[a+50>>1]|J[a+44>>2]!=(J[b+32>>2]+J[b+28>>2]|0)){break c}e=qt(a,b);break a}if(d){break c}e=qh(a,J[b+8>>2],J[b+12>>2],c>>>3&1,f+48|0);J[f+52>>2]=e;if(e){break a}break c}if(!(c&2|d)){d=L[b+24>>1];d:{if(d){J[f+8>>2]=e;e=J[b+20>>2];H[f+34|0]=0;H[f+30|0]=0;I[f+28>>1]=d;J[f+12>>2]=e;e=sh(a,f+8|0,f+48|0);break d}e=pt(a,J[b>>2],J[b+8>>2],J[b+12>>2],c>>>3&1,f+48|0)}J[f+52>>2]=e;if(e){break a}d=J[f+48>>2]}if(d){break c}Eg(a);d=J[a+32>>2];if((d|0)!=J[b+8>>2]|J[a+36>>2]!=J[b+12>>2]){break c}b=J[b>>2];J[f+40>>2]=0;J[f+36>>2]=d;J[f+24>>2]=b;e=qt(a,f+8|0);break a}g=J[a+116>>2];if(J[g+20>>2]<0){if(K[a|0]>=2){e=Ta(79507);break a}e=If(g);J[f+52>>2]=e;if(e){break a}}d=J[o+4>>2];k=J[d+84>>2];e:{f:{if(c&128){J[f+52>>2]=0;e=J[d+88>>2];m=(e|0)<=4?4:e;if(!K[d+17|0]|m>>>0<=L[g+14>>1]){break f}Ja[J[g+80>>2]](g,k,f+8|0);if(J[f+20>>2]==L[f+24>>1]){break f}vd(J[o+4>>2],ab((k+m|0)-4|0),3,J[g+4>>2],f+52|0);e=J[f+52>>2];if(!e){break f}break a}e=K[g+10|0];g:{if(K[g+1|0]){p=J[b+16>>2];h=J[b+28>>2];d=h+J[b+32>>2]|0;h:{if(d>>>0<=127){H[e+k|0]=d;j=1;break h}j=af(e+k|0,d,d>>31)&255}e=j+e|0;e=af(e+k|0,J[b+8>>2],J[b+12>>2])+e|0;break g}p=J[b>>2];d=J[b+8>>2];h=d;i:{if(d>>>0<=127){H[e+k|0]=d;j=1;break i}j=af(e+k|0,d,d>>31)&255}e=j+e|0}l=e+k|0;i=L[g+14>>1];if((i|0)>=(d|0)){Sa(Qa(l,p,h)+h|0,0,d-h|0);d=d+e|0;m=(d|0)<=4?4:d;break f}n=J[g+52>>2];m=J[n+40>>2];j=L[g+16>>1];J[f+60>>2]=0;r=j;j=j+((d-j>>>0)%(m-4>>>0)|0)|0;i=(i|0)<(j|0)?r:j;e=e+i|0;j=e+k|0;m=e+4|0;while(1){e=(d|0)<(i|0)?d:i;j:{if((h|0)>=(e|0)){Qa(l,p,e);break j}if((h|0)>0){Qa(l,p,h);e=h;break j}Sa(l,0,e)}d=d-e|0;if((d|0)>0){h=h-e|0;p=e+p|0;l=e+l|0;i=i-e|0;if(i){continue}J[f+56>>2]=0;l=J[f+60>>2];e=l;if(K[n+17|0]){r=J[16608];while(1){i=e;e=e+1|0;if((e|0)==(Ld(n,e)|0)|(i|0)==((r>>>0)/M[n+36>>2]|0)){continue}break}J[f+60>>2]=e}e=cf(n,f+56|0,f+60|0,e,0);J[f+8>>2]=e;k:{if(!(!K[n+17|0]|e)){i=J[f+60>>2];vd(n,i,l?4:3,l,f+8|0);e=J[f+8>>2];if(!e){break k}zb(J[f+56>>2]);break e}if(e){break e}i=J[f+60>>2]}e=j;j=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);H[e|0]=j;H[e+1|0]=j>>>8;H[e+2|0]=j>>>16;H[e+3|0]=j>>>24;zb(q);q=J[f+56>>2];j=J[q+56>>2];e=j;H[e|0]=0;H[e+1|0]=0;H[e+2|0]=0;H[e+3|0]=0;i=J[n+40>>2]-4|0;l=J[q+56>>2]+4|0;continue}break}zb(q)}I[a+50>>1]=0;d=L[a+70>>1];e=J[f+48>>2];l:{if(!e){if(L[g+24>>1]<=d>>>0){e=Ta(79546);break a}e=Pb(J[g+72>>2]);if(e){break a}e=J[g+64>>2]+(d<<1)|0;e=J[g+56>>2]+(L[g+26>>1]&(K[e|0]<<8|K[e+1|0]))|0;if(!K[g+8|0]){h=K[e|0]|K[e+1|0]<<8|(K[e+2|0]<<16|K[e+3|0]<<24);H[k|0]=h;H[k+1|0]=h>>>8;H[k+2|0]=h>>>16;H[k+3|0]=h>>>24}h=f+8|0;Ja[J[g+80>>2]](g,e,h);if(J[f+20>>2]!=L[f+24>>1]){j=ho(g,e,h)}else{j=0}J[f+52>>2]=j;H[a+1|0]=K[a+1|0]&251;h=L[f+26>>1];if(!((h|0)!=(m|0)|J[f+20>>2]!=L[f+24>>1]|(L[g+16>>1]<=(m|0)?K[J[o+4>>2]+17|0]:0))){if(e>>>0<(J[g+56>>2]+K[g+9|0]|0)+10>>>0){e=Ta(79573);break a}if(M[g+60>>2]<e+m>>>0){e=Ta(79576);break a}Qa(e,k,m);e=0;break a}Ok(g,d,h,f+52|0);e=J[f+52>>2];if(!e){break l}break a}if(!L[g+24>>1]|(e|0)>=0){break l}d=d+1|0;I[a+70>>1]=d;H[a+1|0]=K[a+1|0]&253;d=d&65535}m:{n:{o:{n=m+2|0;p:{if((n|0)>J[g+20>>2]){e=K[g+12|0];H[g+12|0]=e+1;J[((e<<2)+g|0)+36>>2]=k;I[((e<<1)+g|0)+28>>1]=d;break p}e=Pb(J[g+72>>2]);if(e){break m}e=K[g+9|0];j=J[g+56>>2];J[f+8>>2]=0;h=e+j|0;i=K[h+5|0]<<8|K[h+6|0];l=L[g+18>>1]+(L[g+24>>1]<<1)|0;q:{if(i>>>0<l>>>0){e=71918;if(i){break n}i=65536;if(J[J[g+52>>2]+40>>2]==65536){break q}break n}e=71921;if(J[J[g+52>>2]+40>>2]<(i|0)){break n}}r:{s:{t:{if(!K[h+2|0]){if(!K[h+1|0]){break s}if(l+2>>>0<=i>>>0){break t}break s}if(l+2>>>0>i>>>0){break s}}e=go(g,m,f+8|0);if(e){e=e-j|0;if((l|0)>=(e|0)){break o}i=e>>>8|0;break r}e=J[f+8>>2];if(e){break m}}if((l+n|0)>(i|0)){e=J[g+20>>2]-n|0;e=fo(g,(e|0)>=4?4:e);if(e){break m}i=((K[h+6|0]|K[h+5|0]<<8)-1&65535)+1|0}e=i-m|0;i=e<<8|(e&65280)>>>8;H[h+5|0]=i;H[h+6|0]=i>>>8;i=e>>>8|0}J[g+20>>2]=J[g+20>>2]-(n&65535);Qa(e+j|0,k,m);h=J[g+64>>2]+(d<<1)|0;Dc(h+2|0,h,L[g+24>>1]-d<<1);H[h+1|0]=e;H[h|0]=i;I[g+24>>1]=L[g+24>>1]+1;e=j+K[g+9|0]|0;d=K[e+4|0]+1|0;H[e+4|0]=d;if((d|0)!=(d&255)){d=j+K[g+9|0]|0;H[d+3|0]=K[d+3|0]+1}if(!K[J[g+52>>2]+17|0]){break p}J[f+8>>2]=0;Ti(g,g,k,f+8|0);e=J[f+8>>2];if(e){break m}}e=0;break m}e=Ta(71938);break m}e=Ta(e)}if(!K[g+12|0]){break a}H[a+1|0]=K[a+1|0]&253;e=eo(a);H[J[a+116>>2]+12|0]=0;H[a|0]=1;if(!(c&2)|e){break a}Eh(a);e=0;u:{if(!J[a+112>>2]){break u}c=Yb(J[b+8>>2],J[b+12>>2]);J[a+16>>2]=c;if(!c){e=7;break u}Qa(c,J[b>>2],J[b+8>>2])}H[a|0]=3;c=J[b+12>>2];J[a+56>>2]=J[b+8>>2];J[a+60>>2]=c;break a}zb(q)}Fa=f- -64|0;return e}function bj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;m=Fa-112|0;Fa=m;a:{b:{c:{if(b){j=K[b|0];if(!Kc(b,23104)){g=!j;break c}if(j){break b}}g=1;if(K[c+86|0]!=2){break b}}o=1;p=e|2;break a}j=f&128;o=j>>>7|0;p=j>>>6|e}h=7;j=od(48,0);d:{if(!j){break d}J[j>>2]=c;H[j+8|0]=0;J[j+36>>2]=1;J[j+32>>2]=j;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{l=(f&256)>>>8|0?g|o?f&-769|512:f:f;if(!(!(l&64)&o|g|!(l&131072))){f=J[a+8>>2]+1|0;g=Ya(b)+1|0;e=Yb((f|0)>(g|0)?f:g,0);H[j+9|0]=1;if(!e){break e}p:{if(o){Qa(e,b,g);break p}H[e|0]=0;h=Ja[J[a+36>>2]](a,b,f,e)|0;if((h|512)==512){break p}Oa(e);break e}f=73160;q:{while(1){f=J[f>>2];if(!f){break q}r:{g=J[f>>2];if(!(Kc(e,J[g+184>>2])|J[g>>2]!=(a|0))){g=J[c+20>>2];while(1){if((g|0)<=0){break r}g=g-1|0;k=J[(J[c+16>>2]+(g<<4)|0)+4>>2];if(!k|J[k+4>>2]!=(f|0)){continue}break}Oa(e);Oa(j);h=19;break d}f=f+72|0;continue}break}J[j+4>>2]=f;J[f+68>>2]=J[f+68>>2]+1}Oa(e);if(f){break o}}J[m+16>>2]=0;J[m+20>>2]=0;f=od(92,0);if(!f){h=7;break g}J[m+108>>2]=4096;i=J[a+4>>2];e=0;J[f>>2]=0;q=p&2;if(q){if(!b){s=1;g=1;break l}if(!K[b|0]){e=b;g=1;break l}n=Ob(0,b);if(!n){break n}s=1;u=1;k=Ya(n);break k}if(!b){s=1;break m}if(!K[b|0]){e=b;break m}g=J[a+8>>2]+1|0;e=g<<1;n=Yb(e,e>>31);if(!n){break n}H[n|0]=0;h=l&16777216;e=Ja[J[a+36>>2]](a,b,g,n)|0;k=Ya(n);r=(Ya(b)+b|0)+1|0;g=r;while(1){if(K[g|0]){g=(ob(g)+g|0)+1|0;g=(ob(g)+g|0)+1|0;continue}break}h=(e|0)==512?h?1550:0:e;if(!h){if(J[a+8>>2]>=(k+8|0)){e=b;g=(g-r|0)+1|0;break j}h=de(61477)}Oa(n);break h}if(!K[j+9|0]){break f}break i}h=7;break h}g=0}u=g;k=0}g=1}h=7;t=((i|0)<=64?64:i)+7&2147483640;i=g;g=od((((P(k,3)+(t<<1)|0)+g|0)+(J[a+4>>2]+7&-8)|0)+322|0,0);if(!g){Ua(0,n);break h}h=g+296|0;J[g+64>>2]=h;J[g+228>>2]=g+240;h=h+(J[a+4>>2]+7&-8)|0;J[g+72>>2]=h;h=h+t|0;J[g+68>>2]=h;h=h+t|0;H[h|0]=g;H[h+1|0]=g>>>8;H[h+2|0]=g>>>16;H[h+3|0]=g>>>24;h=h+8|0;J[g+184>>2]=h;s:{if(k){h=Qa(h,n,k)+k|0;t:{if(r){i=Qa(h+1|0,r,i)+i|0;break t}i=h+2|0}J[g+188>>2]=i;i=Qa(i,n,k)+k|0;H[i|0]=45;H[i+1|0]=106;H[i+2|0]=111;H[i+3|0]=117;H[i+4|0]=114;H[i+5|0]=110;H[i+6|0]=97;H[i+7|0]=108;i=i+9|0;J[g+236>>2]=i;k=Qa(i,n,k)+k|0;H[k|0]=45;H[k+1|0]=119;H[k+2|0]=97;H[k+3|0]=108;Ua(0,n);break s}J[g+236>>2]=0;J[g+188>>2]=0}J[g+152>>2]=l;J[g>>2]=a;k=0;u:{v:{w:{if(!(!K[e|0]|s)){J[m+104>>2]=0;h=Ja[J[a+24>>2]](a,J[g+184>>2],J[g+64>>2],l&17334143,m+104|0)|0;a=1;e=J[m+104>>2];k=e>>>7&1;H[g+16|0]=k;if(h){break v}l=e&1;e=J[g+64>>2];i=J[e>>2];if(i){a=!(Ja[J[i+48>>2]](e)&8192)}x:{if(l){break x}So(g);e=J[g+156>>2];if(e>>>0<=M[m+108>>2]){break x}if(e>>>0>=8193){J[m+108>>2]=8192;break x}J[m+108>>2]=e}H[g+13|0]=Rk(J[g+184>>2],11903,0);y:{if(!a){break y}if(Rk(J[g+184>>2],14103,0)){break y}a=0;break w}l=1}H[g+13|0]=1;H[g+17|0]=1;H[g+18|0]=4;l=l&1;a=1}h=Nh(g,m+108|0,-1);if(h){break v}h=J[m+108>>2];i=Sa(J[g+228>>2],0,56);J[i+48>>2]=g;J[i+44>>2]=q?0:19;e=2;H[i+41|0]=2;H[i+40|0]=!(q>>>1|0);J[i+32>>2]=1;J[i+36>>2]=88;J[i+24>>2]=100;J[i+28>>2]=1;h=ev(i,h);if(!h){break u}}a=J[g+64>>2];b=J[a>>2];if(b){Ja[J[b+4>>2]](a)|0;J[a>>2]=0}ef(J[g+224>>2]);Oa(g);break h}J[g+160>>2]=-2;H[g+12|0]=a;H[g+19|0]=a;H[g+4|0]=a;H[g+15|0]=u;H[g+14|0]=l;a=p&1;H[g+6|0]=!a;dv(g,35);J[g+176>>2]=-1;J[g+180>>2]=-1;I[g+148>>1]=88;So(g);z:{if(!a){e=4;if(!(k|q)){break z}}H[g+5|0]=e}J[g+216>>2]=20;J[g+220>>2]=J[g+44>>2]?6:7;J[f>>2]=g;a=J[c+52>>2];J[g+136>>2]=J[c+48>>2];J[g+140>>2]=a;a=Sa(m,0,100);e=J[g+64>>2];g=J[e>>2];A:{if(!g){break A}h=Ja[J[g+8>>2]](e,a,100,0,0)|0;if((h|0)==522){break A}if(h){break h}}J[f+4>>2]=c;H[f+16|0]=p;g=J[f>>2];J[g+192>>2]=21;J[g+196>>2]=f;e=J[g+64>>2];k=J[e>>2];if(k){Ja[J[k+40>>2]](e,15,g+192|0)|0;g=J[f>>2]}J[j+4>>2]=f;J[f+8>>2]=0;J[f+12>>2]=0;if(K[g+14|0]){I[f+24>>1]=L[f+24>>1]|1}e=K[a+17|0]<<16|K[a+16|0]<<8;J[f+36>>2]=e;k=f+36|0;B:{if(!(!(e&e+131071)&e-65537>>>0>=4294902271)){l=0;J[k>>2]=0;if(!b|o){break B}H[f+17|0]=0;H[f+18|0]=0;break B}l=K[a+20|0];I[f+24>>1]=L[f+24>>1]|2;b=J[a+52>>2];H[f+17|0]=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))!=0;a=J[a+64>>2];H[f+18|0]=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))!=0}h=Nh(g,k,l);if(h){break h}J[f+68>>2]=1;J[f+40>>2]=J[f+36>>2]-l;if(!K[j+9|0]){break f}J[f+72>>2]=J[18290];J[18290]=f}g=0;a=J[c+20>>2];a=(a|0)>0?a:0;while(1){if((a|0)==(g|0)){break f}b=J[(J[c+16>>2]+(g<<4)|0)+4>>2];if(!b|!K[b+9|0]){g=g+1|0;continue}else{while(1){g=b;b=J[g+28>>2];if(b){continue}break}a=J[j+4>>2];C:{if(a>>>0<M[g+4>>2]){J[j+24>>2]=g;c=g+28|0;b=0;g=j;break C}while(1){b=g;g=J[g+24>>2];if(!g){J[j+24>>2]=0;c=b+24|0;g=j;break C}if(a>>>0>M[g+4>>2]){continue}break}J[j+28>>2]=b;J[j+24>>2]=g;c=b+24|0;b=j}J[g+28>>2]=b;J[c>>2]=j;break f}}}a=J[f>>2];if(!a){break g}bv(a,0)}Oa(f);Oa(j);J[d>>2]=0;break d}J[d>>2]=j;a=J[j+4>>2];J[a+4>>2]=J[j>>2];if(!J[a+52>>2]){Xi(j,-2e3)}h=0;a=J[J[f>>2]+64>>2];b=J[a>>2];if(!b){break d}Ja[J[b+40>>2]](a,30,f+4|0)|0;break d}Oa(j)}Fa=m+112|0;return h}function Jp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=Fa-96|0;Fa=l;g=bi(a,b,c,d,0,0,1,0,l+8|0);a:{if(g){break a}j=J[l+12>>2];if(!j){break a}b:{c:{if((d|0)==-1){h=c;i=h>>31;m=b;o=b>>31;break c}g=Gb(a,15,l+72|0,0);if(g){break a}e=J[l+72>>2];m=b;h=c;o=b>>31;i=J[a+260>>2];s=lJ(b,o,i,i>>31);n=h+s|0;i=h>>31;f=i+Ia|0;xb(e,1,n<<10,(n>>>0<s>>>0?f+1|0:f)<<10|n>>>22);f=J[a+260>>2];n=lJ(f,f>>31,b,o);f=i+Ia|0;n=h+n|0;f=n>>>0<h>>>0?f+1|0:f;xb(e,2,n<<10|1023,f<<10|n>>>22);if((qb(e)|0)==100){p=Sc(e,0);r=Ia}g=jb(e);if(g){break a}if((d|0)!=-2){u=p;s=r;break c}v=1;g=3;if((j|0)!=1){u=p;s=r;break b}u=p;s=r;if(J[J[J[l+8>>2]>>2]+56>>2]){break b}g=101;break a}r=J[a+260>>2];t=r>>31;p=d+1|0;q=p>>31;g=Gb(a,8,l+72|0,0);d:{if(g){break d}n=J[l+72>>2];f=J[a+260>>2];e=lJ(m,o,f,f>>31);f=i+Ia|0;e=e+h|0;f=(e>>>0<h>>>0?f+1|0:f)<<10|e>>>22;e=p+(e<<10)|0;k=f+q|0;xb(n,1,e,e>>>0<p>>>0?k+1|0:k);j=0;if((qb(n)|0)==100){j=Ad(n,0)}g=jb(n);if(g){break d}g=0;w=j;if((j|0)<16){break d}w=0;g=Jp(a,b,c,p)}if(g){break a}m=lJ(m,o,r,t);i=i+Ia|0;f=h;h=h+m|0;f=(f>>>0>h>>>0?i+1|0:i)<<10|h>>>22;h=p+(h<<10)|0;f=f+q|0;r=h>>>0<p>>>0?f+1|0:f;p=h;g=(d|0)==-1?1:(s|0)>=(r|0)&u>>>0>=h>>>0|(r|0)<(s|0)?1:3}J[l+80>>2]=0;J[l+72>>2]=0;J[l+76>>2]=0;J[l+84>>2]=g;g=Lj(a,l+8|0,l+72|0);e=0;e:{f:{g:{h:{while(1){if(g){break f}i:{g=ai(a,l+8|0);if((g|0)!=100){if(g){break f}if((d|0)==-1){break h}h=J[l+12>>2];i=J[l+8>>2];g=0;J[l+92>>2]=0;j=0;while(1){if((h|0)<=(j|0)|g){break i}g=ix(a,J[i+(j<<2)>>2]);j=j+1|0;continue}}n=J[l+68>>2];z=J[l+64>>2];m=J[l+60>>2];t=J[l+56>>2];if(!e){g=7;e=pb(64,0);if(!e){continue}h=Sa(e,0,64);i=J[a+232>>2];i=pb(i,i>>31);J[h+48>>2]=i;if(!i){continue}J[h+40>>2]=J[a+232>>2];g=Gb(a,10,l+92|0,0);if(g){continue}i=J[l+92>>2];if((qb(i)|0)==100){f=Sc(i,0);J[h+8>>2]=f;j=Ia;J[h+12>>2]=j;J[h+16>>2]=f;J[h+20>>2]=j}g=jb(i);if(g){continue}}o=J[e+44>>2];g=267;q=Fj(J[e+24>>2],J[e+28>>2],t,m);j=m-q|0;if((j|0)<=0){continue}h=n>>31;A=h;f=(Md(q,q>>31)+(j+n|0)|0)+Md(j,0)|0;x=Md(n,h);h=f+x|0;i=h>>31;j:{if((o|0)<=0){break j}f=J[a+232>>2];B=f;k=f>>31;f=i;y=h+o|0;f=y>>>0<o>>>0?f+1|0:f;if((f|0)<=(k|0)&B>>>0>=y>>>0|(f|0)<(k|0)){break j}k=J[e+20>>2];i=k;h=J[e+16>>2];if((h|0)==-1&(i|0)==2147483647){continue}f=h+1|0;k=f?i:i+1|0;J[e+16>>2]=f;J[e+20>>2]=k;g=eg(a,h,i,J[e+48>>2],o);if(g){continue}J[a+52>>2]=J[a+52>>2]+1;g=Ip(a,e,t,q+1|0);if(g){continue}o=0;J[e+28>>2]=0;h=(Md(m,m>>31)+(x+(m+n|0)|0)|0)+1|0;i=h>>31;j=m;q=0}f=i+J[e+60>>2]|0;k=h+J[e+56>>2]|0;f=k>>>0<h>>>0?f+1|0:f;J[e+56>>2]=k;J[e+60>>2]=f;f=J[e+48>>2];k=J[e+40>>2];g=h>>>0>k>>>0;k=k>>31;if(g&(i|0)>=(k|0)|(i|0)>(k|0)){g=7;f=Bc(f,h,i);if(!f){continue}J[e+40>>2]=h;J[e+48>>2]=f}h=hc(f+o|0,q,q>>31)+o|0;h=h+hc(h+J[e+48>>2]|0,j,j>>31)|0;Qa(h+J[e+48>>2]|0,q+t|0,j);h=h+j|0;h=hc(h+J[e+48>>2]|0,n,A)+h|0;Qa(h+J[e+48>>2]|0,z,n);J[e+44>>2]=h+n;k:{if((m|0)<=J[e+32>>2]){j=J[e+24>>2];break k}g=7;f=m<<1;j=Bc(J[e+36>>2],f,m>>31<<1|m>>>31);if(!j){continue}J[e+36>>2]=j;J[e+24>>2]=j;J[e+32>>2]=f}Qa(j,t,m);J[e+28>>2]=m;g=0;continue}break}if(g){break f}l:{if(v){g=Gb(a,26,l+92|0,0);if(g){break f}g=J[l+92>>2];i=g;h=b;m=h>>31;b=J[a+260>>2];n=lJ(h,m,b,b>>31);b=n+c|0;j=c>>31;f=j+Ia|0;xb(i,1,b<<10,(b>>>0<n>>>0?f+1|0:f)<<10|b>>>22);b=J[a+260>>2];b=lJ(b,b>>31,h,m);k=j+Ia|0;b=b+c|0;k=b>>>0<c>>>0?k+1|0:k;xb(i,2,b<<10|1023,k<<10|b>>>22);break l}g=Gb(a,16,l+92|0,0);if(g){break f}g=J[l+92>>2];h=g;m=d>>31;i=J[a+260>>2];f=lJ(i,i>>31,b,b>>31);b=f+c|0;i=Ia+(c>>31)|0;f=(b>>>0<f>>>0?i+1|0:i)<<10|b>>>22;c=b<<10;b=c+d|0;i=f+m|0;xb(h,1,b,b>>>0<c>>>0?i+1|0:i)}qb(g);g=jb(g);if(g|!e){break f}break g}if(e){break g}g=0;break a}m:{if(J[e>>2]){f=J[e+20>>2];t=f;q=J[e+16>>2];b=q+1|0;f=b?f:f+1|0;J[e+16>>2]=b;J[e+20>>2]=f;g=eg(a,q,t,J[e+48>>2],J[e+44>>2]);if(g){break m}f=J[e+16>>2];n=J[e+20>>2];m=J[e+8>>2];o=J[e+12>>2];j=e;b=1;while(1){j=J[j>>2];if(J[j>>2]){c=j+8|0;g=0;h=f;i=n;while(1){k=J[c>>2];if(!(!k|g)){c=k+4|0;g=hx(k,b,m,o);g=eg(a,h,i,g+J[k+36>>2]|0,J[k+32>>2]-g|0);k=J[k+12>>2]+1|0;v=k;m=k+m|0;k=(k>>31)+o|0;o=m>>>0<v>>>0?k+1|0:k;h=h+1|0;i=h?i:i+1|0;continue}break}if(g){break m}b=b+1|0;m=f;o=n;f=h;n=i;continue}break}b=hx(j,b,m,o);g=Hp(a,p,r,w,J[e+8>>2],J[e+12>>2],q,t,f-1|0,n-!f|0,J[e+56>>2],J[e+60>>2],b+J[j+36>>2]|0,J[j+32>>2]-b|0);break m}g=Hp(a,p,r,w,0,0,0,0,0,0,J[e+56>>2],J[e+60>>2],J[e+48>>2],J[e+44>>2])}J[a+52>>2]=J[a+52>>2]+1;if(g){break f}if((d|0)!=-1){g=0;if((r|0)>=(s|0)&p>>>0>=u>>>0|(r|0)>(s|0)){break f}}g=gx(a,p,r,J[e+56>>2],J[e+60>>2]);break e}if(!e){break a}}Oa(J[e+48>>2]);Oa(J[e+36>>2]);fx(J[e>>2]);Oa(e)}Yg(l+8|0);Fa=l+96|0;return g}function Pq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;q=Fa-96|0;Fa=q;r=J[J[a>>2]>>2];a:{if(J[r+36>>2]){i=J[r+12>>2];break a}s=J[r>>2];e=J[a+8>>2];x=L[e+28>>1];u=L[e+22>>1];y=J[e>>2];z=J[e+4>>2];A=L[e+46>>1];B=L[e+26>>1];t=L[e+44>>1];l=L[e+24>>1];v=J[e+40>>2];f=v&32?24:447;h=K[c+55|0]|K[c+56|0]<<8;g=h&4?f&387:f;f=zm(q,J[a+4>>2],J[b+40>>2],l,h&260?h&256?g&316:g:f,c);I[e+18>>1]=0;C=t+1|0;D=I[J[c+8>>2]>>1];w=um(D);F=w&65535;h=0;b:{while(1){if(!f|i){break b}c:{n=L[f+12>>1];d:{if(!(!(K[f+10|0]&128)&(n|0)!=256)){i=0;if(fA(c,l)){break d}}i=0;j=J[e+8>>2];k=J[e+12>>2];if(j&J[f+32>>2]|k&J[f+36>>2]|(L[f+10>>1]&256?(n|0)==16:0)){break d}if(K[b+36|0]&88){if(!Rq(f,b)){break d}}e:{if(K[c+54|0]){g=2;if((L[c+50>>1]-1|0)==(l|0)){break e}}g=1}H[a+16|0]=g|K[a+16|0];I[e+44>>1]=t;I[e+28>>1]=x;I[e+26>>1]=B;I[e+24>>1]=l;J[e+40>>2]=v;g=t;if(g>>>0>=L[e+48>>1]){if(ii(s,e,C)){break c}j=J[e+8>>2];k=J[e+12>>2];g=L[e+44>>1]}p=g+1|0;I[e+44>>1]=p;J[J[e+52>>2]+(g<<2)>>2]=f;k=(z|J[f+36>>2])&(k^-1);J[e>>2]=(y|J[f+32>>2])&(j^-1);J[e+4>>2]=k;f:{if(n&1){k=J[f>>2];g:{if(K[k+5|0]&16){g=p&65535;p=(g>>>0<=1?1:g)-1|0;g=0;j=46;while(1){if((g|0)==(p|0)){break g}o=J[J[e+52>>2]+(g<<2)>>2];if(o){j=(k|0)!=J[o>>2]?j:0}g=g+1|0;continue}}j=0;g=J[k+20>>2];if(!g){break g}g=J[g>>2];if(!g){break g}j=Fd(g,g>>31)&65535}h:{if(!(K[c+55|0]&128)|(w|0)<10){break h}if(!(((L[J[c+8>>2]+(l<<1)>>1]-(j+F|0)|0)+um(j<<16>>16)|0)+10&32768)){break h}if(K[s+82|0]&2|(d|0)>1){break d}J[e+40>>2]=J[e+40>>2]|1048576}i=J[e+40>>2]|4;J[e+40>>2]=i;break f}if(n&130){g=I[J[c+4>>2]+(l<<1)>>1];k=J[e+40>>2];i=k|1;J[e+40>>2]=i;j=4097;i:{j:{if((g|0)==-1){break j}if((g|0)<0|d){break i}g=L[c+50>>1];if((g-1|0)!=(l|0)){break i}if(!(K[c+54|0]?(g|0)!=1|(n|0)!=2:1)|K[c+55|0]&8){break j}j=65537}i=j|k;J[e+40>>2]=i}j=0;if(K[q+25|0]<2){break f}i=i|2097152;J[e+40>>2]=i;break f}if(n&256){i=J[e+40>>2]|8;J[e+40>>2]=i;j=0;break f}p=J[b+40>>2];g=1;h=Mc(J[J[f>>2]+12>>2]);m=L[c+52>>1]-l|0;h=(h|0)<(m|0)?h:m;m=(h|0)<=1?1:h;k:{while(1){if((g|0)==(m|0)){break k}h=J[f>>2];i=J[h+16>>2];j=i+20|0;k=g<<4;h=J[(k+J[J[h+12>>2]+20>>2]|0)+8>>2];j=K[i+5|0]&16?J[i+20>>2]+28|0:j;l:{if(K[h|0]!=167|(p|0)!=J[h+28>>2]){break l}i=g+l|0;if(L[h+32>>1]!=L[J[c+4>>2]+(i<<1)>>1]){break l}o=J[c+28>>2];if(K[o+i|0]!=K[l+o|0]){break l}o=J[(k+J[j>>2]|0)+8>>2];G=qg(o,mc(h));j=68;k=I[h+32>>1];m:{if((k|0)<0){break m}E=J[c+12>>2];if((k|0)>=I[E+34>>1]){break m}j=K[(J[E+4>>2]+P(k,12)|0)+5|0]}if((G&255)!=(j&255)){break l}h=Tf(r,h,o);if(!h){break l}if(Xa(J[h>>2],J[J[c+32>>2]+(i<<2)>>2])){break l}g=g+1|0;continue}break}m=g}h=J[e+40>>2];if(n&36){I[e+26>>1]=m;i=h|34;J[e+40>>2]=i;j=0;h=f;m=0;if(!(H[f+11|0]&1)){break f}if(ii(s,e,L[e+44>>1]+1|0)){break c}h=L[e+44>>1];I[e+44>>1]=h+1;m=f+48|0;J[J[e+52>>2]+(h<<2)>>2]=m;I[e+28>>1]=1;i=J[e+40>>2]|16;J[e+40>>2]=i;h=f;break f}I[e+28>>1]=m;i=h|18;J[e+40>>2]=i;j=0;if(h&32){h=J[(J[e+52>>2]+(L[e+44>>1]<<2)|0)-8>>2]}else{h=0}m=f}n:{o:{if(i&2){g=I[e+22>>1];f=wz(m,wz(h,g));g=g+((h?-1:0)-((m|0)!=0)|0)|0;f=(!h|!m|I[h+8>>1]<=0?f:I[m+8>>1]>0?f-20|0:f)<<16>>16;f=(f|0)<=10?10:f;f=(f|0)>(g|0)?g:f;break o}g=L[e+24>>1]+1|0;I[e+24>>1]=g;f=I[f+8>>1];if(!(I[J[c+4>>2]+(l<<1)>>1]<0|(f|0)>0)){f=L[e+22>>1]+(f-j|0)|0;break o}f=J[c+8>>2]+((g&65535)<<1)|0;f=L[e+22>>1]+(L[f>>1]-L[f-2>>1]|0)|0;I[e+22>>1]=f;if(!(n&256)){break n}f=f+10|0}I[e+22>>1]=f}if(((K[c+55|0]|K[c+56|0]<<8)&3)==3){g=f+16|0}else{g=(((P(I[c+48>>1],15)|0)/I[J[b+16>>2]+40>>1]|0)+(f&65535)|0)+1|0}g=_d(w,g<<16>>16);if(!(i&67109184)){g=_d(g,f+16<<16>>16)}j=d+j|0;I[e+22>>1]=j+f;I[e+20>>1]=g+j;Qq(J[a+4>>2],e,D);i=Zj(a,e);g=f;f=J[e+40>>2];I[e+22>>1]=f&2?u:g;p:{if(f&16){break p}f=L[e+24>>1];if(f>>>0>=L[c+52>>1]){break p}if(f>>>0>=L[c+50>>1]){if(((K[c+55|0]|K[c+56|0]<<8)&3)==2){break p}}if(f>>>0>=4){Fm(r)}Pq(a,b,c,j<<16>>16)}I[e+22>>1]=u}f=ki(q);continue}break}i=0}I[e+46>>1]=A;I[e+28>>1]=x;I[e+26>>1]=B;I[e+24>>1]=l;J[e>>2]=y;J[e+4>>2]=z;J[e+40>>2]=v;I[e+44>>1]=t;I[e+22>>1]=u;if((l|0)!=(A|0)){break a}f=l+1|0;if(K[s+81|0]&64|((l|0)!=(t|0)|f>>>0>=L[c+50>>1]|((K[c+55|0]|K[c+56|0]<<8)&192)!=128)){break a}f=f<<1;if(I[f+J[c+8>>2]>>1]<42){break a}i=ii(s,e,C);if(i){break a}I[e+24>>1]=L[e+24>>1]+1;I[e+46>>1]=L[e+46>>1]+1;h=L[e+44>>1];I[e+44>>1]=h+1;i=0;J[J[e+52>>2]+(h<<2)>>2]=0;J[e+40>>2]=J[e+40>>2]|32768;h=J[c+8>>2];f=L[h+(l<<1)>>1]-L[f+h>>1]|0;I[e+22>>1]=L[e+22>>1]-f;Pq(a,b,c,(d+f|0)+5<<16>>16);I[e+46>>1]=l;I[e+24>>1]=l;I[e+22>>1]=u;J[e+40>>2]=v}Fa=q+96|0;return i}function ke(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;a:{if(!J[16496]){J[16498]=1;if(!J[16499]){if(!J[16452]){Jw()}J[18194]=8;if(!(!(!J[16490]|J[16491]<512)&J[16492]>0)){J[16490]=0;J[16491]=0}a=Ja[J[16457]](J[16459])|0;if(a){break a}}J[16499]=1;if(!J[16502]){J[16502]=8}e=J[16501]+1|0;J[16501]=e;if(!(J[16496]|J[16497])){J[16497]=1;Sa(72952,0,92);oj(69984,5);oj(70192,15);oj(70800,10);oj(71200,32);oj(66944,76);b:{if(!J[16500]){q=J[16471];if(!q){ow();q=J[16471]}q=Ja[q|0](J[16470])|0;if(q){break b}}q=1;J[16500]=1;a=gc(10);if(!a){q=7;break b}Oa(a);while(1){if((g|0)!=4){jw(P(g,88)+66080|0,!g);g=g+1|0;continue}break}J[16700]=Gw(19542);J[16701]=Gw(19549);c=Tl(0);if(!c){break b}a=J[c+4>>2];J[16711]=c;J[16707]=a>>>0<=12?12:a;q=jw(66824,0);if(q){break b}q=0;if(J[18278]){e=J[16490];c=e?J[16492]:0;J[18288]=c;J[18282]=c;a=c?J[16491]&-8:0;J[18281]=a;J[18284]=e;J[18283]=(c|0)>90?10:((c|0)/10|0)+1|0;J[18289]=0;J[18287]=0;g=0;while(1){if(c){J[e>>2]=g;J[18287]=e;c=c-1|0;g=e;e=a+e|0;continue}break}J[18285]=e}J[16496]=1}J[16497]=0;e=J[16501]}J[16501]=e-1;if((e|0)<=1){J[16502]=0}o=Fa-48|0;Fa=o;u=+(q+1|0);Gl(o+32|0,u*.1+1);Gl(o+16|0,u*25+1e18);d=J[o+20>>2];x=d;v=J[o+16>>2];c=v;f=J[o+28>>2];y=f;h=Fa-112|0;Fa=h;w=J[o+24>>2];a=w;m=f&2147483647;r=J[o+44>>2];g=r&2147483647;j=g;c:{d:{e=2147418112;b=J[o+32>>2];k=J[o+36>>2];l=!(b|k);i=J[o+40>>2];if(!(g|i?g-e>>>0<2147549184:l)){g=m-e|0;if(!a&(g|0)==-2147418112?c|d:(g|0)==-2147418112&(a|0)!=0|g>>>0>2147549184){break d}}if(!(!i&(j|0)==2147418112?l:j>>>0<2147418112)){a=i;f=r|32768;c=b;d=k;break c}if(!(!a&(m|0)==2147418112?!(c|d):m>>>0<2147418112)){f=f|32768;break c}if(!(b|i|(j^2147418112|k))){d=!(b^c|a^i|(d^k|f^r^-2147483648));a=d?0:i;f=d?2147450880:r;c=d?0:b;d=d?0:k;break c}e=a|c;if(!(e|(m^2147418112|d))){break c}if(!(b|i|(j|k))){if(d|m|e){break c}c=b&c;d=d&k;a=a&i;f=f&r;break c}if(a|c|(d|m)){break d}c=b;d=k;a=i;f=r;break c}e=(j|0)==(m|0);s=e&(a|0)==(i|0)?(d|0)==(k|0)&b>>>0<c>>>0|d>>>0>k>>>0:e&a>>>0>i>>>0|j>>>0<m>>>0;j=s;l=j?c:b;m=j?d:k;e=j?f:r;z=e;j=j?a:i;t=e&65535;n=s?i:a;g=s?r:f;a=g;g=a>>>16&32767;e=e>>>16&32767;if(!e){p=!(j|t);e=p?l:j;i=p<<6;A=S(e)+32|0;e=S(p?m:t);e=i+((e|0)==32?A:e)|0;Ud(h+96|0,l,m,j,t,e-15|0);j=J[h+104>>2];t=J[h+108>>2];m=J[h+100>>2];e=16-e|0;l=J[h+96>>2]}c=s?b:c;d=s?k:d;b=n;n=a&65535;if(!g){g=n;p=!(g|b);k=p?c:b;a=p<<6;n=S(p?d:g);n=a+((n|0)==32?S(k)+32|0:n)|0;Ud(h+80|0,c,d,b,g,n-15|0);g=16-n|0;c=J[h+80>>2];d=J[h+84>>2];b=J[h+88>>2];n=J[h+92>>2]}k=b;b=n<<3|b>>>29;k=k<<3|d>>>29;p=b|524288;b=t<<3|j>>>29;j=j<<3|m>>>29;n=b;f=f^r;b=d<<3|c>>>29;a=c<<3;e:{if((e|0)==(g|0)){break e}c=e-g|0;if(c>>>0>127){k=0;p=0;b=0;a=1;break e}Ud(h- -64|0,a,b,k,p,128-c|0);Wh(h+48|0,a,b,k,p,c);k=J[h+56>>2];p=J[h+60>>2];b=J[h+52>>2];a=J[h+48>>2]|(J[h+64>>2]|J[h+72>>2]|(J[h+68>>2]|J[h+76>>2]))!=0}g=a;i=b;n=n|524288;b=m<<3|l>>>29;m=l<<3;f:{if((f|0)<0){c=0;d=0;a=0;f=0;if(!(g^m|j^k|(b^i|n^p))){break c}c=m-g|0;f=g>>>0>m>>>0;d=b-(f+i|0)|0;l=j-k|0;f=f&(b|0)==(i|0)|b>>>0<i>>>0;a=l-f|0;f=(n-((j>>>0<k>>>0)+p|0)|0)-(f>>>0>l>>>0)|0;if(f>>>0>524287){break f}l=!(a|f);b=l?c:a;g=l<<6;i=S(b)+32|0;b=S(l?d:f);b=g+((b|0)==32?i:b)|0;g=a;a=b-12|0;Ud(h+32|0,c,d,g,f,a);e=e-a|0;a=J[h+40>>2];f=J[h+44>>2];c=J[h+32>>2];d=J[h+36>>2];break f}b=b+i|0;c=g+m|0;d=c>>>0<g>>>0?b+1|0:b;a=(i|0)==(d|0)&c>>>0<g>>>0|d>>>0<i>>>0;b=n+p|0;f=j+k|0;b=f>>>0<j>>>0?b+1|0:b;a=a+f|0;f=a>>>0<f>>>0?b+1|0:b;if(!(f&1048576)){break f}c=g&1|((d&1)<<31|c>>>1);d=a<<31|d>>>1;e=e+1|0;a=(f&1)<<31|a>>>1;f=f>>>1|0}i=0;b=z&-2147483648;m=b;if((e|0)>=32767){a=i;f=b|2147418112;c=0;d=0;break c}g=0;g:{if((e|0)>0){g=e;break g}Ud(h+16|0,c,d,a,f,e+127|0);Wh(h,c,d,a,f,1-e|0);c=J[h>>2]|(J[h+16>>2]|J[h+24>>2]|(J[h+20>>2]|J[h+28>>2]))!=0;d=J[h+4>>2];a=J[h+8>>2];f=J[h+12>>2]}j=(d&7)<<29|c>>>3;n=c&7;e=n>>>0>4;c=j+e|0;l=a<<29|d>>>3;b=l;d=c>>>0<e>>>0?b+1|0:b;j=(b|0)==(d|0)&c>>>0<j>>>0|d>>>0<b>>>0;l=f>>>3&65535;b=i|((f&7)<<29|a>>>3);a=b+j|0;f=m|(g<<16|l);f=b>>>0>a>>>0?f+1|0:f;h:{if((n|0)==4){b=d+0|0;g=c;l=c&1;c=c+l|0;d=g>>>0>c>>>0?b+1|0:b;b=(i|0)==(d|0)&c>>>0<l>>>0|d>>>0<i>>>0;a=b+a|0;f=b>>>0>a>>>0?f+1|0:f;break h}if(!n){break c}}}J[o>>2]=c;J[o+4>>2]=d;J[o+8>>2]=a;J[o+12>>2]=f;Fa=h+112|0;a=wj(J[o>>2],J[o+4>>2],J[o+8>>2],J[o+12>>2],v,x,w,y);Fa=o+48|0;H[65786]=(a|0)!=0}return q}J[18200]=0;J[18201]=0;J[18198]=0;J[18199]=0;J[18196]=0;J[18197]=0;J[18194]=0;J[18195]=0;return a}function Tx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=Fa-32|0;Fa=g;J[g+4>>2]=0;t=1;s=c;while(1){a:{b:{c:{d:{e:{f:{if(!m){J[g>>2]=0;J[a+24>>2]=0;o=s>>31&s;j=b;f=s;while(1){if((f|0)>0){h=K[j|0]-9|0;if(h>>>0>23|!(1<<h&8388639)){break f}j=j+1|0;f=f-1|0;continue}break}if((s|0)<0){break e}m=101;p=0;break a}j=J[g+4>>2];J[e>>2]=c-s;h=(m|0)==101?j?t?1:m:m:m;a=0;if((h|0)==101){break c}break d}o=f}q=j-b|0;l=0;p=0;f=0;while(1){g:{h:{i:{if((f|0)!=4){n=f<<3;h=K[n+56452|0];if((o|0)<(h|0)){break h}if(Cb(j,J[n+56448>>2],h)){break h}J[g+28>>2]=10;if(!((f|0)!=3|K[j+4|0]!=47|(K[j+5|0]-48&255)>>>0>9)){h=h+1|0;h=Bx(h+j|0,g+28|0)+h|0}i=K[h+j|0];j:{if(i>>>0>=42){break j}k=i&31;if((i&63)>>>0>=32){k=773>>>k|0}else{k=((1<<k)-1&773)<<32-k|15873>>>k}if(!(k&1)){break j}m=i&31;if((i&63)>>>0>=32){k=251>>>m|0}else{k=((1<<m)-1&251)<<32-m|-2>>>m}u=k&1;v=0;k=Be(48,0);if(k){J[k>>2]=K[n+56454|0];J[k+4>>2]=J[g+28>>2];J[g>>2]=k;p=h+q|0;m=0;l=k;if(!(u|v)){break j}break g}m=7;if(u){break a}}h=i-34|0;if(h>>>0>7|!(1<<h&193)){break i}break g}k:{l:{m:{n:{f=K[j|0];switch(f-40|0){case 0:break l;case 1:break m;default:break n}}if((f|0)==34){f=1;h=(o|0)<=1?1:o;while(1){o:{if((f|0)!=(h|0)){if(K[f+j|0]!=34){break o}h=f}m=1;p=(h+q|0)+1|0;if((h|0)==(o|0)){break a}i=J[a>>2];q=J[i>>2];l=0;J[g+28>>2]=0;o=0;k=0;f=0;p:{u=j+1|0;v=h-1|0;m=fg(i,J[a+4>>2],u,v,g+28|0);q:{if(!m){i=0;h=0;m=0;while(1){if(!m){J[g+20>>2]=0;J[g+16>>2]=0;J[g+12>>2]=0;J[g+8>>2]=0;m=Ja[J[q+20>>2]](J[g+28>>2],g+24|0,g+20|0,g+16|0,g+12|0,g+8|0)|0;if(m){i=i+1|0;h=i?h:h+1|0;continue}n=lJ(i,h,24,0);n=n+144|0;l=Lp(l,n&-8,0);if(!l){break q}f=J[g+20>>2]+k|0;o=Lp(o,f,f>>31);if(o){f=(l+120|0)+P(i,24)|0;J[f>>2]=0;J[f+4>>2]=0;J[f+16>>2]=0;J[f+20>>2]=0;J[f+8>>2]=0;J[f+12>>2]=0;Qa(k+o|0,J[g+24>>2],J[g+20>>2]);w=J[g+20>>2];J[f+4>>2]=w;n=J[g+12>>2];if((n|0)<(v|0)){n=K[n+u|0]==42}else{n=0}J[f+8>>2]=n;k=k+w|0;n=J[g+16>>2];if((n|0)>0){n=K[j+n|0]==94}else{n=0}J[f+12>>2]=n;i=i+1|0;h=i?h:h+1|0;f=i;continue}else{o=0;break q}}break}Ja[J[q+16>>2]](J[g+28>>2])|0;J[g+28>>2]=0}if((m|0)!=101){break k}j=P(f,24);l=Lp(l,(j+k|0)+144|0,0);if(l){break p}l=0}f=J[g+28>>2];if(f){Ja[J[q+16>>2]](f)|0}Oa(o);Oa(l);m=7;l=0;break k}i=Sa(l,0,120);h=i+48|0;J[i+20>>2]=h;J[i>>2]=5;m=J[a+20>>2];J[i+112>>2]=f;J[i+116>>2]=m;f=(h+j|0)+72|0;m=0;if(o){Qa(f,o,k);Oa(o);h=J[i+20>>2]}i=J[h+64>>2];i=(i|0)>0?i:0;j=0;while(1){if((j|0)==(i|0)){break k}k=P(j,24)+h|0;J[k+72>>2]=f;j=j+1|0;f=J[k+76>>2]+f|0;continue}}f=f+1|0;continue}}p=0;f=J[a+16>>2];l=(f|0)>0?f:0;h=J[a+20>>2];f=0;while(1){r:{s:{if((f|0)==(l|0)){f=h;break s}m=J[J[a+8>>2]+(f<<2)>>2];i=ob(m);if((i|0)>=(o|0)|K[j+i|0]!=58){break r}if(tb(m,j,i)){break r}p=(i+q|0)+1|0}j=0;o=s-p|0;k=(o|0)>0?o:0;h=b+p|0;i=J[a>>2];q=J[i>>2];while(1){t:{if((j|0)!=(k|0)){l=K[h+j|0]-34|0;if(l>>>0>7|!(1<<l&193)){break t}k=j}l=0;m=fg(i,J[a+4>>2],h,k,g+28|0);if(!m){J[g+20>>2]=0;J[g+16>>2]=0;J[g+12>>2]=0;J[g+8>>2]=0;n=J[g+28>>2];i=Ja[J[q+20>>2]](n,g+24|0,g+20|0,g+16|0,g+12|0,g+8|0)|0;u:{if(!i){l=Be(J[g+20>>2]+144|0,0);if(!l){l=0;k=J[g+12>>2];m=7;break u}J[l>>2]=5;J[l+116>>2]=f;J[l+112>>2]=1;J[l+20>>2]=l+48;f=J[g+20>>2];i=l+144|0;J[l+120>>2]=i;J[l+124>>2]=f;Qa(i,J[g+24>>2],f);k=J[g+12>>2];if(!((o|0)<=(k|0)|K[h+k|0]!=42)){J[l+128>>2]=1;k=k+1|0;J[g+12>>2]=k}f=h-1|0;h=J[a+12>>2];j=J[g+16>>2];while(1){if(!(!h|(j|0)<=0|K[f+j|0]!=94)){J[l+132>>2]=1;j=j-1|0;continue}break}J[g+16>>2]=j;m=0;break u}m=k?(i|0)!=101?i:0:i}Ja[J[q+16>>2]](n)|0}J[g>>2]=l;p=k+p|0;break g}j=j+1|0;continue}}f=f+1|0;continue}}J[a+32>>2]=J[a+32>>2]-1;p=q+1|0;m=101;break a}J[g+28>>2]=0;m=1;f=J[a+32>>2];J[a+32>>2]=f+1;if((f|0)>999){break g}m=Tx(a,j+1|0,o-1|0,g,g+28|0);p=(q+J[g+28>>2]|0)+1|0;l=J[g>>2];break g}J[g>>2]=l;break g}if(!i){break g}}f=f+1|0;continue}break}if(!l|m){break a}v:{w:{x:{i=J[l>>2];if((i|0)==5){f=0;k=(t|0)!=0;j=1;break x}k=(t|0)!=0;h=J[l+12>>2];j=(h|0)!=0;f=!h;if(h|!t){break x}Wd(l);break w}y:{if(f|k){if(r){break y}r=0;break b}h=Be(48,0);if(!h){Wd(l);h=7;break v}J[h>>2]=3;xx(g+4|0,r,h);r=h}if(!(!((i|0)!=1|j)&J[r>>2]!=5)){if(j^1|(i|0)==5|J[r>>2]!=1){break b}}Wd(J[g>>2])}h=1}j=J[g+4>>2]}Wd(j);j=0;Wd(0);a=h}J[d>>2]=j;Fa=g+32|0;return a}z:{A:{B:{if(j){h=J[g>>2];if(!J[g+4>>2]){break B}J[r+16>>2]=h;J[h+8>>2]=r;break A}xx(g+4|0,r,J[g>>2]);h=J[g>>2];break z}J[g+4>>2]=h}}r=h;m=0;t=f}b=b+p|0;s=s-p|0;continue}}function je(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0;k=Fa-96|0;Fa=k;u=i&65535;o=(e^i)&-2147483648;r=e&65535;y=r;Q=i>>>16&32767;R=e>>>16&32767;a:{b:{if(Q-32767>>>0>4294934529&R-32767>>>0>=4294934530){break b}s=e&2147483647;q=s;j=d;if(!(!d&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){m=d;o=e|32768;break a}s=i&2147483647;p=s;e=h;if(!(!e&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){m=e;o=i|32768;b=f;c=g;break a}if(!(b|j|(q^2147418112|c))){if(!(e|f|(g|p))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(e|f|(p^2147418112|g))){e=b|j;d=c|q;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|j|(c|q))){b=0;c=0;break a}if(!(e|f|(g|p))){b=0;c=0;break a}if((q|0)==65535|q>>>0<65535){j=!(d|r);i=j?b:d;s=j<<6;e=S(i)+32|0;i=S(j?c:r);i=s+((i|0)==32?e:i)|0;Ud(k+80|0,b,c,d,r,i-15|0);t=16-i|0;d=J[k+88>>2];y=J[k+92>>2];c=J[k+84>>2];b=J[k+80>>2]}if(p>>>0>65535){break b}i=!(h|u);e=i?f:h;r=i<<6;j=S(e)+32|0;e=S(i?g:u);e=r+((e|0)==32?j:e)|0;Ud(k- -64|0,f,g,h,u,e-15|0);t=(t-e|0)+16|0;h=J[k+72>>2];u=J[k+76>>2];f=J[k+64>>2];g=J[k+68>>2]}e=f;f=g<<15|f>>>17;i=e<<15;e=0;v=i&-32768;K=c;s=lJ(v,e,c,0);e=Ia;z=e;L=f;q=b;c=lJ(f,0,b,0);b=c+s|0;f=Ia+e|0;i=b;c=b>>>0<c>>>0?f+1|0:f;f=b;j=0;b=lJ(q,l,v,l);p=j+b|0;e=Ia+f|0;e=b>>>0>p>>>0?e+1|0:e;r=e;M=(f|0)==(e|0)&j>>>0>p>>>0|e>>>0<f>>>0;N=d;w=lJ(v,l,d,0);O=Ia;b=lJ(K,l,L,l);x=b+w|0;j=Ia+O|0;j=b>>>0>x>>>0?j+1|0:j;b=u<<15|h>>>17;A=h<<15|g>>>17;d=lJ(A,0,q,l);B=d+x|0;f=Ia+j|0;f=d>>>0>B>>>0?f+1|0:f;C=f;d=(c|0)==(z|0)&i>>>0<s>>>0|c>>>0<z>>>0;D=c+B|0;f=d+f|0;f=c>>>0>D>>>0?f+1|0:f;u=f;g=D;c=f;E=y|65536;y=lJ(v,l,E,n);P=Ia;d=lJ(N,m,L,l);F=d+y|0;e=Ia+P|0;e=d>>>0>F>>>0?e+1|0:e;i=e;G=b|-2147483648;b=lJ(G,0,q,l);H=b+F|0;f=Ia+e|0;f=b>>>0>H>>>0?f+1|0:f;d=lJ(A,m,K,l);b=d+H|0;I=f;f=f+Ia|0;z=b;s=b>>>0<d>>>0?f+1|0:f;f=b;b=0;q=b+g|0;e=c+f|0;e=b>>>0>q>>>0?e+1|0:e;v=e;f=e;b=q+M|0;c=b>>>0<q>>>0?f+1|0:f;t=((R+Q|0)+t|0)-16383|0;d=lJ(G,m,K,l);h=Ia;e=lJ(E,m,L,l);g=e+d|0;f=Ia+h|0;f=e>>>0>g>>>0?f+1|0:f;n=(h|0)==(f|0)&d>>>0>g>>>0|f>>>0<h>>>0;h=f;e=lJ(A,m,N,m);d=e+g|0;f=Ia+f|0;f=d>>>0<e>>>0?f+1|0:f;e=f;g=(f|0)==(h|0)&d>>>0<g>>>0|f>>>0<h>>>0;f=0;h=g;g=g+n|0;f=h>>>0>g>>>0?1:f;h=g;g=lJ(G,m,E,m);h=h+g|0;f=Ia+f|0;M=h;g=g>>>0>h>>>0?f+1|0:f;h=d;l=e;e=(j|0)==(O|0)&w>>>0>x>>>0|j>>>0<O>>>0;f=0;j=(j|0)==(C|0)&x>>>0>B>>>0|j>>>0>C>>>0;n=j;j=e+j|0;e=(n>>>0>j>>>0?1:f)+l|0;f=g;d=d+j|0;e=d>>>0<j>>>0?e+1|0:e;n=e;w=d;d=(e|0)==(l|0)&d>>>0<h>>>0|e>>>0<l>>>0;e=d;d=d+M|0;f=e>>>0>d>>>0?f+1|0:f;j=d;h=f;e=lJ(A,m,E,m);l=Ia;g=lJ(G,m,N,m);d=g+e|0;f=Ia+l|0;f=d>>>0<g>>>0?f+1|0:f;g=f;f=(l|0)==(f|0)&d>>>0<e>>>0|f>>>0<l>>>0;x=g+j|0;e=f+h|0;e=g>>>0>x>>>0?e+1|0:e;l=x;h=e;j=d;e=0;d=e+w|0;f=j+n|0;f=d>>>0<e>>>0?f+1|0:f;e=f;g=(n|0)==(f|0)&d>>>0<w>>>0|f>>>0<n>>>0;f=h;h=g;g=g+l|0;f=h>>>0>g>>>0?f+1|0:f;w=g;g=f;h=d;j=e;e=(s|0)==(I|0)&z>>>0<H>>>0|s>>>0<I>>>0;d=(i|0)==(P|0)&y>>>0>F>>>0|i>>>0<P>>>0;i=(i|0)==(I|0)&F>>>0>H>>>0|i>>>0>I>>>0;d=d+i|0;d=d+e|0;n=s;i=n+h|0;e=d+j|0;f=g;d=i;e=d>>>0<n>>>0?e+1|0:e;h=(e|0)==(j|0)&h>>>0>d>>>0|e>>>0<j>>>0;g=h+w|0;f=h>>>0>g>>>0?f+1|0:f;j=g;g=f;h=d;f=0;i=e;n=(u|0)==(v|0)&q>>>0<D>>>0|u>>>0>v>>>0;l=n;n=n+((u|0)==(C|0)&B>>>0>D>>>0|u>>>0<C>>>0)|0;e=e+(l>>>0>n>>>0?1:f)|0;f=g;d=d+n|0;e=d>>>0<n>>>0?e+1|0:e;h=(e|0)==(i|0)&d>>>0<h>>>0|e>>>0<i>>>0;g=h;h=h+j|0;f=g>>>0>h>>>0?f+1|0:f;i=f;c:{if(f&65536){t=t+1|0;break c}j=r>>>31|0;g=0;f=i<<1|h>>>31;h=h<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;f=r<<1|p>>>31;p=p<<1;r=f;f=c<<1|b>>>31;b=b<<1|j;c=f|g}if((t|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){g=1-t|0;if(g>>>0<=127){f=t+127|0;Ud(k+48|0,p,r,b,c,f);Ud(k+32|0,d,e,h,i,f);Wh(k+16|0,p,r,b,c,g);Wh(k,d,e,h,i,g);p=J[k+32>>2]|J[k+16>>2]|(J[k+48>>2]|J[k+56>>2]|(J[k+52>>2]|J[k+60>>2]))!=0;r=J[k+36>>2]|J[k+20>>2];b=J[k+40>>2]|J[k+24>>2];c=J[k+44>>2]|J[k+28>>2];d=J[k>>2];e=J[k+4>>2];g=J[k+8>>2];f=J[k+12>>2];break d}b=0;c=0;break a}g=h;f=i&65535|t<<16}m=g|m;o=f|o;if(!(!b&(c|0)==-2147483648?!(p|r):(c|0)>0|(c|0)>=0)){b=d+1|0;j=b?e:e+1|0;e=o;c=j;d=!(j|b);m=d+m|0;o=d>>>0>m>>>0?e+1|0:e;break a}if(b|p|(c^-2147483648|r)){b=d;c=e;break a}f=e;b=d&1;c=b;b=b+d|0;f=c>>>0>b>>>0?f+1|0:f;c=f;d=(e|0)==(f|0)&b>>>0<d>>>0|e>>>0>f>>>0;f=o;m=d+m|0;o=m>>>0<d>>>0?f+1|0:f}J[a>>2]=b;J[a+4>>2]=c;J[a+8>>2]=m;J[a+12>>2]=o;Fa=k+96|0}function CF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;d=Fa-80|0;Fa=d;a:{if(Nl(a,10120,J[c>>2],d+12|0)){break a}if((b|0)>=2){e=Wa(J[c+4>>2])}f=J[d+12>>2];b=J[f+16>>2];if(!b){he(a,30620,0,0);break a}o=e?e:1584;p=J[f>>2];J[d+40>>2]=0;J[d+44>>2]=0;J[d+32>>2]=0;J[d+36>>2]=0;J[d+24>>2]=0;J[d+28>>2]=0;J[d+16>>2]=f;J[d+20>>2]=J[p+24>>2];b:{c:{d:{e:{c=J[f+92>>2];if(c){if(!Kc(J[c+12>>2],o)){n=1;break e}yx(c);J[f+92>>2]=0;b=J[f+16>>2]}J[d+64>>2]=0;dg(b,115,d- -64|0);b=J[d+64>>2];J[f+24>>2]=b;J[d+24>>2]=b;e=0;b=0;while(1){f:{g:{h:{c=K[b+o|0];if(c){g=c<<24>>24;J[d+64>>2]=0;h=c-108|0;if(h>>>0>13){break h}if(1<<h&12432){break f}if(h){if((h|0)!=2){break h}if(K[p+236|0]){break f}break g}if(!K[p+238|0]){break g}break f}b=e>>>29|0;h=ob(o);g=e<<3;c=g+h|0;b=h>>>0>c>>>0?b+1|0:b;c=c+25|0;b=c>>>0<25?b+1|0:b;c=Be(c,b);if(c){J[c+16>>2]=20;b=e<<2;J[(b+c|0)+20>>2]=b+24;b=(c+g|0)+24|0;J[c+12>>2]=b;J[c+4>>2]=e;Qa(b,o,h+1|0);H[c|0]=1;J[f+88>>2]=1;J[f+92>>2]=c;break e}J[f+88>>2]=1;J[f+92>>2]=0;break d}i:{switch(c-97|0){case 1:case 2:break f;case 0:break i;default:break g}}if(K[p+236|0]){break f}}J[d>>2]=g;Nd(d- -64|0,18020,d);b=a;a=J[d+64>>2];Bb(b,a,-1);Oa(a);break b}b=b+1|0;e=Ep(d+16|0,g)+e|0;continue}}j:{if(!K[c+1|0]){H[c+1|0]=1;h=c+20|0;q=116;break j}if(!K[c+2|0]){H[c+2|0]=1;h=((J[c+4>>2]<<2)+c|0)+24|0;q=116;break j}h=pb(J[c+4>>2]<<2,0);if(!h){break d}q=1;if(!J[c+8>>2]){break j}Qa(h,c+20|0,J[c+4>>2]<<2)}J[d+44>>2]=h;J[d+24>>2]=J[f+24>>2];r=J[f>>2];J[d+72>>2]=0;u=d+32|0;e=h;c=0;while(1){k:{l:{m:{n:{o:{p:{q:{r:{if(c){break r}t=o+s|0;b=H[t|0];if(!b){break r}H[d+40|0]=b;s:{t:{u:{v:{switch(b-108|0){default:switch(b-97|0){case 1:break o;case 0:break s;case 2:break u;default:break q};case 0:break l;case 7:break n;case 1:case 3:case 5:case 6:break p;case 2:break t;case 4:break v}}c=0;if(n){break k}J[e>>2]=J[d+24>>2];break k}c=0;if(n){break k}J[e>>2]=J[d+20>>2];break k}c=0;if(n){break k}J[d+64>>2]=0;J[d+68>>2]=0;c=Dp(r,d+72|0,d- -64|0,0,0);J[d+76>>2]=c;J[J[d+44>>2]>>2]=J[d+64>>2];break k}c=0;if(n){break k}c=Dp(r,d+72|0,d- -64|0,d+60|0,d+56|0);J[d+76>>2]=c;if(c){break k}c=J[d+68>>2];k=c;j=J[d+64>>2];e=mJ(j,c,2,0);g=Ia;c=0;b=0;while(1){if(J[d+20>>2]<=(b|0)){break k}i=uc(J[d+60>>2],d+48|0)+J[d+60>>2]|0;J[d+60>>2]=i;if(i>>>0>M[d+56>>2]){c=267;break m}else{l=J[d+44>>2]+(b<<2)|0;m=e+J[d+48>>2]|0;i=m>>>0<e>>>0?g+1|0:g;J[l>>2]=mJ(m,i,j,k);b=b+1|0;continue}}}jb(J[d+72>>2]);if(!n){b=J[f+92>>2];e=b+8|0;J[e>>2]=1;g=e;e=J[b+4>>2]<<2;Qa((g+e|0)+16|0,b+20|0,e)}if(c){break c}he(a,h,J[J[f+92>>2]+4>>2]<<2,q);break b}if((b|0)==121){break o}}b=J[f+16>>2];c=Ml(f,0,0);J[d+76>>2]=c;if(c){break k}if(!n){if(J[f+28>>2]){c=Dp(r,d+72|0,u,0,0);J[d+76>>2]=c;if(c){break k}}J[d+76>>2]=dg(b,117,d+16|0);Xp(f,d+76|0);c=J[d+76>>2];if(c){break k}}dg(b,118,d+16|0);c=0;break k}c=d+16|0;Sa(e,0,Ep(c,b)<<2);c=Zw(J[f+16>>2],c);break m}c=Ml(f,0,0);J[d+76>>2]=c;if(c){break k}j=Be(J[f+24>>2]<<4,0);if(!j){c=7;break m}dg(J[f+16>>2],119,j);k=0;b=J[d+24>>2];e=(b|0)>0?b:0;b=0;c=0;while(1){if((c|0)!=(e|0)){g=(c<<4)+j|0;b=b-J[J[J[g>>2]+20>>2]+64>>2]|0;J[g+4>>2]=b;c=c+1|0;continue}break}while(1){m=0;l=0;b=0;w:{x:{if(J[d+20>>2]<=(k|0)){c=0;break x}while(1){if(J[d+24>>2]>(b|0)){e=(b<<4)+j|0;c=Ll(f,J[e>>2],k,e+8|0);if(c){break x}if(J[e+8>>2]){J[e+12>>2]=J[e+4>>2];Yw(e);if(!J[e+8>>2]){c=267;break x}l=l+1|0}b=b+1|0;continue}break}while(1){if((l|0)<=0){break w}c=0;b=J[d+24>>2];v=(b|0)>0?b:0;g=0;e=0;while(1){if((c|0)!=(v|0)){i=c<<4;b=i+j|0;y:{if(!J[b+8>>2]){b=0;break y}g=(J[(j+i|0)+12>>2]>=J[g+12>>2]?g:0)?g:b;z:{if(e){i=1;if(J[b+12>>2]!=J[b-4>>2]){break z}}i=e+1|0}b=i;m=(b|0)>(m|0)?b:m}c=c+1|0;e=b;continue}break}l=l-Yw(g)|0;continue}}Oa(j);break m}J[J[d+44>>2]+(k<<2)>>2]=m;k=k+1|0;continue}}J[d+76>>2]=c;break k}b=J[f+32>>2];g=J[f+36>>2];J[d+64>>2]=0;c=Gb(r,21,d- -64|0,0);e=J[d+64>>2];A:{B:{if(!c){xb(e,1,b,g);if((qb(e)|0)==100){if((Og(e,0)|0)==4){break B}}b=jb(e);c=b?b:267;e=0}J[d+76>>2]=c;break A}c=0;J[d+76>>2]=0;b=Pe(e,0);g=b+Id(e,0)|0;while(1){if(J[d+20>>2]<=(c|0)){break A}b=Rl(b,g,d- -64|0)+b|0;if(g>>>0<b>>>0){J[d+76>>2]=267}else{J[J[d+44>>2]+(c<<2)>>2]=J[d+64>>2];c=c+1|0;continue}break}}jb(e);c=J[d+76>>2]}e=J[d+44>>2]+(Ep(d+16|0,H[t|0])<<2)|0;J[d+44>>2]=e;s=s+1|0;continue}}h=0;c=7}Td(a,c);if(!q){break b}Ja[q|0](h)}Se(p)}Fa=d+80|0}function aA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0;h=Fa-16|0;Fa=h;l=K[a+44|0];q=l>>>0<2?1:(l|0)==2?5:10;x=J[a>>2];a:{if(!b){break a}c=J[a+8>>2];if(!c){break a}p=J[c>>2]}i=l<<2;c=P(i+32|0,q)+p<<1;r=Ib(J[x>>2],c,c>>31);if(r){f=p<<1;c=q<<5;e=c+r|0;J[e>>2]=0;J[e+4>>2]=0;J[e+24>>2]=0;J[e+28>>2]=0;J[e+16>>2]=0;J[e+20>>2]=0;J[e+8>>2]=0;J[e+12>>2]=0;s=c+e|0;c=q<<1;d=r;while(1){if((c|0)>0){J[d+24>>2]=s;d=d+32|0;c=c-1|0;s=i+s|0;continue}break}b:{if(!p){s=0;break b}Sa(s,0,f)}f=(q<<5)+r|0;c=I[x+156>>1];I[f+16>>1]=(c|0)>=48?48:c;if(p){H[f+22|0]=l?-1:p}D=b-10|0;E=a+60|0;F=(b|0)>10;c=1;f=r;while(1){i=e;if((l|0)!=(y|0)){e=0;G=(c|0)>0?c:0;B=y<<2;M=y&65535;k=i;z=0;while(1){if((z|0)!=(G|0)){c=E;while(1){j=J[c>>2];if(j){d=J[k+4>>2];N=d;c:{n=J[k>>2];if(J[j>>2]&(n^-1)|J[j+4>>2]&(d^-1)){break c}o=J[j+8>>2];C=J[j+12>>2];if(n&o|d&C){break c}g=I[k+16>>1];if((g|0)<3?K[j+41|0]&64:0){break c}t=_d(_d(I[j+18>>1],g+L[j+20>>1]<<16>>16),I[k+20>>1]);d=L[j+22>>1];m=H[k+22|0];d:{if((m|0)<0){J[h+8>>2]=0;J[h+12>>2]=0;m=vm(a,J[a+8>>2],k,L[a+40>>1],M,j,h+8|0);break d}c=J[k+12>>2];J[h+8>>2]=J[k+8>>2];J[h+12>>2]=c}u=d+g|0;e:{if(!((m|0)<0|(m|0)>=(p|0))){c=(m<<1)+s|0;d=L[c>>1];if(!d){d=(J[J[J[a+16>>2]+28>>2]>>2]+59|0)/30|0;d=Fd(d,d>>31)+b|0;if(m){g=(P(p-m|0,100)|0)/(p|0)|0;d=(Fd(g,g>>31)+d|0)-66|0}g=L[a+40>>1];f:{if(g&16384){d=(m?16:10)+d|0;g=I[a+42>>1];g=(b|0)>(g|0)?g:b;break f}g=F?(g&256)>>>8|0?D:b:b}d=um(g<<16>>16)+d|0;I[c>>1]=d}g=_d(t,d<<16>>16)+3|0;break e}g=t;t=g-2|0}O=n|o;n=N|C;u=u<<16>>16;d=0;o=(e|0)>0?e:0;c=f;g:{h:{while(1){if((d|0)!=(o|0)){if(J[c>>2]==(O|0)&J[c+4>>2]==(n|0)&(K[c+22|0]^m)<<24>>24>=0){break h}c=c+32|0;d=d+1|0;continue}break}c=e;d=(q|0)>(c|0);i:{if(d){break i}if(g<<16>>16>v<<16>>16){break c}c=w;if((g&65535)!=(v&65535)){break i}if(t<<16>>16>=A<<16>>16){break c}}c=(c<<5)+f|0;e=d+e|0;break g}d=I[c+18>>1];if((d|0)<g<<16>>16){break c}if((d&65535)!=(g&65535)){break g}d=I[c+16>>1];if((d|0)<(u|0)){break c}if((d|0)!=(u|0)){break g}if(I[c+20>>1]<=t<<16>>16){break c}}d=J[j+12>>2]|J[k+4>>2];J[c>>2]=J[j+8>>2]|J[k>>2];J[c+4>>2]=d;o=J[h+8>>2];d=J[h+12>>2];H[c+22|0]=m;I[c+20>>1]=t;I[c+18>>1]=g;I[c+16>>1]=u;J[c+8>>2]=o;J[c+12>>2]=d;Qa(J[c+24>>2],J[k+24>>2],B);J[J[c+24>>2]+B>>2]=j;if((e|0)<(q|0)){break c}A=L[f+16>>1];v=L[f+18>>1];d=1;w=0;c=f;while(1){if((d|0)==(q|0)){break c}n=I[c+50>>1];j:{if((n|0)>v<<16>>16){w=L[c+52>>1]}else{if((n&65535)!=(v&65535)){break j}o=I[c+52>>1];if((o|0)<=A<<16>>16){break j}w=o}A=w;v=n;w=d}c=c+32|0;d=d+1|0;continue}}c=j+56|0;continue}break}k=k+32|0;z=z+1|0;continue}break}y=y+1|0;c=e;e=f;f=i;continue}break}k:{if(c){e=(c|0)<=1?1:c;d=i;c=1;while(1)if((c|0)==(e|0)){e=a+760|0;c=0;while(1){if((c|0)!=(l|0)){i=e+P(c,96)|0;f=J[J[d+24>>2]+(c<<2)>>2];J[i+80>>2]=f;f=K[f+16|0];H[i+60|0]=f;J[i+4>>2]=J[(J[a+4>>2]+(f<<6)|0)+48>>2];c=c+1|0;continue}break}l:{if(K[a+47|0]|(!b|(L[a+40>>1]&384)!=256)){break l}b=l-1|0;if((vm(a,J[a+12>>2],d,128,b&65535,J[J[d+24>>2]+(b<<2)>>2],h+8|0)|0)!=J[J[a+12>>2]>>2]){break l}H[a+47|0]=2}e=K[a+48|0];H[a+48|0]=e&251;c=J[a+8>>2];m:{if(!c){break m}i=H[d+22|0];H[a+45|0]=i;f=L[a+40>>1];n:{if(f&128){if((i|0)==J[c>>2]){H[a+47|0]=2}b=J[J[a+16>>2]+48>>2];if(!b){break n}b=J[b>>2];if((b|0)>=(i|0)){break n}H[a+45|0]=b;break n}b=J[d+12>>2];J[a+72>>2]=J[d+8>>2];J[a+76>>2]=b;if((i|0)<=0){H[a+45|0]=0;if(!l){break n}i=l-1|0;e=J[J[d+24>>2]+(i<<2)>>2];b=J[e+40>>2];if(b&4096|(b&260)==260){break n}J[h+8>>2]=0;J[h+12>>2]=0;b=vm(a,c,d,2048,i&65535,e,h+8|0);c=J[a+8>>2];if((b|0)==J[c>>2]){H[a+48|0]=K[a+48|0]|4;b=J[h+12>>2];J[a+72>>2]=J[h+8>>2];J[a+76>>2]=b}f=L[a+40>>1];break n}if(!(f&3)|(!l|(i|0)!=1)){break n}H[a+48|0]=e|4}if(!(f&512)|!l|J[c>>2]!=H[a+45|0]){break m}J[h+8>>2]=0;J[h+12>>2]=0;b=l-1|0;if((vm(a,c,d,0,b&65535,J[J[d+24>>2]+(b<<2)>>2],h+8|0)|0)!=J[J[a+8>>2]>>2]){break m}H[a+48|0]=K[a+48|0]|8;b=J[h+12>>2];J[a+72>>2]=J[h+8>>2];J[a+76>>2]=b}I[a+50>>1]=L[d+16>>1];break k}else{f=i+(c<<5)|0;d=I[d+18>>1]>I[f+18>>1]?f:d;c=c+1|0;continue}}Ra(x,10194,0)}Za(J[x>>2],r)}Fa=h+16|0}function zv(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,N=0,O=0,Q=0;m=Fa-144|0;Fa=m;J[m+12>>2]=0;l=8;if(!K[a+46|0]){u=c;k=Pf(a,1,1);a:{if(k){break a}H[a+45|0]=1;b:{c:{if(!c){u=0;break c}u=0;k=Zk(a,d,e,0,1);if((k|0)==5){d=0;break c}if(k){u=c;break b}H[a+44|0]=1;u=c}k=Lu(a,m+12|0)}if(k){break a}r=J[a+68>>2];t=L[a+66>>1];t=(t<<16|t)&130560;d:{if(!(!r|(g|0)==(t|0))){k=Ta(68831);break d}v=J[J[a+32>>2]>>2];e:{if(M[v+96>>2]>=r>>>0){k=0}else{p=v+100|0;D=J[a+72>>2];k=0;l=1;while(1){if((l|0)!=5){n=p+(l<<2)|0;g=J[n>>2];f:{if(g>>>0>=r>>>0){break f}o=l+3|0;k=Zk(a,d,e,o,1);if((k|0)==5){r=g;d=0;break f}if(k){break e}J[n>>2]=(l|0)!=1?-1:r;te(a,o,1);k=0}l=l+1|0;continue}break}g:{if(M[v+96>>2]>=r>>>0){break g}o=J[v+96>>2];y=J[a+68>>2];q=y+33>>>12|0;k=0;g=(y>>>0>=4096?4096:y)<<1;n=g;l=(P(q,20)+(y<<1)|0)+28|0;g=g+l|0;k=n>>>0>g>>>0?1:k;z=pb(g,k);if(!z){k=7;z=0;break e}k=0;s=Sa(z,0,l);J[s+4>>2]=q+1;B=l+s|0;g=o+34>>>12|0;while(1){if(!(g>>>0>q>>>0|k)){k=el(a,g,m+16|0);if(!k){h:{if((g|0)==(q|0)){l=J[m+24>>2];o=y-l|0;break h}l=J[m+24>>2];o=J[m+16>>2]-J[m+20>>2]>>2}n=J[s+4>>2];p=l+1|0;J[m+24>>2]=p;w=((s+P(n,20)|0)+(l<<1)|0)+8|0;l=0;C=(o|0)>0?o:0;while(1){if((l|0)!=(C|0)){I[w+(l<<1)>>1]=l;l=l+1|0;continue}break}x=J[m+20>>2];l=0;J[m+140>>2]=0;J[m+136>>2]=0;Sa(m+32|0,0,104);A=0;while(1){if((A|0)!=(C|0)){J[m+140>>2]=1;J[m+136>>2]=w+(A<<1);l=0;while(1){if(A>>>l&1){n=(m+32|0)+(l<<3)|0;xu(x,J[n+4>>2],J[n>>2],m+136|0,m+140|0,B);l=l+1|0;continue}break}n=(m+32|0)+(l<<3)|0;J[n+4>>2]=J[m+136>>2];J[n>>2]=J[m+140>>2];A=A+1|0;continue}break}while(1){l=l+1|0;if(l>>>0<=12){if(!(o>>>l&1)){continue}n=(m+32|0)+(l<<3)|0;xu(x,J[n+4>>2],J[n>>2],m+136|0,m+140|0,B);continue}break}o=s+P(g,20)|0;J[o+20>>2]=J[m+140>>2];J[o+24>>2]=p;J[o+16>>2]=x;J[o+12>>2]=w}g=g+1|0;continue}break}if(k){Oa(s);z=0;break g}k=Zk(a,d,e,3,1);if(k){break g}B=J[v+96>>2];J[v+128>>2]=r;i:{j:{x=f>>>2&3;if(!x){break j}f=J[a+8>>2];l=Ja[J[J[f>>2]+20>>2]](f,x)|0;if(!l){break j}break i}J[m+32>>2]=lJ(t,0,D,0);J[m+36>>2]=Ia;f=J[a+4>>2];Ja[J[J[f>>2]+40>>2]](f,39,0)|0;f=J[a+4>>2];l=Ja[J[J[f>>2]+24>>2]](f,m+16|0)|0;if(l){break i}l=J[m+20>>2];k=J[m+36>>2];g=J[m+16>>2];f=J[m+32>>2];k:{if((l|0)>=(k|0)&g>>>0>=f>>>0|(k|0)<(l|0)){break k}o=lJ(J[a+68>>2],0,t,0);n=o+g|0;g=Ia+l|0;g=o>>>0>n>>>0?g+1|0:g;o=n+65536|0;g=o>>>0<65536?g+1|0:g;if((g|0)<=(k|0)&f>>>0>o>>>0|(g|0)<(k|0)){l=Ta(66760);break i}g=J[a+4>>2];f=J[g>>2];if(!f){break k}Ja[J[f+40>>2]](g,5,m+32|0)|0}l=0}o=t|24;w=0;while(1){l:{k=l;if(k){break l}f=J[s+4>>2];C=J[s>>2];g=-1;m:while(1){if((f|0)>0){f=f-1|0;q=s+P(f,20)|0;k=J[q+20>>2];l=J[q+8>>2];p=(k|0)>(l|0)?k:l;while(1){if((l|0)==(p|0)){continue m}n=L[J[q+12>>2]+(l<<1)>>1];k=J[J[q+16>>2]+(n<<2)>>2];if(k>>>0>C>>>0){if(g>>>0<=k>>>0){continue m}w=n+J[q+24>>2]|0;g=k;continue m}else{l=l+1|0;J[q+8>>2]=l;continue}}}break}J[s>>2]=g;if((g|0)==-1){k=0;break l}if(J[b+296>>2]){k=K[b+87|0]?7:9;break l}l=0;if(r>>>0<w>>>0|w>>>0<=B>>>0|g>>>0>D>>>0){continue}n=J[a+8>>2];f=t;k=lJ(w-1|0,0,o,0);p=Ia;k=k+56|0;p=k>>>0<56?p+1|0:p;k=Ja[J[J[n>>2]+8>>2]](n,h,f,k,p)|0;if(k){break l}k=J[a+4>>2];k=(F=k,G=h,N=f,O=lJ(f,0,g-1|0,0),Q=Ia,E=J[J[k>>2]+12>>2],Ja[E](F|0,G|0,N|0,O|0,Q|0)|0);if(!k){continue}}break}f=J[a+4>>2];b=J[f>>2];if(b){Ja[J[b+40>>2]](f,37,0)|0}n:{if(k){break n}o:{if(J[J[J[a+32>>2]>>2]+16>>2]!=(r|0)){break o}f=J[a+4>>2];k=(Q=f,O=lJ(t,0,J[a+72>>2],0),N=Ia,E=J[J[f>>2]+16>>2],Ja[E](Q|0,O|0,N|0)|0);if(k){break n}if(!x){break o}b=J[a+4>>2];k=Ja[J[J[b>>2]+20>>2]](b,x)|0;if(k){break n}}J[v+96>>2]=r;k=0}te(a,3,1)}k=(k|0)!=5?k:0}if(k|!u){break e}k=5;if(M[v+96>>2]<M[a+68>>2]){break e}k=0;if((u|0)<2){break e}se(4,m+32|0);k=Zk(a,d,e,4,4);if(k){break e}k=0;if((u|0)==3){Wu(a,J[m+32>>2]);b=J[a+8>>2];k=Ja[J[J[b>>2]+16>>2]](b,0,0)|0}te(a,4,4)}Oa(z)}if(k?(k|0)!=5:0){break a}if(i){J[i>>2]=J[a+68>>2]}if(!j){break a}J[j>>2]=J[J[J[a+32>>2]>>2]+96>>2]}if(J[m+12>>2]){Sa(a+52|0,0,48)}Ho(a);if(K[a+45|0]){te(a,1,1);H[a+45|0]=0}l=(c|0)==(u|0)?k:k?k:5}Fa=m+144|0;return l}function md(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=Fa-128|0;Fa=l;a:{if(J[c>>2]|K[b+32|0]){break a}j=b+32|0;g=K[a+52|0];H[b+33|0]=1;b:{c:{d:{switch(J[b>>2]-1|0){case 0:case 2:j=J[b+16>>2];d=J[b+12>>2];if(K[d+34|0]){md(a,j,c);a=J[j+28>>2];J[b+24>>2]=J[j+24>>2];J[b+28>>2]=a;H[b+32|0]=K[j+32|0];break a}f=K[j+34|0];md(a,d,c);if(f){a=J[d+28>>2];J[b+24>>2]=J[d+24>>2];J[b+28>>2]=a;H[b+32|0]=K[d+32|0];break a}md(a,j,c);while(1){if(K[d+32|0]){f=J[d+28>>2];J[b+24>>2]=J[d+24>>2];J[b+28>>2]=f;f=1;break b}i=K[j+32|0];if(i){f=J[d+24>>2];h=J[d+28>>2];break c}f=J[d+24>>2];h=J[d+28>>2];if(J[c>>2]){break c}e=J[j+24>>2];k=J[j+28>>2];e=e>>>0<f>>>0&(h|0)>=(k|0)|(h|0)>(k|0)?1:(e|0)!=(f|0)|(k|0)!=(h|0)?-1:0;e=g?0-e|0:e;if(!e){break c}md(a,(e|0)<0?d:j,c);continue};case 3:g=g?-1:1;h=J[b+12>>2];d=J[b+16>>2];f=h;e:{if(K[d+32|0]){break e}f=J[h+24>>2];e=J[d+24>>2];k=J[h+28>>2];i=J[d+28>>2];e=P(g,e>>>0<f>>>0&(i|0)<=(k|0)|(i|0)<(k|0)?1:(f|0)!=(e|0)|(k|0)!=(i|0)?-1:0);k=K[h+32|0];if(!k){f=h;if((e|0)<0){break e}}f=d;if(k){break e}f=d;if((e|0)>0){break e}md(a,h,c);f=d}md(a,f,c);H[j|0]=K[h+32|0]?K[d+32|0]!=0:0;a=J[h+24>>2];f=J[h+28>>2];f:{if(!K[d+32|0]){c=J[d+24>>2];d=J[d+28>>2];if(K[h+32|0]|(P(g,(d|0)<=(f|0)&a>>>0>c>>>0|(d|0)<(f|0)?1:(a|0)!=(c|0)|(f|0)!=(d|0)?-1:0)|0)>=0){break f}}J[b+24>>2]=a;J[b+28>>2]=f;break a}J[b+24>>2]=c;J[b+28>>2]=d;break a;case 1:h=J[b+12>>2];j=J[b+16>>2];if(!K[j+33|0]){md(a,j,c)}md(a,h,c);d=K[h+32|0];if(!d){while(1){g:{if(J[c>>2]|K[j+32|0]){break g}f=J[h+24>>2];d=J[j+24>>2];e=J[h+28>>2];k=J[j+28>>2];if(((g?f>>>0<d>>>0&(e|0)<=(k|0)|(e|0)<(k|0):d>>>0<f>>>0&(e|0)>=(k|0)|(e|0)>(k|0))|0)!=1){break g}md(a,j,c);continue}break}d=K[h+32|0]}a=J[h+24>>2];c=J[h+28>>2];H[b+32|0]=d;J[b+24>>2]=a;J[b+28>>2]=c;break a;default:break d}}e=J[b+20>>2];_h(e);m=J[a>>2];h:{if(J[e+40>>2]){H[l+127|0]=0;i:{j:{if(J[e+64>>2]==1){k=px(m,J[e+92>>2],e+16|0,e+28|0,e+32|0);d=!J[e+28>>2];break j}p=K[a+52|0];Sa(l+16|0,0,96);q=p?-1:1;while(1){a=0;f=0;h=0;i=0;if(d){break j}while(1){if(!(K[l+127|0]|(J[e+64>>2]<=(a|0)|k))){g=(l+16|0)+P(a,24)|0;k=nx(m,e,a,g,l+127|0);k:{if(J[g>>2]){break k}d=J[g+8>>2];g=J[g+12>>2];if(!i){i=1;f=d;h=g;break k}i=1;n=d;o=f;f=d>>>0<f>>>0&(h|0)>=(g|0)|(h|0)>(g|0)?1:(d|0)!=(f|0)|(h|0)!=(g|0)?-1:0;d=((p?0-f|0:f)|0)<0;f=d?n:o;h=d?g:h}a=a+1|0;continue}break}a=0;while(1){g=J[e+64>>2];if((a|0)<(g|0)){while(1){l:{if(K[l+127|0]|k){break l}d=(l+16|0)+P(a,24)|0;if(J[d>>2]){break l}g=J[d+8>>2];i=J[d+12>>2];if((P(q,(h|0)<=(i|0)&g>>>0>f>>>0|(h|0)<(i|0)?1:(f|0)!=(g|0)|(h|0)!=(i|0)?-1:0)|0)>=0){break l}k=nx(m,e,a,d,l+127|0);g=J[d+8>>2];i=J[d+12>>2];d=i;d=(P(q,g>>>0>f>>>0&(d|0)>=(h|0)|(d|0)>(h|0)?1:(g|0)!=(f|0)|(d|0)!=(h|0)?-1:0)|0)>0;f=d?g:f;h=d?i:h;a=d?0:a;continue}break}a=a+1|0;continue}break}d=K[l+127|0];if(d){continue}a=J[(P(g,24)+l|0)+12>>2];g=a>>31;i=a+8|0;g=i>>>0<8?g+1|0:g;g=pb(i,g);if(!g){break i}g=Qa(g,J[(P(J[e+64>>2],24)+l|0)+8>>2],a+1|0);a=g+a|0;H[a|0]=0;H[a+1|0]=0;H[a+2|0]=0;H[a+3|0]=0;H[a+4|0]=0;H[a+5|0]=0;H[a+6|0]=0;H[a+7|0]=0;a=0;n=0;m:{while(1){o=J[e+64>>2];i=o-1|0;if((i|0)<=(a|0)){break m}n:{i=(l+16|0)+P(a,24)|0;if(!J[i>>2]){J[l+12>>2]=J[i+16>>2];J[l+8>>2]=g;J[l+4>>2]=g;if(!Zh(l+4|0,o+(a^-1)|0,0,1,l+12|0,l+8|0)){break n}n=J[l+4>>2]-g|0}a=a+1|0;continue}break}i=J[e+64>>2]-1|0}if((a|0)!=(i|0)){Oa(g);continue}break}J[e+32>>2]=n;J[e+28>>2]=g;J[e+16>>2]=f;J[e+20>>2]=h;J[e+24>>2]=1;d=0}H[j|0]=d;break h}k=7;break h}o:{p:{d=K[a+52|0];a=K[m+239|0];if((d|0)==(a|0)){break p}f=J[e+4>>2];if(!f){break p}Xl(a,J[e>>2],f,e+8|0,e+16|0,e+32|0,j);J[e+28>>2]=J[e+8>>2];break o}mx(m,e,j)}}J[c>>2]=k;a=J[e+20>>2];J[b+24>>2]=J[e+16>>2];J[b+28>>2]=a;break a}J[b+24>>2]=f;J[b+28>>2]=h;f=(i|0)!=0}H[b+32|0]=f;if(!f|J[b>>2]!=1){break a}q:{b=J[j+20>>2];if(!J[b>>2]){break q}while(1){if(J[c>>2]|K[j+32|0]){break q}Sa(J[b+28>>2],0,J[b+32>>2]);md(a,j,c);continue}}r:{b=J[d+20>>2];if(!b|!J[b>>2]){break r}while(1){if(J[c>>2]|K[d+32|0]){break r}Sa(J[b+28>>2],0,J[b+32>>2]);md(a,d,c);continue}}H[d+32|0]=1;H[j+32|0]=1}Fa=l+128|0}function vm(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,M=0,N=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;a:{if(K[J[J[a>>2]>>2]+80|0]&64?e:0){break a}r=L[b>>1];if(r>>>0>63){break a}F=d&2051?387:386;T=a+496|0;U=d&192;V=a+80|0;G=d&128;W=d&2048;j=r&31;if((r&63)>>>0>=32){i=-1<<j;j=0}else{h=(1<<j)-1&-1>>>32-j;j=-1<<j;i=h|j}C=j^-1;B=i^-1;M=e;X=(d&64)!=0;l=1;while(1){b:{c:{d:{e:{f:{g:{if(!(!(l&255)|((q|0)==(B|0)&s>>>0>=C>>>0|q>>>0>B>>>0)|(!x&u>>>0>M>>>0|(x|0)!=0))){if(u|x){N=N|J[m+12>>2];O=O|J[m+8>>2]}m=f;if(!x&u>>>0<M>>>0){m=J[J[c+24>>2]+(u<<2)>>2];if(W){break b}}if(!(K[m+41|0]&4)){break g}a=K[m+29|0];b=(d&640)==128;s=b?s:a?C:s;q=b?q:a?B:q}if((s|0)!=(C|0)|(q|0)!=(B|0)){break f}h=r;break a}if(G){I[m+30>>1]=0}o=O^-1;p=N^-1;v=J[(J[a+4>>2]+(K[m+16|0]<<6)|0)+48>>2];i=0;j=0;while(1){if(!(!j&(i|0)==(r|0))){h=i&31;if((i&63)>>>0>=32){e=1<<h;n=0}else{k=1<<h;e=k-1&1>>>32-h;n=k}h=e;h:{if(s&n|q&h){break h}y=(i<<4)+b|0;k=Xc(J[y+8>>2]);if(!k){break h}i:{switch(K[k|0]-167|0){case 0:case 2:break i;default:break h}}if(J[k+28>>2]!=(v|0)){break h}t=_q(V,v,I[k+32>>1],o,p,F,0);if(!t){break h}w=L[t+12>>1];if((w|0)==1){z=L[m+44>>1];e=0;while(1){if((e|0)==(z|0)){break h}A=e<<2;e=e+1|0;if((t|0)!=J[A+J[m+52>>2]>>2]){continue}break}}if(!(!(w&130)|I[k+32>>1]<0)){e=J[a>>2];k=uf(e,J[y+8>>2]);e=Qh(e,J[t>>2]);if(!e){break h}if(Xa(J[k>>2],J[e>>2])){break h}}s=s|n;q=h|q}e=j;i=i+1|0;j=i?e:e+1|0;continue}break}e=J[m+40>>2];if(e&4096){break c}k=0;j:{if(e&256){o=0;Q=0;j=1;break j}h=0;o=J[m+32>>2];if(!o|K[o+55|0]&4){break a}l=!(e&32768)&K[o+54|0]!=0;Q=L[o+50>>1];j=L[o+52>>1]}i=u&31;if((u&63)>>>0>=32){e=1<<i;h=0}else{h=1<<i;e=h-1&1>>>32-i}Y=h;t=e;Z=j&65535;y=0;w=0;z=0;while(1){if((k|0)==(Z|0)){break d}e=1;k:{j=L[m+24>>1];l:{if(j>>>0<=k>>>0|L[m+46>>1]>k>>>0){break l}i=J[m+52>>2];h=J[i+(k<<2)>>2];e=L[h+12>>1];if(e&F){l=e&384?0:l;break k}m:{if(!(e&1)){break m}p=j-1|0;n=J[h>>2];h=k;while(1){if((h|0)==(p|0)){break m}e=0;h=h+1|0;if((n|0)!=J[J[i+(h<<2)>>2]>>2]){continue}break}break l}e=1}n:{o:{if(o){i=L[J[o+4>>2]+(k<<1)>>1];p=J[o+12>>2];h=((i|0)==L[p+32>>1]?-1:i)<<16>>16;A=H[J[o+28>>2]+k|0]&1;if(l&255){break o}l=0;break n}A=0;h=-1;l=(l&255)!=0;break n}if((h|0)>=0){l=1;if(j>>>0>k>>>0){break n}l=(K[(J[p+4>>2]+P(h,12)|0)+4|0]&15)!=0;break n}l=(h|0)!=-2}i=0;j=0;while(1){R=!j&i>>>0<r>>>0&(e&255)!=0;if(!R){break e}n=s;p=i&31;p:{if((i&63)>>>0>=32){n=q>>>p|0}else{n=((1<<p)-1&q)<<32-p|n>>>p}if(n&1){break p}p=(i<<4)+b|0;D=J[p+8>>2];n=Xc(D);if(!n){break p}e=U?e:0;q:{r:{if((h|0)>=-1){s:{switch(K[n|0]-167|0){case 0:case 2:break s;default:break p}}if(J[n+28>>2]!=(v|0)|I[n+32>>1]!=(h|0)){break p}if((h|0)!=-1){break r}break q}if(sm(n,J[(J[o+40>>2]+(k<<4)|0)+8>>2],v)){break p}D=J[p+8>>2]}if(Xa(J[uf(J[a>>2],D)>>2],J[J[o+32>>2]+(k<<2)>>2])){break p}}if(G){I[m+30>>1]=k+1}t:{if(!R|X){break t}if(z){z=1;if(((w^A)&255)==(H[p+16|0]&1)){break t}break e}z=1;w=H[p+16|0]&1^A;if(!w){w=0;break t}j=t|J[g+4>>2];J[g>>2]=Y|J[g>>2];J[g+4>>2]=j}if(K[p+16|0]&2){if(L[m+24>>1]!=(k|0)){break e}J[m+40>>2]=J[m+40>>2]|524288}y=(h|0)==-1?1:y;j=i&31;if((i&63)>>>0>=32){e=1<<j;h=0}else{h=1<<j;e=h-1&1>>>32-j}s=h|s;q=e|q;break k}i=i+1|0;j=i?j:j+1|0;continue}}k=k+1|0;continue}}h=255;if(l&255){break a}while(1){if(r>>>0<2&(E|0)<=0|(E|0)<0){h=0;break a}E=E-!r|0;r=r-1|0;a=r&31;if((r&63)>>>0>=32){i=-1<<a;a=0}else{b=(1<<a)-1&-1>>>32-a;a=-1<<a;i=b|a}a=a^-1;b=(a&s)!=(a|0);a=i^-1;if(b|(a&q)!=(a|0)){continue}break}h=r;break a}l=k?k>>>0>=Q>>>0?l:0:0}e=l|y;l=0;if(!(e&255)){break b}}j=_|J[m+12>>2];_=j;S=S|J[m+8>>2];k=S^-1;l=j^-1;i=0;j=0;while(1){if(!(!j&(i|0)==(r|0))){h=i&31;if((i&63)>>>0>=32){e=1<<h;n=0}else{n=1<<h;e=n-1&1>>>32-h}t=n;u:{if(s&t|e&q){break u}o=J[((i<<4)+b|0)+8>>2];h=Ve(T,o);v=Ia;if(!(h|v)){if(!be(o)){break u}}h=!(h&k|l&v);s=s|(h?t:0);q=q|(h?e:0)}e=j;i=i+1|0;j=i?e:e+1|0;continue}break}l=1}u=u+1|0;x=u?x:x+1|0;continue}}return h<<24>>24}function cf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;l=Fa-16|0;Fa=l;J[l+12>>2]=0;o=J[a+12>>2];r=ab(J[o+56>>2]+36|0);q=J[a+48>>2];a:{if(r>>>0>=q>>>0){g=Ta(76494);break a}b:{c:{if(r){d:{e:{switch(e-1|0){case 0:if(d>>>0>q>>>0){break d}g=Vi(a,d,l+11|0,0);if(g){break a}h=K[l+11|0]==2;break d;case 1:break e;default:break d}}h=1}g=Pb(J[o+72>>2]);if(g){break a}k=J[o+56>>2];f=r-1|0;f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);H[k+36|0]=f;H[k+37|0]=f>>>8;H[k+38|0]=f>>>16;H[k+39|0]=f>>>24;while(1){k=j;f:{if(j){f=ab(J[j+56>>2]);break f}f=ab(J[o+56>>2]+32|0)}if(!(f>>>0<=q>>>0&r>>>0>=u>>>0)){j=0;g=Ta(76550);break b}j=0;g=Ui(a,f,l+12|0,0);if(g){break b}g:{h:{i:{j:{k:{j=J[l+12>>2];p=J[j+56>>2];n=ab(p+4|0);l:{if(!(n|h)){g=Pb(J[j+72>>2]);if(g){break b}J[c>>2]=f;h=J[o+56>>2];f=J[j+56>>2];f=K[f|0]|K[f+1|0]<<8|(K[f+2|0]<<16|K[f+3|0]<<24);H[h+32|0]=f;H[h+33|0]=f>>>8;H[h+34|0]=f>>>16;H[h+35|0]=f>>>24;J[b>>2]=j;break l}if((J[a+40>>2]>>>2|0)-2>>>0<n>>>0){g=Ta(76579);break b}if(!h|!((e|0)==2&d>>>0>f>>>0)&(d|0)!=(f|0)){break k}J[c>>2]=f;J[b>>2]=j;g=Pb(J[j+72>>2]);if(g){break b}if(!n){if(!k){h=J[o+56>>2];f=J[j+56>>2];f=K[f|0]|K[f+1|0]<<8|(K[f+2|0]<<16|K[f+3|0]<<24);H[h+32|0]=f;H[h+33|0]=f>>>8;H[h+34|0]=f>>>16;H[h+35|0]=f>>>24;break l}g=Pb(J[k+72>>2]);if(g){break b}h=J[k+56>>2];f=J[j+56>>2];f=K[f|0]|K[f+1|0]<<8|(K[f+2|0]<<16|K[f+3|0]<<24);H[h|0]=f;H[h+1|0]=f>>>8;H[h+2|0]=f>>>16;H[h+3|0]=f>>>24;break l}m=ab(J[j+56>>2]+8|0);if(m>>>0>q>>>0){g=Ta(76613);break b}g=Ui(a,m,l+4|0,0);if(g){break b}i=J[l+4>>2];g=Pb(J[i+72>>2]);if(g){zb(i);break b}h=J[i+56>>2];f=J[j+56>>2];f=K[f|0]|K[f+1|0]<<8|(K[f+2|0]<<16|K[f+3|0]<<24);H[h|0]=f;H[h+1|0]=f>>>8;H[h+2|0]=f>>>16;H[h+3|0]=f>>>24;h=J[i+56>>2];g=n-1|0;f=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);H[h+4|0]=f;H[h+5|0]=f>>>8;H[h+6|0]=f>>>16;H[h+7|0]=f>>>24;Qa(J[i+56>>2]+8|0,J[j+56>>2]+12|0,g<<2);zb(i);if(!k){h=J[o+56>>2];f=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);H[h+32|0]=f;H[h+33|0]=f>>>8;H[h+34|0]=f>>>16;H[h+35|0]=f>>>24;break l}g=Pb(J[k+72>>2]);if(g){break b}h=J[k+56>>2];f=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);H[h|0]=f;H[h+1|0]=f>>>8;H[h+2|0]=f>>>16;H[h+3|0]=f>>>24}j=0;J[l+12>>2]=0;break j}if(!n){break h}m:{if(!d){f=0;break m}s=p+8|0;f=0;g=0;if((e|0)==2){while(1){if((g|0)==(n|0)){break m}if(ab((g<<2)+s|0)>>>0<=d>>>0){f=g;break m}else{g=g+1|0;continue}}}g=ab(s)-d|0;t=(g|0)<0?(g|0)==-2147483648?2147483647:0-g|0:g;g=1;while(1){if((g|0)==(n|0)){break m}i=ab((g<<2)+s|0)-d|0;i=(i|0)<0?(i|0)==-2147483648?2147483647:0-i|0:i;m=(i|0)<(t|0);t=m?i:t;f=m?g:f;g=g+1|0;continue}}i=(f<<2)+p|0;g=ab(i+8|0);if(!(g>>>0<=q>>>0&g>>>0>1)){g=Ta(76678);break b}if(!(!h|(e|0)==2&d>>>0>g>>>0|(d|0)==(g|0))){g=0;h=1;break g}J[c>>2]=g;g=Pb(J[j+72>>2]);if(g){break b}h=n-1|0;if(h>>>0>f>>>0){f=(n<<2)+p|0;f=K[f+4|0]|K[f+5|0]<<8|(K[f+6|0]<<16|K[f+7|0]<<24);H[i+8|0]=f;H[i+9|0]=f>>>8;H[i+10|0]=f>>>16;H[i+11|0]=f>>>24}f=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);H[p+4|0]=f;H[p+5|0]=f>>>8;H[p+6|0]=f>>>16;H[p+7|0]=f>>>24;h=0;f=J[c>>2];g=J[a+64>>2];i=0;n:{if(!g){break n}i=1;if(f>>>0>M[g>>2]){break n}i=(fl(g,f)|0)!=0}g=Ui(a,f,b,!i);if(g){break g}g=Pb(J[J[b>>2]+72>>2]);if(g){break i}}h=0;break h}zb(J[b>>2]);J[b>>2]=0;break g}g=0}u=u+1|0;zb(k);f=h;h=1;if(f){continue}break}break c}d=K[a+19|0];g=Pb(J[o+72>>2]);if(g){break a}e=J[a+48>>2];g=e+1|0;J[a+48>>2]=g;if((e|0)==(M[16608]/M[a+36>>2]|0)){g=e+2|0;J[a+48>>2]=g}e=!d;o:{if(!K[a+17|0]){break o}if((Ld(a,g)|0)!=(g|0)){break o}J[l>>2]=0;g=Ui(a,g,l,e);if(g){break a}d=J[l>>2];g=Pb(J[d+72>>2]);zb(d);if(g){break a}d=J[a+48>>2];g=d+1|0;J[a+48>>2]=g;if((d|0)!=(M[16608]/M[a+36>>2]|0)){break o}g=d+2|0;J[a+48>>2]=g}f=J[J[a+12>>2]+56>>2];d=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);H[f+28|0]=d;H[f+29|0]=d>>>8;H[f+30|0]=d>>>16;H[f+31|0]=d>>>24;d=c;c=J[a+48>>2];J[d>>2]=c;g=Ui(a,c,b,e);if(g){break a}g=Pb(J[J[b>>2]+72>>2]);if(!g){g=0;break b}zb(J[b>>2]);J[b>>2]=0}k=0}zb(j);zb(k)}Fa=l+16|0;return g}function wE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if((b|0)==2){a:{if((Fb(J[c>>2])|0)!=5){if((Fb(J[c+4>>2])|0)!=5){break a}}Mb(a);return}e=yb(J[c>>2]);h=yb(J[c+4>>2]);J[18304]=0;t=a;j=1;C(+h);f=x(1)|0;b:{c:{d:{c=x(0)|0;k=f&2147483647;e:{if(!(c|k)){break e}C(+e);a=x(1)|0;b=x(0)|0;if(!b&(a|0)==1072693248){break e}d=e+h;n=a&2147483647;if(!(!(n>>>0>2146435072|(n|0)==2146435072&(b|0)!=0|k>>>0>2146435072)&(!c|(k|0)!=2146435072))){break b}q=b;f:{g:{h:{i:{j:{o=0;k:{if((a|0)>0|(a|0)>=0){break k}o=2;if(k>>>0>1128267775){break k}o=0;if(k>>>0<1072693248){break k}b=k>>>20|0;if(k>>>0<1094713344){break j}i=1075-b|0;b=c>>>i|0;o=0;if((c|0)!=b<<i){break k}o=2-(b&1)|0}i=o;if(c){break h}if((k|0)!=2146435072){break i}if(!(n-1072693248|q)){break e}if(n>>>0<1072693248){break g}d=(f|0)>0|(f|0)>=0?h:0;break b}if(c){break h}b=1043-b|0;c=k>>>b|0;if((k|0)!=c<<b){break i}i=2-(c&1)|0}if((k|0)==1072693248){d=e;if((f|0)>0|(f|0)>=0){break b}d=1/d;break b}d=e*e;if((f|0)==1073741824){break b}if((f|0)!=1071644672|(a|0)<0){break h}d=Y(e);break b}g=R(e);if(q){break f}l:{if((a|0)<0){if((a|0)==-2147483648|(a|0)==-1074790400|(a|0)==-1048576){break l}break f}if(!a|(a|0)==2146435072){break l}if((a|0)!=1072693248){break f}}j=(f|0)<0?1/g:g;if((a|0)>0|(a|0)>=0){break e}if(!(n-1072693248|i)){d=j-j;d=d/d;break b}d=(i|0)==1?-j:j;break b}d=(f|0)>0|(f|0)>=0?0:-h;break b}m:{if((a|0)>0|(a|0)>=0){break m}n:{switch(i|0){case 0:d=e-e;d=d/d;break b;case 1:break n;default:break m}}j=-1}o:{if(k>>>0>=1105199105){if(k>>>0>=1139802113){d=(f|0)<0?Infinity:0;if(n>>>0<=1072693247){break b}d=(f|0)>0?Infinity:0;break b}e=j*1e300*1e300;l=j*1e-300*1e-300;d=(f|0)<0?e:l;if(n>>>0<=1072693246){break b}d=(f|0)>0?e:l;if(n>>>0>=1072693249){break b}d=g+-1;e=d*1.9259629911266175e-8+d*d*(.5-d*(d*-.25+.3333333333333333))*-1.4426950408889634;m=e;e=d*1.4426950216293335;C(+(m+e));a=x(1)|0;x(0)|0;z(0,0);z(1,a|0);d=+B();e=m-(d-e);break o}d=g*9007199254740992;a=n>>>0<1048576;e=a?d:g;C(+d);b=x(1)|0;x(0)|0;b=a?b:n;i=b&1048575;c=i|1072693248;b=(b>>20)+(a?-1076:-1023)|0;a=0;p:{if(i>>>0<235663){break p}if(i>>>0<767610){a=1;break p}c=i|1071644672;b=b+1|0}i=((a<<18)+(c>>>1|0)|0)+537395200|0;a=a<<3;u=O[a+57856>>3];C(+e);x(1)|0;q=0;z(0,x(0)|q);z(1,c|0);g=+B();l=O[a+57840>>3];p=g-l;r=1/(l+g);e=p*r;C(+e);c=x(1)|0;x(0)|0;z(0,0);z(1,c|0);d=+B();v=d;z(0,q|0);z(1,i|0);s=d*d;m=p;p=+B();g=r*(m-d*p-d*(g-(p-l)));m=g*(e+d);d=e*e;l=m+d*d*(d*(d*(d*(d*(d*.20697501780033842+.23066074577556175)+.272728123808534)+.33333332981837743)+.4285714285785502)+.5999999999999946);C(+(s+3+l));c=x(1)|0;x(0)|0;z(0,0);z(1,c|0);d=+B();p=v*d;e=g*d+e*(l-(d+-3-s));C(+(p+e));c=x(1)|0;x(0)|0;z(0,0);z(1,c|0);d=+B();e=u+(d*-7.028461650952758e-9+(e-(d-p))*.9617966939259756);m=e;g=O[a+57872>>3];e=d*.9617967009544373;l=+(b|0);C(+(g+(m+e)+l));a=x(1)|0;x(0)|0;z(0,0);z(1,a|0);d=+B();e=m-(d-l-g-e)}z(0,0);z(1,f|0);g=+B();e=(h-g)*d+e*h;d=d*g;h=e+d;C(+h);a=x(1)|0;b=x(0)|0;q:{c=a;if((a|0)>=1083179008){if(b|a-1083179008){break d}if(!(e+8008566259537294e-32>h-d)){break q}break d}if((c&2147482624)>>>0<1083231232){break q}if(b|c+1064252416){break c}if(!(e<=h-d)){break q}break c}a=0;f=c&2147483647;if(f>>>0>=1071644673){b=c+(1048576>>>(f>>>20|0)-1022|0)|0;f=b>>>20&2047;a=(b&1048575|1048576)>>>1043-f|0;a=(c|0)<0?0-a|0:a;z(0,0);z(1,b&-1048576>>f-1023);d=d-+B();C(+(e+d));c=x(1)|0;x(0)|0}z(0,0);z(1,c|0);h=+B();g=h*.6931471824645996;h=(e-(h-d))*.6931471805599453+h*-1.904654299957768e-9;d=g+h;e=d*d;e=d-e*(e*(e*(e*(e*4.1381367970572385e-8+-16533902205465252e-22)+6613756321437934e-20)+-.0027777777777015593)+.16666666666666602);m=d*e/(e+-2);e=d;d=h-(d-g);d=e-(m-(e*d+d))+1;C(+d);b=x(1)|0;c=x(0)|0;b=(a<<20)+b|0;r:{if((b|0)<=1048575){e=xj(d,a);break r}z(0,c|0);z(1,b|0);e=+B()}j=j*e}d=j;break b}d=j*1e300*1e300;break b}d=j*1e-300*1e-300}Nb(t,d);return}Z(23662,17942,546,17647);D()}function jj(a,b){var c=0,d=0,e=0,f=0,g=0;d=1;c=1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{e=K[a|0];switch(K[e+34656|0]){case 0:break j;case 1:break k;case 4:case 5:break l;case 6:break m;case 9:break n;case 3:break o;case 26:break p;case 8:break q;case 25:break r;case 24:break s;case 23:break t;case 10:break u;case 15:break v;case 13:break w;case 12:break x;case 14:break y;case 22:break z;case 16:break A;case 21:break B;case 20:break C;case 19:break D;case 18:break E;case 17:break F;case 11:break G;case 7:break H;case 2:case 27:break f;case 29:break h;case 30:break i;default:break g}}while(1){c=d;d=c+1|0;if(H[K[a+c|0]+31216|0]&1){continue}break}J[b>>2]=183;return c}I:{c=K[a+1|0];if((c|0)!=62){if((c|0)!=45){break I}c=2;while(1){d=K[a+c|0];if(!(!d|(d|0)==10)){c=c+1|0;continue}break}J[b>>2]=183;return c}J[b>>2]=112;return K[a+2|0]==62?3:2}J[b>>2]=107;break b}J[b>>2]=22;break b}J[b>>2]=23;break b}J[b>>2]=1;break b}J[b>>2]=106;break b}J[b>>2]=108;break b}if(K[a+1|0]!=42){break e}c=K[a+2|0];if(!c){break e}d=3;J:{while(1){e=(c&255)==42;c=K[a+d|0];if(!(e&(c|0)==47)){if(!(c&255)){break J}d=d+1|0;continue}break}d=d+1|0}J[b>>2]=183;return d}J[b>>2]=110;break b}J[b>>2]=53;return K[a+1|0]==61?2:1}K:{switch(K[a+1|0]-60|0){case 1:J[b>>2]=55;break a;case 2:J[b>>2]=52;break a;case 0:J[b>>2]=104;break a;default:break K}}J[b>>2]=56;break b}L:{switch(K[a+1|0]-61|0){case 0:J[b>>2]=57;break a;case 1:J[b>>2]=105;break a;default:break L}}J[b>>2]=54;break b}if(K[a+1|0]!=61){J[b>>2]=184;break b}J[b>>2]=52;break a}if(K[a+1|0]!=124){J[b>>2]=103;break b}J[b>>2]=111;break a}J[b>>2]=25;break b}J[b>>2]=102;break b}J[b>>2]=114;break b}M:{while(1){c=K[a+d|0];if(!c){break M}N:{if((c|0)==(e|0)){d=d+1|0;if(K[d+a|0]!=(e|0)){break N}}d=d+1|0;continue}break}if((e|0)==39){J[b>>2]=117;return d}J[b>>2]=59;return d}J[b>>2]=184;return d}if(K[a+1|0]-58>>>0>4294967285){break o}J[b>>2]=141;break b}J[b>>2]=155;if(!(K[K[a+2|0]+31216|0]&8)|(K[a|0]!=48|(K[a+1|0]|32)!=120)){break d}d=3;while(1){c=d;d=c+1|0;if(K[K[a+c|0]+31216|0]&8){continue}break}break c}O:{while(1){c=59;if((e|0)==93){break O}e=K[a+d|0];if(e){d=d+1|0;continue}break}c=184}J[b>>2]=c;return d}J[b>>2]=156;while(1){c=d;d=c+1|0;if(K[a+c|0]-58>>>0>=4294967286){continue}break}break c}J[b>>2]=156;d=0;P:{while(1){e=K[a+c|0];if(!e){break P}Q:{R:{if(K[e+31216|0]&70){d=d+1|0;break R}if(!((e|0)!=40|(d|0)<=0)){while(1){e=c;c=c+1|0;f=K[c+a|0];if(!f){break Q}g=(f|0)!=41;if(g&!(H[f+31216|0]&1)){continue}break}if(g){break Q}c=e+2|0;break P}if((e|0)!=58){break P}e=c+1|0;if(K[e+a|0]!=58){break P}c=e}c=c+1|0;continue}break}J[b>>2]=184}if(d){break c}J[b>>2]=184;return c}if(K[K[a+1|0]+34656|0]>=3){break f}c=2;while(1){d=c;c=c+1|0;e=K[a+d|0];if(K[e+34656|0]<3){continue}break}if(K[e+31216|0]&70){break f}J[b>>2]=59;return Jv(a,d,b)}if(K[a+1|0]!=39){break f}J[b>>2]=154;d=2;while(1){c=d;d=c+1|0;e=K[a+c|0];if(K[e+31216|0]&8){continue}break}S:{if((e|0)==39){d=1;if(!(c&1)){break S}}J[b>>2]=184;while(1){b=K[a+c|0];if(!(!b|(b|0)==39)){c=c+1|0;continue}break}d=(b|0)!=0}return c+d|0}if(K[a+1|0]!=187|K[a+2|0]!=191){break f}J[b>>2]=183;return 3}J[b>>2]=184;return 0}J[b>>2]=184;break b}while(1){d=c;c=c+1|0;if(K[K[a+d|0]+31216|0]&70){continue}break}J[b>>2]=59;c=d;break c}J[b>>2]=109;break b}d=0;while(1){c=d;d=c+1|0;e=K[a+c|0];if(e-58>>>0>4294967285){continue}break}if((e|0)==46){while(1){c=c+1|0;d=c+a|0;if(K[d|0]-58>>>0>4294967285){continue}break}J[b>>2]=153;e=K[d|0]}T:{if(((e|32)&255)!=101){break T}d=a+c|0;e=K[d+1|0];if(e-58>>>0<=4294967285){U:{switch(e-43|0){case 0:case 2:break U;default:break T}}if(K[d+2|0]-58>>>0<4294967286){break T}}d=c+2|0;while(1){c=d;d=c+1|0;if(K[a+c|0]-58>>>0>4294967285){continue}break}J[b>>2]=153}while(1){if(!(K[K[a+c|0]+31216|0]&70)){break c}J[b>>2]=184;c=c+1|0;continue}}return c}return 1}return 2}function My(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=Fa-80|0;Fa=h;J[h+4>>2]=b;a:{if(!d){e=1;break a}f=h+4|0;while(1){J[f>>2]=b;if(b){m=M[b+24>>2]<=c>>>0;f=m?b+16|0:f;e=e+m|0;b=J[b+16>>2];continue}break}b=J[h+4>>2]}J[a+208>>2]=J[a+208>>2]+e;if(J[b+24>>2]==1){lq(b)}q=K[a+11|0];f=J[a+168>>2];m=J[a+172>>2];g=J[a+232>>2];p=J[J[g+32>>2]>>2];if(Cb(g+52|0,p,48)){k=J[p+16>>2]+1|0}else{k=0}b:{if(!L[g+40>>1]){c:{d:{if(!J[p+96>>2]){break d}se(4,h+8|0);e=Pf(g,4,4);if((e|0)==5){break d}if(e){break c}Wu(g,J[h+8>>2]);te(g,4,4)}Gg(g,3);I[g+40>>1]=65535;J[h+16>>2]=0;while(1){e=Vu(g,h+8|0,1,h+16|0);if((e|0)==-1){continue}break}}if(e){break b}}p=f;n=J[g+68>>2];e:{if(n){break e}J[h+16>>2]=-2113503433;J[h+20>>2]=417475840;H[h+27|0]=f;H[h+26|0]=(m&255)<<24|f>>>8;H[h+25|0]=(m&65535)<<16|f>>>16;H[h+24|0]=(m&16777215)<<8|f>>>24;i=J[g+112>>2];J[h+28>>2]=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);if(!i){se(8,g+84|0)}i=J[g+88>>2];J[h+32>>2]=J[g+84>>2];J[h+36>>2]=i;j=h+16|0;Of(1,j,24,0,h+8|0);i=J[h+8>>2];J[h+40>>2]=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=J[h+12>>2];J[h+44>>2]=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);J[g+36>>2]=p;J[g+76>>2]=i;J[g+80>>2]=e;H[g+65|0]=0;H[g+47|0]=1;i=J[g+8>>2];e=Ja[J[J[i>>2]+12>>2]](i,j,32,0,0)|0;if(e){break b}if(!K[g+48|0]){break e}i=q>>>2&3;if(!i){break e}e=J[g+8>>2];e=Ja[J[J[e>>2]+20>>2]](e,i)|0;if(e){break b}}if(J[g+36>>2]!=(p|0)){e=Ta(68571);break b}J[h+56>>2]=g;v=J[g+8>>2];J[h+76>>2]=p;J[h+72>>2]=q;J[h+64>>2]=0;J[h+68>>2]=0;J[h+60>>2]=v;f=f+24|0;j=f>>31;r=f;u=j;m=lJ(f,j,n,0);f=Ia;i=m+32|0;m=i>>>0<32?f+1|0:f;f=b;while(1){if(f){j=h+56|0;f:{g:{h:{i:{if(!k){break i}if(!(J[f+16>>2]|!d)){n=n+1|0;e=0;break h}J[h+16>>2]=0;Po(g,J[f+24>>2],h+16|0);e=J[h+16>>2];if(e>>>0<k>>>0){break i}if(e>>>0<=J[g+104>>2]-1>>>0){J[g+104>>2]=e}j=J[g+8>>2];l=J[f+4>>2];o=lJ(e-1|0,0,r,u);e=Ia;o=o+56|0;e=o>>>0<56?e+1|0:e;e=Ja[J[J[j>>2]+12>>2]](j,l,p,o,e)|0;if(e){break b}I[f+28>>1]=L[f+28>>1]&65471;break f}n=n+1|0;e=0;if(!d){break g}e=J[f+16>>2]}e=e?0:c}e=Uu(j,f,e,i,m);if(e){break b}I[f+28>>1]=L[f+28>>1]|64;m=m+u|0;i=i+r|0;m=i>>>0<r>>>0?m+1|0:m;w=f}f=J[f+16>>2];continue}break}j:{if(!d){e=0;l=0;break j}if(J[g+104>>2]){k=J[g+36>>2]+24|0;l=gc(k);if(!l){e=7;break b}f=J[g+104>>2];k:{if((f|0)==1){o=k>>31;e=24;f=0;break k}o=k>>31;e=lJ(k,o,f-2|0,0);f=Ia;e=e+48|0;f=e>>>0<48?f+1|0:f}j=J[g+8>>2];e=Ja[J[J[j>>2]+8>>2]](j,l,8,e,f)|0;J[g+76>>2]=ab(l);x=l+4|0;J[g+80>>2]=ab(x);f=J[g+104>>2];J[g+104>>2]=0;y=l+24|0;while(1){if(!(f>>>0>n>>>0|e)){s=J[g+8>>2];e=k;t=lJ(e,o,f-1|0,0);j=Ia;t=t+32|0;j=t>>>0<32?j+1|0:j;e=Ja[J[J[s>>2]+8>>2]](s,l,e,t,j)|0;if(!e){e=h+16|0;Tu(g,ab(l),ab(x),y,e);s=J[g+8>>2];e=Ja[J[J[s>>2]+12>>2]](s,e,24,t,j)|0}f=f+1|0;continue}break}Oa(l);if(e){break b}}o=q&3;l:{if(!o){l=0;e=0;break l}m:{if(!K[g+49|0]){l=0;break m}f=m;k=Yu(J[g+8>>2]);e=k+i|0;l=e-1|0;f=(e>>>0<k>>>0?f+1|0:f)-!e|0;k=nJ(l,f,k,0);j=l-k|0;f=f-(Ia+(l>>>0<k>>>0)|0)|0;q=f;J[h+64>>2]=j;J[h+68>>2]=f;l=0;k=i;f=m;while(1){if((f|0)<=(q|0)&j>>>0>k>>>0|(f|0)<(q|0)){e=Uu(h+56|0,w,c,k,f);if(e){break b}l=l+1|0;f=f+u|0;k=k+r|0;f=k>>>0<r>>>0?f+1|0:f;continue}break}e=0;if((i|0)!=(j|0)|(m|0)!=(q|0)){break l}}e=Ja[J[J[v>>2]+20>>2]](v,o)|0}if(!K[g+47|0]){break j}f=J[g+16>>2];m=J[g+20>>2];if((m|0)<0){break j}i=lJ(r,u,l+n|0,0);j=Ia;i=i+32|0;j=i>>>0<32?j+1|0:j;k=f;f=f>>>0<i>>>0&(j|0)>=(m|0)|(j|0)>(m|0);Su(g,f?i:k,f?j:m);H[g+47|0]=0}n=J[g+68>>2];f=b;while(1){if(!(!f|e)){e=0;if(K[f+28|0]&64){n=n+1|0;e=Oo(g,n,J[f+24>>2])}f=J[f+16>>2];continue}break}while(1){if(!((l|0)<=0|e)){l=l-1|0;n=n+1|0;e=Oo(g,n,J[w+24>>2]);continue}break}if(e){break b}J[g+68>>2]=n;I[g+66>>1]=p&65280|p>>>16;if(d){J[g+72>>2]=c;J[g+60>>2]=J[g+60>>2]+1;No(g);J[g+12>>2]=n}e=0;if(!J[a+96>>2]){break b}while(1){if(!b){break b}Ru(J[a+96>>2],J[b+24>>2],J[b+4>>2]);b=J[b+16>>2];continue}}Fa=h+80|0;return e}function dA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=Fa-96|0;Fa=h;I[h+18>>1]=65535;p=J[a>>2];k=J[p+4>>2]+8|0;e=J[a+8>>2];o=K[e+16|0];n=k+(o<<6)|0;l=J[n+16>>2];s=J[a+4>>2];j=K[n+37|0]|K[n+38|0]<<8;a:{if(j&2){f=J[n+60>>2];break a}if(K[l+28|0]&128){f=J[l+8>>2];break a}f=h+24|0;Sa(f,0,72);J[h+72>>2]=65539;H[h+78|0]=5;H[h+79|0]=3;H[h+80|0]=0;J[h+32>>2]=h+20;J[h+28>>2]=h+18;I[h+76>>1]=1;J[h+36>>2]=l;d=L[l+38>>1];I[h+22>>1]=0;I[h+20>>1]=d;if(j&1){break a}J[h+44>>2]=J[l+8>>2]}b:{if(J[a+12>>2]|L[p+40>>1]&4128|(J[l+28>>2]&128|(j&72|(!(K[J[J[p>>2]>>2]+33|0]&128)|j&3)))){break b}if(K[n+36|0]&16){break b}d=J[s+24>>2];r=d+P(J[s+12>>2],48)|0;j=I[l+38>>1];m=um(j);j=j+m|0;i=j-25|0;q=j+28|0;while(1){if(d>>>0>=r>>>0|g){break b}g=0;c:{if(J[e+8>>2]&J[d+32>>2]|J[e+12>>2]&J[d+36>>2]){break c}if(!Uq(d,n,0,0)){break c}I[e+24>>1]=1;J[e+44>>2]=1;J[e+32>>2]=0;J[J[e+52>>2]>>2]=d;d:{if(K[l+43|0]!=2){j=q;if(!(K[l+29|0]&64)){break d}}j=i}I[e+22>>1]=43;j=j<<16>>16;I[e+18>>1]=(j|0)>0?j:0;J[e+40>>2]=16384;I[e+20>>1]=_d(m,43);g=c|J[d+36>>2];J[e>>2]=b|J[d+32>>2];J[e+4>>2]=g;g=Zj(a,e)}d=d+48|0;continue}}q=k+(o<<6)|0;j=1;while(1){e:{f:{if(!(!f|g)){g:{d=J[f+36>>2];if(!d){break g}if(Cz(J[q+40>>2],K[n+36|0],s,d)){break g}g=0;break e}g=0;if(K[f+56|0]&2){break e}o=L[J[f+8>>2]>>1];I[e+28>>1]=0;J[e+24>>2]=0;J[e+44>>2]=0;I[e+18>>1]=0;H[e+17|0]=0;J[e+32>>2]=f;I[e+22>>1]=o;J[e>>2]=b;J[e+4>>2]=c;g=1;h:{if(K[f+55|0]&4){break h}m=J[J[a>>2]+8>>2];if(!m){break h}k=J[q+40>>2];d=0;while(1){g=J[m>>2]<=(d|0);if(g){break h}i:{j:{i=Xc(J[(m+(d<<4)|0)+8>>2]);if(!i){break j}if(!(K[i|0]!=167|(k|0)!=J[i+28>>2])){i=I[i+32>>1];if((i|0)<0){break h}r=L[f+50>>1];g=0;i=i&65535;while(1){if((g|0)==(r|0)){break j}t=g<<1;g=g+1|0;if((i|0)!=L[t+J[f+4>>2]>>1]){continue}break}break i}g=0;r=J[f+40>>2];if(!r){break j}while(1){if(L[f+50>>1]<=g>>>0){break j}if(L[J[f+4>>2]+(g<<1)>>1]==65534){if(!sm(i,J[(r+(g<<4)|0)+8>>2],k)){break i}}g=g+1|0;continue}}d=d+1|0;continue}break}g=0}m=o<<16>>16;k:{d=K[f+55|0]|K[f+56|0]<<8;if((d&3)==3){J[e+40>>2]=256;I[e+20>>1]=m+16;H[e+17|0]=g?0:j;Qq(s,e,m);break k}l:{m:{n:{if(d&32){J[h+8>>2]=0;J[h+12>>2]=0;break n}i=J[f+68>>2]&J[q+52>>2];d=J[f+64>>2]&J[q+48>>2];J[h+8>>2]=d;J[h+12>>2]=i;k=J[f+36>>2];if(k){Yq(J[p>>2],f,k,h+8|0,0,0);i=J[h+12>>2];d=J[h+8>>2]}J[e+40>>2]=512;o:{if(d|(i|0)!=-2147483648){k=K[f+55|0]|K[f+56|0]<<8;if(!(k&4096)|!(d|i)|k&2048){break o}}r=J[q+40>>2];k=0;d=Fa-48|0;Fa=d;t=J[p+16>>2];p:{if(!t){break p}if(!(K[f+56|0]&16)){u=L[f+52>>1];i=0;while(1){if((i|0)==(u|0)){break p}v=i<<1;i=i+1|0;if(I[J[f+4>>2]+v>>1]<63){continue}break}}J[d+16>>2]=0;J[d+20>>2]=0;J[d+24>>2]=0;J[d+28>>2]=0;J[d+16>>2]=46;J[d+8>>2]=0;J[d+12>>2]=0;J[d+40>>2]=r;J[d+36>>2]=f;J[d+12>>2]=89;J[d+32>>2]=d+36;I[d+44>>1]=0;$b(d+8|0,t);k=K[d+45|0]?0:K[d+44|0]?67108864:64}Fa=d+48|0;if(!k){break l}J[h+8>>2]=0;J[h+12>>2]=0;i=J[e+40>>2]|k;break m}if(d|i){break l}}i=576}J[e+40>>2]=i}d=j;q:{if(!g){break q}d=0;if(K[n+37|0]&2|(J[f+36>>2]|K[l+28|0]&128)){break q}if(K[f+55|0]&4|(J[h+8>>2]|J[h+12>>2])|(K[p+40|0]&4|I[f+48>>1]>=I[l+40>>1])){break f}if(!K[65783]|K[J[J[p>>2]>>2]+80|0]&32){break f}}H[e+17|0]=d;I[e+20>>1]=(o+((P(I[f+48>>1],15)|0)/I[l+40>>1]|0)|0)+1;if(J[h+8>>2]|J[h+12>>2]){d=m+16|0;k=J[q+40>>2];g=0;while(1){r:{if(J[p+92>>2]<=(g|0)){break r}o=J[p+104>>2]+P(g,48)|0;if(!Vz(J[o>>2],k,f)){break r}g=g+1|0;i=I[o+8>>1];if((i|0)>0){i=K[o+12|0]&130?-20:-1}d=d+i|0;continue}break}I[e+20>>1]=_d(I[e+20>>1],d<<16>>16)}Qq(s,e,m);if(!(K[n+36|0]&16)|!J[f+40>>2]){break k}I[e+22>>1]=m;break f}g=Zj(a,e);I[e+22>>1]=m;if(!g){break f}}Fa=h+96|0;return g}H[a+16|0]=0;g=Pq(a,n,f,0);if(K[a+16|0]!=1){break e}J[l+28>>2]=J[l+28>>2]|256}j=j+1|0;f=K[n+37|0]&2?0:J[f+20>>2];continue}}function bJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=Fa+-64|0;Fa=d;i=1;c=J[b+4>>2];a:{if(c&4){break a}g=J[a>>2];f=J[a+24>>2];if(!(c&64)){ae(g,b,f);i=J[g+36>>2]?2:1;break a}o=J[b+52>>2];k=J[g>>2];c=b;while(1){if(c){J[c+4>>2]=J[c+4>>2]|4;J[d+52>>2]=0;J[d+44>>2]=0;J[d+48>>2]=0;J[d+36>>2]=0;J[d+40>>2]=0;J[d+28>>2]=0;J[d+32>>2]=0;J[d+56>>2]=c;J[d+24>>2]=g;i=2;if(Yc(d+24|0,J[c+60>>2])){break a}if(H[c+6|0]&1){J[J[J[c+32>>2]+28>>2]+48>>2]=J[c+48>>2];J[c+48>>2]=0}if(f){J[f+28>>2]=J[f+28>>2]+1}a=0;while(1){h=J[c+32>>2];if(J[h>>2]>(a|0)){h=h+(a<<6)|0;e=J[h+28>>2];b:{if(!e|K[e+4|0]&4){break b}j=f?J[f+16>>2]:0;m=J[g+260>>2];n=J[h+16>>2];if(n){J[g+260>>2]=n}oA(g,e,f);J[g+260>>2]=m;if(J[g+36>>2]){break a}if(!f){break b}e=(K[h+45|0]|K[h+46|0]<<8)&65527|((j|0)<J[f+16>>2])<<3;H[h+45|0]=e;H[h+46|0]=e>>>8}a=a+1|0;continue}break}c:{if(!f){break c}a=J[f+28>>2];if(!a){break c}J[f+28>>2]=a-1}J[d+36>>2]=f;J[d+28>>2]=h;J[d+48>>2]=16385;if(He(d+24|0,J[c+28>>2])){break a}h=J[c+40>>2];a=J[d+48>>2];d:{if(h|a&16){J[c+4>>2]=J[c+4>>2]|a&134221824|8;a=a&-16385;break d}a=a&-16402}e=J[c+28>>2];J[d+48>>2]=a|128;J[d+32>>2]=e;a=J[c+44>>2];if(a){if(!(K[c+4|0]&8)){Ra(g,1202,0);break a}if(Yc(d+24|0,a)){break a}}a=0;if(Yc(d+24|0,J[c+36>>2])){break a}while(1){e=J[c+32>>2];if(J[e>>2]>(a|0)){e=e+(a<<6)|0;if(K[e+45|0]&4){if(He(d+24|0,J[e- -64>>2])){break a}}a=a+1|0;continue}break}e:{if(K[g+220|0]<2){break e}e=c+72|0;while(1){a=J[e>>2];if(!a){break e}j=d+24|0;if(He(j,J[a+12>>2])){break a}e=a+36|0;if(!He(j,J[a+8>>2])){continue}break}break a}J[d+36>>2]=0;J[d+48>>2]=J[d+48>>2]|16385;if(H[c+6|0]&1){a=J[J[c+32>>2]+28>>2];J[c+48>>2]=J[a+48>>2];J[a+48>>2]=0}a=J[c+48>>2];if(!(!a|!l&(o|0)!=0)){if(nA(d+24|0,c,a,19570)){break a}}if(K[k+87|0]){break a}J[d+48>>2]=J[d+48>>2]&-16385;f:{if(!h){break f}if(nA(d+24|0,c,h,19930)|K[k+87|0]){break a}a=0;e=J[h>>2];j=(e|0)>0?e:0;e=h+8|0;while(1){if((a|0)==(j|0)){break f}if(K[J[e>>2]+4|0]&16){Ra(g,13306,0);break a}else{e=e+16|0;a=a+1|0;continue}}}a=J[c+56>>2];if(!(!a|J[J[c+28>>2]>>2]==J[J[a+28>>2]>>2])){if(K[a+5|0]&2){Ra(g,5228,0);break a}J[d+16>>2]=qi(K[a|0]);Ra(g,5039,d+16|0);break a}l=l+1|0;c=J[c+52>>2];continue}break}i=1;if(!o){break a}j=J[b+48>>2];if(!j){break a}a=J[j>>2];l=J[g>>2];g:{if((a|0)<=J[l+128>>2]){c=0;f=(a|0)>0?a:0;a=0;while(1){if((a|0)!=(f|0)){i=j+(a<<4)|0;h=i+17|0;i=(K[i+17|0]|K[i+18|0]<<8)&65531;H[h|0]=i;H[h+1|0]=i>>>8;a=a+1|0;continue}break}while(1){f=b;J[f+56>>2]=c;c=f;b=J[c+52>>2];if(b){continue}break}h=j+8|0;i=1;h:while(1){if(!(i?f:0)){a=0;b=J[j>>2];b=(b|0)>0?b:0;i=1;while(1){if((a|0)==(b|0)){break a}c=a<<4;a=a+1|0;if(K[(c+j|0)+17|0]&4){continue}break}J[d>>2]=a;Ra(g,3354,d);break g}n=J[f+28>>2];a=0;c=h;e=0;while(1){i=a;i:{j:{if(J[j>>2]>(e|0)){J[d+60>>2]=-1;if(K[c+9|0]&4){break j}k=Xc(J[c>>2]);if(!k){break j}k:{if(yf(k,d+60|0)){b=J[d+60>>2];a=J[n>>2];if((b|0)>0&(a|0)>=(b|0)){break k}fr(g,19570,e+1|0,a,k);break g}b=mA(n,k);if(!b){b=0;a=eb(l,k,0);l:{if(K[l+87|0]){break l}b=lA(g,f,a);if(K[g+220|0]<2|(b|0)<=0){break l}lA(g,f,k)}_a(l,a)}a=1;if((b|0)<=0){break i}}if(K[g+220|0]<=1){m=jc(l,155,0);if(!m){break g}J[m+8>>2]=b;J[m+4>>2]=J[m+4>>2]|2048;a=J[c>>2];if((k|0)!=(a|0)){while(1){o=a;a=J[a+12>>2];if(K[a|0]==113){continue}break}a=o+12|0}else{a=c}J[a>>2]=m;ce(l,k);I[c+12>>1]=b}a=K[c+9|0]|K[c+10|0]<<8|4;H[c+9|0]=a;H[c+10|0]=a>>>8;break j}f=J[f+56>>2];continue h}a=i}c=c+16|0;e=e+1|0;continue}}}Ra(g,13272,0)}i=2}Fa=d- -64|0;return i|0}function tf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{if(K[a+9|0]){break b}g=K[a+8|0];if(!g){break b}if(!b|(g|0)!=1){break a}}m=c;k=Fa-16|0;Fa=k;d=J[a+4>>2];c=J[a>>2];J[d+4>>2]=c;e=J[d>>2];j=b;c:{d:{g=a;a=K[a+8|0];if((a|0)==2|!b&(a|0)==1){break d}if(!(K[e+14|0]|!(K[c+35|0]&2))){I[d+24>>1]=L[d+24>>1]&65534}a=L[d+24>>1];if(j){b=8;if(a&1){break c}}e:{f:{g:{if(j){if(a&128|K[d+20|0]==2){break g}if((j|0)<2){break e}a=d+76|0;while(1){b=J[a>>2];if(!b){break e}a=b+12|0;c=J[b>>2];if((g|0)==(c|0)){continue}break}break f}if(!(a&128)){break e}}c=J[d+80>>2]}b=262;if(J[c>>2]){break c}}b=Bo(g,1,1);if(b){break c}a=L[d+24>>1];I[d+24>>1]=a&65519;if(!J[d+48>>2]){I[d+24>>1]=a|16}n=d+36|0;a=0;while(1){h:{i:{if(!J[d+12>>2]){b=wu(J[d>>2]);if(b){break h}b=ld(d,1,k+12|0,0);if(b){break h}h=J[d>>2];c=J[h+28>>2];l=J[k+12>>2];f=J[l+56>>2];a=ab(f+28|0);j:{if(a){if((K[f+24|0]|K[f+25|0]<<8|(K[f+26|0]<<16|K[f+27|0]<<24))==(K[f+92|0]|K[f+93|0]<<8|(K[f+94|0]<<16|K[f+95|0]<<24))){break j}}a=c}k:{l:{m:{if(a?K[J[d+4>>2]+35|0]&2:1){h=J[d+40>>2];a=0;break m}b=26;if(Cb(f,33232,16)){break k}if(K[f+18|0]>=3){I[d+24>>1]=L[d+24>>1]|1}i=K[f+19|0];if(i>>>0>2){break k}n:{if(K[d+24|0]&32|(i|0)!=2){break n}J[k+8>>2]=0;h=vu(h,k+8|0);if(h){break l}if(J[k+8>>2]){break n}Gj(l);b=0;break i}if(Cb(f+21|0,30588,3)){break k}i=K[f+17|0]<<16|K[f+16|0]<<8;if(i-65537>>>0<4294902016|i&i-1){break k}o=K[f+20|0];h=i-o|0;if((i|0)!=J[n>>2]){Gj(l);J[d+36>>2]=i;J[d+40>>2]=h;I[d+24>>1]=L[d+24>>1]|2;Uo(d);b=Nh(J[d>>2],n,o);break i}o:{if(a>>>0<=c>>>0){break o}a=c;if((J[J[d+4>>2]+32>>2]&268435457)==1){break o}b=Ta(73466);break k}if(h>>>0<480){break k}J[d+40>>2]=h;J[d+36>>2]=i;I[d+24>>1]=L[d+24>>1]|2;H[d+17|0]=(ab(f+52|0)|0)!=0;H[d+18|0]=(ab(f- -64|0)|0)!=0}J[d+48>>2]=a;J[d+12>>2]=l;I[d+30>>1]=h-35;a=(((h<<5)-384>>>0)/255|0)-23|0;I[d+32>>1]=a;I[d+28>>1]=a;a=(((h<<6)-768>>>0)/255|0)-23|0;I[d+26>>1]=a;a=a&65535;H[d+21|0]=a>>>0>=127?127:a;b=0;break i}b=h}Gj(l);J[d+12>>2]=0;break h}p:{q:{r:{if(!j){break r}if(a){break r}b=8;if(H[d+24|0]&1){break h}b=J[e+44>>2];if(b){break q}H[e+22|0]=K[J[g>>2]+86|0]==2;if(K[e+17|0]==1){a=J[e+232>>2];s:{if(a){if(!(K[a+43|0]|!K[e+4|0])){b=Mf(e,4);if(b){break q}Du(J[e+232>>2],1);a=J[e+232>>2]}b=8;if(K[a+46|0]){break h}b=Pf(a,0,1);if(b){break q}H[a+44|0]=1;if(!Cb(a+52|0,J[J[a+32>>2]>>2],48)){break s}te(a,0,1);H[a+44|0]=0;break p}b=Mf(e,2);if(!(b|(j|0)<2)){b=Go(e,4)}if(b){break q}}H[e+17|0]=2;J[e+80>>2]=0;J[e+84>>2]=0;a=J[e+28>>2];J[e+40>>2]=a;J[e+36>>2]=a;J[e+32>>2]=a}a=Nq(d)}b=a;if(b){break h}t:{if(K[g+8|0]){break t}J[d+44>>2]=J[d+44>>2]+1;if(!K[g+9|0]){break t}H[g+40|0]=1;J[g+44>>2]=J[d+76>>2];J[d+76>>2]=g+32}a=j?2:1;H[g+8|0]=a;if(a>>>0>K[d+20|0]){H[d+20|0]=a}if(!j){break d}J[d+80>>2]=g;I[d+24>>1]=L[d+24>>1]&65471|((j|0)>1)<<6;a=J[d+12>>2];if(J[d+48>>2]==(ab(J[a+56>>2]+28|0)|0)){break d}b=Pb(J[a+72>>2]);if(b){break c}a=J[a+56>>2];b=J[d+48>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[a+28|0]=b;H[a+29|0]=b>>>8;H[a+30|0]=b>>>16;H[a+31|0]=b>>>24;break d}if((b|0)!=517){break h}}b=K[d+20|0]?517:5;break h}a=0;if(!b){continue}}Ao(d);if(K[d+20|0]|(b&255)!=5){break c}a=b;if(cv(d)){continue}break}break c}if(m){J[m>>2]=ab(J[J[d+12>>2]+56>>2]+40|0)}if(!j){b=0;break c}b=Bq(e,J[J[g>>2]+504>>2])}Fa=k+16|0;return b}g=J[a+4>>2];if(c){J[c>>2]=ab(J[J[g+12>>2]+56>>2]+40|0)}if(!b){return 0}return Bq(J[g>>2],J[J[a>>2]+504>>2])}function sn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;j=Fa-48|0;Fa=j;J[j+44>>2]=0;J[j+40>>2]=0;r=J[a>>2];a:{if(J[a+36>>2]){break a}h=nh(a,b);if(!h){break a}y=pi(a,h,128,0,0);w=K[h+43|0];m=1;if(!y){m=(oi(a,h,0,0)|0)!=0}if(Ze(a,h)){break a}if(Zm(a,h,y)){break a}e=J[h>>2];i=J[r+16>>2];g=Ab(r,J[h+60>>2]);s=Tb(a,9,e,0,J[i+(g<<4)>>2]);if((s|0)==1){break a}n=J[a+40>>2];i=n+1|0;J[a+40>>2]=i;J[b+48>>2]=n;e=i;k=h+8|0;f=k;while(1){f=J[f>>2];if(f){e=e+1|0;J[a+40>>2]=e;q=q+1|0;f=f+20|0;continue}break}f=0;if((w|0)==2){A=J[a+260>>2];J[a+260>>2]=J[h>>2];z=a}d=rb(a);b:{if(!d){break b}if(!K[a+18|0]){I[d+152>>1]=L[d+152>>1]|16}fd(a,m,g);if((w|0)==2){Dr(a,h,c,n);J[j+44>>2]=n;J[j+40>>2]=n}J[j+36>>2]=0;J[j+28>>2]=0;J[j+32>>2]=0;J[j+20>>2]=0;J[j+24>>2]=0;J[j+12>>2]=0;J[j+16>>2]=0;J[j+8>>2]=b;J[j+4>>2]=a;if(Yc(j+4|0,c)){break b}if(!(K[a+18|0]|!(H[r+36|0]&1)|(J[a+132>>2]|K[a+159|0]))){p=J[a+44>>2]+1|0;J[a+44>>2]=p;Na(d,71,0,p)}c:{if(!(c|s|m|K[h+43|0]==1)){rd(a,g,J[h+20>>2],1,J[h>>2]);if(!(K[h+28|0]&128)){$a(d,145,J[h+20>>2],g,p?p:-1,J[h>>2],-1)}f=p?p:-1;while(1){e=J[k>>2];if(e){d:{if(!(!(K[h+28|0]&128)|((K[e+55|0]|K[e+56|0]<<8)&3)!=2)){Pa(d,145,J[e+44>>2],g,f);break d}Na(d,145,J[e+44>>2],g)}k=e+20|0;continue}else{e=0;break c}}}s=(K[j+28|0]&64)>>>6|0?20:m?20:28;e:{if(!(K[h+28|0]&128)){g=1;x=J[a+44>>2]+1|0;J[a+44>>2]=x;m=0;Na(d,75,0,x);e=0;break e}e=J[a+44>>2];m=ec(h);g=I[m+50>>1];J[a+44>>2]=e+g;u=J[a+40>>2];J[a+40>>2]=u+1;o=Na(d,118,u,g);zd(a,m);e=e+1|0}t=Ye(a,b,c,0,0,0,s,i);if(!t){break b}i=e;k=J[t+20>>2];s=J[t+24>>2];v=K[t+46|0];if((v|0)!=1){e=J[a+128>>2];H[(e?e:a)+20|0]=1}if(H[t+48|0]&1){Va(d,143,n)}if(p){Na(d,86,p,1)}f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{if(m){e=0;l=(g|0)>0?g:0;while(1){if((e|0)!=(l|0)){td(d,h,n,I[J[m+4>>2]+(e<<1)>>1],e+i|0);e=e+1|0;continue}break}if(!v){break p}l=i;break q}i=1;l=J[a+44>>2]+1|0;J[a+44>>2]=l;Na(d,135,n,l);if(!v){break n}}e=Ib(r,q+2|0,0);if(!e){qd(t);break b}f=q+1|0;i=Sa(e,1,f);H[f+i|0]=0;if((k|0)>=0){H[i+(k-n|0)|0]=0}f=s;if((f|0)>0){f=1}else{f=(f|0)>=0}if(f){H[i+(s-n|0)|0]=0}if(o){$d(d,o)}f=J[a+56>>2]-1|0;J[a+56>>2]=f;if((w|0)!=2){break o}i=g;break k}l=J[a+44>>2]+1|0;J[a+44>>2]=l;$a(d,97,i,g,l,fh(J[a>>2],m),g);bb(d,138,u,l,i,g);i=0;break m}q=0;if((v|0)!=2){k=0;i=g;o=0;break l}k=0;q=1;o=Hb(d,15);i=g;break l}Na(d,156,x,l)}qd(t);k=1;q=0;e=0;o=0;g=0;if((w|0)==2){break j}}nk(a,h,113,8,n,e,j+44|0,j+40|0);if(q){mk(d,o)}q=e;g=f;if(k){break j}}k=0;if(K[h+43|0]==1){o=0;break h}g=J[j+44>>2];if(K[(g-n|0)+e|0]){bb(d,28,g,f,l,i)}o=0;break i}r:{if(m){k=Va(d,36,u);o=1;if(K[h+43|0]==1){Pa(d,94,u,0,l);break r}Na(d,134,u,l);break r}o=1;k=Pa(d,46,x,0,l)}e=q;f=g}if(K[h+43|0]!=1){break g}}g=ud(r,h);Ym(a,h);i=J[a+128>>2];H[(i?i:a)+21|0]=1;s:{if((v|0)!=1){break s}Va(d,122,n);if(J[a+128>>2]){break s}H[a+20|0]=0}$a(d,7,0,1,l,g,-11);g=J[d+108>>2];if((g|0)<=0){break f}I[(J[d+104>>2]+P(g,20)|0)-18>>1]=2;break f}lk(a,h,y,J[j+44>>2],J[j+40>>2],l,i,!K[a+18|0],11,v,s)}if(!o){cb(d,f);qd(t);break c}if(m){Na(d,39,u,k+1|0);f=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(k,20)|0)+8>>2]=f;break c}Lb(d,k);f=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(k,20)|0)+8>>2]=f}if(!(K[a+18|0]|J[a+132>>2])){kk(a)}if(p){Xm(d,p,15564)}f=e}if(!z){break a}J[z+260>>2]=A}yc(r,b);_a(r,c);if(f){Sb(r,f)}Fa=j+48|0}function eA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;l=Fa-16|0;Fa=l;J[l+8>>2]=0;q=J[a+4>>2];f=J[q+12>>2];n=(f|0)>0?f:0;h=J[a>>2];m=J[a+8>>2];k=J[h+4>>2]+(K[m+16|0]<<6)|0;o=k+8|0;s=J[k+24>>2];f=J[q+24>>2];p=J[h+8>>2];r=J[h>>2];while(1){if((i|0)!=(n|0)){g=L[f+10>>1];I[f+10>>1]=g&65471;a:{if(!(L[f+12>>1]&63487)|g&128|(d&J[f+32>>2]|e&J[f+36>>2])|J[f+20>>2]!=J[k+48>>2]){break a}if(K[k+44|0]&88){if(!Rq(f,o)){break a}}I[f+10>>1]=g|64;j=j+1|0}f=f+48|0;i=i+1|0;continue}break}b:{if(!p){k=0;d=0;break b}e=J[p>>2];g=(e|0)>0?e:0;f=0;c:{while(1){if((f|0)==(g|0)){break c}d:{i=(f<<4)+p|0;d=J[i+8>>2];e:{if(be(d)){break e}if(K[i+16|0]&2){break d}i=K[d|0];if((i|0)!=113){if((i|0)!=167|J[d+28>>2]!=J[k+48>>2]){break d}break e}i=J[d+12>>2];if(K[i|0]!=167|J[i+28>>2]!=J[k+48>>2]){break d}i=I[i+32>>1];I[d+32>>1]=i;if((i|0)<0){break e}v=J[d+8>>2];d=Sf(J[s+4>>2]+P(i&65535,12)|0);if(Ub(v,d?d:33312)){break d}}f=f+1|0;continue}break}g=f}k=0;d=0;if((e|0)!=(g|0)){break b}k=e;d=L[h+40>>1];f:{if(d&128){d=d>>>9&1|2;break f}d=d>>>6&1}}g:{f=k<<3;h=ib(J[r>>2],(f+P(j,24)|0)+96|0,0);if(!h){Ra(r,1150,0);f=7;break g}J[h+72>>2]=q;J[h+84>>2]=0;J[h+80>>2]=d;J[h+76>>2]=r;e=(h+(j<<2)|0)+92|0;J[h+4>>2]=e;o=e+P(j,12)|0;J[h+12>>2]=o;J[h+16>>2]=f+o;d=J[q+12>>2];s=(d|0)>0?d:0;f=J[q+24>>2];n=0;j=0;i=0;while(1){h:{i:{j:{k:{if((i|0)!=(s|0)){t=L[f+10>>1];if(!(t&64)){break h}g=J[f+24>>2];d=e+P(j,12)|0;J[d+8>>2]=i;J[d>>2]=g;l:{g=L[f+12>>1]&16383;if((g|0)!=64){if((g|0)!=1){break l}if(t<<16>>16<0){break k}u=((j|0)<32?1<<j:0)|u;J[h+84>>2]=u;break k}H[d+4|0]=K[f+15|0];break i}if(!(g&384)){break j}if((g|0)==256){H[d+4|0]=71;break i}H[d+4|0]=72;break i}J[h>>2]=j;g=0;d=(k|0)>0?k:0;f=0;while(1){if((d|0)!=(f|0)){e=(f<<4)+p|0;k=J[e+8>>2];if(!be(k)){j=(g<<3)+o|0;J[j>>2]=I[k+32>>1];H[j+4|0]=H[e+16|0]&1;g=g+1|0}f=f+1|0;continue}break}J[h+8>>2]=g;I[m+44>>1]=0;J[m+40>>2]=1024;I[m+18>>1]=0;H[m+28|0]=K[m+28|0]&254;d=J[h>>2];if(ii(J[r>>2],m,d)){Dz(J[r>>2],h);f=7;break g}e=n&65535;g=l+12|0;f=hi(a,b,c,-1,-1,0,h,e,g,l+8|0);if(J[l+8>>2]){f=hi(a,b,c,-1,-1,0,h,e,g,0)}m:{if(f){break m}e=J[l+12>>2];p=c^-1;f=p&J[m+4>>2];s=f;o=b^-1;t=o&J[m>>2];if(!(f|t)){f=0;if(!e){break m}}f=0;g=0;u=(d|0)>0?d:0;if(e){f=hi(a,b,c,-1,-1,1,h,n&65535,l+12|0,0);g=p&J[m+4>>2];z=g;w=o&J[m>>2];g=!(g|w)}k=!g;A=n&65535;while(1){if(f){break m}d=-1;e=-1;f=0;while(1){if((f|0)!=(u|0)){j=J[q+24>>2]+P(J[(J[h+4>>2]+P(f,12)|0)+8>>2],48)|0;i=o&J[j+32>>2];j=p&J[j+36>>2];x=(j|0)==(e|0)&d>>>0>i>>>0|e>>>0>j>>>0;v=x?i:d;i=(j|0)==(y|0)&i>>>0>B>>>0|j>>>0>y>>>0;d=i?v:d;e=i?x?j:e:e;f=f+1|0;continue}break}if((d&e)!=-1){f=0;B=d;y=e;if((d|0)==(t|0)&(e|0)==(s|0)|(d|0)==(w|0)&(e|0)==(z|0)){continue}f=hi(a,b,c,b|d,c|e,0,h,A,l+12|0,0);if((b|0)!=J[m>>2]|(c|0)!=J[m+4>>2]){continue}g=J[l+12>>2]?g:1;k=0;continue}break}f=0;if(k){f=hi(a,b,c,b,c,0,h,n&65535,l+12|0,0);g=J[l+12>>2]?g:1}if(f|g){break m}f=hi(a,b,c,b,c,1,h,n&65535,l+12|0,0)}if(J[h+28>>2]){Oa(J[h+24>>2])}Dz(J[r>>2],h);break g}g=2}H[d+4|0]=g;if(!(g&60)){break i}if(!Ee(J[J[f>>2]+16>>2])){break i}n=((j|0)<16?1<<j:0)|n;if((g|0)!=4){if((g|0)!=16){break i}H[d+4|0]=8;break i}H[d+4|0]=32}j=j+1|0}f=f+48|0;i=i+1|0;continue}}Fa=l+16|0;return f}function bH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Fa-368|0;Fa=d;a:{if(!b){break a}j=Wa(J[c>>2]);if(!j){break a}f=b-1|0;b=d+320|0;if(kg(a,f,c+4|0,b)){break a}c=J[J[J[a>>2]+20>>2]+120>>2];I[d+316>>1]=0;J[d+312>>2]=0;J[d+308>>2]=c;J[d+304>>2]=0;J[d+296>>2]=0;J[d+300>>2]=0;vc(b);Ue(b);c=0;b=0;while(1){e=K[b+j|0];b:{if((e|0)!=37){if(e){break b}if(b>>>0>c>>>0){nb(d+296|0,c+j|0,b-c|0)}qm(a,d+296|0);break a}if(b>>>0>c>>>0){nb(d+296|0,c+j|0,b-c|0)}c=b+2|0;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{b=b+1|0;g=H[j+b|0];switch(g-70|0){case 19:break g;case 47:case 49:break h;case 14:break i;case 13:break j;case 45:break k;case 12:break l;case 10:case 42:break m;case 7:break n;case 39:break o;case 4:break p;case 17:case 36:break q;case 3:case 38:break r;case 2:case 37:break s;case 0:break t;case 32:break u;case 30:case 31:break d;case 1:case 5:case 6:case 8:case 9:case 11:case 15:case 16:case 18:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 33:case 34:case 35:case 40:case 41:case 43:case 44:case 46:case 48:break e;default:break f}}h=O[d+352>>3];O[d+16>>3]=h>59.999?59.999:h;gb(d+296|0,12719,d+16|0);break b}J[d+32>>2]=J[d+328>>2];e=J[d+336>>2];J[d+36>>2]=J[d+332>>2];J[d+40>>2]=e;gb(d+296|0,16529,d+32|0);break b}J[d+48>>2]=J[d+340>>2];gb(d+296|0,(g|0)==72?16539:16544,d+48|0);break b}e=J[d+340>>2];e=(e|0)>12?e-12|0:e;J[d+64>>2]=e?e:12;gb(d+296|0,(g|0)==73?16539:16544,d- -64|0);break b}e=d+248|0;Qa(e,d+320|0,48);J[d+260>>2]=1;J[d+264>>2]=1;H[d+288|0]=0;vc(e);f=J[d+324>>2];i=J[d+320>>2]+432e5|0;f=i>>>0<432e5?f+1|0:f;e=J[d+248>>2];e=mJ(i-e|0,f-(J[d+252>>2]+(e>>>0>i>>>0)|0)|0,864e5,0);if((g|0)==87){J[d+80>>2]=((e-nJ(mJ(i,f,864e5,0),Ia,7,0)|0)+7|0)/7;gb(d+296|0,16539,d+80|0);break b}J[d+96>>2]=e+1;gb(d+296|0,16509,d+96|0);break b}O[d+112>>3]=(+M[d+320>>2]+ +J[d+324>>2]*4294967296)/864e5;gb(d+296|0,12564,d+112|0);break b}J[d+128>>2]=J[d+332>>2];gb(d+296|0,16539,d+128|0);break b}J[d+144>>2]=J[d+344>>2];gb(d+296|0,16539,d+144|0);break b}if(J[d+340>>2]>=12){nb(d+296|0,(g|0)==112?20085:11421,2);break b}nb(d+296|0,(g|0)==112?20094:11559,2);break b}e=J[d+344>>2];J[d+160>>2]=J[d+340>>2];J[d+164>>2]=e;gb(d+296|0,16519,d+160|0);break b}e=J[d+320>>2];g=J[d+324>>2];if(K[d+367|0]){O[d+192>>3]=(+(e-1045635584>>>0)+ +(g-((e>>>0<1045635584)+49096|0)|0)*4294967296)/1e3;gb(d+296|0,12726,d+192|0);break b}e=mJ(e,g,1e3,0);J[d+176>>2]=e-413362496;J[d+180>>2]=Ia-((e>>>0<413362496)+49|0);gb(d+296|0,14967,d+176|0);break b}h=O[d+352>>3];v:{if(R(h)<2147483648){f=~~h;break v}f=-2147483648}J[d+208>>2]=f;gb(d+296|0,16539,d+208|0);break b}e=J[d+344>>2];J[d+224>>2]=J[d+340>>2];J[d+228>>2]=e;h=O[d+352>>3];w:{if(R(h)<2147483648){f=~~h;break w}f=-2147483648}J[d+232>>2]=f;gb(d+296|0,16514,d+224|0);break b}f=d+296|0;e=J[d+324>>2];i=J[d+320>>2]+1296e5|0;e=i>>>0<1296e5?e+1|0:e;k=f;e=nJ(mJ(i,e,864e5,0),Ia,7,0);f=e+48|0;Oh(k,1,((g|0)==117?e&255?f:55:f)<<24>>24);break b}J[d+240>>2]=J[d+328>>2];gb(d+296|0,16504,d+240|0);break b}if((g|0)==37){break c}}Nf(d+296|0);break a}J[d>>2]=J[d+336>>2];gb(d+296|0,(g|0)==100?16539:16544,d);break b}Oh(d+296|0,1,37)}b=b+1|0;continue}}Fa=d+368|0}function vh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;i=Fa+-64|0;Fa=i;k=J[c+4>>2];a:{b:{c:{d:{e:{f:{g:{if(d){e=H[b+1|0];d=e&255;J[i+16>>2]=d;m=2;if((e|0)<0){m=Jd(b+1|0,i+16|0)+1&255;d=J[i+16>>2]}k=k+40|0;n=1;o=K[b|0];d=o+(d>>>0>=128?d-12>>>1|0:K[d+34176|0])|0;break g}d=H[b|0];o=d&255;J[i+60>>2]=o;m=1;if((d|0)<0){m=Jd(b,i+60|0);o=J[i+60>>2]}d=o}l=d;h:{if(l>>>0<=a>>>0){q=c+23|0;while(1){i:{j:{k:{e=L[k+16>>1];if(e&36){d=K[b+m|0];if(d>>>0>=10){g=(d|0)==10?-1:1;a=0;break b}if((d|0)==7){break k}g=-1;if(!d){break c}h=b+l|0;r=J[k+4>>2];u=J[k>>2];l:{m:{switch(d|0){case 0:case 1:e=H[h|0];f=e>>31;break l;case 2:e=K[h+1|0]|H[h|0]<<8;f=e>>31;break l;case 3:e=K[h+2|0]|(K[h+1|0]<<8|H[h|0]<<16);f=e>>31;break l;case 4:e=K[h|0]|K[h+1|0]<<8|(K[h+2|0]<<16|K[h+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=e>>31;break l;case 5:e=K[h+3|0];f=e>>>16|0;p=e<<16;j=f;e=K[h+2|0];f=e>>>8|0;p=e<<24|p;j=f|j;e=K[h+4|0];f=e>>>24|0;s=K[h+5|0]|(e<<8|p);j=f|j;f=K[h+1|0]|H[h|0]<<8;e=s;f=f|j;break l;case 6:e=K[h+4|0]|K[h+5|0]<<8|(K[h+6|0]<<16|K[h+7|0]<<24);j=K[h|0]|K[h+1|0]<<8|(K[h+2|0]<<16|K[h+3|0]<<24);p=j<<24|(j&65280)<<8;h=j&16711680;f=h<<24;h=h>>>8|0;w=f;s=j&-16777216;f=s>>>24|0;e=w|s<<8|(((e&255)<<24|j>>>8)&-16777216|((e&16777215)<<8|j>>>24)&16711680|(e>>>8&65280|e>>>24));j=f|h|p;f=0;f=j|(f|f);break l;default:break m}}e=d-8|0;f=0}if(e>>>0<u>>>0&(f|0)<=(r|0)|(f|0)<(r|0)){break c}if((f|0)<=(r|0)&e>>>0<=u>>>0|(f|0)<(r|0)){break i}break d}if(e&8){d=K[b+m|0];if(d>>>0>=10){g=(d|0)==10?-1:1;a=0;break b}g=-1;if(!d){d=0;break c}Pg(b+l|0,d,i+16|0);t=O[k>>3];if((d|0)==7){v=O[i+16>>3];if(v<t){break e}d=7;if(!(t<v)){break i}break f}g=Li(J[i+16>>2],J[i+20>>2],t);break j}if(e&2){d=b+m|0;f=H[d|0];e=f&255;J[i+12>>2]=e;if((f|0)<0){Jd(d,i+12|0);e=J[i+12>>2]}if(e>>>0<12){g=-1;d=e;break c}d=1;if(!(e&1)){break d}f=e-12>>>1|0;J[i+28>>2]=f;n:{if(f+l>>>0<=a>>>0){g=J[c>>2];if(L[g+8>>1]>n>>>0){break n}}H[q|0]=Ta(89101);break h}j=J[(g+(n<<2)|0)+20>>2];if(j){H[i+34|0]=K[g+4|0];d=J[g+12>>2];I[i+32>>1]=2;J[i+36>>2]=d;J[i+24>>2]=b+l;d=e;g=ut(i+16|0,k,j,q);break j}j=J[k+12>>2];g=Cb(b+l|0,J[k+8>>2],(f|0)<(j|0)?f:j);if(g){break c}d=e;g=f-j|0;break j}g=b+m|0;d=K[g|0];f=d<<24>>24;if(e&16){J[i+12>>2]=d;if((f|0)<0){Jd(g,i+12|0);d=J[i+12>>2]}g=-1;if(d&1|d>>>0<12){break c}e=d-12>>>1|0;if(e+l>>>0<=a>>>0){if(K[k+17|0]&4){if(!bo(b+l|0,e)){break f}g=e-J[k>>2]|0;break j}f=J[k+12>>2];g=Cb(b+l|0,J[k+8>>2],(e|0)<(f|0)?e:f);if(g){break e}g=e-f|0;break j}H[q|0]=Ta(89131);break h}g=(f|0)!=0&(f|0)!=10;break j}d=7;Pg(b+l|0,7,i+16|0);g=0-Li(J[k>>2],J[k+4>>2],O[i+16>>3])|0}if(g){break c}}o:{n=n+1|0;if((n|0)==L[c+20>>1]){break o}l=(d>>>0>=128?d-12>>>1|0:K[d+34176|0])+l|0;if(l>>>0>a>>>0){break o}m=rh(d,0)+m|0;if(o>>>0<=m>>>0){H[q|0]=Ta(89175);break h}k=k+40|0;continue}break}H[c+26|0]=1;g=H[c+22|0];break a}H[c+23|0]=Ta(89024)}g=0;break a}d=1;break d}d=1;break c}g=1}a=!d}b=K[J[J[c>>2]+16>>2]+n|0];if(!b){break a}p:{if(!(b&2)){break p}if(a){if(!(b&1)){break p}break a}if((K[k+16|0]^!(b&1))&1){break a}}g=0-g|0}Fa=i- -64|0;return g}function iD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Fa-48|0;Fa=g;J[g+36>>2]=0;J[g+32>>2]=0;J[b>>2]=0;d=ke();if(!d){h=K[65780]?K[65781]:h;j=J[16494]?131078:6;f=j&-655129;J[g+40>>2]=f;c=od(536,0);a:{if(!c){break a}if(h){J[c+12>>2]=8}H[c+97|0]=109;J[c+20>>2]=2;J[c+304>>2]=1;I[c+308>>1]=0;J[c+16>>2]=c+460;J[c+72>>2]=j&33554432?-1:255;Qa(c+120|0,32752,48);H[c+90|0]=255;H[c+85|0]=1;J[c+164>>2]=0;e=J[16486];d=J[16487];J[c+180>>2]=66912;J[c+100>>2]=0;J[c+48>>2]=e;J[c+52>>2]=d;d=J[c+36>>2];J[c+32>>2]=J[c+32>>2]|-536575776;J[c+36>>2]=d;J[c+432>>2]=0;J[c+436>>2]=0;J[c+440>>2]=0;J[c+444>>2]=0;J[c+388>>2]=0;J[c+392>>2]=0;J[c+396>>2]=0;J[c+400>>2]=0;cj(c,33312,1,15);cj(c,33312,3,15);cj(c,33312,2,15);cj(c,20343,1,16);cj(c,20088,1,17);if(K[c+87|0]){break a}J[c+60>>2]=f;b:{if(!(1<<(j&7)&70)){a=Nc(181554);break b}a=xv(0,a,g+40|0,c,g+36|0,g+32|0)}if(a){if((a|0)==7){Db(c)}i=J[g+32>>2];J[g>>2]=i;Zd(c,a,i?8863:0,g);Oa(i);break a}a=bj(J[c>>2],J[g+36>>2],c,J[c+16>>2]+4|0,0,J[g+40>>2]|256);if(a){Lc(c,(a|0)==3082?7:a);break a}a=J[J[c+16>>2]+4>>2];J[J[a+4>>2]+4>>2]=J[a>>2];a=ml(c,a);J[J[c+16>>2]+12>>2]=a;if(!K[c+87|0]){Yo(c,K[a+77|0])}a=ml(c,0);d=J[c+16>>2];J[d+16>>2]=9874;H[d+8|0]=3;J[d>>2]=11276;H[d+24|0]=1;J[d+28>>2]=a;H[c+97|0]=118;if(K[c+87|0]){break a}Lc(c,0);if((Ph(c,20277,2)|0)==7){Db(c)}d=0;h=_o(c);while(1){if(!(d>>>0>2|h)){h=Ja[J[(d<<2)+52876>>2]](c)|0;d=d+1|0;continue}break}c:{if(!h){d=0;d:{if(!J[18235]){break d}a=1;while(1){if(!a){break d}e:{if(M[18235]<=d>>>0){J[g+44>>2]=0;a=0;f=0;break e}e=J[J[18236]+(d<<2)>>2];J[g+44>>2]=0;a=1;f=0;if(!e){break e}h=Ja[e|0](c,g+44|0,0)|0;e=J[g+44>>2];f=e;if(!h){break e}J[g+16>>2]=e;Zd(c,h,8653,g+16|0);a=0;f=J[g+44>>2]}Oa(f);d=d+1|0;continue}}if(!_o(c)){break c}break a}Lc(c,h)}j=J[16449];f=J[16450];a=0;d=Lk(J[c+332>>2]);h=Lk(J[c+336>>2]);e=Lk(J[c+340>>2])+d|0;d=Lk(J[c+344>>2]);if((J[c+316>>2]-((e+h|0)+d|0)|0)<=0){if(K[c+312|0]){Oa(J[c+352>>2])}h=j&-8;e=(h|0)<5;f:{if(!(e|(f|0)<=0)){d=lJ(f,f>>31,j,j>>31);f=Ia;a=J[18291];if(a){Ja[a|0]()}a=Yb(d,f);i=J[18292];if(i){Ja[i|0]()}e=e?0:h;g:{if(!a){a=0;break g}d=Ja[J[16455]](a)|0;f=d>>31}if(e>>>0>=384){i=mJ(d,f,e+384|0,0);e=P(i,e);k=mJ(d-e|0,f-((e>>31)+(d>>>0<e>>>0)|0)|0,128,0);break f}if(e>>>0>=256){i=mJ(d,f,e+128|0,0);e=P(i,e);k=mJ(d-e|0,f-((e>>31)+(d>>>0<e>>>0)|0)|0,128,0);break f}i=mJ(d,f,e,0);h=e;break f}h=0}J[c+332>>2]=0;J[c+336>>2]=0;J[c+352>>2]=a;I[c+310>>1]=h;I[c+308>>1]=h;h:{if(a){d=0;e=(i|0)>0?i:0;f=0;while(1){if((e|0)!=(f|0)){J[a>>2]=d;J[c+332>>2]=a;f=f+1|0;d=a;a=h+d|0;continue}break}J[c+348>>2]=a;J[c+340>>2]=0;J[c+344>>2]=0;d=0;e=(k|0)>0?k:0;f=0;while(1){if((e|0)!=(f|0)){J[a>>2]=d;J[c+340>>2]=a;f=f+1|0;d=a;a=d+128|0;continue}break}J[c+304>>2]=0;H[c+312|0]=1;J[c+356>>2]=a;i=i+k|0;break h}H[c+312|0]=0;I[c+308>>1]=0;J[c+304>>2]=1;J[c+356>>2]=0;J[c+348>>2]=0;J[c+352>>2]=0;J[c+340>>2]=0;J[c+344>>2]=0;a=0;i=0}J[c+360>>2]=a;J[c+316>>2]=i}J[c+272>>2]=1e3;J[c+268>>2]=18}d=_o(c);i:{if((d&255)==7){Hv(c,0);c=0;break i}if(!d){break i}H[c+97|0]=186}J[b>>2]=c;Xo(J[g+36>>2])}Fa=g+48|0;return d|0}function hi(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=Fa+-64|0;Fa=n;q=J[g+16>>2];t=J[a+4>>2];k=J[a+8>>2];s=K[k+16|0];l=J[a>>2];u=J[l+4>>2];l=J[l>>2];r=J[g>>2];J[i>>2]=0;J[k>>2]=b;J[k+4>>2]=c;w=(r|0)>0?r:0;b=J[g+4>>2];while(1){if((o|0)!=(w|0)){c=J[t+24>>2];H[b+5|0]=0;c=c+P(J[b+8>>2],48)|0;p=J[c+32>>2];v=(d&p)!=(p|0);p=J[c+36>>2];if(!(v|(e&p)!=(p|0)|L[c+12>>1]&f|!j&(K[c+15|0]-75&255)>>>0>253)){H[b+5|0]=1}b=b+12|0;o=o+1|0;continue}break}p=Sa(q,0,r<<3);J[g+56>>2]=0;J[g+48>>2]=25;J[g+52>>2]=0;J[g+40>>2]=-1568170194;J[g+44>>2]=1416446638;J[g+32>>2]=0;J[g+20>>2]=0;J[g+24>>2]=0;e=u+(s<<6)|0;b=e;c=J[b+56>>2];d=J[b+60>>2];J[g+88>>2]=0;J[g+64>>2]=c;J[g+68>>2]=d;c=J[l>>2];f=J[b+24>>2];d=J[ud(c,f)+8>>2];J[c+56>>2]=J[c+56>>2]+1;c=Ja[J[J[d>>2]+12>>2]](d,g)|0;b=J[l>>2];J[b+56>>2]=J[b+56>>2]-1;a:{if(!c|(c|0)==19){break a}if((c|0)==7){Db(b);break a}b=J[d+8>>2];if(!b){J[n+32>>2]=Th(c);Ra(l,8863,n+32|0);break a}J[n+48>>2]=b;Ra(l,8863,n+48|0)}b:{if(!K[J[f+52>>2]+17|0]){break b}b=0;f=J[J[l>>2]+20>>2];f=(f|0)>0?f:0;while(1){if((b|0)!=(f|0)){gd(l,b);b=b+1|0;continue}break}if(!J[l+88>>2]){break b}b=0;while(1){if((b|0)==(f|0)){break b}fd(l,0,b);b=b+1|0;continue}}Oa(J[d+8>>2]);b=0;J[d+8>>2]=0;c:{if(c){if((c|0)==19){break c}b=c;break c}Sa(J[k+52>>2],0,r<<2);J[k+32>>2]=0;J[k+36>>2]=0;J[k+24>>2]=0;J[k+28>>2]=0;o=J[g+4>>2];f=-1;while(1){if((b|0)!=(w|0)){d:{q=(b<<3)+p|0;c=J[q>>2];if((c|0)<=0){break d}e:{f:{if((c|0)>(r|0)){break f}d=J[o+8>>2];if((d|0)<0|(d|0)>=J[t+12>>2]){break f}c=c-1|0;s=J[k+52>>2]+(c<<2)|0;if(J[s>>2]){break f}if(K[o+5|0]){break e}}J[n+16>>2]=J[J[e+24>>2]>>2];Ra(l,10337,n+16|0);b=1;break c}d=J[t+24>>2]+P(d,48)|0;u=J[d+32>>2];v=J[k+4>>2]|J[d+36>>2];J[k>>2]=u|J[k>>2];J[k+4>>2]=v;J[s>>2]=d;g:{if(!K[q+4|0]){break g}if(!(h>>>b&1|b>>>0>15)){I[k+30>>1]=L[k+30>>1]|1<<c}if(K[d+15|0]!=74){break g}H[k+28|0]=K[k+28|0]|2}q=(c|0)>(f|0);h:{if(J[g+88>>2]&(b>>>0<32?1<<b:0)){J[k+36>>2]=J[k+36>>2]|1<<c;break h}if(!(H[d+12|0]&1)){break h}J[g+32>>2]=0;J[g+56>>2]=J[g+56>>2]&-2;J[i>>2]=1}f=q?c:f;if(!J[i>>2]|(K[d+15|0]-75&255)>>>0<254){break d}if(J[g+28>>2]){Oa(J[g+24>>2]);J[g+24>>2]=0;J[g+28>>2]=0}J[j>>2]=1;b=0;break c}o=o+12|0;b=b+1|0;continue}break}I[k+44>>1]=f+1;c=((f|0)<0?-1:f)+1|0;b=0;i:{while(1){if((b|0)==(c|0)){break i}d=b<<2;b=b+1|0;if(J[J[k+52>>2]+d>>2]){continue}break}J[n>>2]=J[J[e+24>>2]>>2];Ra(l,10337,n);b=1;break c}J[k+24>>2]=J[g+20>>2];H[k+28|0]=K[k+28|0]&254|H[g+28|0]&1;J[g+28>>2]=0;J[k+32>>2]=J[g+24>>2];b=0;b=J[g+32>>2]?J[g+8>>2]:b;I[k+18>>1]=0;H[k+29|0]=b;m=O[g+40>>3];b=0;j:{if(m<=1){break j}if(m<=2e9){k:{if(m<0x10000000000000000&m>=0){b=~~m>>>0;if(R(m)>=1){c=~~(m>0?T(V(m*2.3283064365386963e-10),4294967295):W((m-+(~~m>>>0>>>0))*2.3283064365386963e-10))>>>0}else{c=0}break k}b=0;c=0}b=Fd(b,c);break j}C(+m);b=x(1)|0;x(0)|0;b=P(b>>>20|0,10)-10220|0}I[k+20>>1]=b<<16>>16;I[k+22>>1]=Fd(J[g+48>>2],J[g+52>>2]);J[k+40>>2]=J[k+40>>2]&-4097|J[g+56>>2]<<12&4096;b=Zj(a,k);if(!(H[k+28|0]&1)){break c}Oa(J[k+32>>2]);H[k+28|0]=K[k+28|0]&254}Fa=n- -64|0;return b}function im(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Fa-16|0;Fa=i;a:{if(d>>>0>=1001){f=b+1|0;break a}J[i+12>>2]=0;k=Wb(a,b,i+12|0);if(!k){f=b+1|0;break a}e=b+k|0;h=J[i+12>>2];if((e+h|0)!=(c|0)){f=b+1|0;break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{g=J[a>>2];j=K[g+b|0]&15;switch(j|0){case 10:break a;case 8:case 9:break j;case 7:break k;case 5:case 6:break l;case 4:break m;case 3:break n;case 0:case 1:case 2:break o;case 11:break e;case 12:break f;default:break g}}f=(h+k|0)!=1?b+1|0:0;break a}if(!h){f=b+1|0;break a}if(K[e+g|0]==45){if(h>>>0<=1){break h}e=e+1|0}a=c>>>0<e>>>0?e:c;while(1){if((a|0)==(e|0)){break d}b=e+g|0;f=e+1|0;e=f;if(K[b|0]-58>>>0>=4294967286){continue}break}break a}if(h>>>0<=2){f=b+1|0;break a}a=K[e+g|0];if((a|0)==45){if(h>>>0<=3){f=b+1|0;break a}e=e+1|0;a=K[g+e|0]}if((a&255)!=48){f=b+1|0;break a}if((K[(e+g|0)+1|0]|32)!=120){f=e+2|0;break a}e=e+2|0;while(1){if(c>>>0<=e>>>0){break d}a=e+g|0;f=e+1|0;e=f;if(K[K[a|0]+31216|0]&8){continue}break}break a}if(h>>>0<=1){f=b+1|0;break a}f=K[e+g|0];if((f|0)==45){if(h>>>0<3){break i}e=e+1|0;f=K[g+e|0]}if((f&255)==46){f=e+1|0;if((j|0)==5|K[g+f|0]-58>>>0<4294967286){break a}f=e+2|0;d=1;break b}d=0;if((j|0)!=5|(f&255)!=48){break c}f=e+1|0;if(e+3>>>0>c>>>0){break a}a=K[f+g|0];if((a|0)==46|(a|0)==101){break b}if((a|0)!=69){break a}break b}a=c>>>0>e>>>0?c:e;while(1){if((a|0)==(e|0)){break d}b=e+g|0;f=e+1|0;e=f;b=K[b|0];if((b|0)==39|K[b+51936|0]){continue}break}break a}d=(j|0)!=8;while(1){if(c>>>0<=e>>>0){break d}p:{q:{b=e+g|0;a=K[b|0];if((a|0)==39|K[a+51936|0]){break q}r:{if((a|0)!=34){if((a|0)==92){break r}f=e+1|0;break a}if(d){break q}f=e+1|0;break a}f=e+1|0;if(f>>>0>=c>>>0){break a}a=K[f+g|0];if(Dw(2539,a,9)){break p}if((a|0)==117){if(e+5>>>0>=c>>>0){break a}if(qq(b+2|0)){break p}break a}if((j|0)!=9){break a}J[i+8>>2]=0;a=bm(b,c-e|0,i+8|0);if(J[i+8>>2]==629145){break a}f=(a+e|0)-1|0;break p}f=e}e=f+1|0;continue}}f=b+1|0;break a}f=b+1|0;break a}f=b+1|0;break a}h=d+1|0;b=0;while(1){if(c>>>0>e>>>0){J[i+12>>2]=0;d=Wb(a,e,i+12|0);if(!d){f=e+1|0;break a}d=J[i+12>>2]+(d+e|0)|0;if(d>>>0>c>>>0){f=e+1|0;break a}if(!(b&1|(K[e+g|0]&15)-11>>>0>4294967291)){f=e+1|0;break a}f=im(a,e,d,h);if(f){break a}b=b+1|0;e=d;continue}break}f=e+1&0-(b&1);break a}d=d+1|0;while(1){if(c>>>0<=e>>>0){break d}J[i+12>>2]=0;b=Wb(a,e,i+12|0);if(!b){f=e+1|0;break a}b=J[i+12>>2]+(b+e|0)|0;if(b>>>0>c>>>0){f=e+1|0;break a}f=im(a,e,b,d);e=b;if(!f){continue}break}break a}f=0;break a}f=e}a=c-1|0;j=(j|0)!=5;while(1){s:{t:{if(c>>>0>f>>>0){h=f+g|0;e=K[h|0];if(e-58>>>0>4294967285){break t}u:{if(!((e|0)==101|(e|0)==69)){if((e|0)!=46){break u}if(d&255){f=f+1|0;break a}d=1;if(j){break t}v:{if((a|0)==(f|0)){f=a;break v}e=f;if(K[h+1|0]-58>>>0>4294967285){break s}}f=f+1|0;break a}if((d&255)==2){f=f+1|0;break a}if((a|0)==(f|0)){f=c;break a}d=2;w:{e=f;h=e+1|0;switch(K[h+g|0]-43|0){case 0:case 2:break w;default:break s}}e=h;if((a|0)!=(e|0)){break s}f=f+2|0;break a}f=f+1|0;break a}f=d&255?0:b+1|0;break a}e=f}f=e+1|0;continue}}Fa=i+16|0;return f}function po(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=Fa-144|0;Fa=f;J[f+136>>2]=d;J[f+140>>2]=e;J[f+132>>2]=0;z=J[a+44>>2];A=J[a+40>>2];B=J[a+32>>2];Vs(a);r=-1;a:{b:{if(!J[a+16>>2]){break b}if(!b){break a}p=J[a>>2];s=J[p+40>>2];if(Nn(a,b)){break a}J[a+40>>2]=b;J[a+32>>2]=30512;g=ld(p,b,f+132|0,0);if(g){J[f+96>>2]=g;Jc(a,16758,f+96|0);if((g|0)!=3082){break b}J[a+24>>2]=7;break b}i=J[f+132>>2];C=K[i|0];H[i|0]=0;g=Kh(i);if(g){J[f+80>>2]=g;Jc(a,17221,f+80|0);break b}g=If(i);if(g){J[f+64>>2]=g;Jc(a,10249,f- -64|0);break b}g=K[i+9|0];q=J[i+56>>2];J[a+32>>2]=30486;l=g+q|0;k=(K[l+3|0]<<8|K[l+4|0])-1|0;m=k<<1;j=K[i+8|0];y=(q+(g-(j<<2)|0)|0)+12|0;g=(K[l+6|0]|K[l+5|0]<<8)-1&65535;c:{if(!j){j=ab(l+8|0);if(K[p+17|0]){J[a+32>>2]=30541;Ag(a,j,5,b)}r=po(a,j,f+136|0,d,e);n=0;break c}h=J[a+72>>2];J[h>>2]=0;n=1}t=m+y|0;D=g+1|0;E=s-5|0;v=s-4|0;w=1;j=k;while(1){if(!(!J[a+16>>2]|(j|0)<0)){J[a+44>>2]=j;o=K[t+1|0]|K[t|0]<<8;d:{if(!(o>>>0>g>>>0&o>>>0<=v>>>0)){J[f+40>>2]=v;J[f+36>>2]=D;J[f+32>>2]=o;Jc(a,1915,f+32|0);w=0;break d}x=o+q|0;Ja[J[i+80>>2]](i,x,f+104|0);if(o+L[f+122>>1]>>>0>s>>>0){w=0;Jc(a,14561,0);break d}if(K[i+1|0]){m=J[f+136>>2];u=J[f+140>>2];d=J[f+104>>2];e=J[f+108>>2];e:{f:{if(n){if(d>>>0>m>>>0&(e|0)>=(u|0)|(e|0)>(u|0)){break f}break e}if(d>>>0<m>>>0&(e|0)<=(u|0)|(e|0)<(u|0)){break e}}J[f+48>>2]=d;J[f+52>>2]=e;Jc(a,9644,f+48|0);d=J[f+104>>2];e=J[f+108>>2]}J[f+136>>2]=d;J[f+140>>2]=e;n=0}d=J[f+116>>2];e=L[f+120>>1];if(d>>>0>e>>>0){e=((d+E|0)-e>>>0)/(v>>>0)|0;d=ab((L[f+122>>1]+x|0)-4|0);if(K[p+17|0]){Ag(a,d,3,b)}Nt(a,0,d,e)}if(!K[i+8|0]){d=ab(x);if(K[p+17|0]){Ag(a,d,5,b)}n=0;d=po(a,d,f+136|0,J[f+136>>2],J[f+140>>2]);if((d|0)==(r|0)){break d}Jc(a,4763,0);r=d;break d}Mn(h,(o+L[f+122>>1]|0)-1|o<<16)}t=t-2|0;j=j-1|0;continue}break}d=J[f+140>>2];J[c>>2]=J[f+136>>2];J[c+4>>2]=d;J[a+32>>2]=0;if(w){if(J[a+16>>2]<=0){break b}g:{if(K[i+8|0]){break g}h=J[a+72>>2];J[h>>2]=0;while(1){if((k|0)<0){break g}c=(k<<1)+y|0;c=K[c|0]<<8|K[c+1|0];Mn(h,((Ja[J[i+76>>2]](i,c+q|0)|0)+c|0)-1|c<<16);k=k-1|0;continue}}k=l+2|0;c=l+1|0;while(1){d=K[k|0]|K[c|0]<<8;if(d){c=d+q|0;Mn(h,(d+(K[c+2|0]<<8|K[c+3|0])|0)-1|d<<16);k=c+1|0;continue}else{j=J[h>>2];e=0;h:{i:{while(1){if(!j){break i}d=J[h+4>>2];c=(j<<2)+h|0;J[h+4>>2]=J[c>>2];J[c>>2]=-1;j=j-1|0;J[h>>2]=j;k=1;while(1){j:{c=k<<1;if(c>>>0>j>>>0){break j}n=(k<<2)+h|0;m=J[n>>2];k=c|1;k=M[(c<<2)+h>>2]>M[(k<<2)+h>>2]?k:c;c=(k<<2)+h|0;i=J[c>>2];if(m>>>0<i>>>0){break j}J[n>>2]=i;J[c>>2]=m;j=J[h>>2];continue}break}c=g&65535;g=d>>>16|0;if(c>>>0<g>>>0){e=g+((c^-1)+e|0)|0;g=d;continue}break}J[f+20>>2]=b;J[f+16>>2]=g;Jc(a,2106,f+16|0);if(!J[h>>2]){break h}break b}c=g&65535}c=((c^-1)+s|0)+e|0;d=K[l+7|0];if((c|0)==(d|0)){break b}J[f+8>>2]=b;J[f+4>>2]=d;J[f>>2]=c;Jc(a,2015,f);break b}}}H[i|0]=C}zb(J[f+132>>2]);J[a+44>>2]=z;J[a+40>>2]=A;J[a+32>>2]=B;h=r+1|0}Fa=f+144|0;return h}function ZB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=Fa-1088|0;Fa=f;o=d&1048320;q=d&4;k=0;a:{if(!q){break a}k=1;if((o|0)==2048){break a}k=1;if((o|0)==16384){break a}k=1;if((o|0)==524288){break a}k=0}if(J[18262]!=42){J[18262]=42;se(0,0)}h=Sa(c,0,52);b:{c:{d:{e:{if((o|0)==256){f:{if(!J[18261]){break f}if(Ja[J[16625]](b,f+16|0)|0){break f}c=73044;i=J[f+104>>2];m=J[f+108>>2];j=J[f+16>>2];while(1){l=J[c>>2];if(!l){break f}if(!((i|0)==J[l+8>>2]&(m|0)==J[l+12>>2]&(j|0)==J[l>>2])){c=l+44|0;continue}break}c=l+32|0;j=d&3;while(1){i=c;g=J[c>>2];if(!g){break f}c=g+8|0;if((j|0)!=J[g+4>>2]){continue}break}J[i>>2]=J[g+8>>2];c=J[g>>2];break e}c=-1;g=pb(12,0);if(g){break e}g=7;break b}c=-1;if(b){break d}i=f+16|0;g=Zt(J[a+8>>2],i);if(g){break b}break c}J[h+28>>2]=g}i=b}p=d&1;l=d&8;g:{h:{i:{j:{k:{if((c|0)>=0){break k}J[f+1072>>2]=0;J[f+12>>2]=0;J[f+8>>2]=0;n=d&526336;l:{m:{if(n){c=Ya(i);while(1){g=0;if((c|0)<2){break m}n:{c=c-1|0;switch(K[i+c|0]-45|0){case 1:break m;case 0:break n;default:continue}}break}j=f+544|0;Qa(j,i,c);H[c+j|0]=0;g=Tt(j,f+1072|0,f+12|0,f+8|0);break m}g=384;if(l){break l}g=0;if(!(d&64)){break l}c=Mt(i,12607);if(!c){break l}g=Tt(c,f+1072|0,f+12|0,f+8|0)}if(g){break b}g=J[f+1072>>2]}m=d&2;j=m|(d<<3&128|q<<4)|131072;c=th(i,j,g);if((c|0)<0){if(!(!k|J[18304]!=2)){n=0;p=1544;if(Ja[J[16619]](i,0)|0){break j}}n=1;p=0;if(!m|J[18304]==31){break j}c=th(i,j&131200,g);if((c|0)<0){break j}n=d&526336;p=1;d=d&-8|1}if(!g|!n){break k}m=J[f+8>>2];j=J[f+12>>2];if(Ja[J[16676]]()|0){break k}Ja[J[16673]](c,j,m)|0}if(e){J[e>>2]=d}e=J[h+28>>2];if(e){J[e>>2]=c;J[e+4>>2]=d&3}if(l){Ja[J[16661]](i)|0}J[h+32>>2]=b;J[h+4>>2]=a;J[h+12>>2]=c;i=d&64;d=l<<2;d=p?d|2:d;d=(o|0)==256?d:d|128;e=k?d|8:d;d=i|e;I[h+18>>1]=d;if(Rk(d<<25>>31&b,1648,1)){I[h+18>>1]=L[h+18>>1]|16}if(!Kc(J[a+16>>2],11743)){I[h+18>>1]=L[h+18>>1]|1}d=32876;o:{if(e&128){break o}d=Ja[J[J[a+20>>2]>>2]](b,h)|0;if((d|0)==32800){if(Ja[J[16628]](J[h+12>>2],f+544|0)|0){a=J[18304];J[h+20>>2]=a;g=(a|0)==61?22:10;break h}J[f+1072>>2]=0;J[f+1076>>2]=0;a=J[f+636>>2];J[f+1080>>2]=J[f+632>>2];J[f+1084>>2]=a;J[f+1072>>2]=J[f+544>>2];d=73044;p:{q:{while(1){d=J[d>>2];if(d){if(!Cb(f+1072|0,d,16)){break q}d=d+44|0;continue}break}d=pb(56,0);if(!d){g=7;break h}c=Sa(d+16|0,0,40);b=f+1080|0;a=J[b+4>>2];J[d+8>>2]=J[b>>2];J[d+12>>2]=a;a=J[f+1076>>2];J[d>>2]=J[f+1072>>2];J[d+4>>2]=a;if(K[65780]){J[c>>2]=8}J[d+36>>2]=1;a=J[18261];J[d+48>>2]=0;J[d+44>>2]=a;if(a){J[a+48>>2]=d}J[18261]=d;break p}J[d+36>>2]=J[d+36>>2]+1}J[h+8>>2]=d;d=32800;break o}if((d|0)!=32952){break o}d=ob(b)+6|0;a=pb(d,d>>31);if(!a){break i}J[f>>2]=b;J[h+24>>2]=wd(d,a,11929,f);d=32952}J[h>>2]=d;g=0;J[h+20>>2]=0;wt(h);break b}g=(r=Dd(de(44368),11299,i,44368),s=p,t=n,t?r:s);break g}J[h+20>>2]=0;J[h+24>>2]=0;Gf(h,c,43927);g=7;break g}Gf(h,c,43842);J[h+20>>2]=0}Oa(J[h+28>>2])}Fa=f+1088|0;return g|0}function ai(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;e=Fa-32|0;Fa=e;t=J[b+4>>2];a:{if(!t){break a}w=K[a+239|0]?104:105;m=J[b>>2];x=(t|0)<=1?1:t;u=J[b+12>>2];c=J[u+12>>2];y=c&2;z=c&1;B=c&4;C=c&16;A=c&32;D=!(c&8);b:while(1){g=0;while(1){c=J[b+8>>2];if((c|0)>(g|0)){c=J[(g<<2)+m>>2];c:{if(K[c+4|0]){aq(c);break c}d=gy(a,c);if(d){break a}}g=g+1|0;continue}break}$h(m,t,c,106);d=0;J[b+8>>2]=0;c=J[m>>2];if(!J[c+40>>2]){break a}i=J[c+60>>2];J[b+52>>2]=i;k=J[c+64>>2];J[b+48>>2]=k;c=J[u>>2];if(!(!c|C)){f=J[u+4>>2];if((f|0)>(i|0)|(f|0)<(i|0)&D){break a}if(Cb(k,c,f)){break a}}j=1;while(1){d:{if((j|0)==(x|0)){j=x;break d}c=J[(j<<2)+m>>2];if(!J[c+40>>2]|(i|0)!=J[c+60>>2]){break d}if(Cb(k,J[c+64>>2],i)){break d}j=j+1|0;continue}break}e:{if((j|0)!=1|y|A){break e}f=J[m>>2];c=J[f+56>>2];f:{g:{h:{i:{if(K[a+239|0]){if(c){break e}J[b+60>>2]=J[f+76>>2];break i}a=J[f+76>>2];J[b+60>>2]=a;if(c){break h}}J[b+56>>2]=J[f+72>>2];break g}d=dy(b,J[f+72>>2],a,a>>31);J[b+56>>2]=J[b+16>>2];if(d){break f}}d=100}J[b+8>>2]=1;break a}g=0;while(1){if((g|0)!=(j|0)){by(a,J[(g<<2)+m>>2]);g=g+1|0;continue}break}$h(m,j,j,w);k=0;n=0;h=0;while(1){j:{c=J[m>>2];if(J[c+80>>2]){J[e+12>>2]=0;J[e+8>>2]=0;f=J[c+88>>2];o=J[c+92>>2];Yl(a,c,e+12|0,e+8|0);g=1;while(1){if((g|0)==(j|0)){g=j;break j}i=J[(g<<2)+m>>2];if(!J[i+80>>2]|((f|0)!=J[i+88>>2]|(o|0)!=J[i+92>>2])){break j}Yl(a,i,0,0);g=g+1|0;continue}}if((h|0)>0){d=ay(b,h+20|0,0);if(d){break a}a=J[b+16>>2]+h|0;H[a|0]=0;H[a+1|0]=0;H[a+2|0]=0;H[a+3|0]=0;H[a+4|0]=0;H[a+5|0]=0;H[a+6|0]=0;H[a+7|0]=0;H[a+16|0]=0;H[a+17|0]=0;H[a+18|0]=0;H[a+19|0]=0;H[a+8|0]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;J[b+60>>2]=h;J[b+8>>2]=j;J[b+56>>2]=J[b+16>>2];d=100;break a}J[b+8>>2]=j;continue b}if(B){$x(J[u+8>>2],0,e+12|0,e+8|0)}k:{r=J[e+8>>2];l:{if((r|0)<=0?y:0){break l}v=h>>31;m:{if(!(!K[a+239|0]|(h|0)<=0)){if((n|0)<=(o|0)&f>>>0>=k>>>0|(n|0)<(o|0)){break k}s=n-((f>>>0>k>>>0)+o|0)|0;l=k-f|0;break m}if((f>>>0<=k>>>0&(n|0)>=(o|0)|(n|0)>(o|0))&(h|0)>0){break k}s=o-((f>>>0<k>>>0)+n|0)|0;l=f-k|0}i=l;c=Md(i,s)+(z?r+1|0:0)|0;l=c;q=c+h|0;c=(c>>31)+v|0;c=q>>>0<l>>>0?c+1|0:c;l=q+20|0;c=l>>>0<20?c+1|0:c;d=ay(b,l,c);if(d){break a}p=J[b+16>>2]+h|0;if(A){l=J[e+12>>2];J[e+28>>2]=l;q=0;d=0;n:{switch(K[l|0]-1|0){case 1:c=hc(p,i,s);H[c+p|0]=2;q=1;d=c+1|0;default:nf(0,e+28|0);break;case 0:break n}}v=l+r|0;while(1){c=J[e+28>>2];if(v>>>0>c>>>0){c=c+1|0;c=uc(c,e+16|0)+c|0;J[e+28>>2]=c;if(K[c|0]==2){if(!q){d=hc(d+p|0,i,s)+d|0}H[d+p|0]=1;c=d+1|0;c=hc(c+p|0,J[e+16>>2],J[e+20>>2])+c|0;H[c+p|0]=2;d=c+1|0;q=1}nf(0,e+28|0);continue}break}if(q){H[d+p|0]=0;d=d+1|0}k=d?f:k;n=d?o:n;h=d+h|0;break l}h=hc(p,i,s)+h|0;if(z){Qa(J[b+16>>2]+h|0,J[e+12>>2],r);c=h+r|0;H[c+J[b+16>>2]|0]=0;h=c+1|0}k=f;n=o}$h(m,j,g,w);continue}break}break}d=267}Fa=e+32|0;return d}function xe(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}d=a-8|0;b=J[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&2)){break a}b=J[d>>2];d=d-b|0;if(d>>>0<M[18309]){break a}a=a+b|0;c:{d:{if(J[18310]!=(d|0)){if(b>>>0<=255){e=b>>>3|0;b=J[d+12>>2];c=J[d+8>>2];if((b|0)==(c|0)){J[18305]=J[18305]&rJ(-2,e);break b}J[c+12>>2]=b;J[b+8>>2]=c;break b}h=J[d+24>>2];b=J[d+12>>2];if((d|0)!=(b|0)){c=J[d+8>>2];J[c+12>>2]=b;J[b+8>>2]=c;break c}e=d+20|0;c=J[e>>2];if(!c){c=J[d+16>>2];if(!c){break d}e=d+16|0}while(1){g=e;b=c;e=b+20|0;c=J[e>>2];if(c){continue}e=b+16|0;c=J[b+16>>2];if(c){continue}break}J[g>>2]=0;break c}b=J[f+4>>2];if((b&3)!=3){break b}J[18307]=a;J[f+4>>2]=b&-2;J[d+4>>2]=a|1;J[f>>2]=a;return}b=0}if(!h){break b}c=J[d+28>>2];e=(c<<2)+73524|0;e:{if(J[e>>2]==(d|0)){J[e>>2]=b;if(b){break e}J[18306]=J[18306]&rJ(-2,c);break b}J[h+(J[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}J[b+24>>2]=h;c=J[d+16>>2];if(c){J[b+16>>2]=c;J[c+24>>2]=b}c=J[d+20>>2];if(!c){break b}J[b+20>>2]=c;J[c+24>>2]=b}if(d>>>0>=f>>>0){break a}b=J[f+4>>2];if(!(b&1)){break a}f:{g:{h:{i:{if(!(b&2)){if(J[18311]==(f|0)){J[18311]=d;a=J[18308]+a|0;J[18308]=a;J[d+4>>2]=a|1;if(J[18310]!=(d|0)){break a}J[18307]=0;J[18310]=0;return}if(J[18310]==(f|0)){J[18310]=d;a=J[18307]+a|0;J[18307]=a;J[d+4>>2]=a|1;J[a+d>>2]=a;return}a=(b&-8)+a|0;if(b>>>0<=255){e=b>>>3|0;b=J[f+12>>2];c=J[f+8>>2];if((b|0)==(c|0)){J[18305]=J[18305]&rJ(-2,e);break g}J[c+12>>2]=b;J[b+8>>2]=c;break g}h=J[f+24>>2];b=J[f+12>>2];if((f|0)!=(b|0)){c=J[f+8>>2];J[c+12>>2]=b;J[b+8>>2]=c;break h}e=f+20|0;c=J[e>>2];if(!c){c=J[f+16>>2];if(!c){break i}e=f+16|0}while(1){g=e;b=c;e=b+20|0;c=J[e>>2];if(c){continue}e=b+16|0;c=J[b+16>>2];if(c){continue}break}J[g>>2]=0;break h}J[f+4>>2]=b&-2;J[d+4>>2]=a|1;J[a+d>>2]=a;break f}b=0}if(!h){break g}c=J[f+28>>2];e=(c<<2)+73524|0;j:{if(J[e>>2]==(f|0)){J[e>>2]=b;if(b){break j}J[18306]=J[18306]&rJ(-2,c);break g}J[h+(J[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}J[b+24>>2]=h;c=J[f+16>>2];if(c){J[b+16>>2]=c;J[c+24>>2]=b}c=J[f+20>>2];if(!c){break g}J[b+20>>2]=c;J[c+24>>2]=b}J[d+4>>2]=a|1;J[a+d>>2]=a;if(J[18310]!=(d|0)){break f}J[18307]=a;return}if(a>>>0<=255){b=(a&-8)+73260|0;c=J[18305];a=1<<(a>>>3);k:{if(!(c&a)){J[18305]=a|c;a=b;break k}a=J[b+8>>2]}J[b+8>>2]=d;J[a+12>>2]=d;J[d+12>>2]=b;J[d+8>>2]=a;return}c=31;if(a>>>0<=16777215){b=S(a>>>8|0);c=((a>>>38-b&1)-(b<<1)|0)+62|0}J[d+28>>2]=c;J[d+16>>2]=0;J[d+20>>2]=0;b=(c<<2)+73524|0;l:{m:{e=J[18306];g=1<<c;n:{if(!(e&g)){J[18306]=e|g;J[b>>2]=d;J[d+24>>2]=b;break n}c=a<<((c|0)!=31?25-(c>>>1|0)|0:0);b=J[b>>2];while(1){e=b;if((J[b+4>>2]&-8)==(a|0)){break m}g=c>>>29|0;c=c<<1;g=b+(g&4)|0;b=J[g+16>>2];if(b){continue}break}J[g+16>>2]=d;J[d+24>>2]=e}J[d+12>>2]=d;J[d+8>>2]=d;break l}a=J[e+8>>2];J[a+12>>2]=d;J[e+8>>2]=d;J[d+24>>2]=0;J[d+12>>2]=e;J[d+8>>2]=a}a=J[18313]-1|0;J[18313]=a?a:-1}}function Lu(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;f=Fa-80|0;Fa=f;c=cl(a,0,f+16|0);a:{if(c){if((c|0)!=1288){break a}H[a+43|0]=2;H[a+50|0]=1;J[b>>2]=1}b:{c:{d:{e:{if(J[f+16>>2]){if(!Ju(a,b)){break e}}if(!(K[a+50|0]|!(K[a+46|0]&2))){c=Ih(a,0);if(c){break d}Gg(a,0);c=264;if(!K[a+50|0]){break a}break c}o=K[a+44|0];if(!o){c=Pf(a,0,1);if(c){break d}}H[a+44|0]=1;c=cl(a,0,f+16|0);d=0;f:{if(c){break f}if(!Ju(a,b)){c=0;d=1;break f}d=K[a+45|0];p=d+1|0;q=2-d|0;c=Pf(a,p,q);if(!c){Sa(a+52|0,0,48);d=J[a+8>>2];c=Ja[J[J[d>>2]+24>>2]](d,f+72|0)|0;g:{if(c){break g}d=J[f+72>>2];h:{e=J[f+76>>2];if((e|0)<0){c=1}else{c=d>>>0<33&(e|0)<=0}if(c){break h}d=J[a+8>>2];h=f+32|0;c=Ja[J[J[d>>2]+8>>2]](d,h,32,0,0)|0;if(c){break g}e=K[f+35|0];if((e&254|(K[f+33|0]<<16|K[f+32|0]<<24|K[f+34|0]<<8))!=931071618){break h}k=K[f+42|0]<<8;c=K[f+41|0]<<16|K[f+40|0]<<24;d=k|(c|K[f+43|0]);if(d-1&d|d-65537>>>0<4294902271){break h}J[a+36>>2]=d;g=e&1;H[a+65|0]=g;e=J[f+44>>2];J[a+112>>2]=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=J[f+52>>2];J[a+84>>2]=J[f+48>>2];J[a+88>>2]=e;Of(!g,h,24,0,a+76|0);e=J[f+56>>2];if(J[a+76>>2]!=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))){break h}e=J[f+60>>2];if(J[a+80>>2]!=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))){break h}e=J[f+36>>2];if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))!=3007e3){c=de(65950);break g}g=pb(d+32792|0,0);if(!g){c=7;break g}w=k|c>>>16;r=g+24|0;s=d+r|0;e=J[f+72>>2];h=d+24|0;k=mJ(e-32|0,J[f+76>>2]-(e>>>0<32)|0,h,0);x=(k+33>>>12|0)+1|0;c=0;while(1){i:{if((j|0)==(x|0)){break i}c=cl(a,j,f+28|0);n=J[f+28>>2];if(!n){break i}t=j<<2;J[t+J[a+32>>2]>>2]=s;e=j<<12;d=e|4062;y=d>>>0<k>>>0?d:k;d=j?e-33|0:1;e=0;while(1){j:{u=!e&d>>>0>y>>>0|(e|0)!=0;if(u){break j}v=J[a+8>>2];c=h;l=lJ(d-1|0,e-!d|0,c,0);m=Ia;l=l+32|0;m=l>>>0<32?m+1|0:m;c=Ja[J[J[v>>2]+8>>2]](v,g,c,l,m)|0;if(c){break j}if(!Ku(a,f+24|0,f+20|0,r,g)){c=0;break j}c=Oo(a,d,J[f+24>>2]);if(c){break j}c=J[f+20>>2];if(c){J[a+72>>2]=c;J[a+68>>2]=d;I[a+66>>1]=w;z=J[a+80>>2];i=J[a+76>>2]}d=d+1|0;e=d?e:e+1|0;c=0;continue}break}J[t+J[a+32>>2]>>2]=n;d=j?0:136;Qa(d+n|0,d+s|0,32768-d|0);if(!u){break i}j=j+1|0;continue}break}Oa(g);if(c){break g}break h}J[a+80>>2]=z;J[a+76>>2]=i;No(a);c=0;d=J[J[a+32>>2]>>2];J[d+96>>2]=0;J[d+128>>2]=J[a+68>>2];J[d+100>>2]=0;e=d+96|0;i=1;while(1){if((i|0)!=5){h=i+3|0;c=Pf(a,h,1);if((c|0)!=5){if(c){break g}k:{l:{if((i|0)!=1){break l}g=J[a+68>>2];if(!g){break l}J[d+104>>2]=g;break k}J[(e+(i<<2)|0)+4>>2]=-1}te(a,h,1)}i=i+1|0;continue}break}if(!J[a+72>>2]){break g}d=J[a+68>>2];J[f+4>>2]=J[a+108>>2];J[f>>2]=d;Ac(283,6973,f)}te(a,p,q)}J[b>>2]=1;d=0}if(!o){H[a+44|0]=0;te(a,0,1)}if(!d){break d}}if(J[a+52>>2]==3007e3){break d}c=de(67204)}if(!K[a+50|0]){break a}if(c){break c}c=0;break b}Io(a,0);H[a+50|0]=0;c=(c|0)==522?-1:c}H[a+43|0]=0}Fa=f+80|0;return c}function Eo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=Fa-48|0;Fa=f;e=J[a>>2];J[f+16>>2]=0;J[f+12>>2]=1;J[f+8>>2]=J[a+168>>2];a:{b:{c=J[a+68>>2];c=Ja[J[J[c>>2]+24>>2]](c,f+24|0)|0;if(c){break b}d=J[a+224>>2];c=Do(J[a+68>>2],d,J[J[a>>2]+8>>2]+1|0);c:{if(c){break c}if(!K[d|0]){c=0;break c}c=Ja[J[e+32>>2]](e,d,0,f+12|0)|0}d:{e:{if(!J[f+12>>2]|c){break e}J[a+80>>2]=0;J[a+84>>2]=0;j=a+80|0;i=b;f:while(1){c=Cu(a,b,J[f+24>>2],J[f+28>>2],f+20|0,f+16|0);if(c){if((c|0)==101){break d}break b}c=J[a+156>>2];e=J[f+20>>2];if((e|0)==-1){e=J[f+24>>2];g=e-c|0;e=J[f+28>>2]-(c>>>0>e>>>0)|0;d=J[a+172>>2];h=J[a+168>>2]+8|0;d=h>>>0<8?d+1|0:d;e=mJ(g,e,h,d);J[f+20>>2]=e}d=J[j>>2];g=J[j+4>>2];g:{if(b|e){break g}h=J[a+92>>2];k=J[a+88>>2];l=k+c|0;if((d|0)!=(l|0)|(g|0)!=((k>>>0>l>>>0?h+1|0:h)|0)){break g}e=J[f+24>>2];h=e-d|0;l=J[f+28>>2]-((d>>>0>e>>>0)+g|0)|0;e=J[a+172>>2];k=J[a+168>>2]+8|0;e=k>>>0<8?e+1|0:e;e=mJ(h,l,k,e);J[f+20>>2]=e}h:{if((c|0)!=(d|0)|g){break h}d=J[f+16>>2];c=cq(a,d);if(c){break b}J[a+28>>2]=d;if(d>>>0<=M[a+160>>2]){break h}J[a+160>>2]=d}d=e+m|0;g=0;while(1){if((e|0)==(g|0)){m=d;continue f}if(i){Hg(a)}i:{c=$k(a,j,0,1,0);if(c){if((c|0)==101){break i}if((c|0)==522){break d}break e}g=g+1|0;m=m+1|0;i=0;continue}break}c=J[f+28>>2];J[j>>2]=J[f+24>>2];J[j+4>>2]=c;i=0;continue}}if(c){break b}}c=Nh(a,f+8|0,-1);H[a+19|0]=K[a+12|0];if(c){break a}l=J[a+224>>2]+4|0;c=Do(J[a+68>>2],l,J[J[a>>2]+8>>2]+1|0);if(c){break a}if((K[a+17|0]-4&255)>>>0<=252){c=Fq(a,0);if(c){break a}}c=Kj(a,K[l|0]!=0,0);if(c){break a}if(!(!K[l|0]|!J[f+12>>2])){e=0;c=J[a+224>>2];H[c|0]=0;H[c+1|0]=0;H[c+2|0]=0;H[c+3|0]=0;c=7;h=J[a>>2];d=J[h+4>>2]<<1;g=od(d,d>>31);j:{if(!g){break j}d=Ja[J[h+24>>2]](h,l,g,16385,0)|0;if(d){c=d;break j}j=J[h+4>>2];d=Ja[J[J[g>>2]+24>>2]](g,f+40|0)|0;if(d){c=d;break j}n=J[h+8>>2]+1|0;d=J[f+44>>2]+(n>>31)|0;i=n+J[f+40>>2]|0;d=i>>>0<n>>>0?d+1|0:d;i=i+6|0;d=i>>>0<6?d+1|0:d;d=Yb(i,d);if(!d){break j}H[d|0]=0;H[d+1|0]=0;H[d+2|0]=0;H[d+3|0]=0;k:{i=d+4|0;e=J[f+40>>2];c=Ja[J[J[g>>2]+8>>2]](g,i,e,0,0)|0;l:{if(c){break l}k=g+j|0;p=(e+i|0)+2|0;H[i+J[f+40>>2]|0]=0;H[(i+J[f+40>>2]|0)+1|0]=0;e=i;while(1){c=e-i|0;o=c>>>0<M[f+40>>2];j=J[f+44>>2];c=c>>31;if(o&(j|0)>=(c|0)|(c|0)<(j|0)){c=Ja[J[h+32>>2]](h,e,0,f+36|0)|0;if(c){break l}m:{if(!J[f+36>>2]){break m}j=Ja[J[h+24>>2]](h,e,k,16385,0)|0;if(j){break k}j=Do(k,p,n);o=J[k>>2];if(o){Ja[J[o+4>>2]](k)|0;J[k>>2]=0}if(j){break k}if(!K[p|0]){break m}if(!Kc(p,l)){break l}}e=(Ya(e)+e|0)+1|0;continue}break}c=J[g>>2];if(c){Ja[J[c+4>>2]](g)|0;J[g>>2]=0}c=J[h+28>>2];if(!c){c=0;break l}c=Ja[c|0](h,l,0)|0}e=d;break j}e=d;c=j}Oa(e);if(!g){break a}e=J[g>>2];if(e){Ja[J[e+4>>2]](g)|0;J[g>>2]=0}Oa(g);break a}c=0;break a}H[a+19|0]=K[a+12|0]}if(!(!b|!m)){J[f+4>>2]=J[a+188>>2];J[f>>2]=m;Ac(539,6754,f)}So(a);Fa=f+48|0;return c}function ny(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=Fa-32|0;Fa=m;a:{b:{if((d|0)>=0){J[m+16>>2]=0;k=Gb(a,12,m+16|0,0);j=J[m+16>>2];if(k){break b}k=J[a+260>>2];k=lJ(k,k>>31,b,b>>31);b=k+c|0;c=Ia+(c>>31)|0;q=d;d=(b>>>0<k>>>0?c+1|0:c)<<10|b>>>22;c=b<<10;k=q+c|0;b=d;xb(j,1,k,c>>>0>k>>>0?b+1|0:b);k=0;break b}j=J[a+264>>2];c:{if(!j|J[a+288>>2]!=(b|0)){break c}d:{e:{s=g|h;f:{if(s){j=(j+P(c,24)|0)+12|0;while(1){j=J[j>>2];J[m+16>>2]=j;g:{if(j){if(f){if(J[j+16>>2]<(f|0)){continue}if(Cb(J[j+12>>2],e,f)){continue}}if((n|0)!=(t|0)){k=q;break g}n=n+16|0;k=Bc(q,n<<2,0);if(k){break g}break e}if(t>>>0>=2){n=q;l=Fa-208|0;Fa=l;J[l+8>>2]=1;J[l+12>>2]=0;r=t<<2;h:{if(!r){break h}J[l+16>>2]=4;J[l+20>>2]=4;j=4;o=4;p=2;while(1){k=j;j=(o+4|0)+j|0;J[(l+16|0)+(p<<2)>>2]=j;p=p+1|0;o=k;if(j>>>0<r>>>0){continue}break}r=(n+r|0)-4|0;i:{if(r>>>0<=n>>>0){p=1;j=1;k=0;break i}p=1;j=1;while(1){j:{if((p&3)==3){pp(n,j,l+16|0);El(l+8|0,2);j=j+2|0;break j}k=l+16|0;o=j-1|0;k:{if(M[k+(o<<2)>>2]>=r-n>>>0){Dl(n,p,J[l+12>>2],j,0,k);break k}pp(n,j,l+16|0)}if((j|0)==1){Cl(l+8|0,1);j=0;break j}Cl(l+8|0,o);j=1}p=J[l+8>>2]|1;J[l+8>>2]=p;n=n+4|0;if(r>>>0>n>>>0){continue}break}k=J[l+12>>2]}Dl(n,p,k,j,0,l+16|0);o=J[l+12>>2];p=J[l+8>>2];if(!(o|((j|0)!=1|(p|0)!=1))){break h}while(1){l:{if((j|0)<=1){k=Cw(p,o);El(l+8|0,k);k=j+k|0;break l}p=l+8|0;Cl(p,2);J[l+8>>2]=J[l+8>>2]^7;El(p,1);o=n-4|0;r=l+16|0;k=j-2|0;Dl(o-J[r+(k<<2)>>2]|0,J[l+8>>2],J[l+12>>2],j-1|0,1,r);Cl(p,1);j=J[l+8>>2]|1;J[l+8>>2]=j;Dl(o,j,J[l+12>>2],k,1,r)}j=k;n=n-4|0;o=J[l+12>>2];p=J[l+8>>2];if(o|((j|0)!=1|(p|0)!=1)){continue}break}}Fa=l+208|0;n=t<<2;break f}o=1;n=4;j=0;k=0;if((t|0)!=1){break d}break f}J[(t<<2)+k>>2]=j;t=t+1|0;j=J[m+16>>2];q=k;continue}}n=4;j=ky((j+P(c,24)|0)+4|0,e,f);J[m+16>>2]=j;q=m+16|0;if(!j){break c}}k=n+100|0;j=pb(k,0);if(!j){break e}o=Sa(j,0,k);k=o+96|0;J[o+56>>2]=k;J[o>>2]=2147483647;Qa(k,q,n);o=1;k=0;break d}o=0;j=0;k=7}if(s){Oa(q)}if(!o|!j){break c}k=jy(i,j)}j=0;if((d|0)==-1){break a}if(k){break b}k=0;J[m+16>>2]=0;d=Gb(a,13,m+16|0,0);j=J[m+16>>2];if(d){k=d;break b}q=c;s=b>>31;d=J[a+260>>2];n=lJ(b,s,d,d>>31);d=n+c|0;o=c>>31;r=o+Ia|0;c=d;d=(c>>>0<n>>>0?r+1|0:r)<<10|c>>>22;xb(j,1,c<<10,d);c=J[a+260>>2];b=lJ(c,c>>31,b,s);c=o+Ia|0;b=b+q|0;c=b>>>0<q>>>0?c+1|0:c;xb(j,2,b<<10|1023,c<<10|b>>>22)}o=g?m+8|0:0;q=g|h;h=!q;while(1){if(k){break a}k=qb(j);if((k|0)!=100){break a}J[m+28>>2]=0;J[m+16>>2]=Sc(j,1);J[m+20>>2]=Ia;J[m+8>>2]=Sc(j,2);J[m+12>>2]=Ia;c=Sc(j,3);g=Ia;n=Id(j,4);s=Pe(j,4);b=J[m+16>>2];d=J[m+20>>2];m:{if(!s|(!e|!(b|d))){break m}k=bq(a,e,f,s,n,m+16|0,o);if(k){break a}b=J[m+16>>2];d=J[m+20>>2];if(q){break m}J[m+8>>2]=b;J[m+12>>2]=d}k=iy(J[i+4>>2]+1|0,h,b,d,J[m+8>>2],J[m+12>>2],c,g,s,n,m+28|0);if(k){break a}k=jy(i,J[m+28>>2]);continue}}a=jb(j);Fa=m+32|0;return(k|0)==101?a:k}function Km(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;q=Fa-32|0;Fa=q;m=rb(a);p=J[a+40>>2];J[a+40>>2]=p+1;a:{if(!d){d=0;break a}if(!(K[b+5|0]&16)){break a}o=J[J[b+20>>2]+28>>2];r=J[o>>2];k=(r|0)>0?r:0;while(1){b:{if((g|0)!=(k|0)){if(!Xe(J[(o+(g<<4)|0)+8>>2])){break b}}else{g=k}d=(g|0)!=(r|0)?d:0;break a}g=g+1|0;continue}}w=c&4;c:{d:{if(J[a+36>>2]|(J[b+4>>2]&4160)!=4096){break d}k=J[b+20>>2];if(J[k+52>>2]|K[k+4|0]&9|(J[k+60>>2]|J[k+36>>2])){break d}h=J[k+32>>2];if(J[h>>2]!=1|J[h+28>>2]){break d}g=J[h+24>>2];if(K[g+43|0]==1){break d}s=J[k+28>>2];n=J[s>>2];x=(n|0)>0?n:0;while(1){if((j|0)!=(x|0)){h=j<<4;j=j+1|0;if(K[J[(h+s|0)+8>>2]]==167){continue}break d}break}if(!k){break d}t=Ab(J[a>>2],J[g+60>>2]);gd(a,t);rd(a,t,J[g+20>>2],0,J[g>>2]);if(!((n|0)!=1|I[J[s+8>>2]+32>>1]>=0)){c=Hb(m,15);Cd(a,p,t,g,112);J[q>>2]=J[g>>2];cc(a,0,19480,q);a=J[m+108>>2];J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(c,20)|0)+8>>2]=a;i=1;break c}j=1;while(1){if(!(!(j&1)|(i|0)>=(n|0))){k=pg(J[b+12>>2],i);j=68;h=I[J[((i<<4)+s|0)+8>>2]+32>>1];if(!((h|0)<0|(h|0)>=I[g+34>>1])){j=K[(J[g+4>>2]+P(h,12)|0)+5|0]}h=j<<24>>24;j=(h|0)>66|qg(k,h)-65>>>0<2;i=i+1|0;continue}break}if(!(j&1)){break d}j=g+8|0;h=n&31;if((n&63)>>>0>=32){k=-1<<h;g=0}else{g=(1<<h)-1&-1>>>32-h;h=-1<<h;k=g|h;g=h}r=g;i=0;while(1){l=J[j>>2];if(!(!l|i)){i=0;h=L[l+52>>1];e:{if(J[l+36>>2]|((h|0)<(n|0)|h>>>0>62)){break e}f:{if(!w){break f}if(L[l+50>>1]>(n|0)){break e}if((h|0)<=(n|0)){break f}if(!K[l+54|0]){break e}}j=0;u=0;v=0;while(1){g:{if((j|0)==(x|0)){break g}i=0;h=pg(J[b+12>>2],j);g=J[((j<<4)+s|0)+8>>2];o=Tf(a,h,g);while(1){h=(i|0)==(n|0);if(h){break g}h:{if(L[J[l+4>>2]+(i<<1)>>1]==L[g+32>>1]){if(!o){break h}if(!Xa(J[o>>2],J[J[l+32>>2]+(i<<2)>>2])){break h}}i=i+1|0;continue}break}if(h){break g}g=i&31;if((i&63)>>>0>=32){h=1<<g;g=0}else{o=1<<g;h=o-1&1>>>32-g;g=o}if(u&g|h&v){break g}if(e){J[(j<<2)+e>>2]=i}u=g|u;v=h|v;j=j+1|0;continue}break}i=0;if(((r^u)&(k^v))!=-1){break e}o=Hb(m,15);J[q+16>>2]=J[l>>2];cc(a,0,19449,q+16|0);Pa(m,112,p,J[l+44>>2],t);zd(a,l);g=K[J[l+28>>2]];i:{if(!d){break i}h=J[a+44>>2]+1|0;J[a+44>>2]=h;J[d>>2]=h;if((n|0)!=1){break i}CA(m,p,h)}h=J[m+108>>2];i=g+3|0;J[(K[J[m>>2]+87|0]?73192:J[m+104>>2]+P(o,20)|0)+8>>2]=h}j=l+20|0;continue}break}if(i){break c}}j:{if(!(c&1)|K[b+5|0]&16){break j}h=J[b+12>>2];J[b+12>>2]=0;c=be(b);J[b+12>>2]=h;if(J[J[b+20>>2]>>2]>2?c:0){break j}p=-1;J[a+40>>2]=J[a+40>>2]-1;i=5;break c}c=L[a+156>>1];k:{if(w){g=0;I[a+156>>1]=0;break k}if(!d){g=0;break k}g=J[a+44>>2]+1|0;J[a+44>>2]=g;J[d>>2]=g}BA(a,b,p);if(g){CA(m,p,g)}I[a+156>>1]=c;i=2}l:{if(!e|i-5>>>0>4294967293){break l}g=0;a=Mc(J[b+12>>2]);a=(a|0)>0?a:0;while(1){if((a|0)==(g|0)){break l}J[(g<<2)+e>>2]=g;g=g+1|0;continue}}J[f>>2]=p;Fa=q+32|0;return i}function Zg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Fa-16|0;Fa=h;i=Wb(a,b,h+12|0);a:{if(!i){H[c+25|0]=K[c+25|0]|2;a=J[a+4>>2]+1|0;break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{e=J[a>>2];switch(K[e+b|0]&15){case 6:break i;case 4:break j;case 3:case 5:break k;case 2:break l;case 1:break m;case 0:break n;case 10:break c;case 11:break d;case 12:break e;case 9:break g;case 7:case 8:break h;default:break f}}ad(c,11625,4);a=b+1|0;break a}ad(c,12960,4);a=b+1|0;break a}ad(c,13493,5);a=b+1|0;break a}g=J[h+12>>2];of(c,(e+i|0)+b|0,g);break b}a=2;o:{p:{q:{j=(e+i|0)+b|0;switch(K[j|0]-43|0){case 0:break p;case 2:break q;default:break o}}bc(c,45)}a=3}g=J[h+12>>2];k=a>>>0>g>>>0?a:g;while(1){r:{if((a|0)!=(k|0)){e=K[a+j|0];if(K[e+31216|0]&8){break r}H[c+25|0]=K[c+25|0]|2}J[h>>2]=d;J[h+4>>2]=f;Nj(100,c,l?23126:1868,h);break b}s:{if(f>>>0>268435455){l=1;break s}f=f<<4|d>>>28;d=e+(e<<1<<24>>24>>>7&9)&15|d<<4}a=a+1|0;continue}}a=0;d=(e+i|0)+b|0;f=K[d|0];if((f|0)==45){bc(c,45);f=K[d+1|0];a=1}if((f&255)==46){bc(c,48)}g=J[h+12>>2];f=a>>>0>g>>>0?a:g;while(1){if((a|0)==(f|0)){break b}e=a+d|0;bc(c,H[e|0]);a=a+1|0;if((g|0)!=(a|0)&K[a+d|0]-58>>>0>4294967285|K[e|0]!=46){continue}bc(c,48);continue}}bc(c,34);g=J[h+12>>2];of(c,(J[a>>2]+i|0)+b|0,g);bc(c,34);break b}g=J[h+12>>2];bc(c,34);e=(e+i|0)+b|0;d=g;while(1){a=0;t:{u:{if(!d){break u}v:{while(1){f=d;if((a|0)==(d|0)){break v}f=K[a+e|0];if(!((f|0)==34|(f|0)==92)){a=a+1|0;continue}break}f=a}if(f){ad(c,e,f);if(a>>>0>=d>>>0){break u}e=e+f|0;d=d-f|0}if(K[e|0]==34){ad(c,29804,2);d=d-1|0;e=e+1|0;continue}if(d>>>0>1){break t}H[c+25|0]=K[c+25|0]|2}bc(c,34);break b}w:{x:{y:{z:{A:{a=K[e+1|0];switch(a-10|0){case 0:break w;case 1:case 2:break x;case 3:break z;default:break A}}B:{C:{switch(a-118|0){default:if((a|0)==226){break y}if((a|0)==48){break B}if((a|0)!=39){break x}bc(c,39);break w;case 0:ad(c,23150,6);break w;case 1:break x;case 2:break C}}if(d>>>0<=3){d=2;H[c+25|0]=K[c+25|0]|2;break w}ad(c,24537,4);e=e+2|0;ad(c,e,2);d=d-2|0;break w}ad(c,24687,6);break w}if(d>>>0<3){d=2;break w}a=K[e+2|0]==10;e=a?e+1|0:e;d=d-a|0;break w}if(!(!(K[e+2|0]!=128|d>>>0<4)&(K[e+3|0]&254)==168)){d=2;H[c+25|0]=K[c+25|0]|2;break w}e=e+2|0;d=d-2|0;break w}ad(c,e,2)}d=d-2|0;e=e+2|0;continue}}H[c+25|0]=K[c+25|0]|2;g=J[h+12>>2];break b}bc(c,123);f=b+i|0;g=J[h+12>>2];e=f+g|0;while(1){if(e>>>0>f>>>0){f=Zg(a,f,c);bc(c,d&1?44:58);d=d+1|0;continue}break}if(d&1){H[c+25|0]=K[c+25|0]|2}if(g){a=J[c+16>>2];f=J[c+20>>2]-!a|0;a=a-1|0;J[c+16>>2]=a;J[c+20>>2]=f}bc(c,125);break b}bc(c,91);f=b+i|0;g=J[h+12>>2];d=f+g|0;while(1){if(d>>>0>f>>>0){f=Zg(a,f,c);bc(c,44);continue}break}if(g){a=J[c+16>>2];f=J[c+20>>2]-!a|0;a=a-1|0;J[c+16>>2]=a;J[c+20>>2]=f}bc(c,93);break b}g=J[h+12>>2];fm(c,(e+i|0)+b|0,g)}a=(b+i|0)+g|0}Fa=h+16|0;return a}function Ll(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Fa-48|0;Fa=e;h=J[a>>2];o=J[b+20>>2];J[d>>2]=0;i=J[o+68>>2];a:{if((i|0)!=(c|0)&(i|0)<J[h+24>>2]){break a}f=J[b+28>>2];m=f;i=J[b+24>>2];J[e+16>>2]=i;J[e+20>>2]=f;f=J[o+28>>2];J[e+28>>2]=f;b:{if(!K[b+32|0]&((i|0)==J[a+32>>2]&(m|0)==J[a+36>>2])){break b}J[e+12>>2]=0;m=K[h+239|0];f=0;i=b;while(1){b=J[b+8>>2];if(b){f=K[b+32|0]?1:f;h=J[b>>2];i=(h|0)==1?b:i;g=(h|0)==4?1:g;continue}break}if(!g){g=0;break a}b=i;while(1){if(K[b+34|0]){b=J[b+8>>2];continue}break}if(J[o+40>>2]){h=K[b+32|0];Kl(a,b,e+12|0);c:{while(1){g=J[e+12>>2];if(g){break a}n=K[b+32|0];if(n){break c}md(a,b,e+12|0);if(J[b+24>>2]!=J[e+16>>2]|J[b+28>>2]!=J[e+20>>2]|h){continue}break}g=J[e+12>>2];if(g){break a}n=K[b+32|0]}g=267;if((h|0)!=(n|0)){break a}}d:{if(!(f&255)){break d}while(1){if(K[b+32|0]){break d}md(a,b,e+12|0);g=J[e+12>>2];if(!g){continue}break}break a}n=1;while(1){e:{if(i){h=J[(J[i>>2]==1?J[i+16>>2]:i)+20>>2];b=J[h+48>>2];J[e+28>>2]=b;f=J[h+60>>2];J[e+16>>2]=J[h+56>>2];J[e+20>>2]=f;f=J[h+4>>2];f:{if(K[a+52|0]==(m|0)){if(!f){g=0;break f}j=f+J[h>>2]>>>0<=b>>>0;g=1;break f}g=1;g:{if(!f){break g}g=0;if(!b){break g}g=M[h>>2]>=b>>>0}H[e+44|0]=g;while(1){h:{if(b){j=K[e+44|0];f=J[e+16>>2];g=J[a+32>>2];l=J[e+20>>2];k=J[a+36>>2];if(j|((m?f>>>0<g>>>0&(l|0)<=(k|0)|(k|0)>(l|0):(k|0)<=(l|0)&f>>>0>g>>>0|(k|0)<(l|0))|0)!=1){break e}break h}j=K[e+44|0];if(!j){break h}b=0;break e}Xl(m,J[h>>2],J[h+4>>2],e+28|0,e+16|0,e+32|0,e+44|0);b=J[e+28>>2];continue}}while(1){i:{if(!g){j=1;break i}j:{k:{l:{m:{if(b){f=J[e+16>>2];g=J[a+32>>2];l=J[e+20>>2];k=J[a+36>>2];g=(k|0)<=(l|0)&f>>>0>g>>>0|(k|0)<(l|0)?1:(f|0)!=(g|0)|(l|0)!=(k|0)?-1:0;if(((m?0-g|0:g)|0)>=0|j){break k}g=J[h+4>>2];k=J[h>>2];J[e+44>>2]=b;me(0,e+44|0);g=g+k|0;b=J[e+44>>2];while(1){if(b>>>0>=g>>>0){break j}if(K[b|0]){break m}b=b+1|0;continue}}if(j){break k}b=J[h>>2];b=uc(b,e+16|0)+b|0;break l}k=uc(b,e+32|0);g=J[e+32>>2];p=m?0-g|0:g;j=p+f|0;f=J[e+36>>2];f=(m?0-(f+((g|0)!=0)|0)|0:f)+l|0;J[e+16>>2]=j;J[e+20>>2]=j>>>0<p>>>0?f+1|0:f;b=b+k|0}j=0;break i}J[e+28>>2]=b;break e}g=0;continue}g=1;continue}}f=n?J[o+48>>2]:0;J[e+28>>2]=f;break b}J[h+48>>2]=b;f=J[e+20>>2];b=J[e+16>>2];J[h+56>>2]=b;J[h+60>>2]=f;n=!j&(J[a+32>>2]==(b|0)&J[a+36>>2]==(f|0))?n:0;i=J[i+12>>2];continue}}g=0;if(!f){break a}n:{if(K[f|0]==1){a=f+1|0;J[e+28>>2]=a;b=H[f+1|0];o:{if((b|0)<0){b=lc(a,e+32|0);break o}J[e+32>>2]=b&255;b=1}f=b+a|0;J[e+28>>2]=f;break n}J[e+32>>2]=0}while(1){a=J[e+32>>2];if((a|0)<(c|0)){nf(0,e+28|0);a=J[e+28>>2];if(!K[a|0]){break a}b=a+1|0;a=H[a+1|0];p:{if((a|0)<0){a=lc(b,e+32|0);break p}J[e+32>>2]=a&255;a=1}f=a+b|0;J[e+28>>2]=f;continue}break}J[d>>2]=(a|0)==(c|0)?K[f|0]?f:0:0}Fa=e+48|0;return g}function Vg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Fa-16|0;Fa=g;d=1;a:{if(J[c>>2]){break a}b:{switch(J[b>>2]-1|0){case 0:case 2:c:{if(!Vg(a,J[b+12>>2],c)){break c}if(!Vg(a,J[b+16>>2],c)){break c}if(J[c>>2]|J[b>>2]!=1){break a}f=J[b+8>>2];if(J[f>>2]==1?f:0){break a}d=b;while(1){f=J[d+12>>2];if(f){d=J[J[J[d+16>>2]+20>>2]+32>>2];e=d;h=e+h|0;d=(e>>31)+j|0;j=h>>>0<e>>>0?d+1|0:d;d=f;continue}break}f=J[J[d+20>>2]+32>>2];h=f+h|0;j=(f>>31)+j|0;j=pb(h<<1,(h>>>0<f>>>0?j+1|0:j)<<1|h>>>31);if(!j){J[c>>2]=7;Oa(0);break c}c=J[d+20>>2];J[g+8>>2]=J[c+28>>2];J[g+4>>2]=J[c+64>>2];h=1;while(1){d:{if(!h){break d}d=J[d+8>>2];if(!d|J[d>>2]!=1){break d}h=kx(J[d+4>>2],j,g+8|0,g+4|0,J[J[d+16>>2]+20>>2]);continue}break}c=J[J[b+16>>2]+20>>2];J[g+8>>2]=J[c+28>>2];J[g+4>>2]=J[c+64>>2];c=b;while(1){c=J[c+12>>2];if(!(!c|!h)){h=kx(J[J[c+8>>2]+4>>2],j,g+8|0,g+4|0,J[(J[c>>2]==1?J[c+16>>2]:c)+20>>2]);continue}break}Oa(j);d=1;if(h){break a}}d=0;if(J[b>>2]!=1){break a}c=J[b+8>>2];if(J[c>>2]==1?c:0){break a}while(1){c=J[b+20>>2];if(!c){c=J[b+16>>2];if(J[c+24>>2]==J[a+32>>2]&J[c+28>>2]==J[a+36>>2]){_h(J[c+20>>2])}b=J[b+12>>2];continue}break};if(J[b+24>>2]!=J[a+32>>2]|J[b+28>>2]!=J[a+36>>2]){break a}_h(c);break a;case 3:d=(Vg(a,J[b+12>>2],c)|Vg(a,J[b+16>>2],c))!=0;break a;case 1:if(!Vg(a,J[b+12>>2],c)){d=0;break a}d=!Vg(a,J[b+16>>2],c);break a;default:break b}}e:{f:{g:{if(!J[a+28>>2]){break g}if(K[b+34|0]){break f}if(J[b+24>>2]!=J[a+32>>2]|J[b+28>>2]!=J[a+36>>2]){break g}e=J[b+20>>2];if(J[e+28>>2]){break e}}d=0;if(K[b+32|0]|(J[b+24>>2]!=J[a+32>>2]|J[b+28>>2]!=J[a+36>>2])){break a}d=J[J[b+20>>2]+32>>2]>0;break a}e=J[b+20>>2];_h(e)}l=J[e+24>>2]?J[e+28>>2]:l;j=-1;d=0;h:{i:{j:{k:{while(1){if(J[e+64>>2]>(d|0)){f=J[(P(d,24)+e|0)+88>>2];if(f){l:{i=J[f+12>>2];if(i){i=J[i>>2];m=pb(i,i>>31);if(m){break l}break i}Oa(h);Oa(l);J[e+28>>2]=0;J[e+32>>2]=0;d=0;break h}n=g+8|0;k=uc(J[J[f+12>>2]+4>>2],n);f=J[f+12>>2];i=J[f>>2]-k|0;f=Qa(m,k+J[f+4>>2]|0,i);if(h){J[g+8>>2]=f;J[g+4>>2]=h;J[g>>2]=f;Zh(n,d-j|0,0,1,g+4|0,g);Oa(h);i=J[g+8>>2]-f|0;if(!i){break k}}j=d;h=f}d=d+1|0;continue}break}d=0;m:{if((j|0)<0){break m}f=J[e+44>>2];if((f|0)<0){J[e+32>>2]=i;J[e+28>>2]=h;h=J[a+32>>2];j=J[a+36>>2];J[e+24>>2]=1;J[e+16>>2]=h;J[e+20>>2]=j;break m}m=J[e+28>>2];k=f>>>0>j>>>0;J[g+4>>2]=k?m:h;J[g+8>>2]=k?h:m;i=i+8|0;i=Be(i,i>>31);J[g>>2]=i;if(!i){break j}J[e+28>>2]=i;i=0;n:{if(Zh(g,k?f-j|0:j-f|0,0,1,g+8|0,g+4|0)){J[e+24>>2]=1;i=J[g>>2]-J[e+28>>2]|0;break n}Oa(J[g>>2]);J[e+28>>2]=0}J[e+32>>2]=i;Oa(h)}if(J[e+28>>2]==(l|0)){break h}Oa(l);break h}Oa(f);Oa(l);J[e+28>>2]=0;J[e+32>>2]=0;d=0;break h}Oa(h)}d=7}J[c>>2]=d;c=J[e+28>>2];d=J[a+36>>2];J[b+24>>2]=J[a+32>>2];J[b+28>>2]=d;d=(c|0)!=0}Fa=g+16|0;return d}function Il(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=a+b|0;c=J[a+4>>2];a:{b:{if(c&1){break b}if(!(c&2)){break a}c=J[a>>2];b=c+b|0;c:{d:{e:{a=a-c|0;if((a|0)!=J[18310]){if(c>>>0<=255){d=J[a+8>>2];e=J[a+12>>2];if((d|0)!=(e|0)){break e}J[18305]=J[18305]&rJ(-2,c>>>3|0);break b}h=J[a+24>>2];c=J[a+12>>2];if((c|0)!=(a|0)){d=J[a+8>>2];J[d+12>>2]=c;J[c+8>>2]=d;break c}e=a+20|0;d=J[e>>2];if(!d){d=J[a+16>>2];if(!d){break d}e=a+16|0}while(1){g=e;c=d;e=c+20|0;d=J[e>>2];if(d){continue}e=c+16|0;d=J[c+16>>2];if(d){continue}break}J[g>>2]=0;break c}c=J[f+4>>2];if((c&3)!=3){break b}J[18307]=b;J[f+4>>2]=c&-2;J[a+4>>2]=b|1;J[f>>2]=b;return}J[d+12>>2]=e;J[e+8>>2]=d;break b}c=0}if(!h){break b}d=J[a+28>>2];e=(d<<2)+73524|0;f:{if(J[e>>2]==(a|0)){J[e>>2]=c;if(c){break f}J[18306]=J[18306]&rJ(-2,d);break b}J[h+(J[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}J[c+24>>2]=h;d=J[a+16>>2];if(d){J[c+16>>2]=d;J[d+24>>2]=c}d=J[a+20>>2];if(!d){break b}J[c+20>>2]=d;J[d+24>>2]=c}g:{h:{i:{j:{c=J[f+4>>2];if(!(c&2)){if(J[18311]==(f|0)){J[18311]=a;b=J[18308]+b|0;J[18308]=b;J[a+4>>2]=b|1;if(J[18310]!=(a|0)){break a}J[18307]=0;J[18310]=0;return}if(J[18310]==(f|0)){J[18310]=a;b=J[18307]+b|0;J[18307]=b;J[a+4>>2]=b|1;J[a+b>>2]=b;return}b=(c&-8)+b|0;if(c>>>0<=255){e=c>>>3|0;c=J[f+12>>2];d=J[f+8>>2];if((c|0)==(d|0)){J[18305]=J[18305]&rJ(-2,e);break h}J[d+12>>2]=c;J[c+8>>2]=d;break h}h=J[f+24>>2];c=J[f+12>>2];if((f|0)!=(c|0)){d=J[f+8>>2];J[d+12>>2]=c;J[c+8>>2]=d;break i}e=f+20|0;d=J[e>>2];if(!d){d=J[f+16>>2];if(!d){break j}e=f+16|0}while(1){g=e;c=d;e=c+20|0;d=J[e>>2];if(d){continue}e=c+16|0;d=J[c+16>>2];if(d){continue}break}J[g>>2]=0;break i}J[f+4>>2]=c&-2;J[a+4>>2]=b|1;J[a+b>>2]=b;break g}c=0}if(!h){break h}d=J[f+28>>2];e=(d<<2)+73524|0;k:{if(J[e>>2]==(f|0)){J[e>>2]=c;if(c){break k}J[18306]=J[18306]&rJ(-2,d);break h}J[h+(J[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}J[c+24>>2]=h;d=J[f+16>>2];if(d){J[c+16>>2]=d;J[d+24>>2]=c}d=J[f+20>>2];if(!d){break h}J[c+20>>2]=d;J[d+24>>2]=c}J[a+4>>2]=b|1;J[a+b>>2]=b;if(J[18310]!=(a|0)){break g}J[18307]=b;return}if(b>>>0<=255){c=(b&-8)+73260|0;d=J[18305];b=1<<(b>>>3);l:{if(!(d&b)){J[18305]=b|d;b=c;break l}b=J[c+8>>2]}J[c+8>>2]=a;J[b+12>>2]=a;J[a+12>>2]=c;J[a+8>>2]=b;return}d=31;if(b>>>0<=16777215){c=S(b>>>8|0);d=((b>>>38-c&1)-(c<<1)|0)+62|0}J[a+28>>2]=d;J[a+16>>2]=0;J[a+20>>2]=0;c=(d<<2)+73524|0;m:{e=J[18306];g=1<<d;n:{if(!(e&g)){J[18306]=e|g;J[c>>2]=a;J[a+24>>2]=c;break n}d=b<<((d|0)!=31?25-(d>>>1|0)|0:0);c=J[c>>2];while(1){e=c;if((J[c+4>>2]&-8)==(b|0)){break m}g=d>>>29|0;d=d<<1;g=c+(g&4)|0;c=J[g+16>>2];if(c){continue}break}J[g+16>>2]=a;J[a+24>>2]=e}J[a+12>>2]=a;J[a+8>>2]=a;return}b=J[e+8>>2];J[b+12>>2]=a;J[e+8>>2]=a;J[a+24>>2]=0;J[a+12>>2]=e;J[a+8>>2]=b}}function Kd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(K[a+16|0]&2)){H[a+18|0]=b;return 0}if(K[a+18|0]!=(b|0)){f=a;k=b&255;a:{b:{if(!((k|0)==1|K[a+18|0]==1)){c=7;if(ag(a)){break b}b=J[a+8>>2];c=b+(J[a+12>>2]&-2)|0;while(1){if(b>>>0<c>>>0){a=K[b+1|0];H[b+1|0]=K[b|0];H[b|0]=a;b=b+2|0;continue}break}H[f+18|0]=k;c=0;break a}b=J[f+12>>2];c:{if((k|0)==1){b=b&-2;J[f+12>>2]=b;c=b>>31<<1|b>>>31;a=b<<1|1;break c}c=b>>31<<1|b>>>31;a=(b<<1)+2|0;c=a>>>0<2?c+1|0:c}g=a;a=J[f+8>>2];g=id(J[f+20>>2],g,c);c=7;if(!g){break a}j=a+b|0;b=g;d:{e:{f:{g:{h:{switch(K[f+18|0]-1|0){case 0:if((k|0)!=2){break f}c=g;i:while(1){if(a>>>0>=j>>>0){break e}b=a+1|0;j:{e=K[a|0];if(e>>>0<192){a=b;break j}d=K[e+33056|0];while(1){k:{if((b|0)==(j|0)){a=j}else{a=K[b|0];if((a&192)==128){break k}a=b}e=65533;if((d&-2)==65534|d>>>0<128|(d&-2048)==55296){break j}if(d>>>0<=65535){e=d;break j}H[c+2|0]=d;H[c+3|0]=d>>>8&3|220;b=d-65536|0;H[c+1|0]=b>>>18&3|216;H[c|0]=b>>>10&192|d>>>10&63;c=c+4|0;continue i}d=a&63|d<<6;b=b+1|0;continue}}H[c|0]=e;H[c+1|0]=e>>>8;c=c+2|0;continue};default:while(1){if(a>>>0>=j>>>0){break g}h=K[a+1|0];e=K[a|0];i=h|e<<8;c=a+2|0;if(!((e&248)!=216|c>>>0>=j>>>0)){l=K[a+2|0];d=K[a+3|0];H[b+3|0]=d&63|128;e=(i<<10&983040)+65536|0;H[b|0]=e>>>18|240;c=h<<10;H[b+1|0]=(e|c&61440)>>>12&63|128;H[b+2|0]=(c|(d|l<<8&768))>>>6&63|128;b=b+4|0;a=a+4|0;continue}if(i>>>0<=127){H[b|0]=h;b=b+1|0}else{if(i>>>0<=2047){H[b+1|0]=h&63|128;H[b|0]=i>>>6|192;b=b+2|0}else{H[b+2|0]=h&63|128;H[b|0]=e>>>4|224;H[b+1|0]=i>>>6&63|128;b=b+3|0}}a=c;continue};case 1:break h}}while(1){if(a>>>0>=j>>>0){break g}h=K[a|0];e=K[a+1|0];i=h|e<<8;c=a+2|0;if(!((e&248)!=216|c>>>0>=j>>>0)){l=K[a+3|0];d=K[a+2|0];H[b+3|0]=d&63|128;e=(i<<10&983040)+65536|0;H[b|0]=e>>>18|240;c=h<<10;H[b+1|0]=(e|c&61440)>>>12&63|128;H[b+2|0]=(c|(d|l<<8&768))>>>6&63|128;b=b+4|0;a=a+4|0;continue}if(i>>>0<=127){H[b|0]=h;b=b+1|0}else{if(i>>>0<=2047){H[b+1|0]=h&63|128;H[b|0]=i>>>6|192;b=b+2|0}else{H[b+2|0]=h&63|128;H[b|0]=e>>>4|224;H[b+1|0]=i>>>6&63|128;b=b+3|0}}a=c;continue}}J[f+12>>2]=b-g;break d}c=g;while(1){if(a>>>0>=j>>>0){break e}b=a+1|0;d=K[a|0];l:{m:{if(d>>>0<192){a=b;break m}d=K[d+33056|0];while(1){n:{o:{if((b|0)==(j|0)){a=j}else{a=K[b|0];if((a&192)==128){break o}a=b}if((d&-2)==65534|d>>>0<128|(d&-2048)==55296){break n}if(d>>>0<=65535){break m}H[c+2|0]=d>>>8&3|220;b=d-65536|0;H[c+1|0]=b>>>10&192|d>>>10&63;H[c|0]=b>>>18&3|216;e=4;b=c+3|0;break l}d=a&63|d<<6;b=b+1|0;continue}break}d=65533}H[c|0]=d>>>8;e=2;b=c+1|0}H[b|0]=d;c=c+e|0;continue}}J[f+12>>2]=c-g;H[c|0]=0;b=c+1|0}H[b|0]=0;a=L[f+16>>1];Vc(f);H[f+18|0]=k;J[f+32>>2]=g;J[f+8>>2]=g;I[f+16>>1]=a&2109|514;J[f+24>>2]=ff(J[f+20>>2],g);c=0}}}else{c=0}return c}function Af(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=Fa-16|0;Fa=r;q=e?K[e+1|0]:q;n=J[f+4>>2];o=K[f|0];i=J[a+8>>2];l=d?J[d>>2]?d:0:l;if(!(q|l)){ti(i,J[b+12>>2],g)}k=J[J[b+28>>2]>>2];j=J[f+12>>2];a:{b:{if(!j){if(l){p=J[J[l>>2]>>2]+((K[l+32|0]^-1)&1)|0;d=p+J[a+44>>2]|0}else{d=J[a+44>>2]}j=d+1|0;J[f+12>>2]=j;m=a+44|0;break b}d=J[a+44>>2];if((d|0)>=(j+k|0)){break a}m=a+44|0}J[m>>2]=d+k}J[f+16>>2]=k;d=0;c:{d:{if((c|0)>=0){m=(k|0)>0?k:0;while(1){if((d|0)==(m|0)){break d}Pa(i,94,c,d,d+j|0);d=d+1|0;continue}}m=1;e:{if(o-9>>>0<2){break e}if((o|0)==3){break d}if((o|0)==13){break e}m=0}f:{if(!(!l|q|((o|0)==12|(o|0)==14))){d=J[l+4>>2];while(1){c=J[l>>2];if(J[c>>2]>(d|0)){c=L[(c+(d<<4)|0)+20>>1];if(c){d=d+1|0;I[(J[b+28>>2]+(c<<4)|0)+4>>1]=d-J[l+4>>2]}else{d=d+1|0}continue}break}s=J[b+28>>2];c=J[s>>2];u=(c|0)>0?c:0;c=j;d=0;while(1){if((d|0)!=(u|0)){t=L[((d<<4)+s|0)+20>>1];c=t?0:c;d=d+1|0;k=k-((t|0)!=0)|0;continue}break}m=m|12;break f}c=j}H[r+12|0]=m;J[r+8>>2]=j;if(!(!J[b+8>>2]|!(m&8)|(p|0)<=0)){J[l+36>>2]=r+8;c=0;break c}Tz(a,b,r+8|0);break c}c=j}g:{if(!q){break g}d=K[e+1|0];m=Sz(a,d,J[e+4>>2],g,J[b+28>>2],j);cn(a,d,m,J[e+8>>2]);if(l){break g}ti(i,J[b+12>>2],g)}h:{i:{j:{k:{l:{switch(o-1|0){case 0:c=vb(a);Pa(i,97,j,k,c);bb(i,138,n,c,j,k);mb(a,c);break k;case 1:Pa(i,140,n,j,k);break k;case 4:case 7:case 11:case 13:e=p+1|0;d=ic(a,e);f=d+p|0;Pa(i,97,j,k,f);if((o|0)==5){g=n+1|0;bb(i,29,g,J[i+108>>2]+4|0,d,0);bb(i,138,g,d,j,k)}m:{if(l){Rz(a,l,b,f,c,1,p);break m}c=vb(a);Na(i,127,n,c);Pa(i,128,n,d,c);f=J[i+108>>2];if((f|0)>0){I[(J[i+104>>2]+P(f,20)|0)-18>>1]=8}mb(a,c)}Oc(a,d,e);break k;case 14:if(l){break i}c=J[f+8>>2];a=vb(a);Na(i,50,j,h);d=c>>>31|0;Pa(i,97,d+j|0,k-d|0,a);if((c|0)<0){Pa(i,128,n,a,j);break j}bb(i,138,n,a,j,c);break j;case 10:if(l){break i}c=vb(a);$a(i,97,j,k,c,J[f+20>>2],k);bb(i,138,n,c,j,k);mb(a,c);break j;case 2:Na(i,71,1,n);break k;case 9:if(l){break i}break j;case 8:case 12:if(l){break i}if((o|0)==13){Va(i,12,J[f+4>>2]);break j}Na(i,84,j,k);break j;case 5:case 6:break l;default:break k}}m=J[f+24>>2];c=J[m>>2];g=vb(a);p=c+2|0;f=ic(a,p);q=f+c|0;d=q+1|0;e=0;o=(o|0)!=6;if(!o){e=bb(i,29,n+1|0,0,j,k)}Pa(i,97,j,k,d);n:{if(o){break n}Na(i,138,n+1|0,d);d=J[i+108>>2];if((d|0)<=0){break n}I[(J[i+104>>2]+P(d,20)|0)-18>>1]=16}d=0;c=(c|0)>0?c:0;j=j-1|0;while(1){if((c|0)!=(d|0)){Na(i,81,j+L[(m+(d<<4)|0)+20>>1]|0,d+f|0);d=d+1|0;continue}break}Na(i,126,n,q);Pa(i,97,f,p,g);bb(i,138,n,g,f,p);if(e){d=J[i+108>>2];J[(K[J[i>>2]+87|0]?73192:J[i+104>>2]+P(e,20)|0)+8>>2]=d}mb(a,g);Oc(a,f,p)}if(l){break h}}a=J[b+8>>2];if(!a){break h}Na(i,61,a,h);break h}Rz(a,l,b,j,c,k,p)}Fa=r+16|0}function xm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;n=Fa-16|0;Fa=n;t=J[a+8>>2];a:{b:{c:{d:{e:{f:{g:{j=J[b>>2];g=K[j|0];switch(g-50|0){case 1:case 2:break d;case 0:break e;case 3:break f;default:break g}}if((g|0)!=45){break d}}f=Ge(a,J[j+16>>2],f);break c}Na(t,75,0,f);break c}l=J[c+80>>2];h:{if(K[l+41|0]&4){break h}g=J[l+32>>2];if(!g|!K[J[g+28>>2]+d|0]){break h}e=!e}g=0;i=(d|0)>0?d:0;while(1){i:{if((g|0)==(i|0)){g=L[l+44>>1];i=(d|0)>(g|0)?d:g;h=0;g=d;while(1){if((g|0)==(i|0)){break i}h=(J[J[J[l+52>>2]+(g<<2)>>2]>>2]==(j|0))+h|0;g=g+1|0;continue}}h=J[J[l+52>>2]+(g<<2)>>2];if(J[h>>2]==(j|0)?h:0){break b}g=g+1|0;continue}break}J[n+12>>2]=0;g=J[j+4>>2];j:{if(!(J[J[J[j+20>>2]+28>>2]>>2]!=1?g&4096:0)){w=Km(a,j,4,0,0,n+12|0);break j}if(!(J[j+28>>2]?g&33554432:0)){r=J[a>>2];o=eb(r,j,0);w=5;k:{if(K[r+87|0]){break k}g=o+20|0;while(1){u=J[g>>2];if(u){m=0;k=0;k=(u|0)==J[o+20>>2]?J[J[o+12>>2]+20>>2]:k;v=J[u+28>>2];g=d;p=0;while(1){if((g|0)<L[l+44>>1]){i=J[J[l+52>>2]+(g<<2)>>2];l:{if(J[i>>2]!=(j|0)){break l}s=J[i+28>>2]-1<<4;q=s+v|0;i=J[q+8>>2];if(!i){break l}p=Kb(a,p,i);J[q+8>>2]=0;if(!k){break l}i=k+s|0;m=Kb(a,m,J[i+8>>2]);J[i+8>>2]=0}g=g+1|0;continue}break}kb(r,v);if(k){Vf(r,k);J[J[o+12>>2]+20>>2]=m}J[u+28>>2]=p;if(!(!m|J[m>>2]!=1)){g=J[m+8>>2];J[m+8>>2]=0;_a(r,J[o+12>>2]);J[o+12>>2]=g}m:{q=J[u+48>>2];if(!q){break m}g=0;i=J[q>>2];i=(i|0)>0?i:0;while(1){if((g|0)==(i|0)){break m}I[(q+(g<<4)|0)+20>>1]=0;g=g+1|0;continue}}g=u+52|0;continue}break}k=0;if(K[r+87|0]){break k}k=ib(J[a>>2],h<<2,0);w=Km(a,o,4,0,k,n+12|0);J[j+28>>2]=J[n+12>>2]}_a(r,o);break j}s=J[a>>2];g=Mc(J[j+12>>2]);k=ib(s,((g|0)<(h|0)?h:g)<<2,0);w=Km(a,j,4,0,k,n+12|0)}i=(w|0)==4?!e:e;p=J[n+12>>2];Na(t,i?32:36,p,0);g=J[l+40>>2];J[l+40>>2]=g|2048;if(!J[c+72>>2]){e=J[a+56>>2]-1|0;J[a+56>>2]=e;J[c+16>>2]=e}if(!(g&1048576|(d|0)<=0)){J[l+40>>2]=g|264192}g=J[c+72>>2];e=g+h|0;J[c+72>>2]=e;n:{o:{h=J[c+76>>2];e=Xq(J[J[b+4>>2]>>2],P(e,20));p:{if(!(!h|!e)){J[c+76>>2]=Qa(e,h,J[h-8>>2]);break p}J[c+76>>2]=e;if(!e){break o}}q=i?38:39;s=f-d|0;h=e+P(g,20)|0;i=(w|0)!=1;g=d;m=0;while(1){if((g|0)<L[l+44>>1]){if(J[J[J[l+52>>2]+(g<<2)>>2]>>2]==(j|0)){v=g+s|0;q:{if(!i){e=Na(t,135,p,v);break q}r:{if(!k){e=0;break r}e=J[(m<<2)+k>>2];m=m+1|0}e=Pa(t,94,p,e,v)}J[h+4>>2]=e;Va(t,50,v);s:{if((d|0)==(g|0)){H[h+16|0]=q;J[h>>2]=p;if((d|0)>0){J[h+12>>2]=d;J[h+8>>2]=s;break s}J[h+12>>2]=0;break s}H[h+16|0]=187}h=h+20|0}g=g+1|0;continue}break}if(J[l+40>>2]&1049600|(d|0)<=0){break n}Pa(t,125,J[c+8>>2],0,d);break n}J[c+72>>2]=0}Ua(J[a>>2],k)}if(!(K[J[c+80>>2]+42|0]&32)){break b}if(K[b+13|0]&8){break a}}bh(c,b)}Fa=n+16|0;return f}function Ce(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=Fa-128|0;Fa=g;h=-3;a:{b:{e=K[c|0];c:{if((e|0)!=91){if((e|0)!=46){if(e){break a}d:{e:{if(!K[a+39|0]){break e}if(!em(a,J[a+44>>2])){break e}c=Wb(a,b,g+124|0)+J[g+124>>2]|0;h=b;f:{switch(K[a+39|0]-1|0){case 0:h=d?d:b;Te(a,h,c+(d?b-d|0:0)|0,0,0);break d;case 2:break d;default:break f}}Te(a,b,c,J[a+52>>2],J[a+44>>2])}h=b}J[a+48>>2]=d;break a}e=c+1|0;k=J[a>>2];i=K[k+b|0];g:{h:{f=K[c+1|0];if((f|0)!=34){d=0;while(1){c=f&255;if(!c|(c|0)==46|(c|0)==91){break h}d=d+1|0;f=K[e+d|0];continue}}c=c+2|0;f=1;while(1){d=K[f+e|0];if(!d){break a}if((d|0)!=34){f=f+1|0;continue}break}j=f+1|0;d=f-1|0;o=!Dw(c,92,d);break g}o=1;c=e;j=d;if(!d){break a}}h=-2;if((i&15)!=12){break a}f=Wb(a,b,g+124|0)+b|0;m=f+J[g+124>>2]|0;while(1){if(f>>>0<m>>>0){h=-1;l=K[f+k|0]&15;if(l-11>>>0<4294967292){break a}p=g+124|0;i=Wb(a,f,p);if(!i){break a}n=J[g+124>>2];q=f+i|0;i=n+q|0;if(i>>>0>=m>>>0){break a}n=Ky(c,d,o,k+q|0,n,(l|0)==7|(l|0)==10);k=J[a>>2];l=K[i+k|0]&15;if(n){if(l>>>0>12){break a}c=Wb(a,i,p);if(!c|J[g+124>>2]+(c+i|0)>>>0>m>>>0){break a}h=Ce(a,i,e+j|0,f);if(J[a+40>>2]){break c}break a}if(l>>>0>12){break a}f=Wb(a,i,g+124|0);if(!f){break a}f=J[g+124>>2]+(f+i|0)|0;continue}break}h=-1;if(f>>>0>m>>>0){break a}h=-2;if(K[a+39|0]<3){break a}h=g+12|0;Sa(h,0,56);J[g+28>>2]=J[a+16>>2];nd(h,o?10:9,d,0);H[a+35|0]=K[a+35|0]|K[g+47|0];h=Jy(a,g+68|0,e+j|0);i:{if(h>>>0>4294967292){break i}e=J[g+16>>2];j=e+d|0;if(!em(a,j+J[g+72>>2]|0)){break i}Te(a,f,0,0,j+J[g+72>>2]|0);if(K[a+35|0]){break i}Qa(J[a>>2]+f|0,J[g+12>>2],e);e=f+e|0;Qa(e+J[a>>2]|0,c,d);Qa((e+J[a>>2]|0)+d|0,J[g+68>>2],J[g+72>>2]);if(!J[a+40>>2]){break i}sq(a,b)}pf(g+68|0);pf(g+12|0);break a}if((K[J[a>>2]+b|0]&15)!=11){break b}d=0;j=Wb(a,b,g+124|0);f=1;while(1){e=K[c+f|0];if(e-58>>>0>=4294967286){f=f+1|0;d=((e<<24>>24)+P(d,10)|0)-48|0;continue}break}if(!((e|0)==93&f>>>0>=2)){if(K[c+1|0]!=35){break a}d=Sy(a,b);f=2;e=K[c+2|0];if((e|0)==45){e=K[c+3|0];if(e-58>>>0<4294967286){break a}f=3;while(1){k=((e<<24>>24)+P(k,10)|0)-48|0;f=f+1|0;e=K[f+c|0];if(e-58>>>0>4294967285){continue}break}if(d>>>0<k>>>0){break b}d=d-k|0}if((e|0)!=93){break a}}e=b+j|0;j=e+J[g+124>>2]|0;while(1){if(e>>>0<j>>>0){if(!d){h=Ce(a,e,(c+f|0)+1|0,0);if(J[a+40>>2]){break c}break a}h=Wb(a,e,g+124|0);if(h){d=d-1|0;e=J[g+124>>2]+(e+h|0)|0;continue}else{h=-1;break a}}break}h=-1;if(e>>>0>j>>>0){break a}if(d){break b}h=-2;if(K[a+39|0]<3){break a}h=Jy(a,g+68|0,(c+f|0)+1|0);j:{if(h>>>0>4294967292){break j}if(!em(a,J[g+72>>2])){break j}Te(a,e,0,J[g+68>>2],J[g+72>>2])}pf(g+68|0);if(!J[a+40>>2]){break a}}sq(a,b);break a}h=-2}Fa=g+128|0;return h}function xo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Fa-32|0;Fa=h;l=J[b+4>>2];a:{if(l>>>0<=2){g=Ta(73989);break a}i=J[b+72>>2];j=J[a>>2];if(K[j+12|0]){g=Pb(i);if(g){break a}}g=L[i+28>>1];if(g&2){g=km(i);if(g){break a}g=L[i+28>>1]}if(!(!(g&8)|f)){k=J[i+24>>2]}I[i+28>>1]=g&65527;f=Hh(j,e);b:{if(!f){break b}g=J[f+32>>2];m=J[f+36>>2];if((m|0)>0){g=1}else{g=(m|0)>=0&g>>>0>=2}if(g){vf(f);g=Ta(63892);break a}I[i+28>>1]=L[i+28>>1]|L[f+28>>1]&8;if(K[j+12|0]){Dh(f,J[j+28>>2]+1|0);break b}bl(f)}g=J[i+24>>2];Dh(i,e);_k(i);if(!(!f|!K[j+12|0])){Dh(f,g);vf(f)}if(k){g=Ja[J[j+220>>2]](j,k,h+8|0,0)|0;if(g){if(M[j+32>>2]<k>>>0){break a}d=J[j+224>>2];c:{b=J[j+60>>2];if(!b){break c}a=k-1|0;while(1){c=J[b+8>>2];if(c){e=c;c=(a>>>0)/(c>>>0)|0;a=a-P(e,c)|0;b=J[((c<<2)+b|0)+12>>2];if(b){continue}break c}break}if(M[b>>2]<=4e3){b=(a>>>3|0)+b|0;c=K[b+12|0];H[b+12|0]=rJ(-2,a&7)&c;break c}c=b+12|0;d=Qa(d,c,500);e=Sa(c,0,500);J[b+4>>2]=0;f=a+1|0;c=0;while(1){if((c|0)==125){break c}i=d+(c<<2)|0;a=J[i>>2];if(!(!a|(a|0)==(f|0))){J[b+4>>2]=J[b+4>>2]+1;a=(a-1>>>0)%125|0;while(1){j=e+(a<<2)|0;if(J[j>>2]){a=a+1|0;a=a>>>0<=124?a:0;continue}break}J[j>>2]=J[i>>2]}c=c+1|0;continue}}break a}f=J[h+8>>2];I[f+28>>1]=L[f+28>>1]|8;_k(f);vf(J[h+8>>2])}J[h>>2]=0;J[b+4>>2]=e;d:{if((c&251)==1){g=nu(b);if(!g){break d}break a}b=ab(J[b+56>>2]);if(!b){break d}vd(a,b,4,e,h);g=J[h>>2];if(g){break a}}g=0;if((c|0)==1){break a}g=ld(a,d,h+4|0,0);if(g){break a}b=J[h+4>>2];g=Pb(J[b+72>>2]);if(g){zb(b);break a}e:{f:{if((c|0)==4){f=J[b+56>>2];if((ab(f)|0)!=(l|0)){g=Ta(73914);break e}g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[f|0]=g;H[f+1|0]=g>>>8;H[f+2|0]=g>>>16;H[f+3|0]=g>>>24;break f}if(!K[b|0]){g=Kh(b);if(g){break e}}i=L[b+24>>1];g=0;j=(c|0)!=3;g:{while(1){if((g|0)==(i|0)){break g}k=J[b+56>>2];f=J[b+64>>2]+(g<<1)|0;f=k+(L[b+26>>1]&(K[f|0]<<8|K[f+1|0]))|0;h:{i:{if(!j){Ja[J[b+80>>2]](b,f,h+8|0);if(M[h+20>>2]<=L[h+24>>1]){break i}f=f+L[h+26>>1]|0;if(f>>>0>J[b+56>>2]+J[J[b+52>>2]+40>>2]>>>0){g=Ta(73933);break e}k=f-4|0;if((ab(k)|0)!=(l|0)){break i}H[k|0]=e>>>24;H[f-1|0]=e;H[f-2|0]=e>>>8;H[f-3|0]=e>>>16;break f}if(f+4>>>0>k+J[J[b+52>>2]+40>>2]>>>0){g=Ta(73942);break e}if((ab(f)|0)==(l|0)){break h}}g=g+1|0;continue}break}g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[f|0]=g;H[f+1|0]=g>>>8;H[f+2|0]=g>>>16;H[f+3|0]=g>>>24;break f}j:{if((c|0)==5){f=J[b+56>>2]+K[b+9|0]|0;if((ab(f+8|0)|0)==(l|0)){break j}}g=Ta(73954);break e}g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[f+8|0]=g;H[f+9|0]=g>>>8;H[f+10|0]=g>>>16;H[f+11|0]=g>>>24}g=0}J[h>>2]=g;zb(b);if(g){break a}vd(a,e,c,d,h);g=J[h>>2]}Fa=h+32|0;return g}function Gu(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Fa-16|0;Fa=j;f=J[a+44>>2];a:{if(f){break a}f=0;e=J[a+104>>2];if((e|0)<=(c|0)){break a}d=((b|0)!=1)+c|0;c=d;while(1){if((c|0)<(e|0)){Rf(J[(J[a+100>>2]+P(c,48)|0)+16>>2]);c=c+1|0;e=J[a+104>>2];continue}break}J[a+104>>2]=d;if((b|0)==1){h=J[a+100>>2];c=P(d,48);if(!J[(h+c|0)+28>>2]){break a}b=J[a+72>>2];e=J[b>>2];if(!e){break a}if((e|0)==33112){f=J[(c+h|0)+24>>2];c=J[a+172>>2];e=J[a+168>>2]+4|0;c=e>>>0<4?c+1|0:c;f=Lo(b,lJ(f,0,e,c),Ia)}J[a+56>>2]=J[(h+P(d,48)|0)+24>>2];break a}if(!(J[a+232>>2]|J[J[a+68>>2]>>2])){break a}b:{c:{if(!d){break c}b=J[a+100>>2]+P(d,48)|0;i=b-48|0;if(!i){break c}c=b-28|0;m=$i(J[c>>2]);if(!m){f=7;break a}b=0;break b}c=a+32|0;i=0;b=1}J[a+28>>2]=J[c>>2];H[a+19|0]=K[a+12|0];d:{e:{f:{h=b;if(b){d=J[a+232>>2];if(!d){e=a+80|0;d=J[a+80>>2];k=J[a+84>>2];break f}J[a+28>>2]=J[a+32>>2];g:{if(!K[d+44|0]){break g}h=J[d+68>>2];Qa(d+52|0,J[J[d+32>>2]>>2],48);c=J[d+68>>2];while(1){h:{if(f){break h}b=c+1|0;if(b>>>0>h>>>0){break h}c=c+34|0;if(c>>>0<=4095){c=(J[J[d+32>>2]>>2]+(b<<2)|0)+132|0}else{c=J[J[d+32>>2]+(c>>>10&4194300)>>2]+((c&4095)<<2)|0}f=Bu(a,J[c>>2]);c=b;continue}break}if((h|0)==J[d+68>>2]){break g}Ko(d)}c=tq(J[a+228>>2]);while(1){if(!c|f){break a}b=J[c+16>>2];f=Bu(a,J[c+24>>2]);c=b;continue}}e=a+80|0;d=J[a+80>>2];k=J[a+84>>2];if(J[a+232>>2]){break f}b=J[i+8>>2];c=J[i+12>>2];g=J[i+4>>2];J[e>>2]=J[i>>2];J[e+4>>2]=g;g=!(b|c);b=g?d:b;c=g?k:c;while(1){if(f){break d}g=J[e+4>>2];if((c|0)<=(g|0)&b>>>0<=M[e>>2]|(c|0)<(g|0)){break e}f=$k(a,e,m,1,1);continue}}J[e>>2]=0;J[e+4>>2]=0}f=0}i:while(1){j:{if(f){break j}c=J[e+4>>2];if((k|0)<=(c|0)&d>>>0<=M[e>>2]|(c|0)>(k|0)){break j}J[j>>2]=0;f=Cu(a,0,d,k,j,j+12|0);b=J[j>>2];k:{if(b){break k}b=0;g=J[a+92>>2];l=J[a+156>>2];c=l+J[a+88>>2]|0;g=c>>>0<l>>>0?g+1|0:g;if((c|0)!=J[a+80>>2]|(g|0)!=J[a+84>>2]){break k}l=d-c|0;c=k-(g+(c>>>0>d>>>0)|0)|0;b=J[a+172>>2];g=J[a+168>>2]+8|0;b=g>>>0<8?b+1|0:b;b=mJ(l,c,g,b)}c=0;while(1){if(b>>>0<=c>>>0|f){continue i}l=J[e+4>>2];if((k|0)<=(l|0)&d>>>0<=M[e>>2]|(k|0)<(l|0)){continue i}c=c+1|0;f=$k(a,e,m,1,1);continue}}break}l:{if(h){break l}c=J[i+24>>2];b=J[a+172>>2];h=J[a+168>>2]+4|0;b=h>>>0<4?b+1|0:b;J[j>>2]=lJ(c,0,h,b);J[j+4>>2]=Ia;b=J[a+232>>2];m:{if(!b){break m}if(J[i+44>>2]==J[b+112>>2]){h=J[i+32>>2]}else{J[i+32>>2]=0;J[i+44>>2]=J[b+112>>2];h=0}f=0;if(h>>>0>=M[b+68>>2]){break m}J[b+68>>2]=h;J[b+76>>2]=J[i+36>>2];J[b+80>>2]=J[i+40>>2];Ko(b);c=J[i+24>>2]}while(1){if(M[a+56>>2]<=c>>>0|f){break l}c=c+1|0;f=$k(a,j,m,0,1);continue}}Rf(m);if(f){break a}J[e>>2]=d;J[e+4>>2]=k;f=0}Fa=j+16|0;return f}function xv(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=Fa+-64|0;Fa=m;i=Ya(b);a:{b:{c:{d:{e:{f:{o=J[c>>2];g:{if(!(o&64)){if(!K[65782]){break f}if(i>>>0>4){break g}break f}if(i>>>0<5){break f}}if(Cb(b,23113,5)){break f}k=i+8|0;while(1){if((h|0)!=(i|0)){l=K[b+h|0]==38;k=k+l|0;g=l>>>0>k>>>0?g+1|0:g;h=h+1|0;continue}break}g=pb(k,g);if(!g){break d}o=o|64;H[g|0]=0;H[g+1|0]=0;H[g+2|0]=0;H[g+3|0]=0;l=g+4|0;g=5;h:{if(K[b+5|0]!=47|K[b+6|0]!=47){break h}h=7;while(1){g=K[b+h|0];if(!(!g|(g|0)==47)){h=h+1|0;continue}break}if((h|0)==7){g=h;break h}g=16;if((h|0)==16){if(!Cb(2267,b+7|0,9)){break h}}J[m+4>>2]=b+7;J[m>>2]=h-7;h=1;g=ub(6036,m);break c}s=b+2|0;while(1){p=l+n|0;t=p-1|0;h=K[b+g|0];i:{j:{k:{l:{m:{n:while(1){i=h&255;if(!i|(i|0)==35){break i}k=g+1|0;o:{if((i|0)!=37){break o}q=K[b+k|0];if(!(K[q+31216|0]&8)){break o}r=K[g+s|0];if(!(K[r+31216|0]&8)){break o}g=g+3|0;h=(r<<1<<24>>24>>>7&9)+r&15|q+(q<<1<<24>>24>>>7&9)<<4;if(h&255){break j}while(1){h=K[b+g|0];if(!h|(h|0)==35|!j&(h|0)==63){continue n}p:{if((j|0)==1){if((h|0)==38|(h|0)==61){continue n}break p}if((j|0)!=2){break p}if((h|0)==38){continue n}}g=g+1|0;continue}}if((j|0)!=1){break m}if(!((i|0)==61|(i|0)==38)){j=1;break k}if(!K[t|0]){g=k;while(1){j=1;k=b+g|0;h=K[k|0];if(!h|(h|0)==35|K[k-1|0]==38){continue n}g=g+1|0;continue}}break}j=2;if((i|0)!=38){break l}h=0;H[p|0]=0;j=1;n=n+1|0;break k}if(!(!j&(i|0)==63)&((j|0)!=2|(i|0)!=38)){break k}j=1}h=0}g=k}H[l+n|0]=h;n=n+1|0;continue}break}if((j|0)==1){H[p|0]=0;n=n+1|0}b=l+n|0;H[b|0]=0;H[b+1|0]=0;H[b+2|0]=0;H[b+3|0]=0;h=Ya(l)+l|0;while(1){g=h+1|0;if(!K[g|0]){break e}h=Ya(g);b=(h+g|0)+1|0;k=Ya(b);q:{r:{s:{switch(h-3|0){case 0:if(Cb(5321,g,3)){break q}a=b;break q;case 2:j=14475;if(Cb(14475,g,5)){break q}n=393216;i=-393217;g=50656;break r;case 1:break s;default:break q}}if((K[g|0]|K[g+1|0]<<8|(K[g+2|0]<<16|K[g+3|0]<<24))!=1701080941){break q}n=o&135;i=-136;j=4462;g=50688}h=0;t:{u:{while(1){q=g+(h<<3)|0;p=J[q>>2];if(!p){break u}v:{if((Ya(p)|0)==(k|0)){if(!Cb(b,p,k)){break v}}h=h+1|0;continue}break}g=J[q+4>>2];if(g){break t}}J[m+36>>2]=b;J[m+32>>2]=j;h=1;g=ub(8474,m+32|0);break c}if((g&-129)>(n|0)){J[m+52>>2]=b;J[m+48>>2]=j;h=3;g=ub(8599,m+48|0);break c}o=g|i&o}h=b+k|0;continue}}g=pb(i+8|0,0);if(!g){break d}H[g|0]=0;H[g+1|0]=0;H[g+2|0]=0;H[g+3|0]=0;l=g+4|0;if(i){Qa(l,b,i)}b=i+l|0;H[b|0]=0;H[b+1|0]=0;H[b+2|0]=0;H[b+3|0]=0;o=o&-65}b=Tl(a);J[d>>2]=b;h=0;if(b){break b}J[m+16>>2]=a;h=1;g=ub(7616,m+16|0);break c}h=7;break a}J[f>>2]=g;Xo(l);l=0}J[c>>2]=o;J[e>>2]=l}Fa=m- -64|0;return h}function Xg(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=Fa-16|0;Fa=q;r=a+252|0;g=J[a+252>>2];a:{b:{if(g){l=Fa-16|0;Fa=l;c:{if(!g){a=Nc(102168);break c}p=J[g+20>>2];a=J[g+16>>2];d:{if(!a){a=4;break d}J[a+36>>2]=0;a=Yv(g,b,c,l+12|0);if(!a){break d}b=J[l+12>>2];J[l>>2]=b;Zd(p,a,b?8863:0,l);Ua(p,b)}a=bd(p,a)}Fa=l+16|0;break b}e:{g=J[a+248>>2];if(g){break e}J[q>>2]=J[a+20>>2];g=ub(4053,q);J[a+248>>2]=g;if(g){break e}a=7;break a}h=J[a+12>>2];l=J[a+16>>2];p=g;f=Fa-352|0;Fa=f;J[f+348>>2]=0;J[r>>2]=0;i=ib(h,32,0);f:{g:{h:{i:{j:while(1){k:{a=f- -64|0;wm(a,h);if(!i){break k}Ua(h,J[f+348>>2]);J[f+348>>2]=0;ue(h);l:{j=hf(a,0,p,l);if(j){a=K[j+43|0];g=8383;m:{if((a|0)==1){break m}g=8563;if(K[j+28|0]&128){break m}if((a|0)!=2){break l}g=7573}J[f+16>>2]=p;Ra(f- -64|0,g,f+16|0)}m=1;if(!J[f+68>>2]){break h}Ua(h,0);J[f+348>>2]=J[f+68>>2];J[f+68>>2]=0;break h}J[i+28>>2]=j;J[i+24>>2]=J[J[h+16>>2]+(Ab(h,J[j+60>>2])<<4)>>2];a=0;n=I[j+34>>1];g=(n|0)>0?n:0;while(1){n:{if((a|0)!=(g|0)){if(Xa(J[J[j+4>>2]+P(a,12)>>2],11923)){break n}g=a}o:{p:{if((g|0)==(n|0)){Ua(h,0);J[f+32>>2]=11923;J[f+348>>2]=hb(h,29783,f+32|0);break p}break o}m=1;break i}k=_v(f- -64|0);J[i+16>>2]=k;q:{r:{if(k){a=J[j+60>>2];n=Ab(h,a);bb(k,2,n,0,J[a>>2],J[a+4>>2]);a=J[k+108>>2];if((a|0)>0){I[(J[k+104>>2]+P(a,20)|0)-18>>1]=1}o=Xf(k,6,31184);fe(k,n);if(K[h+87|0]){break r}J[o+4>>2]=n;a=J[j+20>>2];J[o+12>>2]=0;J[o+8>>2]=a;Sd(k,2,J[j>>2],0);if(K[h+87|0]){break r}a=J[j+20>>2];J[o+32>>2]=n;J[o+28>>2]=a;H[o+21|0]=253;J[o+36>>2]=I[j+34>>1]+1;J[o+68>>2]=I[j+34>>1];I[f+280>>1]=0;J[f+104>>2]=1;J[f+108>>2]=1;Zv(k,f- -64|0)}a=K[h+87|0];J[i+20>>2]=h;I[i+8>>1]=g;if(a){break q}m=Yv(i,b,c,f+348|0);if((m|0)!=17|s>>>0>48){break q}s=s+1|0;ji(f- -64|0);m=17;continue j}J[i+20>>2]=h;I[i+8>>1]=g}if(m){break h}break k}a=a+1|0;continue}}break}m=0;if(K[h+87|0]){break i}J[r>>2]=i;break f}if(!i){break g}}a=J[i+16>>2];if(!a){break g}kf(a)}Ua(h,i)}a=J[f+348>>2];J[f>>2]=a;Zd(h,m,a?8863:0,f);Ua(h,a);ji(f- -64|0);a=bd(h,m);Fa=f+352|0}if(!a){a=0;c=J[r>>2];b=0;s:{if(!c){break s}b=0;if(!J[c+16>>2]){break s}b=J[c>>2]}J[e>>2]=b;if(!d){break a}c=b>>31;a=b+20|0;c=a>>>0<20?c+1|0:c;e=pb(a,c);t:{if(!e){e=0;a=7;break t}a=Tv(J[r>>2],e,b,0);b=b+e|0;H[b+16|0]=0;H[b+17|0]=0;H[b+18|0]=0;H[b+19|0]=0;H[b+8|0]=0;H[b+9|0]=0;H[b+10|0]=0;H[b+11|0]=0;H[b+12|0]=0;H[b+13|0]=0;H[b+14|0]=0;H[b+15|0]=0;H[b|0]=0;H[b+1|0]=0;H[b+2|0]=0;H[b+3|0]=0;H[b+4|0]=0;H[b+5|0]=0;H[b+6|0]=0;H[b+7|0]=0;if(!a){a=0;break t}Oa(e);e=0}J[d>>2]=e;break a}a=(a|0)==1?267:a}Fa=q+16|0;return a}function sh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=32;f=J[b>>2];a:{if(L[f+8>>1]>13){break a}d=J[b+4>>2];e=L[d+16>>1];j=K[J[f+16>>2]];b:{if(!j){i=255;g=1;break b}if(j&2){break a}i=1;g=255}H[b+25|0]=g;H[b+24|0]=i;if(e&4){f=J[d+4>>2];J[b+8>>2]=J[d>>2];J[b+12>>2]=f;k=33;break a}if(J[f+20>>2]|e&57){break a}J[b+8>>2]=J[d+8>>2];J[b+16>>2]=J[d+12>>2];k=34}H[b+23|0]=0;c:{d:{e:{f:{if(K[a|0]){break f}d=J[a+116>>2];if(!K[d+8|0]){break f}f=0;e=H[a+68|0];e=(e|0)>0?e:0;while(1){if((e|0)!=(f|0)){j=f<<1;i=f<<2;f=f+1|0;if(L[(a+j|0)+72>>1]>=L[J[(a+i|0)+120>>2]+24>>1]){continue}break f}break}g:{g=L[d+24>>1]-1|0;d=L[a+70>>1];if((g|0)!=(d|0)){break g}d=rt(a,d,b,k);if((d|0)>0|K[b+23|0]){break g}J[c>>2]=d;return 0}h:{if(H[a+68|0]<=0){break h}if((rt(a,0,b,k)|0)>0|K[b+23|0]){break h}H[a+1|0]=K[a+1|0]&251;f=J[a+116>>2];if(K[f|0]){break e}return Ta(76052)}H[b+23|0]=0}e=Jf(a);if((e|0)==16){break c}if(e){break d}f=J[a+116>>2]}m=a+32|0;n=a+116|0;e=L[f+24>>1];i:{j:{while(1){e=(e&65535)-1|0;j=e;i=0;k:{while(1){d=J[f+64>>2]+(e&-2)|0;d=J[f+68>>2]+(L[f+26>>1]&(K[d|0]<<8|K[d+1|0]))|0;h=d+1|0;l=e>>1;e=K[d|0];l:{if(e>>>0<=K[f+11|0]){e=Ja[k|0](e,h,b)|0;break l}m:{h=H[h|0];if((h|0)<0){break m}e=e<<7&16256|h&255;if(e>>>0>L[f+14>>1]){break m}e=Ja[k|0](e,d+2|0,b)|0;break l}Ja[J[f+80>>2]](f,d-K[f+10|0]|0,m);n:{d=J[m>>2];g=d;if((d|0)>=2){e=J[a+20>>2];if((d>>>0)/M[e+40>>2]>>>0<=M[e+48>>2]){break n}}e=Ta(76139);break i}d=d+18|0;h=Yb(d,0);if(!h){e=7;break i}I[a+70>>1]=l;e=tl(a,0,g,h);d=h+g|0;H[d+16|0]=0;H[d+17|0]=0;H[d+8|0]=0;H[d+9|0]=0;H[d+10|0]=0;H[d+11|0]=0;H[d+12|0]=0;H[d+13|0]=0;H[d+14|0]=0;H[d+15|0]=0;H[d|0]=0;H[d+1|0]=0;H[d+2|0]=0;H[d+3|0]=0;H[d+4|0]=0;H[d+5|0]=0;H[d+6|0]=0;H[d+7|0]=0;H[a+1|0]=K[a+1|0]&251;if(e){Oa(h);break i}e=Mi(g,h,b);Oa(h)}o:{p:{if((e|0)<0){i=l+1|0;break p}if(!e){break o}j=l-1|0}if((i|0)>(j|0)){break k}e=i+j|0;continue}break}e=0;J[c>>2]=0;I[a+70>>1]=l;if(!K[b+23|0]){break i}e=Ta(76171);break i}if(K[f+8|0]){I[a+70>>1]=l;J[c>>2]=e;e=0;break i}d=J[f+56>>2];if(L[f+24>>1]<=(i|0)){g=(d+K[f+9|0]|0)+8|0}else{g=L[f+26>>1];f=J[f+64>>2]+(i<<1)|0;g=d+(g&(K[f|0]<<8|K[f+1|0]))|0}f=ab(g);I[a+50>>1]=0;H[a+1|0]=K[a+1|0]&249;d=H[a+68|0];if((d|0)>=19){return Ta(76202)}I[((d<<1)+a|0)+72>>1]=i;J[((d<<2)+a|0)+120>>2]=J[a+116>>2];H[a+68|0]=d+1;I[a+70>>1]=0;e=Ji(J[a+20>>2],f,n,K[a+2|0]);if(e){break j}f=J[n>>2];e=L[f+24>>1];if(K[f+1|0]==K[a+69|0]?e:0){continue}break}zb(f);e=Ta(76213)}b=K[a+68|0]-1|0;H[a+68|0]=b;J[a+116>>2]=J[((b<<24>>24<<2)+a|0)+120>>2]}I[a+50>>1]=0}return e}J[c>>2]=-1;return 0}function Vu(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Fa+-64|0;Fa=h;f=J[d>>2];J[d>>2]=f+1;a:{if((f|0)>=5){e=15;if(f>>>0>99){break a}g=J[a>>2];d=f-8|0;Ja[J[g+60>>2]](g,f>>>0<=8?1:P(P(d,d),39))|0}b:{c:{d:{e:{f:{g:{if(!c){if(!K[a+50|0]){e=Lu(a,b);if(e){if((e|0)!=5){break a}e=-1;if(!J[J[a+32>>2]>>2]){break a}b=Ih(a,2);if(!b){Gg(a,2);break a}e=(b|0)==5?261:b;break a}if(!K[a+50|0]){break g}}c=Ih(a,3);if(c){e=(c|0)==5?-1:c;d=0;break b}d=0;I[a+40>>1]=0;c=J[a+4>>2];e=Ja[J[J[c>>2]+52>>2]](c,0,32768,0,h+12|0)|0;if((e|0)==8){break e}if((e|0)!=1288){break b}Qa(a+52|0,J[J[a+32>>2]>>2],48);c=J[a+8>>2];e=Ja[J[J[c>>2]+24>>2]](c,h+56|0)|0;if(e){break b}g=J[h+56>>2];c=J[h+60>>2];if((c|0)<0){c=1}else{c=(c|0)<=0&g>>>0<=31}if(c){J[b>>2]=1;e=J[a+68>>2]?-1:0;break b}c=J[a+8>>2];e=Ja[J[J[c>>2]+8>>2]](c,h+16|0,32,0,0)|0;if(e){break b}e=-1;if(J[h+32>>2]!=(K[a+84|0]|K[a+85|0]<<8|(K[a+86|0]<<16|K[a+87|0]<<24))|J[h+36>>2]!=(K[a+88|0]|K[a+89|0]<<8|(K[a+90|0]<<16|K[a+91|0]<<24))){break b}j=J[a+36>>2]+24|0;c=j>>31;m=c;d=pb(j,c);if(!d){e=7;d=0;break b}c=lJ(J[a+68>>2],0,J[a+36>>2]+24|0,0);f=Ia;k=c+32|0;f=k>>>0<32?f+1|0:f;n=d+24|0;o=J[a+80>>2];l=J[a+76>>2];while(1){c=f+m|0;g=j+k|0;c=g>>>0<j>>>0?c+1|0:c;i=J[h+60>>2];if(M[h+56>>2]<g>>>0&(i|0)<=(c|0)|(c|0)>(i|0)){break d}i=J[a+8>>2];e=Ja[J[J[i>>2]+8>>2]](i,d,j,k,f)|0;if(e){break c}if(!Ku(a,h+8|0,h+4|0,n,d)){break d}if(J[h+4>>2]){e=-1;break c}else{k=g;f=c;continue}}}j=a+32|0;l=J[J[a+32>>2]>>2]+96|0;e=0;break f}j=a+32|0;b=J[J[a+32>>2]>>2];l=b+96|0;e=0;if(J[b+96>>2]!=J[a+68>>2]){break f}e=Ih(a,3);dl(a);if((e|0)==5){break f}if(e){break a}if(Cb(J[J[a+32>>2]>>2],a+52|0,48)){Gg(a,3);e=-1;break a}e=0;I[a+40>>1]=0;break a}i=l+4|0;g=J[a+68>>2];b=0;d=1;c=0;while(1){if((d|0)!=5){k=J[i+(d<<2)>>2];f=k>>>0>g>>>0|c>>>0>k>>>0;c=f?c:k;b=f?b:d;d=d+1|0;continue}break}h:{i:{if(K[a+46|0]&2){break i}d=1;if(b?c>>>0>=g>>>0:0){break h}while(1){if((d|0)==5){break i}f=d+3|0;e=Pf(a,f,1);if((e|0)!=5){if(e){break a}J[i+(d<<2)>>2]=g;te(a,f,1);c=g;b=d;break h}else{d=d+1|0;e=5;continue}}}if(b){break h}e=(e|0)==5?-1:1288;break a}d=b+3|0;g=Ih(a,d);if(g){e=(g&255)==5?-1:g;break a}J[a+100>>2]=J[l>>2]+1;dl(a);j:{if(J[i+(b<<2)>>2]==(c|0)){if(!Cb(J[J[j>>2]>>2],a+52|0,48)){break j}}Gg(a,d);e=-1;break a}I[a+40>>1]=b;e=0;break a}e=-1;break b}e=0}J[a+80>>2]=o;J[a+76>>2]=l}Oa(d);if(!e){break a}d=0;while(1){if((d|0)<J[a+24>>2]){c=d<<2;Oa(J[c+J[a+32>>2]>>2]);J[c+J[a+32>>2]>>2]=0;d=d+1|0;continue}break}H[a+50|0]=0;Jo(a);J[b>>2]=1}Fa=h- -64|0;return e}function jz(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;p=e+9|0;if((p|0)>J[a+44>>2]){J[a+44>>2]=p}r=J[a>>2];g=rb(a);a:{if(!b|!g|K[b+43|0]){break a}i=J[b>>2];if(i){h=Rh(29114,i,31212,92)}else{h=1}if(!h){break a}h=J[r+16>>2];t=Ab(r,J[b+60>>2]);if(Tb(a,28,i,0,J[h+(t<<4)>>2])){break a}u=e+8|0;y=e+7|0;z=e+5|0;l=e+4|0;A=e+3|0;s=e+2|0;v=e+1|0;rd(a,t,J[b+20>>2],0,J[b>>2]);i=J[a+40>>2];h=f+2|0;J[a+40>>2]=(h|0)<(i|0)?i:h;Cd(a,f,t,b,112);w=e+6|0;Ic(g,w,J[b>>2]);h=b+8|0;n=f+1|0;x=1;while(1){j=J[h>>2];if(j){b:{if((c|0)!=(j|0)?c:0){break b}c:{d:{i=K[j+55|0]|K[j+56|0]<<8;e:{if(!(!(K[b+28|0]&128)|(i&3)!=2)){k=J[b>>2];h=L[j+50>>1];break e}k=J[j>>2];h=L[j+52>>1];if(i&8){break d}}i=h;break c}i=L[j+50>>1]}o=J[j+36>>2];Ic(g,y,k);k=i-1|0;q=k+p|0;if((q|0)>J[a+44>>2]){J[a+44>>2]=q}x=o?x:0;Pa(g,112,n,J[j+44>>2],t);zd(a,j);Na(g,71,h,s);Na(g,71,L[j+50>>1],A);B=Va(g,36,n);Pa(g,98,n,l,1);Na(g,71,J[r+496>>2],z);dk(a,0,s,v,4,50792,0);Na(g,71,0,s);f:{if(i>>>0<2){i=J[g+108>>2];break f}o=J[a+56>>2]-1|0;J[a+56>>2]=o;q=Ib(r,k<<2,0);if(!q){break b}Hb(g,9);i=J[g+108>>2];if(!(!K[j+54|0]|((k|0)!=1|L[j+50>>1]!=1))){Na(g,51,p,o)}h=0;while(1){if((h|0)!=(k|0)){m=h<<2;C=Ai(a,J[m+J[j+32>>2]>>2]);Na(g,71,h,s);Pa(g,94,n,h,l);J[q+m>>2]=$a(g,52,l,0,h+p|0,C,-2);m=J[g+108>>2];if((m|0)>0){I[(J[g+104>>2]+P(m,20)|0)-18>>1]=128}h=h+1|0;continue}break}Na(g,71,k,s);Lb(g,o);m=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:(J[g+104>>2]+P(i,20)|0)-20|0)+8>>2]=m;h=0;while(1){if((h|0)!=(k|0)){if(K[J[g>>2]+87|0]){m=73192}else{m=J[g+104>>2]+P(J[q+(h<<2)>>2],20)|0}J[m+8>>2]=J[g+108>>2];Pa(g,94,n,h,h+p|0);h=h+1|0;continue}break}cb(g,o);Za(r,q)}dk(a,1,v,l,2,50832,0);g:{if(J[r+496>>2]){h=Va(g,50,l);k=Va(g,16,l);o=bb(g,24,n,0,p,1);J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(h,20)|0)+8>>2]=J[g+108>>2];Na(g,39,n,i);i=J[g+108>>2];h:{if(K[J[g>>2]+87|0]){J[18300]=i;h=73192;break h}h=J[g+104>>2];J[(h+P(k,20)|0)+8>>2]=i;h=h+P(o,20)|0}J[h+8>>2]=i;break g}Na(g,39,n,i)}dk(a,0,v,u,1,50872,0);$a(g,97,w,3,l,20909,0);Na(g,127,d,e);Pa(g,128,d,l,e);i=J[g+108>>2];if((i|0)>0){I[(J[g+104>>2]+P(i,20)|0)-18>>1]=8}J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(B,20)|0)+8>>2]=i}h=j+20|0;continue}break}if(!(x&255)|c){break a}Na(g,98,f,u);b=Va(g,17,u);Na(g,75,0,y);$a(g,97,w,3,l,20909,0);Na(g,127,d,e);Pa(g,128,d,l,e);a=J[g+108>>2];if((a|0)>0){I[(J[g+104>>2]+P(a,20)|0)-18>>1]=8}J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(b,20)|0)+8>>2]=a}}function Rh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=Fa-16|0;Fa=e;J[e+8>>2]=b;J[e+12>>2]=a;l=K[c+3|0];g=K[c|0];k=K[c+1|0];a:{b:{c:while(1){d:{e:{f:{a=J[e+12>>2];b=H[a|0];g:{if((b|0)>=0){J[e+12>>2]=a+1;a=b&255;break g}a=kd(e+12|0)}if(a){if((a|0)==(g|0)){while(1){a=J[e+12>>2];b=H[a|0];h:{if((b|0)>=0){J[e+12>>2]=a+1;a=b&255;break h}a=kd(e+12|0)}if(!((g|0)!=(a|0)&!((a|0)==(k|0)&(k|0)!=0))){if((a|0)!=(k|0)){continue}if(kd(e+8|0)){continue}break b}break}if(!a){h=0;break a}if((a|0)==(d|0)){if(K[c+2|0]){b=J[e+12>>2]-1|0;f=J[e+8>>2];while(1){g=K[f|0];if(!g){break b}h=Rh(b,f,c,d);if((h|0)!=1){break a}f=f+1|0;a=f;if(g>>>0<192){continue}while(1){g=K[a|0];f=a;a=a+1|0;if((g&192)==128){continue}break}continue}}a=kd(e+12|0);if(!a){break b}}if(a>>>0<128){break d}f=J[e+12>>2];while(1){b=J[e+8>>2];g=H[b|0];i:{if((g|0)>=0){J[e+8>>2]=b+1;b=g&255;break i}b=kd(e+8|0)}if(!b){break b}if((a|0)!=(b|0)){continue}h=Rh(f,J[e+8>>2],c,d);if((h|0)==1){continue}break}break a}if((a|0)==(d|0)){j:{if(!K[c+2|0]){a=kd(e+12|0);if(a){break j}h=1;break a}h=1;j=kd(e+8|0);if(!j){break a}a=0;m=0;i=0;f=kd(e+12|0);if((f|0)==94){m=1;f=kd(e+12|0)}if((f|0)!=93){break f}i=(j|0)==93;b=0;break e}o=J[e+12>>2]}b=J[e+8>>2];f=H[b|0];k:{if((f|0)>=0){J[e+8>>2]=b+1;b=f&255;break k}b=kd(e+8|0)}if((b|0)==(a|0)){continue}if(!(!l|(a|b)>>>0>127)){if(K[(a&255)+30832|0]==K[(b&255)+30832|0]){continue}}h=1;if(!b|(a|0)!=(k|0)){break a}if(J[e+12>>2]!=(o|0)){continue}break a}h=K[J[e+8>>2]]!=0;break a}b=1}while(1){l:{m:{n:{o:{if(!b){a=0;break o}b=a;a=f;p:{if((a|0)!=45){if((a|0)==93){break m}if(!a){break a}break p}n=K[J[e+12>>2]];if(!b|(n|0)==93){break p}if(n){break n}}i=(a|0)==(j|0)?1:i}f=kd(e+12|0);b=1;continue}i=(p=i,q=kd(e+12|0)>>>0>=j>>>0?1:i,r=b>>>0>j>>>0,r?p:q);break l}if((i|0)!=(m|0)){continue c}break a}b=0;continue}}break}q:{if(!l){b=0;break q}H[e+7|0]=0;b=K[a+30832|0];a=(K[a+31216|0]^-1|-33)&a}H[e+6|0]=b;H[e+5|0]=a;i=J[e+12>>2];a=J[e+8>>2];while(1){g=Fa-32|0;Fa=g;b=e+5|0;f=H[b|0];r:{if(!(K[b+1|0]?f:0)){b=Fw(a,f);break r}Sa(g,0,32);f=K[b|0];if(f){while(1){h=g+(f>>>3&28)|0;J[h>>2]=J[h>>2]|1<<f;f=K[b+1|0];b=b+1|0;if(f){continue}break}}b=a;f=K[a|0];if(!f){break r}while(1){if(J[g+(f>>>3&28)>>2]>>>f&1){break r}f=K[b+1|0];b=b+1|0;if(f){continue}break}}Fa=g+32|0;a=(b-a|0)+a|0;if(!K[a|0]){break b}a=a+1|0;h=Rh(i,a,c,d);if((h|0)==1){continue}break}break a}h=2}Fa=e+16|0;return h}function GH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;b=Fa-336|0;Fa=b;i=J[J[a>>2]+20>>2];m=Wa(J[c>>2]);f=Wa(J[c+12>>2]);l=Wa(J[c+16>>2]);d=fb(J[c+20>>2]);n=Wa(J[c+24>>2]);o=fb(J[c+28>>2]);g=fb(J[c+32>>2]);a:{if(!n|(!m|!l)){break a}h=d;if((d|0)<0){break a}p=J[i+364>>2];ue(i);j=tc(i,l,f);if(!j|(d|0)>=I[j+34>>1]){break a}k=J[J[j+4>>2]+P(d,12)>>2];J[b+328>>2]=0;J[b+320>>2]=0;J[b+324>>2]=0;J[b+312>>2]=0;J[b+316>>2]=0;J[b+320>>2]=(d|0)==I[j+32>>1]?-1:d;J[i+364>>2]=0;d=b+28|0;e=Vj(d,f,i,m,g);J[b+20>>2]=0;J[b+12>>2]=0;J[b+16>>2]=0;J[b+8>>2]=92;J[b+4>>2]=93;J[b+324>>2]=j;J[b+24>>2]=b+312;J[b>>2]=d;b:{if(e){break b}c:{d:{d=J[b+276>>2];if(d){e:{switch(K[d+43|0]){case 2:d=J[d+44>>2];J[d+4>>2]=J[d+4>>2]&-2097153;J[b+40>>2]=0;ae(b+28|0,d,0);e=K[i+87|0]?7:J[b+40>>2];if(e){break b}$b(b,d);break c;case 0:break e;default:break c}}g=Ub(l,J[d>>2]);J[b+324>>2]=d;if(g){break d}if((h|0)<I[d+34>>1]){Qc(b+28|0,b+312|0,J[J[d+4>>2]+P(h,12)>>2]);d=J[b+276>>2]}if(J[b+320>>2]<0){Qc(b+28|0,b+312|0,d+32|0);d=J[b+276>>2]}dc(b,J[d+16>>2]);e=J[b+276>>2]+8|0;while(1){d=J[e>>2];if(d){dc(b,J[d+40>>2]);e=d+20|0;continue}break}e=b+280|0;while(1){d=J[e>>2];if(d){dc(b,J[d+40>>2]);e=d+20|0;continue}else{e=0;while(1){d=J[b+276>>2];if(I[d+34>>1]<=(e|0)){break d}Eb(b,Hc(d,J[d+4>>2]+P(e,12)|0));e=e+1|0;continue}}}}d=J[b+280>>2];if(d){dc(b,J[d+40>>2]);Eb(b,J[J[b+280>>2]+36>>2]);break c}e=nm(b+28|0);if(e){break b}e=J[b+284>>2]+28|0;while(1){h=J[e>>2];if(h){d=J[h+12>>2];f:{if(!d){break f}g=b+28|0;if((hf(g,0,d,f)|0)!=(j|0)){break f}d=J[h+32>>2];if(d){dz(g,b+312|0,J[d+8>>2],k)}g=b+28|0;d=b+312|0;cz(g,d,J[h+28>>2],k);dz(g,d,J[h+24>>2],k)}e=h+40|0;continue}break}d=J[b+284>>2];if((j|0)==J[b+160>>2]){cz(b+28|0,b+312|0,J[d+16>>2],k);d=J[b+284>>2]}Eq(b,d);break c}e=d+48|0;while(1){f=J[e>>2];if(!f){break c}e=0;while(1){if((e|0)<J[f+20>>2]){g:{if(g){break g}d=(f+(e<<3)|0)+36|0;if((h|0)!=J[d>>2]){break g}Qc(b+28|0,b+312|0,d)}h:{if(Ub(J[f+8>>2],l)){break h}d=J[(f+(e<<3)|0)+40>>2];if(Ub(d,k)){break h}Qc(b+28|0,b+312|0,d)}e=e+1|0;continue}break}e=f+4|0;continue}}e=Dq(a,b+312|0,m,n,o)}i:{j:{k:{switch(e|0){case 0:break i;case 1:break k;default:break j}}if((J[i+32>>2]&268435457)!=1){break j}ge(a,J[c>>2]);break i}if(J[b+32>>2]){Cq(a,30620,J[c+4>>2],J[c+8>>2],b+28|0);break i}Td(a,e)}Uj(b+28|0);mm(i,J[b+312>>2]);J[i+364>>2]=p}Fa=b+336|0}function LF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Fa-128|0;Fa=f;d=1;g=J[a>>2];a:{if(J[g+56>>2]){break a}i=b&65535;if(i){k=J[e>>2];d=1}else{d=0}if(b&65536){j=J[(d<<2)+e>>2];d=d+1|0}if(b&131072){m=J[(d<<2)+e>>2];d=d+1|0}l=b&262144?J[(d<<2)+e>>2]:l;Zp(a);J[a+72>>2]=Ux(m,0,-2147483648);J[a+76>>2]=Ia;J[a+80>>2]=Ux(l,-1,2147483647);J[a+84>>2]=Ia;if(c){c=K[c|0]==68}else{c=K[g+239|0]}I[a+4>>1]=b;H[a+52|0]=c;if(i>>>0>=2){h=Wa(k);if(!h){d=7;e=L[k+16>>1];c=e&31;if((e&63)>>>0>=32){c=-1431655766>>>c|0}else{c=((1<<c)-1&-1431655766)<<32-c|-1431655766>>>c}if(!(c&1)){break a}}J[a+20>>2]=0;d=0;if(j){d=fb(j);J[a+20>>2]=d}c=K[g+236|0];e=J[g+36>>2];j=J[g+28>>2];n=J[g+24>>2];J[f+108>>2]=0;J[f+100>>2]=0;J[f+104>>2]=0;J[f+96>>2]=i-2;J[f+92>>2]=n;J[f+84>>2]=j;J[f+80>>2]=d;J[f+76>>2]=e;J[f+88>>2]=c;e=a+16|0;b:{if(!h){c=0;J[e>>2]=0;break b}i=g+8|0;d=Tx(f+76|0,h,ob(h),e,f+124|0);c=J[e>>2];c:{if(!(!J[f+108>>2]|d)){Wd(c);J[e>>2]=0;break c}d:{if(d){break d}if(!c){c=0;break b}d=Vl(e,12);c=J[e>>2];if(d){break d}d=Sx(c,12);if(!d){break b}}Wd(c);J[e>>2]=0;if((d|0)==1){break c}if((d|0)!=18){break a}J[f+64>>2]=12;Nd(i,25555,f- -64|0);d=1;break a}J[f+48>>2]=h;Nd(i,18395,f+48|0);d=1;break a}d=J[a>>2];J[f+76>>2]=0;J[f+124>>2]=0;J[f+120>>2]=0;Qx(a,c,f+124|0,f+120|0,f+76|0);e:{if(J[f+76>>2]){break e}c=J[f+124>>2];if(!K[d+236|0]|(c|0)<2){break e}d=P(c,24);c=pb(d+(J[f+120>>2]<<3)|0,0);if(!c){J[f+76>>2]=7;break e}J[f+116>>2]=c;h=c+d|0;J[f+112>>2]=h;d=0;Px(a,0,J[a+16>>2],f+116|0,f+112|0,f+76|0);i=(J[f+116>>2]-c|0)/24|0;if(!J[f+76>>2]){j=J[f+112>>2]-h>>2;e=Ox(a,0,c,i);while(1){if(!((d|0)>=(j|0)|e)){e=Ox(a,J[h+(d<<2)>>2],c,i);d=d+1|0;continue}break}J[f+76>>2]=e}Oa(c)}Yp(a,J[a+16>>2],f+76|0);d=J[f+76>>2];Se(g);if(d){break a}J[a+32>>2]=0;J[a+36>>2]=0;J[a+40>>2]=J[a+44>>2]}f:{g:{h:{switch(b&65535){case 0:b=J[g+224>>2];i:{if(l|m){c=J[a+72>>2];d=J[a+76>>2];e=K[a+52|0];h=J[a+84>>2];J[f+16>>2]=J[a+80>>2];J[f+20>>2]=h;J[f+24>>2]=e?20472:20886;J[f+8>>2]=c;J[f+12>>2]=d;J[f>>2]=b;b=ub(7104,f);break i}c=K[a+52|0];J[f+32>>2]=b;J[f+36>>2]=c?20472:20886;b=ub(7076,f+32|0)}if(!b){d=7;break a}J[g+56>>2]=J[g+56>>2]+1;d=cp(J[g+12>>2],b,1,a+12|0);J[g+56>>2]=J[g+56>>2]-1;Oa(b);break g;case 1:break h;default:break f}}d=Nx(a);if(d){break a}d=jp(J[a+12>>2],1,k)}if(d){break a}}d=Mx(a)}Fa=f+128|0;return d|0}function VC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;l=Fa-112|0;Fa=l;o=Ja[J[16688]]()|0;j=J[a+36>>2];a:{b:{if(j){f=J[j>>2];break b}k=pb(16,0);if(!k){g=7;break a}J[k>>2]=0;J[k+4>>2]=0;J[k+8>>2]=0;J[k+12>>2]=0;c:{m=J[a+8>>2];f=J[m+40>>2];if(f){break c}p=J[a+32>>2];g=1802;d:{if(Ja[J[16628]](J[a+12>>2],l+16|0)|0){break d}j=ob(p);h=j+74|0;f=pb(h,0);if(!f){g=7;break d}g=0;i=Sa(f,0,h);h=i+68|0;J[i+8>>2]=h;J[l>>2]=p;h=wd(j+6|0,h,11486,l);J[i+12>>2]=-1;j=J[a+8>>2];J[j+40>>2]=i;J[i>>2]=j;if(K[65780]){J[i+4>>2]=8}if(K[m+29|0]){break c}e:{if(!Rk(J[a+32>>2],11473,0)){g=th(h,131138,J[l+20>>2]&511);J[i+12>>2]=g;break e}g=J[i+12>>2]}if((g|0)<0){g=th(h,131072,J[l+20>>2]&511);J[i+12>>2]=g;if((g|0)<0){g=Dd(de(42728),11299,h,42728);break d}H[i+22|0]=1}m=J[l+32>>2];j=J[l+28>>2];if(!(Ja[J[16676]]()|0)){Ja[J[16673]](g,j,m)|0}g=jv(a,i);if((g|0)==1288|!g){break c}}iv(a);Oa(k);break a}J[k>>2]=f;J[f+28>>2]=J[f+28>>2]+1;J[a+36>>2]=k;J[k+4>>2]=J[f+32>>2];J[f+32>>2]=k;if(g){break a}}f:{if(K[f+23|0]){n=jv(a,f);if(n){break f}H[f+23|0]=0}n=0;i=(o|0)<32768?1:o>>>15|0;a=i+b|0;k=a-((a|0)%(i|0)|0)|0;if((k|0)<=L[f+20>>1]){break f}J[f+16>>2]=c;g:{h:{a=J[f+12>>2];if((a|0)<0){break h}n=4874;if(Ja[J[16628]](a,l+16|0)|0){break f}m=J[l+44>>2];h=P(c,k);j=h>>31;a=J[l+40>>2];if((m|0)>=(j|0)&h>>>0<=a>>>0|(j|0)<(m|0)){break h}if(!d){n=0;break f}d=mJ(a,m,4096,0);a=(h|0)/4096|0;j=(a|0)>(d|0)?a:d;m=j>>31;a=d>>31;while(1){if((d|0)==(j|0)&(a|0)==(m|0)){break h}h=d<<12|4095;if((hv(J[f+12>>2],h,h>>31,30620,1,l+12|0)|0)!=1){break g}d=d+1|0;a=d?a:a+1|0;continue}}d=J[f+24>>2];if(ke()){a=0}else{a=k<<2;a=Gd(d,(a|0)>0?a:0,0)}if(!a){n=3082;break f}J[f+24>>2]=a;n=0;o=(i|0)>0?i:0;d=P(c,i);p=d>>31;a=L[f+20>>1];h=c>>31;while(1){a=a&65535;if((k|0)<=(a|0)){break f}m=J[f+12>>2];i:{if((m|0)>=0){g=(r=0,s=d,t=K[f+22|0]?1:3,u=1,v=m,w=lJ(a,0,c,h),x=Ia,q=J[16679],Ja[q](r|0,s|0,t|0,u|0,v|0,w|0,x|0)|0);if((g|0)!=-1){break i}n=5386;Dd(5386,9934,J[f+8>>2],42899);break f}g=pb(d,p);if(!g){n=7;break f}Sa(g,0,d)}a=0;while(1){if((a|0)!=(o|0)){J[(J[f+24>>2]+(a<<2)|0)+(L[f+20>>1]<<2)>>2]=P(a,c)+g;a=a+1|0;continue}break}a=i+L[f+20>>1]|0;I[f+20>>1]=a;continue}}Dd(4874,13070,J[f+8>>2],42872)}J[e>>2]=L[f+20>>1]>(b|0)?J[J[f+24>>2]+(b<<2)>>2]:0;g=n?n:K[f+22|0]?8:n}Fa=l+112|0;return g|0}function HI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Fa+-64|0;Fa=e;b=J[J[a>>2]+20>>2];J[e+60>>2]=0;J[e+56>>2]=0;J[e+48>>2]=0;d=Wa(J[c>>2]);j=d?d:30620;c=Wa(J[c+4>>2]);a:{b:{c:{d:{e:{f:{g:{if(K[b+178|0]&4){J[e+52>>2]=0;c=Tl(18108);J[e+44>>2]=c;if(!c){break a}c=bj(c,50652,b,e+52|0,0,256);if(c){break b}c=J[e+52>>2];f=ml(b,c);if(f){g=J[b+16>>2];h=K[b+176|0]<<4;d=g+h|0;i=J[d+4>>2];if(i){mf(i)}J[d+4>>2]=c;J[(g+h|0)+12>>2]=f;h=0;H[b+95|0]=0;break g}mf(c);c=7;break b}h:{d=J[b+20>>2];f=J[b+148>>2];i:{if((d|0)<(f+2|0)){g=c?c:30620;c=0;f=(d|0)>0?d:0;while(1){if((c|0)==(f|0)){break h}h=Ik(b,c,g);c=c+1|0;if(!h){continue}break}J[e+16>>2]=g;d=hb(b,13432,e+16|0);break i}J[e+32>>2]=f;d=hb(b,17065,e+32|0)}J[e+48>>2]=d;c=0;break e}c=J[b+16>>2];j:{if((c|0)==(b+460|0)){f=Ib(b,48,0);if(!f){break a}c=J[b+16>>2];d=J[c+4>>2];J[f>>2]=J[c>>2];J[f+4>>2]=d;d=J[c+28>>2];J[f+24>>2]=J[c+24>>2];J[f+28>>2]=d;d=J[c+20>>2];J[f+16>>2]=J[c+16>>2];J[f+20>>2]=d;d=J[c+12>>2];J[f+8>>2]=J[c+8>>2];J[f+12>>2]=d;break j}f=_c(b,c,(d<<4)+16|0,0);if(!f){break a}}J[b+16>>2]=f;i=J[b+20>>2];d=(i<<4)+f|0;J[d>>2]=0;J[d+4>>2]=0;J[d+8>>2]=0;J[d+12>>2]=0;J[e+52>>2]=J[b+60>>2];c=xv(J[J[b>>2]+16>>2],j,e+52|0,e+44|0,e+60|0,e+56|0);if(c){if((c|0)==7){Db(b)}b=a;a=J[e+56>>2];Bb(b,a,-1);Oa(a);break a}c=J[e+52>>2]|256;J[e+52>>2]=c;h=J[e+60>>2];c=bj(J[e+44>>2],h,b,d+4|0,0,c);J[b+20>>2]=J[b+20>>2]+1;J[d>>2]=Ob(b,g);H[b+95|0]=0;if(!c){break g}if((c|0)==19){J[e+48>>2]=hb(b,16360,0);c=1}H[((i<<4)+f|0)+8|0]=3;break f}g=ml(b,J[d+4>>2]);J[d+12>>2]=g;k:{if(!g){f=0;c=7;break k}f=1;c=0;if(!K[g+76|0]|K[g+77|0]==K[b+84|0]){break k}f=0;J[e+48>>2]=hb(b,13553,0);c=1}g=J[d+4>>2];i=J[g+4>>2];J[i+4>>2]=J[g>>2];vr(J[i>>2],K[b+89|0]);Rm(J[d+4>>2],Rm(J[J[b+16>>2]+4>>2],-1));$n(J[d+4>>2],J[b+32>>2]&56|3);H[d+8|0]=3;if(!f){break f}c=J[d>>2]?0:7}Xo(h);if(!c){ue(b);H[b+176|0]=0;J[b+24>>2]=J[b+24>>2]&-17;if(K[b+178|0]&4){break a}c=Wo(b,e+48|0);if(!c){break a}}if(K[b+178|0]&4){d=J[e+48>>2];break e}d=J[b+20>>2]-1|0;f=J[(J[b+16>>2]+(d<<4)|0)+4>>2];if(f){mf(f);f=J[b+16>>2]+(d<<4)|0;J[f+12>>2]=0;J[f+4>>2]=0}sf(b);J[b+20>>2]=d;l:{if(!((c|0)!=3082&(c|0)!=7)){Db(b);Ua(b,J[e+48>>2]);d=hb(b,1150,0);break l}d=J[e+48>>2];if(d){break d}J[e>>2]=j;d=hb(b,8173,e)}J[e+48>>2]=d}if(!d){break c}}Bb(a,d,-1);Ua(b,J[e+48>>2])}if(!c){break a}}Td(a,c)}Fa=e- -64|0}function wu(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Fa-32|0;Fa=c;a:{b:{b=J[a+232>>2];c:{d:{e:{if(!b){f:{if(K[a+17|0]){break f}b=Go(a,1);if(b){break c}g:{if(K[a+18|0]<=1){d=J[a>>2];J[c>>2]=1;h:{i:{j:{g=J[J[a+68>>2]>>2];if(!g){b=Ja[J[d+32>>2]](d,J[a+188>>2],0,c)|0;if(b|!J[c>>2]){break j}}J[c+28>>2]=0;b=J[a+64>>2];b=Ja[J[J[b>>2]+36>>2]](b,c+28|0)|0;if(b|J[c+28>>2]){break h}b=zo(a,c+24|0);if(b){break h}if(!(J[c+24>>2]|g)){b=J[18291];if(b){Ja[b|0]()}k:{if(Mf(a,2)){break k}b=J[d+28>>2];if(b){Ja[b|0](d,J[a+188>>2],0)|0}if(K[a+4|0]){break k}Fg(a,1)}b=J[18292];if(!b){break i}Ja[b|0]();break i}l:{if(!g){J[c+20>>2]=2049;b=Ja[J[d+24>>2]](d,J[a+188>>2],J[a+68>>2],2049,c+20|0)|0;if((b|0)==14){break l}if(b){break h}}H[c+20|0]=0;b=J[a+68>>2];d=Ja[J[J[b>>2]+8>>2]](b,c+20|0,1,0,0)|0;f=(d|0)==522;m:{if(g){break m}b=J[a+68>>2];g=J[b>>2];if(!g){break m}Ja[J[g+4>>2]](b)|0;J[b>>2]=0}b=f?0:d;f=K[c+20|0]!=0;break h}b=0;f=1;break h}if(b){break c}break g}b=0}if(b){break c}if(!f){break g}}b=776;if(K[a+14|0]){break c}b=Mf(a,4);if(b){break c}n:{o:{p:{if(!J[J[a+68>>2]>>2]){b=0;if(K[a+5|0]==2){break p}d=J[a>>2];b=Ja[J[d+32>>2]](d,J[a+188>>2],0,c)|0;f=J[a+68>>2];if(!(!J[c>>2]|b)){J[c+28>>2]=0;b=Ja[J[d+24>>2]](d,J[a+188>>2],f,2050,c+28|0)|0;q:{if(b){break q}b=0;if(!(H[c+28|0]&1)){break q}b=de(61998);d=J[a+68>>2];f=J[d>>2];if(!f){break q}Ja[J[f+4>>2]](d)|0;J[d>>2]=0}f=J[a+68>>2]}if(!J[f>>2]){break p}}b=_u(a);if(b){break n}b=Eo(a,!K[a+12|0]);H[a+17|0]=0;break o}if(K[a+4|0]){break o}Fg(a,1)}if(!b){break g}}b=Jj(a,b);break c}if(K[a+12|0]){break f}if(K[a+24|0]){b=J[a+64>>2];b=Ja[J[J[b>>2]+8>>2]](b,c,16,24,0)|0;if(b){if((b|0)!=522){break d}J[c+8>>2]=0;J[c+12>>2]=0;J[c>>2]=0;J[c+4>>2]=0}if(Cb(a+112|0,c,16)){Hg(a)}if(K[a+12|0]){break f}}b=J[a>>2];e=Ja[J[b+32>>2]](b,J[a+236>>2],0,c)|0;if(e){break f}r:{if(J[c>>2]){e=zo(a,c+28|0);if(e){break f}if(!J[c+28>>2]){b=J[a>>2];e=J[b+28>>2];if(e){break r}e=0;break f}e=vu(a,0);break f}if(K[a+5|0]!=5){break f}H[a+5|0]=0;break f}e=Ja[e|0](b,J[a+236>>2],0)|0}b=J[a+232>>2];if(!b){break e}}J[c+28>>2]=0;Jo(b);b=J[a+232>>2];J[c>>2]=0;while(1){e=Vu(b,c+28|0,0,c);if((e|0)==-1){continue}break}if(!(J[c+28>>2]|e)){break e}Hg(a)}if(!(K[a+12|0]|K[a+17|0])){b=e;if(b){break d}b=zo(a,a+28|0);break d}b=e}if(!b){break b}}hl(a);break a}H[a+24|0]=1;H[a+17|0]=1;b=0}Fa=c+32|0;return b}function Zh(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=Fa-48|0;Fa=g;J[g+44>>2]=J[a>>2];h=J[e>>2];J[g+40>>2]=h;i=J[f>>2];J[g+36>>2]=i;J[g+32>>2]=0;J[g+28>>2]=0;if(K[h|0]==1){n=h+1|0;h=H[h+1|0];a:{if((h|0)<0){k=lc(n,g+32|0);break a}J[g+32>>2]=h&255;k=1}J[g+40>>2]=k+n}if(K[i|0]==1){l=1;h=i+1|0;i=H[i+1|0];b:{if((i|0)<0){l=lc(h,g+28|0);break b}J[g+28>>2]=i&255}J[g+36>>2]=h+l}p=b;r=b>>31;s=(c|0)!=0;while(1){c:{b=J[g+32>>2];h=J[g+28>>2];if((b|0)==(h|0)){l=J[g+44>>2];J[g+16>>2]=0;J[g+20>>2]=0;J[g+8>>2]=0;J[g+12>>2]=0;J[g>>2]=0;J[g+4>>2]=0;if(b){H[l|0]=1;h=l+1|0;J[g+44>>2]=hc(h,b,b>>31)+h}Yh(g+40|0,g+8|0);i=J[g+8>>2];h=i-2|0;j=J[g+12>>2];b=j-(i>>>0<2)|0;k=b;J[g+8>>2]=h;J[g+12>>2]=b;Yh(g+36|0,g);n=J[g>>2];b=n-2|0;o=J[g+4>>2];m=o-(n>>>0<2)|0;J[g>>2]=b;J[g+4>>2]=m;if(i>>>0<2&(j|0)<=0|(j|0)<0|(n>>>0<2&(o|0)<=0|(o|0)<0)){break c}while(1){i=k+r|0;n=h+p|0;i=n>>>0<p>>>0?i+1|0:i;d:{while(1){if(!((m|0)<=(k|0)&b>>>0<=h>>>0|(m|0)<(k|0)|d|((i|0)<=(m|0)&b>>>0>n>>>0|(i|0)<(m|0))?(b|0)!=(n|0)|(i|0)!=(m|0):0)){o=g+44|0;l=g+16|0;j=c?k:m;q=(c?h:b)+2|0;j=q>>>0<2?j+1|0:j;qx(o,l,q,j);j=J[g+16>>2];o=J[g+20>>2]-(j>>>0<2)|0;j=j-2|0;J[g+16>>2]=j;J[g+20>>2]=o;l=0}if(!(((i|0)<=(m|0)&b>>>0>n>>>0|(i|0)<(m|0)|s)&(b>>>0>h>>>0&(m|0)>=(k|0)|(m|0)>(k|0)))){if(K[J[g+36>>2]]<2){break d}Yh(g+36|0,g);j=J[g>>2];b=j-2|0;j=J[g+4>>2]-(j>>>0<2)|0;m=j;J[g>>2]=b;J[g+4>>2]=j;continue}break}if(K[J[g+40>>2]]<2){break d}Yh(g+40|0,g+8|0);i=J[g+8>>2];h=i-2|0;i=J[g+12>>2]-(i>>>0<2)|0;k=i;J[g+8>>2]=h;J[g+12>>2]=i;continue}break}if(l){J[g+44>>2]=l}nf(0,g+40|0);nf(0,g+36|0);b=J[g+40>>2];if(!K[b|0]){break c}h=J[g+36>>2];if(!K[h|0]){break c}i=b+1|0;b=H[b+1|0];e:{if((b|0)<0){b=lc(i,g+32|0);break e}J[g+32>>2]=b&255;b=1}J[g+40>>2]=b+i;b=h+1|0;h=H[h+1|0];f:{if((h|0)<0){k=lc(b,g+28|0);break f}J[g+28>>2]=h&255;k=1}J[g+36>>2]=k+b;continue}if((b|0)<(h|0)){nf(0,g+40|0);b=J[g+40>>2];if(!K[b|0]){break c}h=b+1|0;b=H[b+1|0];g:{if((b|0)<0){b=lc(h,g+32|0);break g}J[g+32>>2]=b&255;b=1}J[g+40>>2]=b+h;continue}nf(0,g+36|0);b=J[g+36>>2];if(!K[b|0]){break c}h=b+1|0;b=H[b+1|0];h:{if((b|0)<0){b=lc(h,g+28|0);break h}J[g+28>>2]=b&255;b=1}J[g+36>>2]=b+h;continue}break}l=0;me(0,g+36|0);me(0,g+40|0);J[e>>2]=J[g+40>>2];J[f>>2]=J[g+36>>2];Fa=g+48|0;b=J[g+44>>2];if((b|0)!=J[a>>2]){H[b|0]=0;J[a>>2]=b+1;l=1}return l}function fm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!b){break a}h=J[a+8>>2];e=J[a+12>>2];g=J[a+20>>2];d=g;f=J[a+16>>2];j=c+f|0;d=j>>>0<c>>>0?d+1|0:d;j=j+2|0;d=j>>>0<2?d+1|0:d;if((d|0)==(e|0)&h>>>0<=j>>>0|d>>>0>e>>>0){if(ei(a,c+2|0)){break a}g=J[a+20>>2];f=J[a+16>>2]}e=f+1|0;if(!e){g=g+1|0}J[a+16>>2]=e;J[a+20>>2]=g;H[J[a+4>>2]+f|0]=34;while(1){f=0;b:{c:{d:{e:{f:{g:{h:{while(1){i:{g=f|3;if(g>>>0>=c>>>0){e=f;while(1){if(c>>>0<=e>>>0){break i}if(!K[K[b+e|0]+51936|0]){break h}e=e+1|0;continue}}if(!K[K[b+f|0]+51936|0]){e=f;break h}e=f|1;if(!K[K[e+b|0]+51936|0]){break h}e=f|2;if(!K[K[e+b|0]+51936|0]){break h}e=g;if(!K[K[e+b|0]+51936|0]){break h}f=f+4|0;continue}break}e=c>>>0>f>>>0?c:f;break g}if(c>>>0<=e>>>0){break g}if(e){Qa(J[a+4>>2]+J[a+16>>2]|0,b,e);d=J[a+20>>2];f=e+J[a+16>>2]|0;d=f>>>0<e>>>0?d+1|0:d;J[a+16>>2]=f;J[a+20>>2]=d;c=c-e|0;b=b+e|0}h=K[b|0];if((h|0)==92){break e}if((h|0)!=39){break f}e=h;break b}f=J[a+16>>2];g=J[a+20>>2];if(e){Qa(f+J[a+4>>2]|0,b,e);d=J[a+20>>2];f=e+J[a+16>>2]|0;g=f>>>0<e>>>0?d+1|0:d}b=f+1|0;g=b?g:g+1|0;J[a+16>>2]=b;J[a+20>>2]=g;H[J[a+4>>2]+f|0]=34;break a}if((h|0)!=34){break d}}e=h;break c}e=K[h+52544|0];if(e){break c}j=J[a+8>>2];e=J[a+12>>2];g=J[a+20>>2];d=g;f=J[a+16>>2];i=c+f|0;d=i>>>0<c>>>0?d+1|0:d;i=i+7|0;d=i>>>0<7?d+1|0:d;if((d|0)==(e|0)&j>>>0<i>>>0|d>>>0>e>>>0){if(ei(a,c+7|0)){break a}g=J[a+20>>2];f=J[a+16>>2]}d=g;e=f+1|0;d=e?d:d+1|0;J[a+16>>2]=e;J[a+20>>2]=d;H[J[a+4>>2]+f|0]=92;d=J[a+20>>2];f=J[a+16>>2];e=f+1|0;d=e?d:d+1|0;J[a+16>>2]=e;J[a+20>>2]=d;H[f+J[a+4>>2]|0]=117;d=J[a+20>>2];f=J[a+16>>2];e=f+1|0;d=e?d:d+1|0;J[a+16>>2]=e;J[a+20>>2]=d;H[f+J[a+4>>2]|0]=48;d=J[a+20>>2];f=J[a+16>>2];e=f+1|0;d=e?d:d+1|0;J[a+16>>2]=e;J[a+20>>2]=d;H[f+J[a+4>>2]|0]=48;d=J[a+20>>2];f=J[a+16>>2];e=f+1|0;d=e?d:d+1|0;J[a+16>>2]=e;J[a+20>>2]=d;H[f+J[a+4>>2]|0]=K[(h>>>4|0)+12672|0];e=K[(h&15)+12672|0];break b}j=J[a+8>>2];h=J[a+12>>2];g=J[a+20>>2];d=g;f=J[a+16>>2];i=c+f|0;d=i>>>0<c>>>0?d+1|0:d;i=i+3|0;d=i>>>0<3?d+1|0:d;if((d|0)==(h|0)&j>>>0<i>>>0|d>>>0>h>>>0){if(ei(a,c+3|0)){break a}g=J[a+20>>2];f=J[a+16>>2]}d=f+1|0;if(!d){g=g+1|0}J[a+16>>2]=d;J[a+20>>2]=g;H[J[a+4>>2]+f|0]=92}d=J[a+20>>2];f=J[a+16>>2];g=f+1|0;d=g?d:d+1|0;J[a+16>>2]=g;J[a+20>>2]=d;H[f+J[a+4>>2]|0]=e;c=c-1|0;b=b+1|0;continue}}}function ns(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Fa-80|0;Fa=g;j=J[a>>2];a:{if(K[j+87|0]){break a}if(ve(a)){break a}if(d){H[j+91|0]=K[j+91|0]+1}e=_e(a,c,b+8|0);b:{if(!d){if(!e){break a}break b}H[j+91|0]=K[j+91|0]-1;if(e){break b}Ei(a,J[b+12>>2]);Bk(a);break a}h=Ab(j,J[e+60>>2]);if(K[e+43|0]==1){if(Ze(a,e)){break a}}d=(h|0)==1;f=J[J[j+16>>2]+(h<<4)>>2];if(Tb(a,9,d?9192:9211,0,f)){break a}c:{if(c){d=d?15:17}else{if(K[e+43|0]==1){d=30;i=J[J[ud(j,e)+4>>2]+4>>2];break c}d=(h|0)==1?13:11}i=0}if(Tb(a,d,J[e>>2],i,f)){break a}if(Tb(a,9,J[e>>2],0,f)){break a}d:{d=J[e>>2];e:{f:{if(!tb(d,18298,7)){f=d+7|0;if(!tb(f,3601,4)){break d}f=(tb(f,4469,10)|0)!=0;break f}f=J[e+28>>2];if(f&4096){if(mh(j)){break e}}f=f>>>15&1}if(!f){break d}}J[g+64>>2]=d;Ra(a,15860,g- -64|0);break a}f=K[e+43|0];g:{if(c){if((f|0)==2){break g}J[g+48>>2]=d;Ra(a,7042,g+48|0);break a}if((f|0)!=2){break g}J[g>>2]=d;Ra(a,6488,g);break a}if(!rb(a)){break a}fd(a,1,h);h:{if(c){break h}Bs(a,h,11753,J[e>>2]);i=J[a>>2];if(K[e+43|0]|!(K[i+33|0]&64)){break h}f=rb(a);d=0;if(!tg(e)){d=e+48|0;while(1){d=J[d>>2];if(!d){break h}if(!K[d+24|0]){d=d+4|0;if(!(K[i+34|0]&8)){continue}}break}d=J[a+56>>2]-1|0;J[a+56>>2]=d;Na(f,49,1,d)}H[a+161|0]=1;sn(a,oh(i,b,0),0);H[a+161|0]=0;if(!(K[i+34|0]&8)){Na(f,49,0,J[f+108>>2]+2|0);jh(a,787,2,0,-1,4)}if(!d){break h}cb(f,d)}i=J[a>>2];d=J[i+16>>2];k=rb(a);fd(a,1,h);if(K[e+43|0]==1){Hb(k,170)}f=d+(h<<4)|0;d=Wr(a,e);while(1){if(d){Es(a,d);d=J[d+32>>2];continue}break}if(K[e+28|0]&8){d=J[f>>2];J[g+36>>2]=J[e>>2];J[g+32>>2]=d;fc(a,19630,g+32|0)}d=J[f>>2];J[g+20>>2]=J[e>>2];J[g+16>>2]=d;fc(a,28082,g+16|0);d=K[e+43|0];i:{j:{if(!c){if((d|0)==1){break j}f=e+8|0;m=J[e+20>>2];d=0;while(1){n=d-1|0;d=n>>>0>=m>>>0?m:0;c=f;while(1){c=J[c>>2];if(c){l=J[c+44>>2];d=l>>>0<=n>>>0?d>>>0<l>>>0?l:d:d;c=c+20|0;continue}break}if(d){As(a,d,Ab(J[a>>2],J[e+60>>2]));continue}break}d=K[e+43|0]}if((d&255)!=1){break i}}$a(k,172,h,0,0,J[e>>2],0);c=J[a+128>>2];H[(c?c:a)+21|0]=1}$a(k,151,h,0,0,J[e>>2],0);Df(a,h);a=J[(J[i+16>>2]+(h<<4)|0)+12>>2];if(!(K[a+78|0]&2)){break a}a=a+16|0;while(1){a=J[a>>2];if(a){c=J[a+8>>2];if(K[c+43|0]!=2){continue}In(i,c);continue}break}a=J[(J[i+16>>2]+(h<<4)|0)+12>>2];I[a+78>>1]=L[a+78>>1]&65533}yc(j,b);Fa=g+80|0}function gB(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;j=Fa-48|0;Fa=j;a:{if(!(K[J[a>>2]+33|0]&64)){break a}x=c?-127:-128;y=b+32|0;k=tg(b);u=(c|0)!=0;z=u<<2;while(1){if(!k){break a}b:{if(e){if(!Mq(b,k,e,f)){break b}}g=J[a>>2];q=J[g+36>>2]&8?0:K[(k+u|0)+25|0];if(!!(J[g+32>>2]&524288)&(q|0)==7){break b}v=k+z|0;h=J[v+28>>2];c:{if(!(h|!q)){J[j+44>>2]=0;J[j+40>>2]=0;if(mi(a,b,k,j+44|0,j+40|0)){break b}l=0;m=(q|0)!=7;r=m&((c|0)!=0|(q|0)!=10);o=k+36|0;t=q-9|0;s=0;h=0;p=0;while(1){if(J[k+20>>2]>(h|0)){J[j+36>>2]=3;J[j+32>>2]=14938;J[j+28>>2]=3;J[j+24>>2]=1750;i=J[j+40>>2];n=J[(i?i+(h<<2)|0:o)>>2];i=y;A=J[b+4>>2];w=J[j+44>>2];if(w){i=J[w+4>>2]+(h<<1)|0}i=J[P(I[i>>1],12)+A>>2];J[j+8>>2]=i;J[j+12>>2]=Ya(i);i=P(n,12);n=J[i+J[J[k>>2]+4>>2]>>2];J[j+16>>2]=n;J[j+20>>2]=Ya(n);l=Od(a,l,db(a,53,db(a,141,nc(g,59,j+32|0,0),nc(g,59,j+8|0,0)),nc(g,59,j+16|0,0)));if(c){p=Od(a,p,db(a,45,db(a,141,nc(g,59,j+32|0,0),nc(g,59,j+8|0,0)),db(a,141,nc(g,59,j+24|0,0),nc(g,59,j+8|0,0))))}if(r){d:{e:{f:{switch(t|0){case 1:i=db(a,141,nc(g,59,j+24|0,0),nc(g,59,j+8|0,0));break d;case 0:break f;default:break e}}n=i;i=J[k>>2];n=n+J[i+4>>2]|0;if(K[n+10|0]&96){break e}i=Hc(i,n);if(!i){break e}i=eb(g,i,0);break d}i=nc(g,121,0,0)}s=Kb(a,s,i);vg(a,s,j+16|0,0)}h=h+1|0;continue}break}Ua(g,J[j+40>>2]);r=0;o=J[J[k>>2]>>2];t=Ya(o);g:{if(m){i=l;l=0;break g}i=Ab(g,J[b+60>>2]);m=jc(g,71,15981);if(m){H[m+1|0]=2}h=Bd(a,0,0,0);if(h){J[h+16>>2]=Ob(g,o);J[h+12>>2]=Ob(g,J[J[g+16>>2]+(i<<4)>>2])}i=0;l=sd(a,Tc(J[a>>2],m),h,l,0,0,0,0,0)}I[g+308>>1]=0;J[g+304>>2]=J[g+304>>2]+1;h=ib(g,t+85|0,0);h:{if(!h){break h}m=h+84|0;J[h+48>>2]=m;r=h+36|0;J[h+28>>2]=r;Qa(m,o,t);J[h+56>>2]=eb(g,i,1);J[h+60>>2]=kc(g,s,1);J[h+44>>2]=Pd(g,l,1);if(!p){p=0;break h}p=db(a,19,p,0);J[h+12>>2]=eb(g,p,1)}o=J[g+304>>2]-1|0;J[g+304>>2]=o;I[g+308>>1]=o?0:L[g+310>>1];_a(g,i);_a(g,p);kb(g,s);ac(g,l);if(K[g+87|0]==1){Ki(g,h);break b}l=138;i:{j:{k:{switch(q-7|0){case 0:break i;case 3:break k;default:break j}}if(c){break j}l=128;break i}l=129}J[r+4>>2]=h;H[r|0]=l;i=J[b+60>>2];J[h+24>>2]=i;J[h+20>>2]=i;J[v+28>>2]=h;H[h+8|0]=x;break c}if(!h){break b}}pz(a,h,b,d,2,0)}k=J[k+12>>2];continue}}Fa=j+48|0}function jG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=J[a+4>>2];o=k+J[a+8>>2]|0;k=k+J[a+12>>2]|0;p=J[a>>2];while(1){q=k;if(k>>>0>=o>>>0){return 101}k=q+1|0;g=K[q|0];if(g>>>0>=192){h=K[g+33056|0];while(1){a:{if((k|0)==(o|0)){k=o;break a}g=K[k|0];if((g&192)!=128){break a}h=g&63|h<<6;k=k+1|0;continue}break}g=(h&-2)==65534?65533:h>>>0<128?65533:(h&-2048)==55296?65533:h}if(!sy(p,g)){continue}break}i=J[a+20>>2];j=i;while(1){h=J[a+24>>2];if((h-4|0)<=(j-i|0)){h=h- -64|0;h=Bc(i,h,h>>31);if(!h){return 7}i=J[a+20>>2];J[a+20>>2]=h;J[a+24>>2]=J[a+24>>2]- -64;j=h+(j-i|0)|0}b:{c:{d:{e:{f:{if((g|0)<=127){if(g-65>>>0>=26){break f}g=g|32;break e}if(g>>>0>65535){break d}r=J[p+4>>2];h=162;m=-1;i=0;while(1){if((h|0)>=(i|0)){l=(h+i|0)/2|0;n=L[(l<<2)+54672>>1]>(g|0);h=n?l-1|0:h;m=n?m:l;i=n?i:l+1|0;continue}break}h=m<<2;i=L[h+54672>>1];g:{if((i+K[h+54675|0]|0)<=(g|0)){break g}h=K[h+54674|0];if(h&(g^i)&1){break g}g=L[(h&254)+55328>>1]+g&65535}if(!r){break f}s=g<<3|7;h=125;m=0;i=0;while(1){if((h|0)>=(i|0)){l=(h+i|0)/2|0;n=L[(l<<1)+55488>>1]>s>>>0;i=n?i:l+1|0;h=n?l-1|0:h;m=n?m:l;continue}break}i=m+55744|0;if((r|0)!=2&H[i|0]<0){break f}h=L[(m<<1)+55488>>1];if(((h>>>3|0)+(h&7)|0)<(g|0)){break f}g=K[i|0]&127}if(!g){break b}}if((g|0)<=127){H[j|0]=g;j=j+1|0;break b}if(g>>>0<=2047){H[j+1|0]=g&63|128;H[j|0]=g>>>6|192;j=j+2|0;break b}if(g>>>0>65535){break c}H[j+2|0]=g&63|128;H[j|0]=g>>>12|224;H[j+1|0]=g>>>6&63|128;j=j+3|0;break b}g=g-66560>>>0<40?g+40|0:g}H[j+3|0]=g&63|128;H[j+2|0]=g>>>6&63|128;H[j+1|0]=g>>>12&63|128;H[j|0]=g>>>18&7|240;j=j+4|0}h:{if(k>>>0>=o>>>0){h=k;break h}h=k+1|0;g=K[k|0];if(g>>>0>=192){i=K[g+33056|0];while(1){i:{if((h|0)==(o|0)){h=o;break i}g=K[h|0];if((g&192)!=128){break i}i=g&63|i<<6;h=h+1|0;continue}break}g=(i&-2)==65534?65533:i>>>0<128?65533:(i&-2048)==55296?65533:i}if(!sy(p,g)){if(!eq(g)){break h}}i=J[a+20>>2];k=h;continue}break}J[a+12>>2]=h-J[a+4>>2];h=b;b=J[a+20>>2];J[h>>2]=b;J[c>>2]=j-b;b=J[a+4>>2];J[d>>2]=q-b;J[e>>2]=k-b;b=a;a=J[a+16>>2];J[b+16>>2]=a+1;J[f>>2]=a;return 0}function DG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=Fa-16|0;Fa=k;i=b+8|0;j=a-8|0;a:{if(!j){c=ye(i);break a}if(i>>>0>=4294967232){J[18304]=48;c=0;break a}e=i>>>0<11?16:i+11&-8;a=0;d=j-8|0;h=J[d+4>>2];c=h&-8;b:{if(!(h&3)){if(e>>>0<256){break b}if(c>>>0>=e+4>>>0){a=d;if(c-e>>>0<=J[18425]<<1>>>0){break b}}a=0;break b}f=c+d|0;c:{if(c>>>0>=e>>>0){a=c-e|0;if(a>>>0<16){break c}J[d+4>>2]=h&1|e|2;c=d+e|0;J[c+4>>2]=a|3;J[f+4>>2]=J[f+4>>2]|1;Il(c,a);break c}if(J[18311]==(f|0)){c=c+J[18308]|0;if(c>>>0<=e>>>0){break b}J[d+4>>2]=h&1|e|2;a=d+e|0;c=c-e|0;J[a+4>>2]=c|1;J[18308]=c;J[18311]=a;break c}if(J[18310]==(f|0)){c=c+J[18307]|0;if(c>>>0<e>>>0){break b}a=c-e|0;d:{if(a>>>0>=16){J[d+4>>2]=h&1|e|2;g=d+e|0;J[g+4>>2]=a|1;c=c+d|0;J[c>>2]=a;J[c+4>>2]=J[c+4>>2]&-2;break d}J[d+4>>2]=c|h&1|2;a=c+d|0;J[a+4>>2]=J[a+4>>2]|1;a=0}J[18310]=g;J[18307]=a;break c}g=J[f+4>>2];if(g&2){break b}l=c+(g&-8)|0;if(l>>>0<e>>>0){break b}n=l-e|0;e:{if(g>>>0<=255){a=J[f+12>>2];c=J[f+8>>2];if((a|0)==(c|0)){J[18305]=J[18305]&rJ(-2,g>>>3|0);break e}J[c+12>>2]=a;J[a+8>>2]=c;break e}m=J[f+24>>2];c=J[f+12>>2];f:{if((f|0)!=(c|0)){a=J[f+8>>2];J[a+12>>2]=c;J[c+8>>2]=a;break f}g:{a=f+20|0;g=J[a>>2];if(!g){g=J[f+16>>2];if(!g){break g}a=f+16|0}while(1){o=a;c=g;a=c+20|0;g=J[a>>2];if(g){continue}a=c+16|0;g=J[c+16>>2];if(g){continue}break}J[o>>2]=0;break f}c=0}if(!m){break e}a=J[f+28>>2];g=(a<<2)+73524|0;h:{if(J[g>>2]==(f|0)){J[g>>2]=c;if(c){break h}J[18306]=J[18306]&rJ(-2,a);break e}J[(J[m+16>>2]==(f|0)?16:20)+m>>2]=c;if(!c){break e}}J[c+24>>2]=m;a=J[f+16>>2];if(a){J[c+16>>2]=a;J[a+24>>2]=c}a=J[f+20>>2];if(!a){break e}J[c+20>>2]=a;J[a+24>>2]=c}if(n>>>0<=15){J[d+4>>2]=h&1|l|2;a=d+l|0;J[a+4>>2]=J[a+4>>2]|1;break c}J[d+4>>2]=h&1|e|2;a=d+e|0;J[a+4>>2]=n|3;c=d+l|0;J[c+4>>2]=J[c+4>>2]|1;Il(a,n)}a=d}c=a+8|0;if(a){break a}d=ye(i);c=0;if(!d){break a}a=J[j-4>>2];a=(a&3?-4:-8)+(a&-8)|0;Qa(d,j,a>>>0<i>>>0?a:i);xe(j);c=d}a=c;i:{if(a){J[a>>2]=b;J[a+4>>2]=b>>31;a=a+8|0;break i}a=J[j>>2];J[k+4>>2]=b;J[k>>2]=a;Ac(7,5384,k);a=0}Fa=k+16|0;return a|0}function jg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=Fa-16|0;Fa=l;d=L[b+16>>1];h=d&31;if((d&63)>>>0>=32){j=-1431655766>>>h|0}else{j=((1<<h)-1&-1431655766)<<32-h|-1431655766>>>h}a:{if(j&1){break a}j=d&63;d=j;f=d&31;if((d&63)>>>0>=32){d=262144>>>f|0}else{d=((1<<f)-1&262144)<<32-f|262148>>>f}b:{if(!(d&1)){break b}k=Wa(b);if(!k){break b}m=sb(b);d=lp(a);if(!d){break b}h=J[d+4>>2];i=(h|0)>0?h:0;while(1){c:{if((g|0)==(i|0)){while(1){if((e|0)==(i|0)){i=0;break b}d:{f=J[(d+(e<<2)|0)+8>>2];if((m|0)!=J[f+20>>2]){break d}if(Cb(J[f+12>>2],k,m)){break d}g=e;break c}e=e+1|0;continue}}f=J[(d+(g<<2)|0)+8>>2];if((k|0)==J[f+12>>2]){break c}g=g+1|0;continue}break}i=0;if((g|0)>=(h|0)){break b}if((h-1|0)>(g|0)){e=d+8|0;i=e+(g<<2)|0;Dc(i,i+4|0,h+(g^-1)<<2);J[(e+(J[d+4>>2]<<2)|0)-4>>2]=f}J[f+24>>2]=J[f+24>>2]+1;i=f;if(!(c&1)){break a}}h=c&2;m=h?0:a;k=c&1;c=j&31;if((j&63)>>>0>=32){c=65536>>>c|0}else{c=((1<<c)-1&65536)<<32-c|65537>>>c}o=c&1;g=J[J[a>>2]+20>>2];e=i;e:{f:{while(1){f=ib(g,56,0);if(!f){break f}c=Sa(f,0,56);J[c+24>>2]=1;J[c+16>>2]=g;if(e){b=J[e+4>>2];i=id(g,b,0);J[c>>2]=i;if(!i){break f}Qa(i,J[e>>2],b);J[c+8>>2]=b;J[c+4>>2]=b;H[c+37|0]=K[e+37|0];Wc(e);break a}g:{if(o|p){J[l+12>>2]=0;J[c>>2]=$c(b);b=sb(b);J[c+4>>2]=b;if(!b){break g}e=J[c>>2];if(e){e=K[e|0]&15;if(e>>>0>12){break g}g=Wb(c,0,l+12|0);if(!g){break g}j=b;b=J[l+12>>2];if((j|0)!=(b+g|0)|(b?e>>>0<=2:0)){break g}if(!k){break a}if(em(c,0)){break a}}e=i;break f}J[c+12>>2]=Wa(b);e=sb(b);J[c+20>>2]=e;if(!e){break g}e=0;if(!J[c+12>>2]){break f}if(hm(c,m)){if(h){H[c+34|0]=1;break a}Wc(c);break e}h:{i:{j:{if(!b){break j}d=L[b+16>>1];if(!(d&18)|!(d&4096)){break j}if(J[b+36>>2]==9){break i}}d=J[c+20>>2];d=lo(d,d>>31);if(!d){break f}d=Qa(d,J[c+12>>2],J[c+20>>2]);J[c+12>>2]=d;H[d+J[c+20>>2]|0]=0;break h}d=J[c+12>>2]-8|0;j=d;n=J[d>>2];d=J[d+4>>2];n=n+1|0;d=n?d:d+1|0;J[j>>2]=n;J[j+4>>2]=d}H[c+36|0]=1;if((Ly(a,c)|0)==7){break f}e=c;if(k){continue}break a}break}if(h){H[c+34|0]=1;break a}Wc(c);Bb(a,19961,-1);break e}Wc(e);Wc(f);Qb(a)}f=0}Fa=l+16|0;return f}function gm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Fa-208|0;Fa=e;j=J[J[c>>2]+20>>2];f=Wb(a,b,e+20|0);a:{if(!f){Bb(c,19961,-1);break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{h=J[a>>2];g=h+b|0;switch(K[g|0]&15){case 7:case 10:break i;case 5:case 6:break j;case 3:case 4:break k;case 2:break l;case 1:break m;case 0:break n;case 11:case 12:break g;case 8:case 9:break h;default:break c}}if(J[e+20>>2]){break c}Mb(c);break a}if(J[e+20>>2]){break c}pc(c,1);break a}if(J[e+20>>2]){break c}pc(c,0);break a}J[e+24>>2]=0;J[e+28>>2]=0;d=J[e+20>>2];if(!d){break c}g=K[(f+h|0)+b|0];if((g|0)==45){if(d>>>0<2){break c}f=f+1|0;d=d-1|0}i=yd(j,(f+h|0)+b|0,d,d>>31);if(!i){break d}h=Qf(i,e+24|0);Za(j,i);if(!h){a=J[e+24>>2];b=(g|0)==45;g=b?0-a|0:a;d=(a|0)!=0;a=J[e+28>>2];i=b?0-(d+a|0)|0:a;break b}k=(g|0)!=45;if(!k){g=0;i=-2147483648;if((h|0)==3){break b}}if(k|(h|0)==1){break f}d=d+1|0;f=f-1|0;break e}d=J[e+20>>2];if(!d){break c}break e}lb(c,(f+h|0)+b|0,J[e+20>>2],-1);break a}i=J[e+20>>2];g=id(j,i+1|0,0);if(!g){break d}j=(f+h|0)+b|0;a=0;b=0;while(1){if(b>>>0<i>>>0){d=b+j|0;f=K[d|0];o:{if((f|0)==92){h=bm(d,i-b|0,e+24|0);d=J[e+24>>2];p:{if(d>>>0<=127){H[a+g|0]=d;a=a+1|0;break p}if(d>>>0<=2047){f=a+g|0;H[f+1|0]=d&63|128;H[f|0]=d>>>6|192;a=a+2|0;break p}if(d>>>0<=65535){f=a+g|0;H[f+2|0]=d&63|128;H[f|0]=d>>>12|224;H[f+1|0]=d>>>6&63|128;a=a+3|0;break p}if((d|0)==629145){break p}f=a+g|0;H[f+3|0]=d&63|128;H[f|0]=d>>>18|240;H[f+2|0]=d>>>6&63|128;H[f+1|0]=d>>>12&63|128;a=a+4|0}b=(b+h|0)-1|0;break o}H[a+g|0]=f;a=a+1|0}b=b+1|0;continue}break}H[a+g|0]=0;lb(c,g,a,5);break a}if(!(!(K[J[c+4>>2]+8|0]&8)|d)){he(c,g,J[e+20>>2]+f|0,-1);break a}a=J[e+20>>2];Sa(e+160|0,0,48);J[e+156>>2]=a+f;J[e+152>>2]=g;J[e+24>>2]=c;I[e+48>>1]=1;J[e+40>>2]=0;J[e+44>>2]=0;J[e+32>>2]=100;J[e+36>>2]=0;J[e+28>>2]=e+50;a=e+24|0;Zg(e+152|0,0,a);qf(a,0,0);break a}if((h|0)==1){break c}}a=yd(j,(J[a>>2]+f|0)+b|0,d,d>>31);if(!a){break d}b=Hd(a,e+8|0,Ya(a),1);Za(j,a);if((b|0)<=0){break c}Nb(c,O[e+8>>3]);break a}Qb(c);break a}Bb(c,19961,-1);break a}Vb(c,g,i)}Fa=e+208|0}function $k(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Fa-16|0;Fa=h;k=J[a+224>>2];i=J[(d?68:72)+a>>2];f=df(i,J[b>>2],J[b+4>>2],h+8|0);a:{if(f){break a}g=J[a+168>>2];f=J[b+4>>2];j=J[b>>2]+4|0;f=j>>>0<4?f+1|0:f;f=Ja[J[J[i>>2]+8>>2]](i,k,g,j,f)|0;if(f){break a}l=J[b>>2];f=J[a+172>>2];g=(d<<2)+4|0;j=g;g=g+J[a+168>>2]|0;j=J[b+4>>2]+(j>>>0>g>>>0?f+1|0:f)|0;l=g+l|0;j=l>>>0<g>>>0?j+1|0:j;J[b>>2]=l;J[b+4>>2]=j;f=101;g=J[h+8>>2];if(!g|J[a+164>>2]==(g|0)){break a}f=0;if(M[a+28>>2]<g>>>0){break a}if(vv(c,g)){break a}b:{if(!d){break b}f=df(i,l-4|0,j-(l>>>0<4)|0,h+4|0);if(f){break a}if(e){break b}f=101;if((Au(a,k)|0)!=J[h+4>>2]){break a}}if(c){f=Kg(c,g);if(f){break a}}c:{if((g|0)!=1){break c}c=K[k+20|0];if((c|0)==I[a+150>>1]){break c}I[a+150>>1]=c}d:{e:{f:{if(!J[a+232>>2]){c=Hh(a,g);J[h+12>>2]=c;if(!d){break f}break e}c=0;J[h+12>>2]=0;if(d){break e}e=1;break d}if(!c){c=0;e=1;break d}e=!(K[c+28|0]&8);break d}e=1;if(K[a+7|0]){break d}e=J[b+4>>2];i=J[a+92>>2];e=(e|0)<=(i|0)&M[b>>2]<=M[a+88>>2]|(e|0)<(i|0)}g:{h:{i=J[a+64>>2];f=J[i>>2];if(!f){break h}b=K[a+17|0];i:{if(b>>>0<=3){if(e&!b){break i}break h}if(!e){break h}}b=J[a+168>>2];d=lJ(b,J[a+172>>2],g-1|0,0);f=Ja[J[f+12>>2]](i,k,b,d,Ia)|0;if(M[a+36>>2]<g>>>0){J[a+36>>2]=g}b=J[a+96>>2];if(!b){break g}Nu(b,g,k);break g}f=0;if(c|d){break g}H[a+21|0]=K[a+21|0]|2;f=Ja[J[a+220>>2]](a,g,h+12|0,1)|0;H[a+21|0]=K[a+21|0]&253;if(f){break a}_k(J[h+12>>2]);c=J[h+12>>2];f=0}if(!c){break a}b=Qa(J[c+4>>2],k,J[a+168>>2]);Ja[J[a+216>>2]](J[h+12>>2]);if((g|0)==1){c=K[b+28|0]|K[b+29|0]<<8|(K[b+30|0]<<16|K[b+31|0]<<24);d=K[b+24|0]|K[b+25|0]<<8|(K[b+26|0]<<16|K[b+27|0]<<24);H[a+112|0]=d;H[a+113|0]=d>>>8;H[a+114|0]=d>>>16;H[a+115|0]=d>>>24;H[a+116|0]=c;H[a+117|0]=c>>>8;H[a+118|0]=c>>>16;H[a+119|0]=c>>>24;c=K[b+36|0]|K[b+37|0]<<8|(K[b+38|0]<<16|K[b+39|0]<<24);b=K[b+32|0]|K[b+33|0]<<8|(K[b+34|0]<<16|K[b+35|0]<<24);H[a+120|0]=b;H[a+121|0]=b>>>8;H[a+122|0]=b>>>16;H[a+123|0]=b>>>24;H[a+124|0]=c;H[a+125|0]=c>>>8;H[a+126|0]=c>>>16;H[a+127|0]=c>>>24}il(J[h+12>>2])}Fa=h+16|0;return f}function Vm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=Fa-16|0;Fa=k;a:{l=J[a>>2];if(K[b+43|0]|!(K[l+33|0]&64)){break a}t=c+1|0;g=b+48|0;h=J[l+16>>2];n=Ab(l,J[b+60>>2]);r=J[h+(n<<4)>>2];s=K[a+161|0];while(1){j=J[g>>2];if(j){J[k+12>>2]=0;J[k+8>>2]=0;b:{c:{if(!e){break c}if(!Ub(J[b>>2],J[j+8>>2])){break c}if(!rz(b,j,e,f)){break b}}g=J[j+8>>2];d:{e:{f:{if(K[a+161|0]){i=tc(l,g,r);break f}i=hf(a,0,g,r)}if(i){if(!mi(a,i,j,k+12|0,k+8|0)){break e}}if(K[l+87|0]|!s){break a}if(i){break b}g=rb(a);i=J[j+20>>2];h=(i+J[g+108>>2]|0)+1|0;m=0;while(1){if((i|0)<=(m|0)){break d}Na(g,50,wc(J[j>>2],I[(j+(m<<3)|0)+36>>1])+t|0,h);m=m+1|0;i=J[j+20>>2];continue}}o=J[k+8>>2];if(!o){J[k+4>>2]=J[j+36>>2];o=k+4|0}h=i+32|0;g=0;p=J[k+12>>2];m=0;while(1){if(J[j+20>>2]>(m|0)){q=(m<<2)+o|0;if(J[q>>2]==I[b+32>>1]){J[q>>2]=-1}if(J[l+364>>2]){g=h;q=J[i>>2];u=J[i+4>>2];if(p){g=J[p+4>>2]+(m<<1)|0}g=(pA(a,q,J[P(I[g>>1],12)+u>>2],n)|0)==2}m=m+1|0;continue}break}rd(a,n,J[i+20>>2],0,J[i>>2]);J[a+40>>2]=J[a+40>>2]+1;if(c){oz(a,n,i,p,j,o,c,-1,g)}g:{if(!d){break g}h=J[a+128>>2];h=J[(h?h:a)+136>>2];h:{if(!h){break h}h=J[h>>2];if((h|0)==J[j+28>>2]&K[j+25|0]==8){break g}if((h|0)!=J[j+32>>2]){break h}if(K[j+26|0]==8){break g}}oz(a,n,i,p,j,o,d,1,g)}Ua(l,J[k+8>>2]);break b}Na(g,158,K[j+24|0],-1)}g=j+4|0;continue}break}j=(e|0)!=0;g=tg(b);while(1){if(!g){break a}J[k+12>>2]=0;J[k+8>>2]=0;i:{if(e){if(!Mq(b,g,e,f)){break i}}if(!(J[a+128>>2]|(K[g+24|0]|K[l+34|0]&8))){if(!K[a+20|0]){break i}}if(mi(a,b,g,k+12|0,k+8|0)){if(!s){break a}if(!K[l+87|0]){break i}break a}i=Bd(a,0,0,0);if(i){h=J[g>>2];J[i+24>>2]=h;J[i+16>>2]=J[h>>2];J[h+24>>2]=J[h+24>>2]+1;h=J[a+40>>2];J[a+40>>2]=h+1;J[i+48>>2]=h;if(d){nz(a,i,b,J[k+12>>2],g,J[k+8>>2],d,-1)}j:{if(!c){break j}h=K[(g+j|0)+25|0];m=J[l+36>>2];nz(a,i,b,J[k+12>>2],g,J[k+8>>2],c,1);if(K[g+24|0]){break j}k:{switch(((m&8?0:h)&255)-8|0){case 0:case 2:break j;default:break k}}h=J[a+128>>2];H[(h?h:a)+21|0]=1}J[i+16>>2]=0;yc(l,i)}Ua(l,J[k+8>>2])}g=J[g+12>>2];continue}}Fa=k+16|0}function it(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=Fa-16|0;Fa=g;J[g+12>>2]=0;a:{if(!(c>>>0>=2&M[a+48>>2]>=c>>>0)){d=Ta(76805);break a}h=J[a+12>>2];b:{if(b){d=J[b+72>>2];f=J[d+32>>2];e=J[d+36>>2];f=f+1|0;e=f?e:e+1|0;J[d+32>>2]=f;J[d+36>>2]=e;d=J[d+12>>2];e=d;f=J[d+16>>2];d=J[d+20>>2];f=f+1|0;d=f?d:d+1|0;J[e+16>>2]=f;J[e+20>>2]=d;break b}b=jt(a,c)}J[g+8>>2]=b;d=Pb(J[h+72>>2]);J[g+4>>2]=d;c:{d:{e:{if(d){break e}d=J[h+56>>2];f=ab(d+36|0);e=f+1|0;e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[d+36|0]=e;H[d+37|0]=e>>>8;H[d+38|0]=e>>>16;H[d+39|0]=e>>>24;if(K[a+24|0]&4){if(!b){d=ld(a,c,g+8|0,0);b=J[g+8>>2];if(d){break e}}d=Pb(J[b+72>>2]);J[g+4>>2]=d;if(d){break d}Sa(J[b+56>>2],0,J[J[b+52>>2]+36>>2])}if(K[a+17|0]){vd(a,c,2,0,g+4|0);d=J[g+4>>2];if(d){break e}}f:{if(!f){e=0;break f}e=ab(J[h+56>>2]+32|0);if(e>>>0>M[a+48>>2]){d=Ta(76852);break e}d=ld(a,e,g+12|0,0);if(d){break e}f=J[g+12>>2];i=ab(J[f+56>>2]+4|0);d=J[a+40>>2]>>>2|0;if(i>>>0>d-2>>>0){d=Ta(76863);break e}if(d-8>>>0<=i>>>0){break f}d=Pb(J[f+72>>2]);if(d){break e}d=J[f+56>>2];e=i+1|0;e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[d+4|0]=e;H[d+5|0]=e>>>8;H[d+6|0]=e>>>16;H[d+7|0]=e>>>24;d=J[f+56>>2]+(i<<2)|0;e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);H[d+8|0]=e;H[d+9|0]=e>>>8;H[d+10|0]=e>>>16;H[d+11|0]=e>>>24;g:{if(!b|K[a+24|0]&4){break g}d=J[b+72>>2];e=J[d+20>>2];if(K[e+12|0]){break g}h=L[d+28>>1];if(J[e+104>>2]|!(h&2)){break g}I[d+28>>1]=h&65515|16}h:{e=J[a+64>>2];if(e){break h}e=$i(J[a+48>>2]);J[a+64>>2]=e;if(e){break h}d=7;break e}d=0;if(M[e>>2]<c>>>0){break e}d=Kg(e,c);break e}if(!b){d=ld(a,c,g+8|0,0);b=J[g+8>>2];if(d){break e}}d=Pb(J[b+72>>2]);if(d){break d}a=J[b+56>>2];d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);H[a|0]=d;H[a+1|0]=d>>>8;H[a+2|0]=d>>>16;H[a+3|0]=d>>>24;d=0;a=J[b+56>>2];H[a+4|0]=0;H[a+5|0]=0;H[a+6|0]=0;H[a+7|0]=0;a=J[h+56>>2];c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);H[a+32|0]=c;H[a+33|0]=c>>>8;H[a+34|0]=c>>>16;H[a+35|0]=c>>>24;break d}if(b){break d}b=0;break c}H[b|0]=0}zb(b);zb(J[g+12>>2])}Fa=g+16|0;return d}function Pm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=Fa-16|0;Fa=j;J[j+12>>2]=0;J[j+4>>2]=0;s=J[b+12>>2];l=K[a+23|0];if(!KA(a,b)){p=JA(a,b);g=J[a>>2];k=Mc(J[b+12>>2]);q=ib(g,P(k,5)+1|0,0);a:{if(K[J[a>>2]+87|0]){break a}f=J[a+8>>2];n=(c|0)!=(d|0);i=Km(a,b,3,n?j+12|0:0,q,j+4|0);H[a+23|0]=0;r=pr(a,s,j+8|0);H[a+23|0]=l;l=(k|0)>0?k:0;while(1){b:{if((e|0)==(l|0)){e=l;break b}if(J[(e<<2)+q>>2]!=(e|0)){break b}e=e+1|0;continue}break}h=r;c:{if((e|0)==(k|0)){break c}h=ic(a,k);e=0;while(1){if((e|0)==(l|0)){break c}Pa(f,80,e+r|0,J[(e<<2)+q>>2]+h|0,0);e=e+1|0;continue}}d:{if((i|0)==5){l=J[a+56>>2]-1|0;J[a+56>>2]=l;o=J[b+20>>2];e=0;m=hd(a,J[b+12>>2]);b=0;if((c|0)!=(d|0)){b=vb(a);Pa(f,102,h,h,b)}while(1){if((e|0)<J[o>>2]){g=o+(e<<4)|0;i=Ec(a,J[g+8>>2],j);e:{if(!b){break e}if(!Xe(J[g+8>>2])){break e}Pa(f,102,b,i,b)}mb(a,J[j>>2]);f:{g:{if(!(!n&(J[o>>2]-1|0)<=(e|0))){$a(f,(h|0)==(i|0)?51:53,h,l,i,m,-2);g=J[f+108>>2];if((g|0)<=0){break f}i=K[p|0];break g}$a(f,(h|0)==(i|0)?50:52,h,c,i,m,-2);g=J[f+108>>2];if((g|0)<=0){break f}i=K[p|0]|16}I[(J[f+104>>2]+P(g,20)|0)-18>>1]=i<<24>>24}e=e+1|0;continue}break}if(b){Na(f,50,b,d);Lb(f,c)}cb(f,l);mb(a,b);break d}e=0;g=c;if((g|0)!=(d|0)){m=J[a+56>>2]-1|0;J[a+56>>2]=m;g=m}while(1){if((e|0)!=(l|0)){if(J[a+36>>2]){break a}if(Xe(pg(J[b+12>>2],e))){Na(f,50,e+h|0,g)}e=e+1|0;continue}break}h:{if((i|0)==1){g=J[j+4>>2];Pa(f,30,g,c,h);i=Hb(f,9);break h}$a(f,96,h,k,0,p,k);g=J[j+4>>2];if(!n){bb(f,28,g,c,h,k);break d}i=bb(f,29,g,0,h,k)}i:{if((k|0)!=1){break i}b=J[j+12>>2];if(!b){break i}Na(f,51,b,c)}if(!n){Lb(f,c)}if(m){cb(f,m)}o=Na(f,36,g,c);b=c;if((k|0)>=2){b=J[a+56>>2]-1|0;J[a+56>>2]=b}e=0;while(1){if((e|0)!=(l|0)){n=vb(a);m=hd(a,pg(s,e));Pa(f,94,g,e,n);$a(f,52,e+h|0,b,n,m,-2);mb(a,n);e=e+1|0;continue}break}Na(f,9,0,d);if((k|0)>=2){cb(f,b);Na(f,39,g,o+1|0);Na(f,9,0,c)}b=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(i,20)|0)+8>>2]=b}if((h|0)==(r|0)){break a}mb(a,h)}Ua(J[a>>2],q);Ua(J[a>>2],p)}Fa=j+16|0}function Gt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Fa-32|0;Fa=e;h=J[a+8>>2];i=J[h+4>>2];a:{b:{c:{c=K[a|0];if(c){if(c>>>0<3){break c}c=hj(a);if(c){break a}c=0;if(K[a|0]){break a}}d=J[a+116>>2];c=L[d+24>>1];j=L[a+70>>1];if(c>>>0<=j>>>0){c=Ta(79808);break a}k=H[a+68|0];g=J[d+64>>2];f=g+(j<<1)|0;l=K[f|0];f=K[f+1|0];m=L[d+26>>1];n=J[d+56>>2];if(J[d+20>>2]<0){if(If(d)){break b}g=J[d+64>>2];c=L[d+24>>1]}f=(m&(f|l<<8))+n|0;if(f>>>0<(c&65535)+g>>>0){c=Ta(79815);break a}g=0;l=b&2;d:{if(!l){break d}e:{if(!K[d+8|0]){break e}g=1;if(((J[d+20>>2]+(Ja[J[d+76>>2]](d,f)|0)|0)+2|0)>((J[i+40>>2]<<1>>>0)/3|0)){break e}if(L[d+24>>1]!=1){break d}}c=qu(a);J[e+28>>2]=c;g=0;if(c){break a}}if(!K[d+8|0]){c=Sk(a);if(c){break a}}if(K[a+1|0]&32){c=gg(i,J[a+64>>2],a);if(c){break a}}if(!(J[a+112>>2]|!K[h+11|0])){ko(h,J[a+64>>2],J[a+32>>2],J[a+36>>2],0)}c=Pb(J[d+72>>2]);if(c){break a}Ja[J[d+80>>2]](d,f,e);if(J[e+12>>2]!=L[e+16>>1]){b=ho(d,f,e)}else{b=0}J[e+28>>2]=b;Ok(d,j,L[e+18>>1],e+28|0);c=J[e+28>>2];if(c){break a}if(!K[d+8|0]){f=a+116|0;b=J[f>>2];if(J[b+20>>2]<0){c=If(b);if(c){break a}}c=J[b+64>>2]+(L[b+24>>1]<<1)|0;c=L[b+26>>1]&(K[c-2|0]<<8|K[c-1|0]);if(c>>>0<=3){c=Ta(79906);break a}f=J[J[((H[a+68|0]-1|0)>(k|0)?((k<<2)+a|0)+124|0:f)>>2]+4>>2];h=c+J[b+56>>2]|0;c=Ja[J[b+76>>2]](b,h)|0;i=J[i+84>>2];m=Pb(J[b+72>>2]);J[e+28>>2]=m;if(!m){J[e+28>>2]=co(d,j,h-4|0,c+4|0,i,f)}Ok(b,L[b+24>>1]-1|0,c,e+28|0);c=J[e+28>>2];if(c){break a}}if((P(J[J[a+116>>2]+20>>2],3)|0)>J[J[a+20>>2]+40>>2]<<1){c=eo(a);if(c){break a}}if(H[a+68|0]>(k|0)){Lf(J[a+116>>2]);c=K[a+68|0]-1|0;H[a+68|0]=c;while(1){b=c<<24>>24;if((k|0)<(b|0)){H[a+68|0]=c-1;zb(J[((b<<2)+a|0)+120>>2]);c=K[a+68|0];continue}break}J[a+116>>2]=J[((b<<2)+a|0)+120>>2];c=eo(a);if(c){break a}}if(g){H[a|0]=2;b=L[d+24>>1];if(b>>>0<=j>>>0){J[a+4>>2]=-1;I[a+70>>1]=b-1;c=0;break a}J[a+4>>2]=1;c=0;break a}b=Jf(a);if(l){Eh(a);H[a|0]=3}c=(b|0)!=16?b:0;break a}c=Ta(79799);break a}c=Ta(79812)}Fa=e+32|0;return c}function UH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=J[c+4>>2];d=L[f+16>>1];e=d&31;a:{if((d&63)>>>0>=32){d=-1431655766>>>e|0}else{d=((1<<e)-1&-1431655766)<<32-e|-1431655766>>>e}b:{if(d&1){break b}if((b|0)==3){d=L[J[c+8>>2]+16>>1];e=d&31;if((d&63)>>>0>=32){d=-1431655766>>>e|0}else{d=((1<<e)-1&-1431655766)<<32-e|-1431655766>>>e}if(d&1){break b}}d=L[J[c>>2]+16>>1];g=fb(f);h=J[c>>2];e=0;f=d&31;if((d&63)>>>0>=32){d=65536>>>f|0}else{d=((1<<f)-1&65536)<<32-f|65537>>>f}l=d&1;c:{if(e|l){j=sb(h);h=$c(J[c>>2]);if(!h){break b}break c}h=Wa(h);if(!h){break b}if((g|0)>=0){break c}e=h;while(1){f=K[e|0];if(!f){break c}d=e+1|0;e=d;if(f>>>0>=192){while(1){e=d;d=e+1|0;if((K[e|0]&192)==128){continue}break}}j=j+1|0;continue}}d:{if((b|0)==3){c=fb(J[c+8>>2]);b=0-c|0;e=!(c&-2147483648);b=e?c:b;f=c>>31;f=e?f:0-(((c|0)!=0)+f|0)|0;break d}e=1;b=J[J[J[a>>2]+20>>2]+120>>2];f=b>>31}c=g;d=c>>31;e:{if((c|0)<0){c=(j>>31)+d|0;g=g+j|0;c=g>>>0<j>>>0?c+1|0:c;if((c|0)>=0|(c|0)>0){break e}f=c+f|0;b=b+g|0;f=b>>>0<g>>>0?f+1|0:f;g=0;c=0;d=!!b&(f|0)>=0|(f|0)>0;b=d?b:0;f=d?f:0;break e}if(g){g=c-1|0;c=d-!c|0;break e}g=0;c=0;i=f;d=b;f=!!d&(f|0)>=0|(f|0)>0;b=d-f|0;f=i-(f>>>0>d>>>0)|0}i=c-((b>>>0>g>>>0)+f|0)|0;n=i;d=g-b|0;k=!!d&(i|0)>=0|(i|0)>0;d=e?g:k?d:0;i=e?c:k?i:0;k=g;g=(n|0)<0;b=e?b:g?k:b;f=e?f:g?c:f;if(!(m|l)){while(1){c=K[h|0];if(!c|!(d|i)){break a}e=h+1|0;h=e;if(c>>>0>=192){while(1){h=e;e=e+1|0;if((K[h|0]&192)==128){continue}break}}c=d;d=c-1|0;i=i-!c|0;continue}}e=d+h|0;c=j-d|0;k=c;h=j>>31;g=h-((d>>>0>j>>>0)+i|0)|0;c=!!c&(g|0)>=0|(g|0)>0;m=c?k:0;g=c?g:0;c=f+i|0;i=d;d=b+d|0;c=i>>>0>d>>>0?c+1|0:c;c=d>>>0>j>>>0&(c|0)>=(h|0)|(c|0)>(h|0);b=c?m:b;c=c?g:f;f:{if(!c&b>>>0>=2147483648|c){pw(e,-1,a);break f}nj(a,e,b,0,-1)}}return}e=h;while(1){c=c&255;if(!(!c|!(b|f))){e=e+1|0;g:{if(c>>>0>191){d=e;while(1){e=d;d=e+1|0;c=K[e|0];if((c&192)==128){continue}break}break g}c=K[e|0]}d=b;b=d-1|0;f=f-!d|0;continue}break}b=e-h|0;$f(a,h,b,b>>31,-1)}function se(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=Fa+-64|0;Fa=x;a:{if(ke()){break a}if(!(b?(a|0)>0:0)){J[18202]=0;break a}if(J[18202]){d=K[72936]}else{d=Tl(0);c=J[7707];J[18204]=J[7706];J[18205]=c;c=J[7705];J[18202]=J[7704];J[18203]=c;b:{if(!d){Sa(72824,0,44);break b}c=J[16513];if(c){Sa(72828,0,40);J[18206]=c;break b}Ja[J[d+56>>2]](d,44,72824)|0;g=J[18214]}J[18217]=g;H[72936]=0;J[18214]=0;d=0}c:while(1){d=d&255;if((d|0)>=(a|0)){Qa(b,(d-a|0)+72872|0,a);H[72936]=K[72936]-a;break a}if(d){b=Qa(b,72872,d);d=K[72936];b=b+d|0;a=a-d|0}d=0;J[18214]=J[18214]+1;c=Qa(x,72808,64);e=J[c+44>>2];k=J[c+60>>2];n=J[c+12>>2];g=J[c+28>>2];h=J[c+40>>2];s=J[c+56>>2];o=J[c+8>>2];i=J[c+24>>2];t=J[c+36>>2];p=J[c+52>>2];u=J[c+4>>2];j=J[c+20>>2];q=J[c+32>>2];l=J[c+48>>2];r=J[c>>2];m=J[c+16>>2];while(1)if((d|0)==10){J[c+48>>2]=l;J[c>>2]=r;J[c+16>>2]=m;J[c+32>>2]=q;J[c+20>>2]=j;J[c+52>>2]=p;J[c+4>>2]=u;J[c+36>>2]=t;J[c+24>>2]=i;J[c+56>>2]=s;J[c+8>>2]=o;J[c+40>>2]=h;J[c+28>>2]=g;J[c+60>>2]=k;J[c+12>>2]=n;J[c+44>>2]=e;d=0;while(1){if((d|0)!=16){g=d<<2;J[g+72872>>2]=J[g+72808>>2]+J[c+g>>2];d=d+1|0;continue}break}d=64;H[72936]=64;continue c}else{f=m;v=q;m=m+r|0;q=rJ(m^l,16);l=v+q|0;r=rJ(f^l,12);f=r;r=m+r|0;v=rJ(r^q,8);q=l+v|0;m=rJ(f^q,7);f=e;e=g+n|0;k=rJ(e^k,16);l=f+k|0;g=rJ(l^g,12);f=i;i=i+o|0;n=rJ(i^s,16);h=n+h|0;w=rJ(f^h,12);i=w+i|0;o=g+e|0;s=o+m|0;y=rJ(i^n,8);e=rJ(s^y,16);f=j;j=j+u|0;n=rJ(j^p,16);t=n+t|0;z=rJ(f^t,12);j=z+j|0;f=m;p=rJ(j^n,8);A=p+t|0;m=e+A|0;u=rJ(f^m,12);n=u+s|0;s=rJ(e^n,8);t=s+m|0;m=rJ(t^u,7);f=i;k=rJ(k^o,8);i=k+l|0;e=rJ(i^g,7);o=f+e|0;p=rJ(o^p,16);g=p+q|0;e=rJ(g^e,12);o=e+o|0;p=rJ(p^o,8);q=g+p|0;g=rJ(q^e,7);f=j;j=h+y|0;e=rJ(j^w,7);h=f+e|0;l=rJ(h^v,16);i=l+i|0;f=h;h=rJ(e^i,12);u=f+h|0;l=rJ(l^u,8);e=i+l|0;i=rJ(e^h,7);f=k;k=rJ(z^A,7);h=k+r|0;v=rJ(f^h,16);j=v+j|0;w=rJ(j^k,12);r=w+h|0;k=rJ(v^r,8);h=j+k|0;j=rJ(h^w,7);d=d+1|0;continue}}}Fa=x- -64|0}function DH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;b=Fa-368|0;Fa=b;h=J[J[a>>2]+20>>2];e=Wa(J[c>>2]);j=Wa(J[c+12>>2]);i=Wa(J[c+16>>2]);k=Wa(J[c+20>>2]);d=fb(J[c+24>>2]);if(!(!k|(!j|!i))){m=J[h+364>>2];J[h+364>>2]=0;ue(h);J[b+80>>2]=0;J[b+72>>2]=0;J[b+76>>2]=0;J[b+64>>2]=0;J[b+68>>2]=0;f=tc(h,i,e);J[b+56>>2]=0;J[b+48>>2]=0;J[b+52>>2]=0;J[b+76>>2]=f;J[b+44>>2]=94;J[b+40>>2]=95;J[b+60>>2]=b- -64;g=b+84|0;J[b+36>>2]=g;d=Vj(g,e,h,j,d);a:{if(d){break a}d=J[h+32>>2];f=d&67108864;b:{c:{e=J[b+332>>2];if(e){l=K[e+43|0];if((l|0)==2){if(f){break b}d=J[e+44>>2];J[b+28>>2]=0;J[b+32>>2]=0;J[b+20>>2]=0;J[b+24>>2]=0;J[b+12>>2]=0;J[b+16>>2]=0;J[b+4>>2]=0;J[b+8>>2]=0;J[b>>2]=g;J[d+4>>2]=J[d+4>>2]&-2097153;ae(g,J[e+44>>2],b);if(J[b+120>>2]){break c}$b(b+36|0,J[e+44>>2]);break b}d:{if(!(d&16384)&(f|0)!=0|(l|0)==1){break d}d=e+48|0;while(1){d=J[d>>2];if(!d){break d}g=J[d+8>>2];if(!Ub(g,i)){Qc(b+84|0,b- -64|0,g)}d=d+4|0;continue}}d=J[e>>2];if(Ub(i,d)){break b}J[b+76>>2]=e;i=b+84|0;g=b- -64|0;if(!f){dc(b+36|0,J[e+16>>2]);d=J[e>>2]}Qc(i,g,d);break b}d=J[b+336>>2];if(d){Qc(b+84|0,b- -64|0,J[d>>2]);if(f){break b}Eb(b+36|0,J[J[b+336>>2]+36>>2]);break b}e=J[b+340>>2];d=J[e+4>>2];if(!(Ub(d,i)|J[J[b+76>>2]+60>>2]!=J[e+24>>2])){Qc(b+84|0,b- -64|0,d)}if(f){break b}d=nm(b+84|0);if(d){break a}Eq(b+36|0,e);d=e+28|0;while(1){e=J[d>>2];if(!e){break b}d=J[e+12>>2];e:{if(!d){break e}if(Xa(d,i)){break e}Qc(b+84|0,b- -64|0,d)}d=0;f:{f=J[e+16>>2];if(!f){break f}while(1){if(J[f>>2]<=(d|0)){break f}g=J[((d<<6)+f|0)+16>>2];if(!Ub(g,i)){Qc(b+84|0,b- -64|0,g);f=J[e+16>>2]}d=d+1|0;continue}}d=e+40|0;continue}}d=J[b+96>>2];if(d){break a}}d=Dq(a,b- -64|0,j,k,1)}g:{h:{i:{switch(d|0){case 0:break g;case 1:break i;default:break h}}if((J[h+32>>2]&268435457)!=1){break h}ge(a,J[c+12>>2]);break g}if(J[b+88>>2]){Cq(a,30620,J[c+4>>2],J[c+8>>2],b+84|0);break g}Td(a,d)}Uj(b+84|0);mm(h,J[b+64>>2]);J[h+364>>2]=m}Fa=b+368|0}function Vo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Fa-112|0;Fa=e;H[a+177|0]=1;f=J[a+24>>2];J[e+100>>2]=0;J[e+96>>2]=25063;J[e+92>>2]=24095;k=(b|0)==1?9192:9211;J[e+88>>2]=k;J[e+84>>2]=k;J[e+80>>2]=14316;J[e+32>>2]=0;J[e+28>>2]=b;J[e+20>>2]=a;J[e+40>>2]=0;J[e+44>>2]=0;J[e+36>>2]=d;J[e+24>>2]=c;Jt(e+20|0,e,e+80|0,e);J[a+24>>2]=J[a+24>>2]&(f|-65);d=J[e+32>>2];a:{b:{if(d){break b}h=J[a+16>>2];i=h+(b<<4)|0;d=J[i+4>>2];if(!d){b=J[h+28>>2];I[b+78>>1]=L[b+78>>1]|1;d=0;break a}J[J[d+4>>2]+4>>2]=J[d>>2];c:{l=K[d+8|0];if(l){break c}d=tf(d,0,0);if(!d){break c}Hf(c,a,Th(d));break b}d=0;while(1){if((d|0)!=5){f=d+1|0;xh(J[i+4>>2],f,(e+48|0)+(d<<2)|0);d=f;continue}break}d:{if(!(K[a+35|0]&2)){j=J[e+48>>2];f=J[e+64>>2];break d}J[e- -64>>2]=0;J[e+56>>2]=0;J[e+60>>2]=0;J[e+48>>2]=0;J[e+52>>2]=0;f=0}g=(b<<4)+h|0;d=J[g+12>>2];J[d>>2]=j;e:{f:{if(!f){break f}g:{if(b){break g}j=J[a+24>>2];if(j&64){break g}d=f&3;f=d?d:1;if(!(j&4|J[a+184>>2]<=0)){d=6;if((f|0)!=K[a+84|0]){break e}}Yo(a,f);d=J[g+12>>2];break f}if(K[a+84|0]==(f&3)){break f}Hf(c,a,13553);d=1;break e}H[d+77|0]=K[a+84|0];if(!J[d+80>>2]){f=d;d=J[e+56>>2];d=(d|0)<0?(d|0)==-2147483648?2147483647:0-d|0:d;d=d?d:-2e3;J[f+80>>2]=d;Xi(J[i+4>>2],d);d=J[g+12>>2]}f=J[e+52>>2];H[d+76|0]=f;h:{g=f&255;if(!g){H[d+76|0]=1;break h}if(g>>>0<5){break h}Hf(c,a,3606);d=1;break e}if(!((f|0)<4|b)){d=J[a+36>>2];J[a+32>>2]=J[a+32>>2]&-3;J[a+36>>2]=d}J[e+44>>2]=J[J[J[i+4>>2]+4>>2]+48>>2];c=J[J[a+16>>2]+(b<<4)>>2];J[e+4>>2]=k;J[e>>2]=c;c=hb(a,15013,e);f=J[a+364>>2];J[a+364>>2]=0;d=Rd(a,c,4,e+20|0,0);J[a+364>>2]=f;f=J[e+32>>2];Ua(a,c);i:{j:{d=d?d:f;k:{if(!d){Kt(a,b);if(K[a+87|0]){break k}break i}if(!K[a+87|0]){break j}}sf(a);h=J[a+16>>2];d=7;break e}if(!(K[a+35|0]&8)|(d|0)==7){break e}}c=J[(J[a+16>>2]+(b<<4)|0)+12>>2];I[c+78>>1]=L[c+78>>1]|1;d=0}if(l){break b}ao(J[((b<<4)+h|0)+4>>2])}if(!d){break a}if(!((d|0)!=3082&(d|0)!=7)){Db(a)}gj(a,b)}H[a+177|0]=0;Fa=e+112|0;return d}function RI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Fa+-64|0;Fa=h;c=J[a+24>>2];i=J[c+8>>2];e=J[c+4>>2];g=J[c>>2];a:{b:{c:{d:{e:{f:{g:{d=K[b|0];switch(d-167|0){case 1:break c;case 0:case 2:break f;default:break g}}if((d|0)==179){break f}if(!(K[c+26|0]&2)){break e}c=J[g+72>>2];if(!c){break e}while(1){if(!c){break e}h:{a=J[c+4>>2];if((a|0)>=0){if(!Zb(0,b,J[c>>2],a)){break h}}c=J[c+20>>2];continue}break}if(K[b+7|0]&3){break e}a=0;d=J[e>>2];d=(d|0)>0?d:0;while(1){if((a|0)==(d|0)){break e}a=a+1|0;if(J[e+48>>2]!=J[c+4>>2]){continue}break}if(J[b+40>>2]){break e}d=2;if(J[g+36>>2]){break a}a=h+12|0;Sa(a,0,52);H[h+12|0]=169;J[h+40>>2]=J[c+8>>2];I[h+44>>1]=J[c+12>>2];tz(g,i,a);if(J[g+36>>2]){break a}a=I[h+46>>1];J[(J[i+20>>2]+(a<<4)|0)+4>>2]=b;I[b+34>>1]=a;J[b+40>>2]=i;break b}if(e){break d}}d=0;break a}d=0;a=J[e>>2];f=(a|0)>0?a:0;a=e+8|0;c=0;while(1){if((c|0)==(f|0)){break a}if(J[b+28>>2]==J[a+40>>2]){tz(g,i,b);break a}else{a=a- -64|0;c=c+1|0;continue}}}d=0;if(J[b+40>>2]|(K[c+26|0]&2|J[a+16>>2]!=K[b+2|0])){break a}e=i+36|0;a=J[i+32>>2];c=0;while(1){i:{d=J[e>>2];j:{if((d|0)<=(c|0)){break j}f=J[a>>2];if((f|0)==(b|0)){break j}if(Zb(0,f,b,-1)){break i}d=J[e>>2]}k:{if((c|0)<(d|0)){break k}a=J[g>>2];f=K[a+84|0];d=sz(a,J[i+32>>2],24,e,h+12|0);J[i+32>>2]=d;a=0;c=J[h+12>>2];if((c|0)<0){break k}J[d+P(c,24)>>2]=b;e=J[b+20>>2];if(e){a=J[e>>2]}e=d+P(c,24)|0;f=Ne(J[g>>2],J[b+8>>2],a,f,0);J[e+4>>2]=f;j=J[b+12>>2];l:{if(!(!j|K[f+4|0]&32)){f=J[g+40>>2];J[g+40>>2]=f+1;J[e+16>>2]=f;m:{n:{if((a|0)!=1){break n}a=J[j+20>>2];if(J[a>>2]!=1){break n}if(Zb(0,J[a+8>>2],J[J[b+20>>2]+8>>2],0)){break n}H[e+20|0]=0;H[e+21|0]=K[b+4|0]>>>2&1;break m}H[e+20|0]=1}H[(d+P(c,24)|0)+22|0]=J[J[e+4>>2]+4>>2]>>>20&1;break l}J[e+16>>2]=-1}a=-1;if(!(K[(d+P(c,24)|0)+21|0]|!(K[b+4|0]&4))){a=J[g+40>>2];J[g+40>>2]=a+1}J[(d+P(c,24)|0)+8>>2]=a}J[b+40>>2]=i;I[b+34>>1]=c;break b}a=a+24|0;c=c+1|0;continue}}d=1}Fa=h- -64|0;return d|0}function AF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=Fa-176|0;Fa=d;a:{if(Nl(a,4196,J[c>>2],d+28|0)){break a}e=J[d+28>>2];if(Ul(a,e)){break a}j=J[e>>2];m=J[J[j+36>>2]>>2];J[d+168>>2]=0;J[d+160>>2]=0;J[d+164>>2]=0;if(!J[e+16>>2]){lb(a,30620,0,0);break a}J[d+152>>2]=0;J[d+156>>2]=0;J[d+144>>2]=0;J[d+148>>2]=0;J[d+136>>2]=0;J[d+140>>2]=0;J[d+128>>2]=0;J[d+132>>2]=0;c=Ml(e,0,d+172|0);b:{if(c){break b}b=Be(P(J[d+172>>2],24),0);J[d+152>>2]=b;c:{if(!b){break c}b=J[e+36>>2];c=J[e+32>>2];J[d+128>>2]=e;J[d+144>>2]=c;J[d+148>>2]=b;b=0;while(1){if(J[j+24>>2]<=(b|0)){c=0;break b}J[d+116>>2]=0;J[d+112>>2]=0;J[d+108>>2]=0;J[d+136>>2]=0;J[d+132>>2]=b;J[d+104>>2]=0;c=dg(J[e+16>>2],120,d+128|0);if(c){break b}k=b+1|0;c=Oe(J[e+12>>2],k);f=Id(J[e+12>>2],k);d:{if(!c){if((Og(J[e+12>>2],k)|0)!=5){break c}break d}c=fg(J[j+36>>2],J[e+20>>2],c,f,d+124|0);if(c){break b}l=J[d+124>>2];c=Ja[J[m+20>>2]](l,d+120|0,d+116|0,d+112|0,d+108|0,d+104|0)|0;while(1){f=J[d+172>>2];p=(f|0)>0?f:0;q=J[d+152>>2];e:{while(1){if(c){break e}c=0;g=2147483647;h=0;while(1){if((c|0)!=(p|0)){f=P(c,24)+q|0;if(J[f>>2]){n=J[f+8>>2];o=J[f+16>>2];i=n-o|0;r=i;s=g;t=g>>>0>i>>>0;i=J[f+12>>2]-(J[f+20>>2]+(n>>>0<o>>>0)|0)|0;g=g>>31;i=t&(i|0)<=(g|0)|(g|0)>(i|0);g=i?r:s;h=i?f:h}c=c+1|0;continue}break}c=101;if(!h){continue}break}f:{if(K[J[h>>2]]<=1){J[h>>2]=0;break f}Ej(h,h+8|0)}c=0;l=J[d+124>>2];while(1){if(!(J[d+104>>2]>=(g|0)|c)){c=Ja[J[m+20>>2]](l,d+120|0,d+116|0,d+112|0,d+108|0,d+104|0)|0;continue}break}if(!c){J[d>>2]=b;c=J[d+112>>2];J[d+8>>2]=c;J[d+12>>2]=J[d+108>>2]-c;J[d+4>>2]=(h-J[d+152>>2]|0)/24;c=cg(d+160|0,wd(64,d+32|0,30030,d),-1);continue}if((c|0)!=101){continue}c=J[j+40>>2]?101:267;continue}break}Ja[J[m+16>>2]](l)|0;if((c|0)!=101){break b}}b=k;continue}}c=7}Oa(J[d+152>>2]);Se(j);if(c){Td(a,c);Oa(J[d+160>>2]);break a}lb(a,J[d+160>>2],J[d+164>>2]-1|0,1)}Fa=d+176|0}function vG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=J[a+56>>2]+((b>>>0)%M[a+52>>2]<<2)|0;a:{b:{while(1){d=J[d>>2];if(!d){break b}if(J[d+8>>2]!=(b|0)){d=d+16|0;continue}break}if(!J[d+24>>2]){break a}return $l(d)|0}if(!c){return 0}h=b;b=0;d=J[a>>2];c:{d:{if((c|0)!=1){break d}e=J[a+48>>2]-J[a+44>>2]|0;if(e>>>0>=M[d+12>>2]|e>>>0>=M[a+32>>2]){break c}if(!Ay(a)){break d}if(e>>>0>M[a+44>>2]){break c}}if(M[a+48>>2]>=M[a+52>>2]){Dy(a)}e:{f:{g:{if(!J[a+20>>2]){break g}b=J[d+48>>2];if(L[b+14>>1]){break g}if(M[a+28>>2]>J[a+48>>2]+1>>>0){if(!Ay(a)){break g}b=J[d+48>>2]}jq(b,0);b=$l(b);f=J[b+20>>2];if(J[f+16>>2]==J[a+16>>2]){break f}iq(b)}h:{i:{b=J[a+60>>2];j:{if(b){break j}if(J[a+48>>2]){break i}b=J[18280];if(!b|M[a+28>>2]<3){break i}d=J[18291];if(d){Ja[d|0]();b=J[18280]}k:{if((b|0)>0){d=J[a+16>>2];f=d>>31;b=lJ(d,f,b,0);e=Ia;break k}d=J[a+16>>2];f=d>>31;e=b>>31<<10|b>>>22;g=b<<10;b=0-g|0;e=0-(e+((g|0)!=0)|0)|0}g=b;d=lJ(d,f,J[a+28>>2],0);f=d;d=b>>>0<d>>>0;b=Ia;d=d&(e|0)<=(b|0)|(b|0)>(e|0);d=Yb(d?g:f,d?e:b);J[a+64>>2]=d;b=J[18292];if(b){Ja[b|0]()}if(d){b=Ja[J[16455]](d)|0;f=J[a+16>>2];e=(b|0)/(f|0)|0;c=J[a+60>>2];g=J[a+8>>2];while(1){b=d+g|0;J[b+28>>2]=0;J[b+16>>2]=c;J[b+12>>2]=1;J[b>>2]=d;J[b+4>>2]=b+32;d=d+f|0;c=b;e=e-1|0;if(e){continue}break}break j}b=J[a+60>>2];if(!b){break i}}J[a+60>>2]=J[b+16>>2];c=b+16|0;break h}b=(c|0)!=1;l:{if(b){break l}c=J[18291];if(!c){break l}Ja[c|0]()}c=Wi(J[a+16>>2]);m:{if(b){break m}b=J[18292];if(!b){break m}Ja[b|0]()}b=0;if(!c){break c}b=c+J[a+8>>2]|0;J[b+12>>2]=0;J[b>>2]=c;J[b+4>>2]=b+32;c=b+28|0}J[c>>2]=0;d=1;e=J[a+4>>2];c=J[e>>2];break e}e=d+16|0;d=J[d+16>>2];c=J[a+20>>2]-J[f+20>>2]|0}J[e>>2]=c+d;J[a+48>>2]=J[a+48>>2]+1;c=J[a+52>>2];J[b+8>>2]=h;c=(h>>>0)%(c>>>0)<<2;d=J[c+J[a+56>>2]>>2];J[b+24>>2]=0;J[b+20>>2]=a;J[b+16>>2]=d;J[J[b+4>>2]>>2]=0;J[c+J[a+56>>2]>>2]=b;if(h>>>0<=M[a+36>>2]){break c}J[a+36>>2]=h}d=b}return d|0}function qz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=Fa-368|0;Fa=e;f=J[a+128>>2];l=f?f:a;g=l;f=g+136|0;a:{while(1){f=J[f>>2];if(f){if(J[f>>2]==(b|0)&J[f+12>>2]==(d|0)){break a}f=f+4|0;continue}break}f=0;i=J[a>>2];h=ib(i,24,0);b:{if(!h){break b}J[h+4>>2]=J[g+136>>2];J[g+136>>2]=h;j=ib(i,28,0);J[h+8>>2]=j;if(!j){break b}f=J[l+8>>2];J[j+24>>2]=J[f+232>>2];J[f+232>>2]=j;J[h+16>>2]=-1;J[h+20>>2]=-1;J[h+12>>2]=d;J[h>>2]=b;f=e+20|0;wm(f,i);J[e+332>>2]=0;J[e+336>>2]=0;J[e+324>>2]=0;J[e+328>>2]=0;J[e+316>>2]=0;J[e+320>>2]=0;J[e+308>>2]=0;J[e+312>>2]=0;J[e+152>>2]=c;J[e+148>>2]=l;J[e+304>>2]=f;J[e+280>>2]=J[b>>2];H[e+178|0]=K[b+8|0];I[e+176>>1]=L[a+156>>1];H[e+45|0]=K[a+25|0];k=rb(f);c:{if(k){c=J[b>>2];if(c){J[e+16>>2]=c;Sd(k,-1,hb(i,7378,e+16|0),-6)}c=J[b+12>>2];if(c){c=eb(i,c,0);d:{if(K[i+87|0]){break d}if(Yc(e+304|0,c)){break d}m=J[e+76>>2]-1|0;J[e+76>>2]=m;rc(e+20|0,c,m,16)}_a(i,c)}i=d&255;f=b+28|0;g=J[e+20>>2];n=J[e+28>>2];o=(d|0)!=11;while(1){d=J[f>>2];if(d){H[e+180|0]=o?i:K[d+1|0];c=J[d+36>>2];if(c){J[e>>2]=c;$a(n,184,2147483647,1,0,hb(g,8821,e),-6)}e:{f:{switch(K[d|0]-127|0){case 2:c=e+20|0;f=rm(c,d);tn(c,f,kc(g,J[d+24>>2],0),eb(g,J[d+20>>2],0),K[e+180|0],0);Hb(n,131);break e;case 0:c=e+20|0;f=rm(c,d);vn(c,f,Pd(g,J[d+8>>2],0),xA(g,J[d+28>>2]),K[e+180|0],mz(g,J[d+32>>2]));Hb(n,131);break e;case 1:c=e+20|0;f=rm(c,d);sn(c,f,eb(g,J[d+20>>2],0));Hb(n,131);break e;default:break f}}c=Pd(g,J[d+8>>2],0);H[e+340|0]=4;J[e+360>>2]=0;J[e+352>>2]=0;J[e+356>>2]=0;J[e+344>>2]=0;J[e+348>>2]=0;Gc(e+20|0,c,e+340|0);ac(g,c)}f=d+40|0;continue}break}if(m){cb(k,m)}Hb(k,70);lz(a,e+20|0);if(!J[a+36>>2]){c=J[k+104>>2];Uv(k,l+104|0);J[j+4>>2]=J[k+108>>2];J[k+104>>2]=0;J[j>>2]=c}J[j+8>>2]=J[e+64>>2];c=J[e+60>>2];J[j+20>>2]=b;J[j+12>>2]=c;J[h+16>>2]=J[e+168>>2];J[h+20>>2]=J[e+172>>2];so(k);break c}lz(a,e+20|0)}ji(e+20|0);f=h}J[J[a>>2]+68>>2]=-1}Fa=e+368|0;return f}function Zv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=Fa-16|0;Fa=o;J[a+128>>2]=J[b+236>>2];J[b+236>>2]=0;s=I[b+216>>1];p=J[a>>2];c=J[b+44>>2];q=J[b+40>>2];J[o+12>>2]=J[b+104>>2];h=J[a+104>>2];f=J[b+48>>2];d=J[a+108>>2];Uv(a,o+12|0);j=P(d,20)+7&-8;f=f-j&-8;c=c+q|0;l=(!q&(c|0)>0)+c|0;c=L[a+152>>1]&-33|(K[b+20|0]?(K[b+21|0]!=0)<<5:0);I[a+152>>1]=c;b=K[b+219|0];if(b){b=b<<2&12;I[a+144>>1]=b^12;l=(l|0)<=10?10:l;c=b|c&-13}I[a+152>>1]=c&65532;c=f;m=P(l,40);d=c-m|0;e=c>>31;g=e-(c>>>0<m>>>0)|0;b=h+j|0;k=c>>>0<m>>>0&(e|0)<=0|(e|0)<0;J[a+88>>2]=k?0:d+b|0;c=k?c:d;f=P(s,40);d=c-f|0;e=k?e:g;h=e-(c>>>0<f>>>0)|0;r=c>>>0<f>>>0&(e|0)<=0|(e|0)<0;J[a+100>>2]=r?0:b+d|0;c=r?c:d;d=r?e:h;e=0;h=(J[o+12>>2]<<2)+7|0;e=h>>>0<7?1:e;h=h&-8;i=c-h|0;j=e&1;e=j;g=c>>>0<h>>>0;n=d-(e+g|0)|0;g=(d|0)<=(e|0)&g|(d|0)<(e|0);J[a+92>>2]=g?0:b+i|0;c=g?c:i;e=g?d:n;d=0;t=q<<2;i=t+7|0;d=i>>>0<7?1:d;i=i&-8;u=(c-i|0)+b|0;n=d&1;d=n;b=c>>>0<i>>>0&(d|0)>=(e|0)|(d|0)>(e|0);J[a+96>>2]=b?0:u;d=k?m:0;c=d+(r?f:0)|0;e=0;e=c>>>0<d>>>0?e+1|0:e;k=g?h:0;c=k+c|0;d=(g?j:0)+e|0;d=(c>>>0<k>>>0?d+1|0:d)+(b?n:0)|0;a:{b:{e=b?i:0;c=e+c|0;d=c>>>0<e>>>0?d+1|0:d;c:{if(c|d){e=Ib(p,c,d);J[a+212>>2]=e;if(K[p+87|0]){break c}b=J[a+88>>2];d:{if(b){break d}b=0;g=c>>>0<m>>>0;if(g&!d){break d}d=d-g|0;c=c-m|0;b=c+e|0}J[a+88>>2]=b;b=J[a+100>>2];e:{if(b){break e}b=0;if(c>>>0<f>>>0&(d|0)<=0|(d|0)<0){break e}d=d-(c>>>0<f>>>0)|0;c=c-f|0;b=c+e|0}J[a+100>>2]=b;b=J[a+92>>2];f:{if(b){break f}b=0;f=c>>>0<h>>>0;if(f&(d|0)<=(j|0)|(d|0)<(j|0)){break f}d=d-(f+j|0)|0;c=c-h|0;b=c+e|0}J[a+92>>2]=b;b=J[a+96>>2];g:{if(b){break g}b=0;if(c>>>0<i>>>0&(d|0)<=(n|0)|(d|0)<(n|0)){break g}b=(c-i|0)+e|0}J[a+96>>2]=b;break b}if(!K[p+87|0]){break b}}I[a+16>>1]=0;J[a+20>>2]=0;J[a+24>>2]=0;break a}I[a+16>>1]=s;J[a+24>>2]=q;fp(J[a+100>>2],s,p,1);J[a+20>>2]=l;fp(J[a+88>>2],l,p,0);Sa(J[a+96>>2],0,t)}Ow(a);Fa=o+16|0}function Or(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=J[a>>2];c=J[a+8>>2];a:{f=J[a+4>>2];if(J[f+88>>2]){b=J[f+12>>2];if(b){d=J[b>>2]}g=J[f+60>>2];b=J[e+56>>2];j=b-2|0;J[e+56>>2]=j;h=vb(e);i=vb(e);if(d){l=ic(e,d);m=ic(e,d)}k=b-1|0;Na(c,135,J[f+48>>2],h);Yj(a,J[f+48>>2],l);b=f;while(1){if(b){Na(c,75,0,J[b+52>>2]);b=J[b+36>>2];continue}break}Pa(c,23,g,j,J[f+88>>2]);o=J[c+108>>2];Na(c,135,g,i);Pa(c,54,J[f+92>>2],j,i);b=K[f+20|0];b:{if((b|0)==66){break b}if((b|0)==85){Pa(c,53,h,k,i);break b}j=0;p=J[f+12>>2];if(p){n=Ie(e,p,0,0);b=K[f+20|0]}if((b&255)==94){j=Pa(c,53,h,0,i)}c:{if(n){Yj(a,g,m);Pa(c,90,m,l,d);sc(c,n,-8);b=J[c+108>>2]+1|0;Pa(c,14,b,k,b);break c}Na(c,9,0,k)}if(!j){break b}n=J[c+108>>2];J[(K[J[c>>2]+87|0]?73192:J[c+104>>2]+P(j,20)|0)+8>>2]=n}Oq(a,f,g,0,J[a+20>>2]);cb(c,k);Na(c,39,g,o);b=J[c+108>>2];d:{if(K[J[c>>2]+87|0]){J[18300]=b;f=73192;break d}f=J[c+104>>2]+P(o,20)|0;J[f-12>>2]=b;f=f+20|0}J[f+8>>2]=b;mb(e,i);mb(e,h);if(d){Oc(e,m,d);Oc(e,l,d)}en(a,1);break a}b=f;while(1){if(!b){break a}h=J[b+44>>2];d=J[h+32>>2];e:{f:{if(!((d|0)!=50064&(d|0)!=50074)){i=J[b+60>>2];g=J[e+56>>2]-1|0;J[e+56>>2]=g;d=vb(e);Na(c,75,0,J[b+56>>2]);g:{if(J[h+32>>2]==50064){Pa(c,94,J[f+48>>2],J[b+80>>2]+1|0,d);fn(e,d,2);break g}Na(c,71,1,d)}Pa(c,106,d,J[b+64>>2],d);Pa(c,54,J[b+64>>2]+1|0,g,d);Pa(c,30,i,0,d);Pa(c,94,i,J[b+80>>2],J[b+56>>2]);break f}if((d|0)!=49834&(d|0)!=49839){break e}k=J[b+60>>2];l=J[J[J[b+72>>2]+20>>2]>>2];g=J[e+56>>2]-1|0;J[e+56>>2]=g;d=vb(e);i=J[f+48>>2];h:{if((l|0)<=2){Na(c,75,0,J[b+56>>2]);break h}Pa(c,94,i,J[b+80>>2]+2|0,J[b+56>>2])}Na(c,135,i,d);m=J[h+32>>2];i:{if((l|0)<=1){Na(c,86,d,(m|0)==49834?1:-1);break i}h=vb(e);Pa(c,94,i,J[b+80>>2]+1|0,h);Pa(c,(m|0)==49834?106:107,h,d,d);mb(e,h)}Pa(c,30,k,g,d);Pa(c,94,k,J[b+80>>2],J[b+56>>2])}cb(c,g);mb(e,d)}b=J[b+36>>2];continue}}Na(c,10,J[a+16>>2],J[a+12>>2])}function uq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;f=Fa-32|0;Fa=f;J[f+28>>2]=0;J[f+24>>2]=0;J[f+20>>2]=0;a:{b:{c:{e=J[c>>2]+d|0;d:{if((K[e|0]&15)!=12){k=c;c=f+28|0;d=Wb(k,d,c);g=J[f+28>>2];J[f+28>>2]=0;Te(a,b,Wb(a,b,c)+J[f+28>>2]|0,e,d+g|0);w=a+35|0;break d}if((K[J[a>>2]+b|0]&15)!=12){Te(a,Wb(a,b,f+28|0)+b|0,J[f+28>>2],0,0);e=J[a>>2]+b|0;H[e|0]=K[e|0]&240|12}e=f+28|0;g=Wb(c,d,e);if(!g){break b}l=J[f+28>>2];e=Wb(a,b,e);if(!e){h=1;break a}m=d+g|0;o=l+m|0;w=a+35|0;k=b+e|0;D=k+J[f+28>>2]|0;l=0;while(1){g=m;if(o>>>0>g>>>0){d=K[J[c>>2]+g|0]&15;if(d-11>>>0<4294967292){break b}p=Wb(c,g,f+16|0);if(!p){break b}q=J[f+16>>2];x=g+p|0;j=q+x|0;if(o>>>0<=j>>>0){break b}r=Wb(c,j,f+12|0);if(!r){break b}y=J[f+12>>2];m=y+(j+r|0)|0;if(m>>>0>o>>>0){break b}E=(d|0)==7|(d|0)==10;i=J[a+40>>2]+D|0;e=k;while(1){d=e;z=d>>>0>=i>>>0;if(!z){h=1;A=J[a>>2];s=K[d+A|0]&15;if(s-11>>>0<4294967292){break a}t=Wb(a,d,f+24|0);if(!t){break a}u=J[f+24>>2];B=d+t|0;n=u+B|0;if(n>>>0>=i>>>0){break a}v=Wb(a,n,f+20|0);if(!v){break a}C=J[f+20>>2];e=C+(n+v|0)|0;if(i>>>0<e>>>0){break a}l=d;if(!Ky(J[c>>2]+x|0,q,E,A+B|0,u,(s|0)==7|(s|0)==10)){continue}}break}e=K[J[c>>2]+j|0]&15;if(!z){if(!e){Te(a,l,((t+v|0)+u|0)+C|0,0,0);h=3;if(!K[a+35|0]){continue}break a}d=J[a+40>>2];J[a+40>>2]=0;h=uq(a,n,c,j);if(h){break a}J[a+40>>2]=d+J[a+40>>2];continue}if(!e){continue}d=p+q|0;if((e|0)!=12){e=r+y|0;Te(a,i,0,0,e+d|0);if(K[a+35|0]){break c}Qa(J[a>>2]+i|0,J[c>>2]+g|0,d);Qa(d+(J[a>>2]+i|0)|0,J[c>>2]+j|0,e);continue}Te(a,i,0,0,d+1|0);if(K[a+35|0]){break c}Qa(J[a>>2]+i|0,J[c>>2]+g|0,d);d=d+i|0;H[d+J[a>>2]|0]=0;e=J[a+40>>2];J[a+40>>2]=0;h=uq(a,d,c,j);if(h){break a}J[a+40>>2]=e+J[a+40>>2];continue}break}if(!J[a+40>>2]){break d}sq(a,b)}h=K[w|0]?3:0;break a}h=3;break a}h=2}Fa=f+32|0;return h}function Pv(a,b,c,d,e,f,g){var h=0,i=0;h=Fa-320|0;Fa=h;Sa(h+36|0,0,160);Sa(h+240|0,0,76);J[h+228>>2]=J[a+264>>2];J[a+264>>2]=h+32;J[h+32>>2]=a;if(e){J[h+272>>2]=e;H[h+251|0]=K[e+152|0]>>>2&3}a:{if(K[a+87|0]){Ra(h+32|0,1150,0);i=7;J[a+64>>2]=7;break a}if(d&1){H[h+56|0]=1;I[a+308>>1]=0;J[a+304>>2]=J[a+304>>2]+1}H[h+57|0]=d;b:{if(K[a+95|0]){break b}e=0;while(1){if(J[a+20>>2]<=(e|0)){break b}c:{i=J[(J[a+16>>2]+(e<<4)|0)+4>>2];if(!i){break c}J[J[i+4>>2]+4>>2]=J[i>>2];i=Bo(i,1,1);if(!i){break c}J[h>>2]=J[J[a+16>>2]+(e<<4)>>2];Zd(a,i,8721,h);break a}e=e+1|0;continue}}if(J[a+412>>2]){lm(a)}d:{e:{f:{g:{if(!((c|0)<0|(K[(b+c|0)-1|0]?0:c))){if(J[a+124>>2]<(c|0)){break f}e=yd(a,b,c,0);if(e){ej(h+32|0,e);J[h+276>>2]=(J[h+276>>2]-e|0)+b;Za(a,e);break g}J[h+276>>2]=b+c;break g}ej(h+32|0,b)}if(g){J[g>>2]=J[h+276>>2]}h:{if(K[a+177|0]){break h}c=J[h+40>>2];if(!c){break h}e=J[h+276>>2]-b|0;H[c+150|0]=d;if(d<<24>>24>=0){J[c+228>>2]=0}J[c+200>>2]=yd(J[c>>2],b,e,e>>31)}i:{j:{if(K[a+87|0]){H[h+49|0]=0;J[h+44>>2]=7;break j}b=J[h+44>>2];if(!b|(b|0)==101){break i}}if(K[a+177|0]|!K[h+49|0]){break e}b=J[h+32>>2];e=0;while(1){if(J[b+20>>2]<=(e|0)){break e}f=e<<4;c=J[(f+J[b+16>>2]|0)+4>>2];k:{if(!c){break k}l:{g=K[c+8|0];if(g){break l}d=tf(c,0,0);if(!d){break l}if((d|0)!=3082&(d|0)!=7){break e}Db(b);J[h+44>>2]=7;break e}xh(c,1,h+316|0);d=J[(f+J[b+16>>2]|0)+12>>2];if(J[h+316>>2]!=J[d>>2]){if(H[d+78|0]&1){J[h+44>>2]=17}gj(b,e)}if(g){break k}ao(c)}e=e+1|0;continue}}J[f>>2]=J[h+40>>2];J[a+64>>2]=0;J[a+68>>2]=-1;i=0;b=J[a+288>>2];if(!b){break d}Rb(b);break d}Zd(a,18,12440,0);i=bd(a,18);break a}b=J[h+40>>2];if(b){kf(b)}i=J[h+44>>2];b=J[h+36>>2];if(b){J[h+16>>2]=b;Zd(a,i,8863,h+16|0);Ua(a,J[h+36>>2]);break d}Lc(a,i)}while(1){b=J[h+168>>2];if(!b){break a}J[h+168>>2]=J[b+4>>2];Za(a,b);continue}}ji(h+32|0);Fa=h+320|0;return i}function ni(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;m=Fa-192|0;Fa=m;u=(c|0)!=129;while(1){if(b){k=K[b+8|0];a:{if((k|0)!=(c|0)&(!K[b+10|0]|u|(k|0)!=127)|K[b+9|0]!=(e|0)){break a}if(!Lq(J[b+16>>2],d)){break a}if(!K[b+10|0]){pz(a,b,f,g,h,i);break a}if(J[a+128>>2]|!K[a+159|0]){break a}q=J[a+144>>2];if((q+8|0)!=(b|0)){break a}s=J[a>>2];t=J[a+8>>2];k=m+116|0;Sa(k,0,76);j=m+40|0;Sa(j,0,72);J[m+144>>2]=kc(s,J[q+4>>2],0);J[m+88>>2]=-1;J[m+64>>2]=f;J[m+40>>2]=1;J[m+148>>2]=j;ae(a,k,0);if(!J[a+36>>2]){Ur(a,k)}kb(s,J[m+144>>2]);n=J[a>>2];r=J[q+4>>2];o=0;k=0;while(1){if((o|0)<J[r>>2]){l=r+(o<<4)|0;j=J[l+8>>2];b:{if(!j){break b}c:{p=K[j|0];if((p|0)!=180){if((p|0)!=141|K[J[j+16>>2]]!=180){break c}Ra(a,5941,0)}j=0;while(1){if(I[f+34>>1]<=(j|0)){break b}p=P(j,12);l=p+J[f+4>>2]|0;d:{if(K[l+10|0]&2){break d}k=Kb(a,k,jc(n,59,J[l>>2]));if(K[n+87|0]){break d}l=(J[k>>2]<<4)+k|0;J[l-4>>2]=Ob(n,J[p+J[f+4>>2]>>2]);p=(K[l+1|0]|K[l+2|0]<<8)&65532;H[l+1|0]=p;H[l+2|0]=p>>>8}j=j+1|0;continue}}k=Kb(a,k,eb(n,j,0));if(K[n+87|0]){break b}p=J[l+12>>2];if(!p){break b}j=(J[k>>2]<<4)+k|0;J[j-4>>2]=Ob(n,p);l=(K[j+1|0]|K[j+2|0]<<8)&65532|(K[l+17|0]|K[l+18|0]<<8)&3;H[j+1|0]=l;H[j+2|0]=l>>>8}o=o+1|0;continue}break}e:{if(J[a+36>>2]){break e}Sa(m+4|0,0,36);if(!J[q+96>>2]){J[q+96>>2]=J[k>>2];j=J[a+40>>2];J[a+40>>2]=j+1;J[q+92>>2]=j}J[m+28>>2]=1024;J[m+12>>2]=g;J[m+4>>2]=a;j=K[b+8|0];J[a+132>>2]=f;H[a+158|0]=j;if(He(m+4|0,k)|K[s+87|0]){break e}o=J[k>>2];j=J[a+44>>2];J[a+44>>2]=(o+j|0)+2;n=j+1|0;J[q+100>>2]=n;j=0;o=(o|0)>0?o:0;while(1){if((j|0)!=(o|0)){l=J[((j<<4)+k|0)+8>>2];r=j+n|0;gk(a,l,r);if((mc(l)|0)==69){Va(t,87,r)}j=j+1|0;continue}break}j=n+o|0;Pa(t,97,n,o,j);n=j+1|0;Na(t,127,J[q+92>>2],n);Pa(t,128,J[q+92>>2],j,n)}kb(s,k);J[a+132>>2]=0;H[a+158|0]=0}b=J[b+32>>2];continue}break}Fa=m+192|0}function Ox(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=Fa-32|0;Fa=g;a:{m=J[a>>2];if(J[m+40>>2]){break a}p=(d|0)>0?d:0;d=0;while(1){if((d|0)!=(p|0)){e=P(d,24)+c|0;if(J[e+12>>2]==(b|0)){n=n+1|0;f=J[e+16>>2]+f|0}d=d+1|0;continue}break}e=0;if(!f|(n|0)<2){break a}j=J[a+60>>2];b:{if(j){break b}J[g+16>>2]=0;J[g+20>>2]=0;J[g+8>>2]=0;J[g+12>>2]=0;c:{e=wx(m,g+28|0);if(!e){i=J[g+28>>2];d=Pe(i,0);d:{if(!d){break d}f=Id(i,0)+d|0;d=Rl(d,f,g+16|0)+d|0;while(1){if(d>>>0<f>>>0){d=Rl(d,f,g+8|0)+d|0;continue}break}f=J[g+20>>2];h=f;d=J[g+16>>2];if(!(f|d)){break d}e=J[g+8>>2];j=J[g+12>>2];if(e|j){break c}}jb(i);e=267}j=0;break b}J[a+64>>2]=d;J[a+68>>2]=h;f=J[m+244>>2];h=mJ(e,j,d,h);e=f+h|0;j=f>>31;d=j+Ia|0;J[a+60>>2]=mJ(e,e>>>0<h>>>0?d+1|0:d,f,j);e=jb(i);j=J[a+60>>2]}q=n-1|0;i=1;while(1){if((k|0)>=(n|0)){break a}d=0;f=0;if(e){break a}while(1){if((d|0)!=(p|0)){h=P(d,24);e=h+c|0;e:{if(!J[e+8>>2]){break e}h=c+h|0;if(J[h+12>>2]!=(b|0)|(J[h+16>>2]>=J[f+16>>2]?f:0)){break e}f=e}d=d+1|0;continue}break}f:{g:{if(!k){i=i<<2;break g}d=(i|0)/4|0;if(J[f+16>>2]>=(P(((d+o|0)-1|0)/(d|0)|0,j)|0)){e=J[f+20>>2];h=J[f+8>>2];d=pb(16,0);if(d){J[d+4>>2]=0;J[d+8>>2]=0;J[d>>2]=h;J[d+12>>2]=0;l=J[a+28>>2];J[d+4>>2]=e;J[d+8>>2]=l;J[a+28>>2]=d;J[h+16>>2]=d;e=0}else{e=7}Mp(J[h+20>>2]);J[h+20>>2]=0;break f}i=k>>>0<12?i<<2:i;e=0;if((k|0)==(q|0)|J[J[f>>2]+64>>2]<2){break f}}d=J[f+8>>2];J[g+8>>2]=0;J[g+28>>2]=0;e=vx(m,d,J[f+20>>2],g+8|0,g+28|0);if(e){break f}e=ux(m,J[f>>2],J[f+4>>2],J[g+28>>2],J[g+8>>2]);if(e){break f}e=0;h=0;h:{l=J[f>>2];d=J[l>>2];if(!d){break h}l=J[l+4>>2]+d|0;while(1){if(d>>>0>=l>>>0){break h}while(1){r=H[d|0];d=d+1|0;if((r|0)<0){continue}break}J[g+16>>2]=d;me(0,g+16|0);h=h+1|0;d=J[g+16>>2];continue}}o=k?(h|0)<(o|0)?h:o:h}J[f+8>>2]=0;k=k+1|0;continue}}Fa=g+32|0;return e}function Kj(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=Fa-16|0;Fa=h;a:{if(K[a+17|0]<=1){e=0;if(K[a+18|0]<2){break a}}Fu(a);g=J[a+68>>2];f=J[g>>2];b:{if(!f){break b}if((f|0)==33112){Ou(g);J[g>>2]=0;break b}c:{d:{e:{f:{g:{h:{d=K[a+5|0];switch(d-1|0){case 2:break h;case 0:break f;default:break g}}if(!(J[a+80>>2]|J[a+84>>2])){break d}d=Ja[J[f+16>>2]](g,0,0)|0;if(d){break c}if(!K[a+8|0]){break d}d=0;b=K[a+10|0];if(!b){break c}d=J[a+68>>2];d=Ja[J[J[d>>2]+20>>2]](d,b)|0;break c}if(!K[a+4|0]|(d|0)==5){break e}}d=1;d=b?d:K[a+12|0]!=0;i:{if(!(J[a+80>>2]|J[a+84>>2])){d=0;break i}e=J[a+176>>2];b=J[a+180>>2];j:{if((!(e|b)|d)==1){d=Ja[J[f+16>>2]](g,0,0)|0;break j}d=Ja[J[f+12>>2]](g,33200,28,0,0)|0}if(d){break i}d=0;if(!K[a+7|0]){d=J[a+68>>2];d=Ja[J[J[d>>2]+20>>2]](d,K[a+10|0]|16)|0}if(!e&(b|0)<=0|(b|0)<0|d){break i}d=J[a+68>>2];d=Ja[J[J[d>>2]+24>>2]](d,h+8|0)|0;if(d){break i}d=0;f=J[h+12>>2];if((b|0)>=(f|0)&e>>>0>=M[h+8>>2]|(b|0)>(f|0)){break i}d=J[a+68>>2];d=Ja[J[J[d>>2]+16>>2]](d,e,b)|0}J[a+80>>2]=0;J[a+84>>2]=0;break b}b=K[a+12|0];Ja[J[f+4>>2]](g)|0;d=0;J[g>>2]=0;if(b){break b}b=J[a>>2];e=J[b+28>>2];if(!e){break b}d=Ja[e|0](b,J[a+188>>2],K[a+9|0])|0;break b}d=0}J[a+80>>2]=0;J[a+84>>2]=0}Rf(J[a+60>>2]);J[a+48>>2]=0;J[a+60>>2]=0;if(!d){k:{l:{if(!K[a+15|0]){if(!Ry(a,c)){break l}}rq(J[a+228>>2]);e=J[a+228>>2];break k}e=J[a+228>>2];b=e;while(1){b=J[b>>2];if(b){I[b+28>>1]=L[b+28>>1]&65523;b=b+40|0;continue}break}J[e+8>>2]=J[e+4>>2]}Eu(e,J[a+28>>2])}b=J[a+232>>2];m:{if(b){Ho(b);break m}if(!c|d){break m}d=0;b=J[a+28>>2];if(b>>>0>=M[a+36>>2]){break m}d=cq(a,b)}n:{if(!c|d){break n}b=J[a+64>>2];c=J[b>>2];if(c){d=Ja[J[c+40>>2]](b,22,0)|0;if((d|0)!=12){break n}}d=0}b=0;o:{if(K[a+4|0]){break o}c=J[a+232>>2];if(c){b=0;if(!Du(c,0)){break o}}b=Fg(a,1)}H[a+20|0]=0;H[a+17|0]=1;e=d?d:b}Fa=h+16|0;return e}function cA(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=Fa-608|0;Fa=f;k=J[a>>2];m=J[a+4>>2];l=J[m+24>>2];g=J[m+12>>2];j=J[a+8>>2];Sa(f+112|0,0,56);a:{p=(J[k+4>>2]+8|0)+(K[j+16|0]<<6)|0;if(K[p+36|0]&16){break a}s=J[p+40>>2];t=P(g,48)+l|0;u=f+8|0;v=f- -64|0;q=f+120|0;while(1){if(l>>>0>=t>>>0|h){break a}h=0;b:{if(!(K[l+13|0]&2)){break b}g=J[l+24>>2];if(!(J[j+8>>2]&J[g+416>>2]|J[j+12>>2]&J[g+420>>2])){break b}k=J[g+24>>2];g=J[g+12>>2];i=J[a+12>>2];J[f+176>>2]=J[a+8>>2];J[f+180>>2]=i;i=J[a+20>>2];J[f+184>>2]=J[a+16>>2];J[f+188>>2]=i;i=J[a+4>>2];J[f+168>>2]=J[a>>2];J[f+172>>2]=i;w=P(g,48)+k|0;J[f+180>>2]=f+56;g=1;while(1){c:{d:{e:{if(k>>>0<w>>>0){if(K[k+13|0]&4){h=J[k+24>>2]}else{if(J[k+20>>2]!=(s|0)){break c}h=J[m>>2];J[f+216>>2]=k;J[f+212>>2]=1;J[f+204>>2]=1;H[f+200|0]=44;J[f+196>>2]=m;J[f+192>>2]=h;h=f+192|0}I[f+56>>1]=0;J[f+172>>2]=h;f:{if(K[J[p+16>>2]+43|0]==1){h=eA(f+168|0,b,c,d,e);break f}h=dA(f+168|0,b,c)}if(!h){h=cA(f+168|0,b,c,d,e)}i=L[f+56>>1];if(!i){I[f+112>>1]=0;k=0;break e}if(g){I[f+112>>1]=i;Qa(q,v,i<<4);break d}r=L[f+112>>1];Qa(u,q,r<<4);n=0;I[f+112>>1]=0;while(1){if((n|0)==(r|0)){break d}o=(n<<4)+f|0;g=0;while(1){if(g>>>0<i>>>0){i=(f+56|0)+(g<<4)|0;Bz(f+112|0,J[i+8>>2]|J[o+8>>2],J[i+12>>2]|J[o+12>>2],_d(I[o+16>>1],I[i+16>>1]),_d(I[o+18>>1],I[i+18>>1]));g=g+1|0;i=L[f+56>>1];continue}break}n=n+1|0;continue}}k=L[f+112>>1]}I[j+44>>1]=1;J[J[j+52>>2]>>2]=l;g=0;I[j+18>>1]=0;J[j+40>>2]=8192;H[j+17|0]=0;J[j+32>>2]=0;J[j+36>>2]=0;J[j+24>>2]=0;J[j+28>>2]=0;while(1){if(g>>>0>=k>>>0|h){break b}h=(f+112|0)+(g<<4)|0;I[j+20>>1]=L[h+16>>1]+1;I[j+22>>1]=L[h+18>>1];i=J[h+12>>2];J[j>>2]=J[h+8>>2];J[j+4>>2]=i;g=g+1|0;h=Zj(a,j);continue}}g=0}k=k+48|0;continue}}l=l+48|0;continue}}Fa=f+608|0;return h}function Zb(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;j=Fa-16|0;Fa=j;a:{if(!(c?b:0)){e=((b|0)!=(c|0))<<1;break a}b:{if(!a|K[b|0]!=156){break b}J[j+12>>2]=0;dj(J[a>>2],c,1,65,j+12|0);g=J[j+12>>2];if(!g){break b}e=J[a+8>>2];i=e;h=J[e+228>>2];e=I[b+32>>1];J[i+228>>2]=h|((e|0)>31?-2147483648:1<<e-1);e=IA(J[a+240>>2],e);if(e){h=L[e+16>>1];f=h&31;if((h&63)>>>0>=32){i=262144>>>f|0}else{i=((1<<f)-1&262144)<<32-f|262148>>>f}if(i&1){Wa(e)}f=!zh(e,g,0)}Pc(g);Pc(e);e=0;if(f){break a}}e=J[c+4>>2];f=J[b+4>>2];g=e|f;if(g&2048){if(e&f&2048){e=0;if(J[b+8>>2]==J[c+8>>2]){break a}}e=2;break a}f=K[b|0];e=K[c|0];if(!((f|0)!=71&(e|0)==(f|0))){if((f|0)==113){e=1;if(Zb(a,J[b+12>>2],c,d)>>>0<2){break a}e=K[c|0]}if((e|0)==113){e=1;if(Zb(a,b,J[c+12>>2],d)>>>0<2){break a}}e=2;if(K[b|0]!=169|K[c|0]!=167|J[c+28>>2]>=0){break a}f=169;if(J[b+28>>2]!=(d|0)){break a}}h=J[b+8>>2];c:{if(!h){break c}d:{e:{f:{switch(f-168|0){default:if((f|0)==113){break e}e=0;if((f|0)==121){break a}case 1:case 2:case 3:i=J[c+8>>2];if(!i){break c}switch(f-167|0){case 0:case 2:break c;default:break d};case 0:case 4:break f}}e=2;if(Xa(h,J[c+8>>2])){break a}f=J[b+4>>2]&16777216;if((H[c+7|0]&1)!=(f>>>24|0)){break a}if(!f){break c}if(!HA(a,J[b+44>>2],J[c+44>>2],1)){break c}break a}e=2;if(!Ub(h,J[c+8>>2])){break c}break a}e=2;if(Kc(h,i)){break a}}e=2;if((J[c+4>>2]^J[b+4>>2])&1028){break a}g:{if(g&65536){break g}if(g&4096){break a}if(!(g&32)){if(Zb(a,J[b+12>>2],J[c+12>>2],d)){break a}}if(Zb(a,J[b+16>>2],J[c+16>>2],d)){break a}if(Bf(J[b+20>>2],J[c+20>>2],d)){break a}a=K[b|0];if(g&16384|((a|0)==117|(a|0)==170)){break g}if((a|0)==175&K[b+2|0]!=K[c+2|0]|L[b+32>>1]!=L[c+32>>1]){break a}if((a|0)==49){break g}a=J[b+28>>2];if((a|0)==(d|0)){break g}if((a|0)!=J[c+28>>2]){break a}}e=0}Fa=j+16|0;return e}function gC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=Fa-32|0;Fa=h;m=J[a+8>>2];l=(m|0)<=0;f=m;i=e+(c>>31)|0;a:{b:{c:{g=c+d|0;i=g>>>0<d>>>0?i+1|0:i;if((i|0)<0){f=1}else{f=(i|0)<=0&f>>>0>=g>>>0}if(!(f|l)){l=J[a+16>>2];n=J[a+20>>2];o=J[a+12>>2];r=J[a+4>>2];v=J[a>>2];f=J[a+44>>2];J[h+24>>2]=J[a+40>>2];J[h+28>>2]=f;f=J[a+36>>2];J[h+16>>2]=J[a+32>>2];J[h+20>>2]=f;f=J[a+28>>2];J[h+8>>2]=J[a+24>>2];J[h+12>>2]=f;w=J[a+60>>2];s=J[a+48>>2];d:{p=J[a+52>>2];t=J[a+56>>2];g=Sa(a,0,64);j=Ja[J[p+24>>2]](p,t,g,s&17334143,0)|0;if(j){break d}f=r;a=o;while(1){if(!a){break c}i=l-k|0;j=(f>>31)+q|0;u=f+k|0;j=u>>>0<f>>>0?j+1|0:j;f=l>>>0<u>>>0&(j|0)>=(n|0)|(j|0)>(n|0)?i:f;j=Ja[J[J[g>>2]+12>>2]](g,a+4|0,f,k,q)|0;if(j){break d}i=(f>>31)+q|0;k=f+k|0;q=k>>>0<f>>>0?i+1|0:i;a=J[a>>2];continue}}a=J[g>>2];if(a){Ja[J[a+4>>2]](g)|0}J[g+16>>2]=l;J[g+20>>2]=n;J[g+12>>2]=o;J[g+8>>2]=m;J[g+4>>2]=r;J[g>>2]=v;b=J[h+28>>2];a=g+24|0;J[a+16>>2]=J[h+24>>2];J[a+20>>2]=b;b=J[h+20>>2];J[a+8>>2]=J[h+16>>2];J[a+12>>2]=b;b=J[h+12>>2];J[a>>2]=J[h+8>>2];J[a+4>>2]=b;J[g+60>>2]=w;J[g+56>>2]=t;J[g+52>>2]=p;J[g+48>>2]=s;break a}if(!!d&(e|0)>=0|(e|0)>0){if((d|0)==J[a+16>>2]&(e|0)==J[a+20>>2]){break b}Lo(a,d,e);break b}if(d|e){break b}d=J[a+12>>2];if(!d){break b}Qa(d+4|0,b,c);break a}Mo(o);j=Ja[J[J[g>>2]+12>>2]](g,b,c,d,e)|0;break a}k=a+12|0;while(1){if((c|0)<=0){break a}d=J[a+24>>2];i=J[a+4>>2];e=i;e=nJ(J[a+16>>2],J[a+20>>2],e,e>>31);e:{if(e){f=d;break e}f=gc(i+4|0);if(!f){j=3082;break a}J[f>>2]=0;J[(d?d:k)>>2]=f;J[a+24>>2]=f}d=i-e|0;d=(c|0)<(d|0)?c:d;Qa((e+f|0)+4|0,b,d);e=J[a+20>>2]+(d>>31)|0;f=d+J[a+16>>2]|0;e=f>>>0<d>>>0?e+1|0:e;J[a+16>>2]=f;J[a+20>>2]=e;c=c-d|0;b=b+d|0;continue}}Fa=h+32|0;return j|0}function bq(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Fa-32|0;Fa=h;j=H[d|0];a:{if((j|0)<0){lc(d,h+12|0);break a}J[h+12>>2]=j&255}i=267;b:{j=h+24|0;l=uc(d,j)+d|0;k=uc(l,j)+l|0;p=d+e|0;if(k>>>0>p>>>0){break b}l=g;e=0;j=0;m=f;while(1){c:{d:{if(k>>>0<p>>>0){if(!(l|m)){i=0;break d}i=0;J[h+16>>2]=0;e:{if(e&1){e=H[k|0];f:{if((e|0)<0){e=lc(k,h+16|0);i=J[h+16>>2];break f}i=e&255;J[h+16>>2]=i;e=1}if((i|0)>(j|0)){break e}k=e+k|0}e=H[k|0];g:{if((e|0)<0){e=lc(k,h+20|0);break g}J[h+20>>2]=e&255;e=1}o=e+k|0;if((o-d|0)<(i|0)){break e}k=J[h+20>>2];if((k|0)>(p-o|0)|!k){break e}e=(k>>31)+(i>>31)|0;j=i+k|0;e=j>>>0<i>>>0?e+1|0:e;if((e|0)<=(r|0)&j>>>0<=s>>>0|(e|0)<(r|0)){j=n;break c}e=e<<1|j>>>31;r=e;s=j<<1;j=Bc(n,s,e);if(j){break c}i=7;break d}i=267;break d}if(m){d=J[h+28>>2];J[m>>2]=J[h+24>>2];J[m+4>>2]=d}i=0;if(!l){break d}d=J[h+28>>2];J[l>>2]=J[h+24>>2];J[l+4>>2]=d}Oa(n);break b}Qa(i+j|0,o,k);n=j;j=i+k|0;q=Cb(b,n,(c|0)>(j|0)?j:c);e=J[h+24>>2];i=J[h+28>>2];h:{if(m){if(q|(c|0)>=(j|0)?(q|0)>=0:0){break h}J[m>>2]=e;J[m+4>>2]=i;i=J[h+28>>2];e=J[h+24>>2]}m=0;if(!l|(q|0)>=0){break h}J[l>>2]=e;J[l+4>>2]=i;l=0}k=k+o|0;e=e+1|0;i=e?i:i+1|0;J[h+24>>2]=e;J[h+28>>2]=i;e=1;continue}}i:{if(i){break i}n=J[h+12>>2];if((n|0)<2){break i}J[h+24>>2]=0;J[h+20>>2]=0;j:{k:{if(!f|!g){break k}d=J[f>>2];e=J[f+4>>2];if((d|0)==J[g>>2]&(e|0)==J[g+4>>2]){break k}i=Xg(a,d,e,h+24|0,h+20|0);if(!i){i=bq(a,b,c,J[h+24>>2],J[h+20>>2],f,0)}Oa(J[h+24>>2]);J[h+24>>2]=0;f=0;d=0;if(i){break j}}d=f?f:g;i=Xg(a,J[d>>2],J[d+4>>2],h+24|0,h+20|0);d=J[h+24>>2];l:{if(i){break l}J[h+16>>2]=0;i=267;e=H[d|0];m:{if((e|0)<0){lc(d,h+16|0);e=J[h+16>>2];break m}e=e&255}if((e|0)>=(n|0)){break l}i=bq(a,b,c,d,J[h+20>>2],f,g);d=J[h+24>>2]}}Oa(d)}Fa=h+32|0;return i}function Iv(a,b){var c=0;c=Fa-16|0;Fa=c;a:{if(!(!J[16496]|(((a&63)>>>0<32?1<<a:0)&16842752)!=0&a>>>0<=63)){Nc(178552);break a}J[c+12>>2]=b;b:{switch(a-4|0){case 0:a=J[c+12>>2];J[c+12>>2]=a+4;a=J[a>>2];b=J[a+4>>2];J[16452]=J[a>>2];J[16453]=b;b=J[a+28>>2];J[16458]=J[a+24>>2];J[16459]=b;b=J[a+20>>2];J[16456]=J[a+16>>2];J[16457]=b;b=J[a+12>>2];J[16454]=J[a+8>>2];J[16455]=b;break a;case 1:if(!J[16452]){Jw()}a=J[c+12>>2];J[c+12>>2]=a+4;b=J[16453];a=J[a>>2];J[a>>2]=J[16452];J[a+4>>2]=b;b=J[16459];J[a+24>>2]=J[16458];J[a+28>>2]=b;b=J[16457];J[a+16>>2]=J[16456];J[a+20>>2]=b;b=J[16455];J[a+8>>2]=J[16454];J[a+12>>2]=b;break a;case 5:a=J[c+12>>2];J[c+12>>2]=a+4;J[16444]=J[a>>2];break a;case 23:a=J[c+12>>2];J[c+12>>2]=a+4;H[65784]=J[a>>2];break a;case 3:a=J[c+12>>2];J[c+12>>2]=a+4;J[16490]=J[a>>2];J[16491]=J[a+4>>2];J[c+12>>2]=a+12;J[16492]=J[a+8>>2];break a;case 20:a=J[c+12>>2];J[c+12>>2]=a+4;J[J[a>>2]>>2]=168;break a;case 14:a=J[c+12>>2];J[c+12>>2]=a+4;Qa(65876,J[a>>2],52);break a;case 15:if(!J[16471]){ow()}a=J[c+12>>2];J[c+12>>2]=a+4;Qa(J[a>>2],65876,52);break a;case 9:a=J[c+12>>2];J[c+12>>2]=a+4;J[16449]=J[a>>2];J[c+12>>2]=a+8;J[16450]=J[a+4>>2];break a;case 12:a=J[c+12>>2];J[c+12>>2]=a+4;b=J[a>>2];J[c+12>>2]=a+8;J[16504]=J[a+4>>2];J[16503]=b;break a;case 13:a=J[c+12>>2];J[c+12>>2]=a+4;H[65782]=J[a>>2];break a;case 16:a=J[c+12>>2];J[c+12>>2]=a+4;H[65783]=J[a>>2];break a;case 18:J[16486]=0;J[16487]=0;J[16488]=0;J[16489]=0;J[c+12>>2]=((J[c+12>>2]+7&-8)+15&-8)+8;break a;case 21:a=J[c+12>>2];J[c+12>>2]=a+4;J[16495]=J[a>>2];break a;case 22:a=J[c+12>>2];J[c+12>>2]=a+4;J[16451]=J[a>>2];break a;case 25:a=J[c+12>>2]+7&-8;J[c+12>>2]=a+8;b=J[a+4>>2];J[16506]=J[a>>2];J[16507]=b;break;case 10:break a;default:break b}}}Fa=c+16|0}function pD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Fa-16|0;Fa=g;a:{if(!a){break a}b=J[a+204>>2];if(b){break a}b=0;m=J[a+200>>2];if(!m){break a}i=J[a>>2];J[g+12>>2]=-1;b=pb(24,0);if(b){f=i?J[i+120>>2]:1e9;I[b+20>>1]=0;J[b+16>>2]=0;J[b+12>>2]=f;J[b+8>>2]=0;J[b>>2]=0;J[b+4>>2]=0}else{b=66056}c=b;f=-1;while(1){b=f;b:{d=n+m|0;h=K[d|0];if(!(K[c+20|0]|!h)){j=jj(d,g+12|0);f=J[g+12>>2];if((j|0)>0){break b}b=f}if((b|0)!=1){nb(c,23102,1)}b=a;a=0;if(!(!c|(c|0)==66056)){a=Ed(c);Oa(c)}f=b;b=a;J[f+204>>2]=b;break a}l=(b|0)==183?l:b;c:{d:{e:{if(f-153>>>0<4){break e}f:{g:{h:{i:{switch(f-22|0){default:j:{switch(f-117|0){default:if((f|0)==59){break h}if((f|0)==138){break g}if((f|0)!=183){break f}break c;case 0:break e;case 1:case 2:case 3:break f;case 4:break j}}if((l|0)!=45&(l|0)!=19){break e}nb(c,20227,5);break c;case 0:k=k+1|0;if((l|0)==49){e=J[c+16>>2];o=k}nb(c,27659,1);break c;case 1:break i}}if(!((k|0)!=(o|0)|(e|0)<=0)){J[c+16>>2]=e+1;nb(c,21164,5);e=0}nb(c,27638,1);k=k-1|0;break c}b=J[c+16>>2];k:{if(H[h+31216|0]<0){e=yd(i,d,j,0);J[g+8>>2]=0;if(!e){break d}jf(e);l:{m:{n:{o:{if(K[d|0]!=34){break o}d=J[a+208>>2];if(!d){break o}while(1){if(!d){break o}if(!Kc(e,d+4|0)){break n}d=J[d>>2];continue}}d=Ya(e);if((jj(e,g+8|0)|0)!=(d|0)|J[g+8>>2]!=59){break m}hp(c);nb(c,e,d);break l}nb(c,21802,1);Za(i,e);break d}J[g>>2]=e;gb(c,29294,g)}Za(i,e);break k}hp(c);nb(c,d,j)}while(1){if(M[c+16>>2]<=b>>>0){break d}e=J[c+4>>2]+b|0;H[e|0]=K[K[e|0]+30832|0];b=b+1|0;continue}}e=0}if(K[h+31216|0]&70){hp(c)}b=J[c+16>>2];nb(c,d,j);while(1){if(M[c+16>>2]<=b>>>0){break c}h=J[c+4>>2]+b|0;d=K[h|0];H[h|0]=d&(K[d+31216|0]^-1|223);b=b+1|0;continue}}nb(c,21802,1);break c}e=0}n=j+n|0;continue}}Fa=g+16|0;return b|0}function Gq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Fa-16|0;Fa=g;d=J[a+44>>2];a:{if(d){break a}e=J[16508];if(e){d=10;if(Ja[e|0](400)|0){break a}}b:{if(K[a+17|0]<3){break b}c:{if(!Ry(a,1)){vq(J[a+96>>2]);break c}d:{if(J[a+232>>2]){J[g+8>>2]=0;d=tq(J[a+228>>2]);if(!d){Ja[J[a+220>>2]](a,1,g+8|0,0)|0;d=J[g+8>>2];J[d+16>>2]=0}d=My(a,d,J[a+28>>2],1);ed(J[g+8>>2]);if(d){break d}rq(J[a+228>>2]);break d}if(!(K[a+19|0]|!J[a+28>>2])){d=Ja[J[a+220>>2]](a,1,g+8|0,0)|0;e:{if(d){break e}d=Pb(J[g+8>>2]);if(d){break e}lq(J[g+8>>2]);H[a+19|0]=1;d=0}ed(J[g+8>>2]);if(d){break a}}f:{if(!b|K[a+5|0]==4){break f}d=J[a+68>>2];if(!J[d>>2]){break f}H[a+20|0]=1;while(1){e=H[b+h|0];if(e){h=h+1|0;i=e+i|0;continue}break}g:{if(!K[a+8|0]){f=J[a+80>>2];e=J[a+84>>2];break g}f=am(a);J[a+80>>2]=f;e=Ia;J[a+84>>2]=e}d=di(d,f,e,J[a+164>>2]);if(d){break a}d=J[a+68>>2];f=f+4|0;e=f>>>0<4?e+1|0:e;d=Ja[J[J[d>>2]+12>>2]](d,b,h,f,e)|0;if(d){break a}d=J[a+68>>2];f=f+h|0;e=f>>>0<h>>>0?e+1|0:e;d=di(d,f,e,h);if(d){break a}d=e;j=f+4|0;d=j>>>0<4?d+1|0:d;d=di(J[a+68>>2],j,d,i);if(d){break a}d=J[a+68>>2];f=f+8|0;e=f>>>0<8?e+1|0:e;d=Ja[J[J[d>>2]+12>>2]](d,33188,8,f,e)|0;if(d){break a}e=J[a+84>>2];f=h+20|0;d=f;f=f+J[a+80>>2]|0;e=d>>>0>f>>>0?e+1|0:e;J[a+80>>2]=f;J[a+84>>2]=e;e=J[a+68>>2];d=Ja[J[J[e>>2]+24>>2]](e,g+8|0)|0;if(d){break a}f=J[a+84>>2];h=J[g+12>>2];e=J[a+80>>2];if((f|0)>=(h|0)&e>>>0>=M[g+8>>2]|(f|0)>(h|0)){break f}h=J[a+68>>2];d=Ja[J[J[h>>2]+16>>2]](h,e,f)|0;if(d){break a}}d=zy(a,0);if(d){break a}d=vy(a,tq(J[a+228>>2]));if(d){break a}rq(J[a+228>>2]);e=J[a+28>>2];if(e>>>0>M[a+36>>2]){d=cq(a,e-((e|0)==J[a+164>>2])|0);if(d){break a}}if(c){break c}d=Fq(a,b)}if(d){break a}}if(J[a+232>>2]){break b}H[a+17|0]=5}d=0}Fa=g+16|0;return d}function tl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=Fa-16|0;Fa=h;e=J[a+116>>2];a:{if(L[a+70>>1]>=L[e+24>>1]){b=Ta(75154);break a}l=J[a+20>>2];Eg(a);f=J[a+40>>2];i=L[a+48>>1];if(f-J[e+56>>2]>>>0>J[l+40>>2]-i>>>0){b=Ta(75169);break a}b:{if(b>>>0<i>>>0){j=i>>>0<b+c>>>0?i-b|0:c;c=c-j|0;i=d+j|0;b=pu(b+f|0,d,j);break b}g=b-i|0;i=d;b=0}c:{if(b|!c){break c}b=J[l+40>>2];e=L[a+48>>1];J[h+8>>2]=ab(e+f|0);j=b-4|0;d:{if(!(K[a+1|0]&4)){f=((J[a+44>>2]+(b-e|0)|0)-5>>>0)/(j>>>0)|0;b=J[a+12>>2];e:{f:{if(!b){b=0;break f}k=Ja[J[16455]](b)|0;b=J[a+12>>2];e=f<<2;if((k|0)>=(e|0)){break e}}b=Gd(b,f<<3,0);if(!b){b=7;break a}J[a+12>>2]=b;e=f<<2}k=0;Sa(b,0,e);H[a+1|0]=K[a+1|0]|4;break d}k=(g>>>0)/(j>>>0)|0;b=J[J[a+12>>2]+(k<<2)>>2];if(!b){k=0;break d}J[h+8>>2]=b;g=g-P(j,k)|0}while(1){b=J[h+8>>2];if(!b){b=0;break c}if(b>>>0>M[l+48>>2]){b=Ta(75231);break a}e=J[a+12>>2]+(k<<2)|0;J[e>>2]=b;g:{if(g>>>0>=j>>>0){e=J[e+4>>2];h:{if(e){J[h+8>>2]=e;b=0;break h}b=ou(l,b,0,h+8|0)}g=g-j|0;break g}m=j>>>0<c+g>>>0?j-g|0:c;i:{j:{k:{e=J[l>>2];if(!J[J[e+64>>2]>>2]|g|J[J[e+228>>2]>>2]){break k}f=J[e+232>>2];if(f){J[h+12>>2]=0;Po(f,b,h+12|0);e=J[l>>2];if(J[h+12>>2]){break k}}f=i-4|0;if(f>>>0<d>>>0){break k}g=K[f|0]|K[f+1|0]<<8|(K[f+2|0]<<16|K[f+3|0]<<24);e=J[e+64>>2];b=(o=e,p=f,q=m+4|0,r=lJ(J[l+36>>2],0,b-1|0,0),s=Ia,n=J[J[e>>2]+8>>2],Ja[n](o|0,p|0,q|0,r|0,s|0)|0);J[h+8>>2]=ab(f);H[f|0]=g;H[f+1|0]=g>>>8;H[f+2|0]=g>>>16;H[f+3|0]=g>>>24;break j}b=Ja[J[e+220>>2]](e,b,h+4|0,2)|0;if(b){break i}b=J[h+4>>2];e=J[b+4>>2];J[h+8>>2]=ab(e);b=pu((e+g|0)+4|0,i,m);ed(J[h+4>>2])}g=0}c=c-m|0;if(!c){break a}i=i+m|0}k=k+1|0;if(!b){continue}break}}if(!c|b){break a}b=Ta(75315)}Fa=h+16|0;return b}function bm(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{while(1){if(b>>>0<=1){J[c>>2]=629145;break a}d:{e:{d=K[a+1|0];switch(d-10|0){case 1:case 2:break c;case 0:case 3:break d;default:break e}}if((d|0)==226){break d}f:{g:{h:{i:{j:{k:{l:{m:{n:{switch(d-110|0){default:o:{p:{switch(d-47|0){case 0:break o;case 1:break g;default:break p}}q:{switch(d-98|0){case 4:break l;case 0:break m;case 1:case 2:case 3:break c;default:break q}}if((d|0)==34|(d|0)==39){break o}if((d|0)!=92){break c}}J[c>>2]=d;break b;case 8:break h;case 6:break i;case 4:break j;case 0:break k;case 7:break n;case 1:case 2:case 3:case 5:case 9:break c;case 10:break f}}if(b>>>0<=5){J[c>>2]=629145;break a}r:{d=Gy(a+2|0);if((d&64512)!=55296|b>>>0<12|K[a+6|0]!=92|K[a+7|0]!=117){break r}a=Gy(a+8|0);if((a&64512)!=56320){break r}J[c>>2]=(d<<10&1047552|a&1023)+65536;b=12;break a}J[c>>2]=d;b=6;break a}J[c>>2]=8;break b}J[c>>2]=12;break b}J[c>>2]=10;break b}J[c>>2]=13;break b}J[c>>2]=9;break b}J[c>>2]=11;break b}J[c>>2]=0;break b}if(b>>>0<=3){J[c>>2]=629145;break a}b=4;e=c;c=K[a+3|0];a=K[a+2|0];J[e>>2]=((c<<1<<24>>24>>>7&9)+c&15|(a<<1<<24>>24>>>7&9)+a<<4)&255;break a}d=0;while(1){s:{e=d;d=d+1|0;if(d>>>0>=b>>>0){break s}f=a+e|0;if(K[f|0]!=92){break s}t:{u:{v:{d=K[a+d|0];switch(d-10|0){case 1:case 2:break s;case 3:break u;case 0:break v;default:break t}}d=e+2|0;continue}d=e+2|0;if(d>>>0>=b>>>0){continue}d=K[a+d|0]==10?e+3|0:d;continue}if((d|0)!=226){break s}d=e+3|0;if(K[f+2|0]!=128|d>>>0>=b>>>0|(K[a+d|0]&254)!=168){break s}d=e+4|0;continue}break}if(!e){J[c>>2]=629145;break a}if((b|0)==(e|0)){J[c>>2]=0;break a}b=b-e|0;a=a+e|0;if(K[a|0]==92){g=e+g|0;continue}break}b=nq(a,b,c)+e|0;break a}J[c>>2]=629145}b=2}return b+g|0}function Jr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if(J[a+36>>2]){break a}j=J[a+8>>2];H[c|0]=1;g=J[c+32>>2];while(1){if(J[c+36>>2]>(p|0)){e=J[g>>2];n=J[e+20>>2];m=0;if(H[e+7|0]&1){e=J[J[e+44>>2]+40>>2];if(!(!(J[J[g+4>>2]+4>>2]&32)|(!J[c+28>>2]|!b))){if(!l){l=J[a+44>>2]+1|0;J[a+44>>2]=l}Na(j,80,b,l)}m=J[a+56>>2]-1|0;J[a+56>>2]=m;rc(a,e,m,16)}b:{if(J[g+16>>2]>=0){f=J[J[J[g>>2]+12>>2]+20>>2];i=J[n>>2];o=(((J[f>>2]+!K[g+21|0]|0)+(K[g+20|0]?i:0)|0)+(K[g+22|0]?i:0)|0)+1|0;e=ic(a,o);zf(a,f,e,0,1);h=J[f>>2];if(!K[g+21|0]){Na(j,126,J[g+16>>2],e+h|0);h=h+1|0}c:{if(!K[g+20|0]){f=e;break c}f=e+h|0;zf(a,n,f,0,1);h=h+i|0}if(!K[g+22|0]){break b}q=K[g+20|0]?f:e;k=0;r=(i|0)>0?i:0;while(1){if((k|0)==(r|0)){break b}Na(j,181,k+q|0,e+h|0);h=h+1|0;k=k+1|0;continue}}if(!n){i=0;e=0;o=0;f=0;break b}o=0;i=J[n>>2];e=ic(a,i);zf(a,n,e,0,1);f=e}h=J[g+8>>2];if(!(!n|(h|0)<0)){if(!m){m=J[a+56>>2]-1|0;J[a+56>>2]=m}J[g+8>>2]=Sz(a,d,h,m,n,f)}d:{if(J[g+16>>2]>=0){f=o-1|0;i=f+e|0;Pa(j,97,e,f,i);bb(j,138,J[g+16>>2],i,e,f);break d}if(K[J[g+4>>2]+4|0]&32){h=n+8|0;f=0;k=0;while(1){if(!((k|0)>=(i|0)|f)){k=k+1|0;f=hd(a,J[h>>2]);h=h+16|0;continue}break}f=f?f:J[J[a>>2]+8>>2];e:{if(l){break e}if(!J[c+28>>2]){l=0;break e}l=J[a+44>>2]+1|0;J[a+44>>2]=l}$a(j,85,l,0,0,f,-2)}Pa(j,162,0,e,J[c+24>>2]+(J[c+12>>2]+p|0)|0);sc(j,J[g+4>>2],-7);f=J[j+108>>2];if((f|0)>0){I[(J[j+104>>2]+P(f,20)|0)-18>>1]=i&255}o=i}Oc(a,e,o);if(m){cb(j,m)}g=g+24|0;p=p+1|0;continue}break}f:{if(!l){e=0;if(!b){break f}l=b;if(!J[c+28>>2]){break f}}e=Va(j,16,l)}h=J[c+20>>2];k=0;while(1){if((k|0)<J[c+28>>2]){Xb(a,J[h+4>>2],J[c+12>>2]+k|0);h=h+16|0;k=k+1|0;continue}break}H[c|0]=0;if(!e){break a}mk(j,e)}}function gy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=Fa-16|0;Fa=i;a:{b:{c=J[b+72>>2];if(c){d=c+J[b+76>>2]|0}else{d=J[b+40>>2]}if(!(J[b+40>>2]+J[b+44>>2]>>>0>d>>>0?d:0)){c=J[b+56>>2];if(c){h=J[c>>2];Oa(J[b+40>>2]);J[b+40>>2]=0;if(!h){break a}d=J[h+8>>2];c=J[d>>2];e=J[b+64>>2];f=J[h+16>>2];if((f|0)>=J[b+68>>2]){Oa(e);a=f>>31<<1|f>>>31;g=(f<<1)+2|0;a=g>>>0<2?a+1|0:a;e=pb(g,a);J[b+64>>2]=e;if(!e){break b}J[b+68>>2]=(f<<1)+2}Qa(e,J[h+12>>2],f);e=0;H[f+J[b+64>>2]|0]=0;J[b+60>>2]=f;c=c+1|0;a=pb(c,c>>31);if(!a){break b}a=Qa(a,J[d+4>>2],c);J[b+72>>2]=a;J[b+44>>2]=c;J[b+76>>2]=c;J[b+40>>2]=a;J[b+56>>2]=J[b+56>>2]+4;break a}aq(b);d=J[b+36>>2];g=J[b+20>>2];c=J[b+32>>2];if((d|0)>=(g|0)&c>>>0>=M[b+16>>2]|(d|0)>(g|0)){break a}c=c+1|0;d=c?d:d+1|0;J[b+32>>2]=c;J[b+36>>2]=d;e=Xg(a,c,d,b+40|0,b+44|0);if(e){break a}d=J[b+40>>2]}e=Zl(b,d,20);if(e){break a}a=H[d|0];c:{if((a|0)<0){a=lc(d,i+12|0);break c}J[i+12>>2]=a&255;a=1}c=a+d|0;a=H[c|0];d:{if((a|0)<0){a=lc(c,i+8|0);d=J[i+8>>2];break d}d=a&255;J[i+8>>2]=d;a=1}e:{if((d|0)<=0){break e}h=a+c|0;if(((J[b+40>>2]+J[b+44>>2]|0)-h|0)<(d|0)){break e}f=J[i+12>>2];if((f|0)>J[b+60>>2]){break e}a=f>>31;c=d+f|0;a=c>>>0<d>>>0?a+1|0:a;g=J[b+68>>2];e=g>>>0<c>>>0;g=g>>31;if(e&(g|0)<=(a|0)|(a|0)>(g|0)){a=a<<1|c>>>31;c=c<<1;a=Bc(J[b+64>>2],c,a);if(!a){break b}J[b+68>>2]=c;J[b+64>>2]=a}e=Zl(b,h,d+10|0);if(e){break a}Qa(f+J[b+64>>2]|0,h,d);J[b+60>>2]=d+f;c=d+h|0;a=H[c|0];f:{if((a|0)<0){a=lc(c,b+76|0);d=J[b+76>>2];break f}d=a&255;J[b+76>>2]=d;a=1}J[b+80>>2]=0;a=a+c|0;J[b+72>>2]=a;if((J[b+40>>2]+(J[b+44>>2]-a|0)|0)<(d|0)){break e}if(!J[b+48>>2]){e=267;if(K[(a+d|0)-1|0]){break a}}e=d?0:267;break a}e=267;break a}e=7}Fa=i+16|0;return e}function Fn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;j=Fa-32|0;Fa=j;h=J[a>>2];a:{b:{if(!(!K[h+177|0]|J[h+172>>2]!=1)){i=K[h+176|0];c=Ob(h,(i|0)==1?9192:9211);break b}b=Ef(a,b,c,j+28|0);if((b|0)<0){break a}c:{if(!d){i=b;break c}i=1;if(!J[c+4>>2]|(b|0)==1){break c}Ra(a,16228,0);break a}b=J[j+28>>2];c=oc(h,b);if(K[a+220|0]<2){break b}c=qe(a,c,b)}k=J[b+4>>2];J[a+200>>2]=J[b>>2];J[a+204>>2]=k;if(!c){break a}d:{if(Dk(a,c,e?1851:14316,c)){break d}d=K[h+176|0]==1?1:d;k=J[J[h+16>>2]+(i<<4)>>2];if(Tb(a,18,(d|0)==1?9192:9211,0,k)){break d}if(!f){if(Tb(a,K[(d+(e<<1)|0)+49768|0],c,0,k)){break d}}e:{f:{if(K[a+220|0]){break f}d=J[J[h+16>>2]+(i<<4)>>2];if(ve(a)){break d}k=tc(h,c,d);if(k){if(g){break e}d=K[k+43|0];J[j+20>>2]=b;J[j+16>>2]=(d|0)==2?1851:14316;Ra(a,3798,j+16|0);break d}if(!$e(h,c,d)){break f}J[j>>2]=c;Ra(a,7166,j);break d}b=ib(h,64,0);if(!b){J[a+12>>2]=7;J[a+36>>2]=J[a+36>>2]+1;break d}I[b+32>>1]=65535;J[b>>2]=c;c=J[(J[h+16>>2]+(i<<4)|0)+12>>2];I[b+38>>1]=200;J[b+24>>2]=1;J[b+60>>2]=c;J[a+248>>2]=b;if(K[h+177|0]){break a}b=rb(a);if(!b){break a}fd(a,1,i);if(f){Hb(b,170)}c=J[a+44>>2];d=c+2|0;J[a+100>>2]=d;g=c+1|0;J[a+96>>2]=g;c=c+3|0;J[a+44>>2]=c;Pa(b,99,i,c,2);fe(b,i);k=Va(b,16,c);Pa(b,100,i,2,J[h+32>>2]&2?1:4);Pa(b,100,i,5,K[h+84|0]);h=J[b+108>>2];J[(K[J[b>>2]+87|0]?73192:J[b+104>>2]+P(k,20)|0)+8>>2]=h;g:{if(e|f){Na(b,71,0,d);break g}J[a+144>>2]=Pa(b,147,i,d,1)}d=rb(a);rd(a,i,1,1,9211);bb(d,113,0,1,i,5);if(!J[a+40>>2]){J[a+40>>2]=1}Na(b,127,0,g);$a(b,77,6,c,0,49772,-1);Pa(b,128,0,c,g);a=J[b+108>>2];if((a|0)>0){I[(J[b+104>>2]+P(a,20)|0)-18>>1]=8}Hb(b,122);break a}gd(a,i);Bk(a)}H[a+17|0]=1;Za(h,c)}Fa=j+32|0}function UG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=Fa-128|0;Fa=d;a:{if((b|0)<2){break a}g=jg(a,J[c>>2],0);if(!g){break a}j=J[J[a+4>>2]+8>>2];J[d>>2]=a;I[d+24>>1]=1;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=100;J[d+12>>2]=0;l=d+26|0;J[d+4>>2]=l;if(b>>>0>=3){bc(d,91)}m=j&10;n=j&1;o=j&3;k=1;while(1){b:{c:{d:{e:{f:{g:{h:{i:{j:{if((b|0)!=(k|0)){f=Wa(J[(k<<2)+c>>2]);if(!f){break b}h=Ya(f);if(K[f|0]==36){e=Ce(g,0,f+1|0,0);break f}if(!o){break e}J[d>>2]=a;I[d+24>>1]=1;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=100;J[d+12>>2]=0;J[d+4>>2]=l;e=0;while(1){if((e|0)==(h|0)){break j}i=e+f|0;e=e+1|0;if(K[i|0]-58>>>0>=4294967286){continue}break}e=0;while(1){if((e|0)==(h|0)){break i}i=e+f|0;e=e+1|0;i=K[i|0];if((i|0)==95|K[i+31216|0]&6){continue}break}if(!(K[f|0]!=91|h>>>0<=2)&K[(f+h|0)-1|0]==93){break h}ad(d,29853,2);of(d,f,h);ad(d,29854,1);break g}if(b>>>0<3){break b}bc(d,93);qf(d,0,0);if(j&8){break b}a=J[a>>2];H[a+19|0]=74;I[a+16>>1]=L[a+16>>1]|2048;break b}ad(d,18438,1);of(d,f,h);ad(d,18436,2);break g}ad(d,24900,1)}of(d,f,h)}wq(d);e=Ce(g,0,J[d+4>>2],0);ig(d)}if(M[g+4>>2]>e>>>0){if((b|0)!=2){break d}if(n){I[d+24>>1]=1;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=100;J[d+12>>2]=0;J[d+4>>2]=l;J[d>>2]=a;Zg(g,e,d);qf(d,0,0);ig(d);e=J[a>>2];H[e+19|0]=74;I[e+16>>1]=L[e+16>>1]|2048;break c}gm(g,e,a,0);if((K[J[g>>2]+e|0]&15)>>>0<11|m){break c}e=J[a>>2];H[e+19|0]=74;I[e+16>>1]=L[e+16>>1]|2048;break c}k:{switch(e+2|0){case 0:if((b|0)==2){break b}jm(d);ad(d,11625,4);break c;case 1:break k;default:break e}}Bb(a,19961,-1);break b}Rj(a,f);break b}jm(d);Zg(g,e,d)}k=k+1|0;continue}break}ig(d);Wc(g)}Fa=d+128|0}function Py(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Fa+-64|0;Fa=f;h=jg(a,J[c>>2],(b|0)!=1);a:{if(!h){break a}l=b-1|0;m=d-2|0;b=1;b:{while(1){if((b|0)<(l|0)){i=(b<<2)+c|0;j=J[i>>2];k=L[j+16>>1];e=k&31;if((k&63)>>>0>=32){e=-1431655766>>>e|0}else{e=((1<<e)-1&-1431655766)<<32-e|-1431655766>>>e}c:{if(e&1){break c}j=Wa(j);if(!j){Qb(a);Wc(h);break a}if(K[j|0]!=36){break b}e=J[i+4>>2];g=L[e+16>>1];Sa(f+8|0,0,56);J[f+24>>2]=J[J[a>>2]+20>>2];d:{e:{f:{g:{h:{switch(K[(g&63)+31120|0]-1|0){case 3:if(Pj(e)){J[f+8>>2]=$c(e);J[f+12>>2]=sb(e);break g}Bb(a,5355,-1);break f;case 2:g=Wa(e);i=sb(e);if(!g){break f}if(!(!(K[e+17|0]&8)|K[e+19|0]!=74)){J[f+28>>2]=i;J[f+20>>2]=g;e=f+8|0;if(!hm(e,a)){break g}Bb(a,19961,-1);Ua(J[f+24>>2],J[f+8>>2]);Sa(e,0,56);break f}nd(f+8|0,10,i,g);break g;case 1:C(+yb(e));g=x(1)|0;i=x(0)|0;if(!(!(g&1048575|i)|(g&2146435072)!=2146435072)){nd(f+8|0,0,0,0);break g}g=sb(e);e=Wa(e);if(!e){break f}i:{i=K[e|0];if((i|0)!=45){if((i|0)!=73){break i}nd(f+8|0,5,5,23120);break g}if(K[e+1|0]!=73){break i}nd(f+8|0,5,6,23119);break g}nd(f+8|0,5,g,e);break g;case 0:break h;default:break e}}g=sb(e);e=Wa(e);if(!e){break f}nd(f+8|0,3,g,e)}if(!K[f+43|0]){break d}Qb(a)}pf(f+8|0);Wc(h);break a}J[f+12>>2]=1;J[f+8>>2]=73212}j:{if(!K[j+1|0]){g=0;k:{switch(m|0){case 0:case 2:break k;default:break j}}Te(h,0,J[h+4>>2],J[f+8>>2],J[f+12>>2]);break j}H[h+39|0]=d;J[h+44>>2]=J[f+12>>2];e=J[f+8>>2];J[h+40>>2]=0;J[h+52>>2]=e;g=Ce(h,0,j+1|0,0)}pf(f+8|0);if((g|0)==-2){break c}if(g>>>0>4294967292){break b}}b=b+2|0;continue}break}xq(a,h);Wc(h);break a}Wc(h);if((g|0)==-1){Bb(a,19961,-1);break a}Rj(a,j)}Fa=f- -64|0}function qy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Fa-16|0;Fa=h;i=J[J[a>>2]+12>>2];b=J[a+108>>2];f=J[a+104>>2]+1|0;b=f?b:b+1|0;J[a+104>>2]=f;J[a+108>>2]=b;b=J[a+116>>2];g=J[a+112>>2];f=g+1|0;f=(b|0)>(f|0)?b:f;a:{b:{while(1){g=g+1|0;if((b|0)<=(g|0)){break b}d=J[a+120>>2]+(g<<4)|0;e=J[d>>2];d=J[d+4>>2];if((d|0)<0){d=1}else{d=!e&(d|0)<=0}if(d){continue}break}J[a+112>>2]=g;i=0;break a}J[a+112>>2]=f;i=ai(i,a+8|0);if((i|0)==100){l=J[a- -64>>2];m=J[a+68>>2];c:{b=J[a+88>>2];if(!b){break c}i=0;d=b;b=J[a+92>>2];f=J[a+60>>2];g=Cb(d,J[a+56>>2],(b|0)<(f|0)?b:f);if(g|(b|0)>=(f|0)?(g|0)>=0:0){break c}J[a+100>>2]=1;break a}i=7;if(py(a,2)){break a}g=0;Sa(J[a+120>>2],0,J[a+116>>2]<<4);d=0;f=0;while(1){if((g|0)<(m|0)){J[h+8>>2]=0;J[h+12>>2]=0;n=uc(g+l|0,h+8|0);d:{e:{f:{g:{h:{switch(c|0){case 2:b=J[h+8>>2];e=J[h+12>>2];break g;case 0:b=J[a+120>>2];d=b;c=J[b>>2];b=J[b+4>>2];c=c+1|0;b=c?b:b+1|0;J[d>>2]=c;J[d+4>>2]=b;c=1;d=0;break d;case 1:break h;default:break f}}c=J[h+12>>2];e=c;b=J[h+8>>2];if(b>>>0<2&(c|0)<=0|(c|0)<0){break g}c=J[a+120>>2];j=c;k=J[c+16>>2];c=J[c+20>>2];k=k+1|0;c=k?c:c+1|0;J[j+16>>2]=k;J[j+20>>2]=c}if(!e&b>>>0<=1){c=0;if(b-1|0){break d}c=3;break d}b=J[a+120>>2];c=b+(d<<4)|0;e=c+24|0;j=J[c+24>>2];c=J[c+28>>2];j=j+1|0;c=j?c:c+1|0;J[e>>2]=j;J[e+4>>2]=c;c=J[b+12>>2];e=J[b+8>>2]+1|0;c=e?c:c+1|0;J[b+8>>2]=e;J[b+12>>2]=c;break e}d=J[h+8>>2];if((d|0)<=0){f=267;break d}if(py(a,d+2|0)){break a}b=J[a+120>>2]+(d<<4)|0;c=b+16|0;e=J[b+16>>2];b=J[b+20>>2];e=e+1|0;b=e?b:b+1|0;J[c>>2]=e;J[c+4>>2]=b}c=2}g=g+n|0;continue}break}J[a+112>>2]=0;i=f;break a}J[a+100>>2]=1}Fa=h+16|0;return i|0}function BA(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Fa-48|0;Fa=e;f=J[a+8>>2];d=J[b+4>>2];a:{if(!(J[a+52>>2]|d&64)){if(d&33554432){d=Hb(f,15);if(K[b+5|0]&16){J[e+16>>2]=J[J[b+20>>2]+16>>2];cc(a,0,17422,e+16|0)}Na(f,10,J[b+48>>2],J[b+44>>2]);Na(f,115,c,J[b+28>>2]);b=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(d,20)|0)+8>>2]=b;break a}J[b+4>>2]=d|33554432;d=J[a+44>>2]+1|0;J[a+44>>2]=d;J[b+48>>2]=d;J[b+44>>2]=Na(f,74,0,d)+1;h=Hb(f,15)}i=J[b+12>>2];g=Mc(i);J[b+28>>2]=c;m=Na(f,118,c,g);k=xf(J[a>>2],g,1);d=J[b+20>>2];b:{if(K[b+5|0]&16){l=J[d+28>>2];J[e+4>>2]=J[d+16>>2];J[e>>2]=h?30620:30466;cc(a,1,17403,e);if((g|0)!=J[l>>2]){break b}J[e+36>>2]=0;J[e+28>>2]=0;J[e+32>>2]=0;J[e+24>>2]=c;H[e+20|0]=11;J[e+40>>2]=JA(a,b);J[d+8>>2]=0;d=Pd(J[a>>2],d,0);j=J[a>>2];c:{if(!K[j+87|0]){j=Gc(a,d,e+20|0);ac(J[a>>2],d);Ua(J[a>>2],J[e+40>>2]);if(j){break c}d=0;g=(g|0)>0?g:0;while(1){if((d|0)==(g|0)){break b}J[((d<<2)+k|0)+20>>2]=Tf(a,pg(i,d),J[(l+(d<<4)|0)+8>>2]);d=d+1|0;continue}}ac(j,d);Ua(J[a>>2],J[e+40>>2])}Si(k);break a}if(!d){break b}g=mc(i);H[e+20|0]=g;d:{if((g|0)<=64){H[e+20|0]=65;break d}if((g|0)!=69){break d}H[e+20|0]=67}if(k){J[k+20>>2]=hd(a,J[b+12>>2])}i=d+8|0;g=vb(a);l=vb(a);d=J[d>>2];while(1){if((d|0)>0){j=J[i>>2];e:{if(h){if(be(j)){break e}$d(f,h-1|0);$d(f,h);J[b+4>>2]=J[b+4>>2]&-33554433}h=0}Xb(a,j,g);$a(f,97,g,1,l,e+20|0,1);bb(f,138,c,l,g,1);i=i+16|0;d=d-1|0;continue}break}mb(a,g);mb(a,l)}if(k){Sd(f,m,k,-8)}if(!h){break a}Va(f,136,c);d=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(h,20)|0)+8>>2]=d;Pa(f,67,J[b+48>>2],J[b+44>>2],1);J[a+28>>2]=0;H[a+19|0]=0}Fa=e+48|0}function aH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Fa-160|0;Fa=b;d=b+112|0;a:{if(kg(a,1,c,d)){break a}h=c+4|0;c=b- -64|0;if(kg(a,1,h,c)){break a}Ue(d);Ue(c);i=J[b+116>>2];d=i;e=J[b+68>>2];f=J[b+112>>2];b:{if((d|0)>=(e|0)&f>>>0>=M[b+64>>2]|(d|0)>(e|0)){d=J[b+120>>2];e=J[b+72>>2];if((d|0)!=(e|0)){H[b+104|0]=0;J[b+72>>2]=d;vc(c)}g=J[b+124>>2];c=g-J[b+76>>2]|0;j=c>>31;c=(c|0)<0?c+12|0:c;if(c){H[b+104|0]=0;J[b+76>>2]=g;vc(b- -64|0)}g=(d-e|0)+j|0;while(1){e=J[b+64>>2];h=J[b+68>>2];d=h;if(f>>>0<e>>>0&(i|0)<=(d|0)|(d|0)>(i|0)){d=J[b+76>>2];J[b+76>>2]=d-1;if((d|0)<=1){J[b+76>>2]=12;J[b+72>>2]=J[b+72>>2]-1}d=(c|0)<=0;c=d?11:c-1|0;g=g-d|0;H[b+104|0]=0;vc(b- -64|0);continue}break}j=43;d=f-e|0;f=i-((f>>>0<e>>>0)+h|0)|0;break b}e=J[b+72>>2];d=J[b+120>>2];if((e|0)!=(d|0)){H[b+104|0]=0;J[b+72>>2]=d;vc(b- -64|0)}g=J[b+124>>2];c=J[b+76>>2]-g|0;j=c>>31;c=(c|0)<0?c+12|0:c;if(c){H[b+104|0]=0;J[b+76>>2]=g;vc(b- -64|0)}g=(e-d|0)+j|0;while(1){e=J[b+64>>2];h=J[b+68>>2];d=h;if(e>>>0<f>>>0&(d|0)<=(i|0)|(d|0)<(i|0)){d=J[b+76>>2];J[b+76>>2]=d+1;if((d|0)>=12){J[b+76>>2]=1;J[b+72>>2]=J[b+72>>2]+1}d=(c|0)<=0;c=d?11:c-1|0;g=g-d|0;H[b+104|0]=0;vc(b- -64|0);continue}break}j=45;d=e-f|0;f=h-((f>>>0>e>>>0)+i|0)|0}H[b+156|0]=0;I[b+154>>1]=0;f=f+34621|0;d=d-816922112|0;f=d>>>0<3478045184?f+1|0:f;J[b+112>>2]=d;J[b+116>>2]=f;Ue(b+112|0);d=J[b+136>>2];J[b+16>>2]=J[b+132>>2];J[b+20>>2]=d;O[b+24>>3]=O[b+144>>3];I[b+60>>1]=0;J[b+56>>2]=0;J[b+48>>2]=0;J[b+52>>2]=100;J[b+40>>2]=0;J[b+44>>2]=0;J[b>>2]=j;J[b+4>>2]=g;J[b+8>>2]=c;J[b+12>>2]=J[b+128>>2]-1;c=b+40|0;gb(c,12692,b);qm(a,c)}Fa=b+160|0}function ap(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=Fa-16|0;Fa=h;J[h+12>>2]=0;a:{while(1){b:{c:{d:{g=K[b|0];switch(g-174|0){case 1:break a;case 2:break b;case 0:break c;default:break d}}if((g|0)!=181){break a}}b=J[b+12>>2];continue}break}g=K[b+2|0]}e:{f:{g:{h:{i:{if((g|0)!=173){if((g|0)!=36){j=30620;k=1;break i}f=Hi(J[b+8>>2],0)&255;i=ap(a,J[b+12>>2],c,f,e);a=J[e>>2];if(!a){break e}bu(a,f,c);re(J[e>>2],d<<24>>24,c);break e}j=24903;k=-1;l=-1;j:{b=J[b+12>>2];g=K[b|0];switch(g-153|0){case 0:case 2:break i;default:break j}}a=ap(a,b,c,d,h+12|0);f=J[h+12>>2];if(a|!f){break h}vt(f);b=L[f+16>>1];k:{if(b&8){O[f>>3]=-O[f>>3];break k}a=J[f>>2];g=J[f+4>>2];if(!a&(g|0)==-2147483648){J[f>>2]=0;J[f+4>>2]=1138753536;I[f+16>>1]=b&62016|8;break k}J[f>>2]=0-a;J[f+4>>2]=0-(g+((a|0)!=0)|0)}re(f,d<<24>>24,c);break h}l:{m:{n:{o:{p:{switch(g-153|0){case 1:break m;case 0:case 2:break o;default:break p}}switch(g-117|0){case 4:break n;case 0:break o;case 1:case 2:case 3:break h;default:break l}}f=ng(a);if(!f){break g}q:{if(K[b+5|0]&8){a=J[b+8>>2];xc(f,lJ(k,l,a,a>>31),Ia);break q}J[h+4>>2]=J[b+8>>2];J[h>>2]=j;b=hb(a,6113,h);if(!b){break f}ym(f,b,5)}re(f,((d|0)==65?(g&253)==153?67:d:d)<<24>>24,1);a=L[f+16>>1];if(a&44){I[f+16>>1]=a&65533}if((c|0)==1){break h}i=Kd(f,c);break h}f=ng(a);if(!f){break g}Rb(f);break h}f=ng(a);if(!f){break g}b=J[b+8>>2]+2|0;c=Ya(b)-1|0;d=(c|0)/2|0;cd(f,Ts(a,b,c),d,0,0,5);break h}if((g|0)!=170){break h}f=ng(a);if(!f){f=0;break h}I[f+16>>1]=4;J[f>>2]=!K[J[b+8>>2]+4|0];J[f+4>>2]=0;re(f,d<<24>>24,c)}J[e>>2]=f;break e}f=0}Db(a);Ua(a,0);Pc(f);i=7}Fa=h+16|0;return i}function YC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=Fa-128|0;Fa=e;d=12;a:{b:{c:{switch(b-1|0){case 0:J[c>>2]=K[a+16|0];break b;case 3:J[c>>2]=J[a+20>>2];break b;case 5:J[a+40>>2]=J[c>>2];break b;case 4:if(J[a+40>>2]<=0){break b}g=J[c+4>>2];c=J[c>>2];d=1802;if(Ja[J[16628]](J[a+12>>2],e+32|0)|0){break a}b=J[a+40>>2];h=b+c|0;c=b>>31;d=c+g|0;f=h-1|0;d=(b>>>0>h>>>0?d+1|0:d)-!h|0;g=nJ(f,d,b,c);c=f-g|0;k=d-(Ia+(f>>>0<g>>>0)|0)|0;f=k;l=J[e+60>>2];g=l;h=c;d=J[e+56>>2];if((f|0)<=(g|0)&c>>>0<=d>>>0|(f|0)<(g|0)){break b}g=c-1|0;i=J[e+64>>2];c=g+i|0;n=f-!h|0;m=i>>31;f=n+m|0;f=c>>>0<i>>>0?f+1|0:f;j=nJ(d,l,i,m)^-1;b=j+d|0;d=(Ia^-1)+l|0;d=b>>>0<j>>>0?d+1|0:d;while(1){d=d+m|0;b=b+i|0;d=b>>>0<i>>>0?d+1|0:d;if((f|0)<=(d|0)&b>>>0>=c>>>0|(d|0)>(f|0)){break b}j=b>>>0<h>>>0&(d|0)<=(k|0)|(d|0)<(k|0);b=j?b:g;d=j?d:n;if((ov(a,b,d,30620,1)|0)==1){continue}break};d=778;break a;case 9:mv(a,4,c);break b;case 12:mv(a,16,c);break b;case 11:J[e>>2]=J[J[a+4>>2]+16>>2];J[c>>2]=ub(8863,e);break b;case 15:d=0;b=J[J[a+4>>2]+8>>2];b=pb(b,b>>31);if(!b){break a}Zt(J[J[a+4>>2]+8>>2],b);J[c>>2]=b;break a;case 19:J[c>>2]=lv(a);break b;case 1:case 2:case 6:case 7:case 8:case 10:case 13:case 14:case 16:case 17:case 18:break a;default:break c}}if((b|0)!=40){break a}d=0;J[c>>2]=0;a=J[a+36>>2];if(!a){break a}a=J[a>>2];J[e+56>>2]=0;J[e+60>>2]=0;J[e+48>>2]=5;J[e+52>>2]=0;J[e+40>>2]=123;J[e+44>>2]=0;J[e+32>>2]=0;J[e+36>>2]=0;I[e+32>>1]=1;a=J[a+12>>2];J[e+16>>2]=e+32;if((Ja[J[16634]](a,5,e+16|0)|0)<0){d=3850;break a}J[c>>2]=L[e+32>>1]!=2;break a}d=0}Fa=e+128|0;return d|0}function Oq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=d?161:162;o=e+1|0;k=J[a>>2];f=rb(k);g=b;while(1){if(g){a=0;l=J[g+44>>2];i=0;a:{if(K[g+96|0]){break a}h=J[J[g+72>>2]+20>>2];i=0;if(!h){break a}i=J[h>>2]}h=(i|0)>0?i:0;while(1){if((a|0)!=(h|0)){b:{if(!((a|0)==1&J[l+32>>2]==50064)){Pa(f,94,c,J[g+80>>2]+a|0,a+e|0);break b}Pa(f,94,J[b+48>>2],J[g+80>>2]+1|0,o)}a=a+1|0;continue}break}c:{if(!(J[b+88>>2]|!(K[l+5|0]&16)|K[g+17|0]==90)){l=Va(f,50,e);d:{if(!d){Na(f,86,J[g+64>>2]+1|0,1);Na(f,81,e,J[g+64>>2]);a=J[g+64>>2];Pa(f,97,a,2,a+2|0);Na(f,138,J[g+60>>2],J[g+64>>2]+2|0);a=J[f+108>>2];h=K[J[f>>2]+87|0];break d}bb(f,23,J[g+60>>2],0,e,1);Va(f,130,J[g+60>>2]);a=J[f+108>>2];h=K[J[f>>2]+87|0];J[(h?73192:(J[f+104>>2]+P(a,20)|0)-40|0)+8>>2]=a}J[(h?73192:J[f+104>>2]+P(l,20)|0)+8>>2]=a;break c}a=J[g+64>>2];if(a){Na(f,86,(a-d|0)+1|0,1);break c}if(J[l+16>>2]==90){break c}e:{if(!J[g+40>>2]){m=0;break e}a=vb(k);Pa(f,94,c,J[g+80>>2]+i|0,a);m=Pa(f,17,a,0,1);mb(k,a)}h=e;f:{if(!K[g+96|0]){break f}a=J[f+108>>2];i=J[J[J[g+72>>2]+20>>2]>>2];h=ic(k,i);zf(k,J[J[g+72>>2]+20>>2],h,0,0);j=J[f+108>>2];p=(a|0)>(j|0)?a:j;while(1){if((a|0)==(p|0)){break f}j=73192;j=K[J[f>>2]+87|0]?j:J[f+104>>2]+P(a,20)|0;if(!(K[j|0]!=94|J[j+4>>2]!=J[b+48>>2])){J[j+4>>2]=c}a=a+1|0;continue}}if(K[l+4|0]&32){$a(f,85,0,0,0,uf(k,J[J[J[g+72>>2]+20>>2]+8>>2]),-2)}Pa(f,n,d,h,J[g+52>>2]);sc(f,l,-7);a=J[f+108>>2];if((a|0)>0){I[(J[f+104>>2]+P(a,20)|0)-18>>1]=i&255}if(K[g+96|0]){Oc(k,h,i)}if(!m){break c}J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(m,20)|0)+8>>2]=J[f+108>>2]}g=J[g+36>>2];continue}break}}function rx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Fa-48|0;Fa=d;J[d+44>>2]=J[a>>2];h=J[b>>2];J[d+40>>2]=h;J[d+36>>2]=J[c>>2];while(1){a:{b:{c:{d:{e:{f:{g:{e=K[h|0];h:{i:{if(!e){f=J[d+36>>2];if(!K[f|0]){break e}f=2147483647;break i}f=0;if((e|0)!=1){break i}f=H[h+1|0];j:{if((f|0)<0){lc(h+1|0,d+32|0);f=J[d+32>>2];break j}f=f&255}if(!f){break h}}e=2147483647;k:{g=J[d+36>>2];switch(K[g|0]){case 1:break k;case 0:break f;default:break g}}e=H[g+1|0];l:{if((e|0)<0){lc(g+1|0,d+28|0);e=J[d+28>>2];break l}e=e&255}if(e){break f}}e=267;break a}e=0}if((e|0)!=(f|0)){break c}J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=0;J[d+12>>2]=0;J[d>>2]=0;J[d+4>>2]=0;f=Kp(d+44|0,f);J[d+36>>2]=f+g;J[d+40>>2]=f+h;Yh(d+40|0,d+16|0);Yh(d+36|0,d+8|0);e=J[d+20>>2];h=e;f=J[d+16>>2];if((e|0)>=0&f>>>0>=2|(e|0)>0){e=J[d+8>>2];g=J[d+12>>2];if(e>>>0>1&(g|0)>=0|(g|0)>0){break d}}f=J[d+36>>2];h=J[d+40>>2]}g=J[d+44>>2];J[d+44>>2]=g+1;e=0;H[g|0]=0;J[a>>2]=J[d+44>>2];J[b>>2]=h+1;J[c>>2]=f+1;break a}while(1){i=(h|0)<=(g|0)&e>>>0>f>>>0|(h|0)<(g|0);qx(d+44|0,d,i?f:e,i?h:g);i=J[d>>2];j=J[d+4>>2]-(i>>>0<2)|0;i=i-2|0;J[d>>2]=i;J[d+4>>2]=j;m:{if((e|0)==(f|0)&(h|0)==(g|0)){Pl(d+40|0,d+16|0);Pl(d+36|0,d+8|0);break m}if((h|0)<=(g|0)&e>>>0>f>>>0|(h|0)<(g|0)){Pl(d+40|0,d+16|0);break m}Pl(d+36|0,d+8|0)}f=J[d+16>>2];h=J[d+20>>2];e=J[d+8>>2];g=J[d+12>>2];if((f|0)!=-1|(h|0)!=2147483647|((e|0)!=-1|(g|0)!=2147483647)){continue}break}break b}if((e|0)>(f|0)){e=d+44|0;J[d+40>>2]=Kp(e,f)+h;nf(e,d+40|0);break b}f=d+44|0;J[d+36>>2]=Kp(f,e)+g;nf(f,d+36|0)}h=J[d+40>>2];continue}break}Fa=d+48|0;return e}function YE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;c=Fa-32|0;Fa=c;Cj(a);a:{b:{if(!b){break b}f=Sa(a+168|0,0,56);J[a+192>>2]=1;J[a+184>>2]=J[a+36>>2];g=J[e>>2];h=L[g+16>>1];d=h&31;c:{if((h&63)>>>0>=32){d=65536>>>d|0}else{d=((1<<d)-1&65536)<<32-d|65537>>>d}d:{if(d&1){if(!Pj(g)){break d}J[a+172>>2]=sb(J[e>>2]);J[a+168>>2]=$c(J[e>>2]);break c}J[a+180>>2]=Wa(g);J[a+188>>2]=sb(J[e>>2]);if(!J[a+180>>2]){J[a+8>>2]=0;J[a+12>>2]=0;break b}if(!hm(f,0)){break c}e=7;if(K[a+203|0]){break a}}Oa(J[J[a>>2]+8>>2]);b=ub(19961,0);J[J[a>>2]+8>>2]=b;Cj(a);e=J[J[a>>2]+8>>2]?1:7;break a}e:{if((b|0)==3){d=Wa(J[e+4>>2]);if(!d){break b}if(K[d|0]!=36){Oa(J[J[a>>2]+8>>2]);J[c+16>>2]=d;b=ub(19906,c+16|0);J[J[a>>2]+8>>2]=b;Cj(a);e=J[J[a>>2]+8>>2]?1:7;break a}J[a+16>>2]=Ya(d);f:{g:{if(!K[d+1|0]){b=0;H[a+20|0]=0;break g}b=Ce(f,0,d+1|0,0);if(b>>>0>=4294967293){if((b|0)==-2){e=0;H[a+20|0]=0;J[a+8>>2]=0;J[a+12>>2]=0;break a}Oa(J[J[a>>2]+8>>2]);J[c>>2]=d;b=ub(19906,c);J[J[a>>2]+8>>2]=b;Cj(a);e=J[J[a>>2]+8>>2]?1:7;break a}e=J[a+216>>2];if(e){H[a+20|0]=12;J[a+8>>2]=e;break f}H[a+20|0]=11}J[a+8>>2]=b}of(a+40|0,d,J[a+16>>2]);break e}b=0;H[a+20|0]=0;J[a+8>>2]=0;J[a+16>>2]=1;of(a+40|0,29124,1)}e=0;J[a+24>>2]=0;d=Wb(f,b,c+28|0)+b|0;J[a+12>>2]=d+J[c+28>>2];f=J[a+168>>2]+b|0;if(K[a+21|0]|(K[f|0]&15)>>>0<11){break a}J[a+8>>2]=d;H[a+20|0]=K[f|0]&15;d=ib(J[a+36>>2],24,0);J[a+32>>2]=d;if(!d){e=7;break a}J[a+24>>2]=1;J[a+28>>2]=1;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=J[a+12>>2];a=J[a+8>>2];J[d+4>>2]=b;J[d>>2]=a;break a}e=0}Fa=c+32|0;return e|0}function ls(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=Fa-32|0;Fa=m;n=J[a>>2];k=J[a+248>>2];a:{if(!k|K[a+220|0]==1){break a}b:{if(!b){i=1;f=I[k+34>>1];if((f|0)<=0){break a}if(!d|J[d>>2]==1){break b}e=J[(J[k+4>>2]+P(f,12)|0)-12>>2];J[m+20>>2]=c;J[m+16>>2]=e;Ra(a,19052,m+16|0);break a}i=J[b>>2];if(!d|(i|0)==J[d>>2]){break b}Ra(a,14228,0);break a}g=(J[c+4>>2]+(i<<3)|0)+37|0;f=0;c:{if(!d){break c}l=J[d>>2];o=(l|0)>0?l:0;while(1){if((h|0)==(o|0)){break c}l=Ya(J[((h<<4)+d|0)+12>>2])+1|0;g=g+l|0;f=l>>>0>g>>>0?f+1|0:f;h=h+1|0;continue}}f=ib(n,g,f);if(!f){break a}J[f>>2]=k;J[f+4>>2]=J[k+48>>2];g=(f+(i<<3)|0)+36|0;J[f+8>>2]=g;if(K[a+220|0]>=2){qe(a,g,c)}g=Qa(g,J[c>>2],J[c+4>>2]);H[g+J[c+4>>2]|0]=0;jf(g);l=J[c+4>>2];J[f+20>>2]=i;d:{e:{if(b){o=(i|0)>0?i:0;while(1){if((j|0)==(o|0)){break e}h=0;c=I[k+34>>1];q=(c|0)>0?c:0;c=(j<<4)+b|0;while(1){if((h|0)==(q|0)){break d}p=J[c+12>>2];if(Xa(J[J[k+4>>2]+P(h,12)>>2],p)){h=h+1|0;continue}break}c=(f+(j<<3)|0)+36|0;J[c>>2]=h;if(K[a+220|0]>=2){Zc(a,c,p)}j=j+1|0;continue}}J[f+36>>2]=I[k+34>>1]-1}f:{if(!d){break f}c=(g+l|0)+1|0;i=(i|0)>0?i:0;h=0;while(1){if((h|0)==(i|0)){break f}l=(h<<4)+d|0;g=J[l+12>>2];j=Ya(g);J[(f+(h<<3)|0)+40>>2]=c;if(K[a+220|0]>=2){Zc(a,c,g);g=J[l+12>>2]}c=Qa(c,g,j)+j|0;H[c|0]=0;h=h+1|0;c=c+1|0;continue}}H[f+25|0]=e;H[f+24|0]=0;H[f+26|0]=e>>>8;a=jd(J[k+60>>2]+56|0,J[f+8>>2],f);if((a|0)==(f|0)){Db(n);j=f;break a}if(a){J[f+12>>2]=a;J[a+16>>2]=f}J[k+48>>2]=f;j=0;break a}J[m>>2]=J[c+12>>2];Ra(a,10291,m);j=f}Ua(n,j);kb(n,b);kb(n,d);Fa=m+32|0}function Vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=Fa-16|0;Fa=g;c=J[a>>2];a:{b:{if(!b){f=1;break b}j=J[c>>2];c:{if(j-3>>>0<=1){d=b<<2;h=pb(d,0);if(!h){f=7;break b}k=Sa(h,0,d);e=c;while(1)if(J[e>>2]!=(j|0)){J[g+12>>2]=e;m=b-1|0;d=0;d:{e:{while(1){i=J[e+8>>2];J[e+8>>2]=0;h=0;if(i){J[i+12>>2]=0;h=c}f:{f=Vl(g+12|0,m);if(!f){e=0;c=J[g+12>>2];while(1){if(!(!c|(b|0)<=(e|0))){l=(e<<2)+k|0;f=J[l>>2];g:{if(!f){f=c;c=0;break g}J[d+16>>2]=c;J[d+12>>2]=f;J[f+8>>2]=d;J[c+8>>2]=d;n=J[d+8>>2];f=0;J[d+8>>2]=0;c=d;d=n}J[l>>2]=f;e=e+1|0;continue}break}if(!c){break f}Wd(c);f=18}e=0;b=(b|0)>0?b:0;while(1){if((b|0)==(e|0)){break e}Wd(J[(e<<2)+k>>2]);e=e+1|0;continue}}if(i){c=i+16|0;while(1){e=J[c>>2];c=e+12|0;if(J[e>>2]==(j|0)){continue}break}J[g+12>>2]=e;c=J[i+16>>2];f=J[i+8>>2];J[c+8>>2]=f;if(f){J[f+12>>2]=c;c=h}J[i+8>>2]=d;d=i;continue}break}f=0;h=(b|0)>0?b:0;c=0;e=0;while(1){if((e|0)==(h|0)){break d}i=(e<<2)+k|0;b=J[i>>2];if(b){h:{if(!c){c=b;break h}J[d+16>>2]=c;b=J[i>>2];J[d+12>>2]=b;J[b+8>>2]=d;J[c+8>>2]=d;c=d;d=J[c+8>>2]}J[c+8>>2]=0}e=e+1|0;continue}}while(1){if(d){b=J[d+8>>2];Oa(d);d=b;continue}break}c=h}Oa(k);break c}else{e=J[e+12>>2];continue}}if((j|0)!=2){break a}h=J[c+12>>2];J[g+8>>2]=h;d=J[c+16>>2];J[g+4>>2]=d;J[c+12>>2]=0;J[c+16>>2]=0;J[h+8>>2]=0;J[d+8>>2]=0;i:{b=b-1|0;f=Vl(g+8|0,b);if(!f){f=Vl(g+4|0,b);d=J[g+4>>2];if(!f){break i}}Wd(d);Wd(J[g+8>>2]);break c}b=J[g+8>>2];J[c+12>>2]=b;J[b+8>>2]=c;J[c+16>>2]=d;J[d+8>>2]=c;f=0}if(f){break b}f=0;break a}Wd(c);c=0}J[a>>2]=c;Fa=g+16|0;return f}function $z(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Fa-240|0;Fa=e;g=J[a+128>>2];a:{if(K[(g?g:a)+219|0]!=2){break a}g=J[c+80>>2];f=J[g+40>>2];if(f&8192|d&32){break a}i=K[c+60|0];h=((i<<6)+b|0)+8|0;j=J[a>>2];c=1;k=f&48;c=k|!(L[g+24>>1]?f&1024:1)?c:(d&3)!=0;l=J[a+8>>2];I[e+236>>1]=256;J[e+232>>2]=0;J[e+224>>2]=100;J[e+228>>2]=1e9;J[e+216>>2]=j;J[e+100>>2]=h;J[e+96>>2]=c?20283:20056;J[e+220>>2]=e+112;gb(e+216|0,19291,e+96|0);b:{if(!(f&1280)){h=J[g+32>>2];c:{d:{if(K[J[((i<<6)+b|0)+24>>2]+28|0]&128){if(((K[h+55|0]|K[h+56|0]<<8)&3)==2){break d}}d=18674;if(f&131072){break c}d=18707;if(f&16384){break c}d=f&64?7299:7308;break c}d=18600;if(!c){break b}}f=e+216|0;nb(f,30415,7);J[e+16>>2]=J[h>>2];gb(f,d,e+16|0);c=L[g+46>>1];h=J[g+32>>2];d=L[g+24>>1];if(!(d|K[g+40|0]&48)){break b}nb(f,27658,2);f=0;while(1){if((d|0)!=(f|0)){j=Tq(h,f);if(f){nb(e+216|0,30460,5)}J[e>>2]=j;gb(e+216|0,c>>>0>f>>>0?25184:21046,e);f=f+1|0;continue}break}c=d;f=J[g+40>>2];if(f&32){Kz(e+216|0,h,L[g+26>>1],c,c,21831);f=J[g+40>>2];c=1}if(f&16){Kz(e+216|0,h,L[g+28>>1],d,c,21868)}nb(e+216|0,27638,1);break b}if(!(!(f&256)|!(f&15))){J[e+80>>2]=15084;d=e+216|0;gb(d,6457,e+80|0);c=61;e:{if(f&5){break e}if((k|0)==48){J[e+64>>2]=15084;gb(d,7406,e- -64|0);c=60;break e}c=f&32?62:60}J[e+48>>2]=c;gb(e+216|0,26155,e+48|0);break b}if(!(f&1024)){break b}c=J[g+24>>2];J[e+36>>2]=J[g+32>>2];J[e+32>>2]=c;gb(e+216|0,6165,e+32|0)}if(K[((i<<6)+b|0)+44|0]&8){gb(e+216|0,20012,0)}b=Ed(e+216|0);$a(l,188,J[l+108>>2],J[a+232>>2],0,b,-6)}Fa=e+240|0}function co(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;i=Fa-16|0;Fa=i;a:{b:{c:{d:{e:{if(!K[a+12|0]){l=d+2|0;if((l|0)<=J[a+20>>2]){break e}}f:{if(!e){e=c;break f}Qa(e,c,d)}c=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);H[e|0]=c;H[e+1|0]=c>>>8;H[e+2|0]=c>>>16;H[e+3|0]=c>>>24;c=K[a+12|0];H[a+12|0]=c+1;J[((c<<2)+a|0)+36>>2]=e;I[((c<<1)+a|0)+28>>1]=b;break d}e=Pb(J[a+72>>2]);if(e){break a}e=K[a+9|0];j=J[a+56>>2];J[i+12>>2]=0;h=e+j|0;g=K[h+5|0]<<8|K[h+6|0];k=L[a+18>>1]+(L[a+24>>1]<<1)|0;g:{if(g>>>0<k>>>0){e=71918;if(g){break b}g=65536;if(J[J[a+52>>2]+40>>2]==65536){break g}break b}e=71921;if(J[J[a+52>>2]+40>>2]<(g|0)){break b}}h:{i:{j:{if(!K[h+2|0]){if(!K[h+1|0]){break i}if(k+2>>>0<=g>>>0){break j}break i}if(k+2>>>0>g>>>0){break i}}e=go(a,d,i+12|0);if(e){e=e-j|0;if((k|0)>=(e|0)){break c}h=e>>>8|0;break h}e=J[i+12>>2];if(e){break a}}if((k+l|0)>(g|0)){e=J[a+20>>2]-l|0;e=fo(a,(e|0)>=4?4:e);if(e){break a}g=((K[h+6|0]|K[h+5|0]<<8)-1&65535)+1|0}e=g-d|0;g=e<<8|(e&65280)>>>8;H[h+5|0]=g;H[h+6|0]=g>>>8;h=e>>>8|0}J[a+20>>2]=J[a+20>>2]-(l&65535);g=e+j|0;Qa(g+4|0,c+4|0,d-4|0);d=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);H[g|0]=d;H[g+1|0]=d>>>8;H[g+2|0]=d>>>16;H[g+3|0]=d>>>24;d=J[a+64>>2]+(b<<1)|0;Dc(d+2|0,d,L[a+24>>1]-b<<1);H[d+1|0]=e;H[d|0]=h;I[a+24>>1]=L[a+24>>1]+1;d=K[a+9|0]+j|0;b=K[d+4|0]+1|0;H[d+4|0]=b;if((b|0)!=(b&255)){b=K[a+9|0]+j|0;H[b+3|0]=K[b+3|0]+1}if(!K[J[a+52>>2]+17|0]){break d}J[i+8>>2]=0;Ti(a,a,c,i+8|0);e=J[i+8>>2];if(e){break a}}e=0;break a}e=Ta(71938);break a}e=Ta(e)}Fa=i+16|0;return e}function Em(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=Fa-48|0;Fa=g;k=J[a>>2];J[g+32>>2]=0;J[g+36>>2]=0;J[g+24>>2]=0;J[g+28>>2]=0;if(b){i=J[b>>2];e=(i|0)>=32767?32767:i;i=ib(k,P(i,12),0)}else{i=0}I[c>>1]=e;J[d>>2]=i;n=(e|0)>0?e:0;j=i;while(1){a:{b:{c:{d:{e:{f:{if((l|0)!=(n|0)){if(!J[a+36>>2]){break f}n=l}lf(g+24|0);if(!J[a+36>>2]){break d}e=0;while(1){if((e|0)==(n|0)){break e}Ua(k,J[P(e,12)+i>>2]);e=e+1|0;continue}}m=(l<<4)+b|0;o=m+8|0;h=J[m+12>>2];if(K[m+17|0]&3?0:h){break c}e=Xc(J[o>>2]);while(1){f=K[e|0];if((f|0)!=141){g:{h:{if((f|0)!=59){if(K[e+7|0]&3|(f|0)!=167){break g}f=J[e+44>>2];if(!f){break g}i:{e=I[e+32>>1];if((e|0)>=0){break i}e=I[f+32>>1];if((e|0)>=0){break i}h=15084;break c}e=J[f+4>>2]+P(e&65535,12)|0;break h}e=e+8|0}h=J[e>>2]}if(!h){break b}break c}else{e=J[e+16>>2];continue}}}Ua(k,i);J[d>>2]=0;I[c>>1]=0}Fa=g+48|0;return}if(Zr(h)){break b}f=Ob(k,h);break a}J[g+16>>2]=l+1;f=hb(k,16683,g+16|0)}J[g+44>>2]=0;while(1){j:{if(!f){break j}e=Cc(g+24|0,f);if(!e){break j}if(K[e+9|0]&128){I[j+10>>1]=L[j+10>>1]|1024}p=Ya(f);e=p;if(e){while(1){k:{if(e>>>0<=1){h=K[f|0];e=0;break k}e=e-1|0;h=K[f+e|0];if(h-58>>>0>4294967285){continue}}break}e=(h&255)==58?e:p}else{e=0}J[g>>2]=e;J[g+4>>2]=f;f=J[g+44>>2]+1|0;J[g+44>>2]=f;J[g+8>>2]=f;f=hb(k,1907,g);Fm(a);if(M[g+44>>2]<4){continue}se(4,g+44|0);continue}break}J[j>>2]=f;H[j+7|0]=yg(f);if(H[m+18|0]&1){I[j+10>>1]=L[j+10>>1]|1024}l:{if(!f){break l}if((jd(g+24|0,f,o)|0)!=(o|0)){break l}Db(k)}j=j+12|0;l=l+1|0;continue}}function gp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Fa-80|0;Fa=g;i=J[b+44>>2];J[g+60>>2]=0;h=a+404|0;j=J[b+48>>2];a:{b:{while(1){f=J[h>>2];if(!f){break b}h=f+8|0;if(J[f+4>>2]!=(b|0)){continue}break}J[g+48>>2]=J[b>>2];J[e>>2]=hb(a,7461,g+48|0);h=6;break a}h=7;k=Ob(a,J[b>>2]);if(!k){break a}f=od(28,0);c:{if(!f){Db(a);break c}H[f+18|0]=1;J[f+4>>2]=c;J[f>>2]=a;J[J[b+48>>2]+4>>2]=J[J[a+16>>2]+(Ab(a,J[b+60>>2])<<4)>>2];J[g+64>>2]=f;J[g+68>>2]=b;h=J[a+404>>2];J[g+76>>2]=0;J[g+72>>2]=h;J[a+404>>2]=g- -64;J[b+24>>2]=J[b+24>>2]+1;h=Ja[d|0](a,J[c+12>>2],i,j,f+8|0,g+60|0)|0;xd(a,b);J[a+404>>2]=J[g+72>>2];if(h){if((h|0)==7){Db(a)}b=J[g+60>>2];d:{if(!b){J[g>>2]=k;J[e>>2]=hb(a,8623,g);break d}J[g+16>>2]=b;J[e>>2]=hb(a,8863,g+16|0);Oa(J[g+60>>2])}Za(a,f);break c}h=0;d=J[f+8>>2];if(!d){break c}J[d>>2]=0;J[d+4>>2]=0;J[d+8>>2]=0;J[J[f+8>>2]>>2]=J[c>>2];h=1;J[c+8>>2]=J[c+8>>2]+1;J[f+12>>2]=1;if(!J[g+76>>2]){J[g+32>>2]=J[b>>2];J[e>>2]=hb(a,8751,g+32|0);Kf(f);break c}J[f+24>>2]=J[b+52>>2];J[b+52>>2]=f;d=0;c=0;while(1){if((d|0)<I[b+34>>1]){h=0;l=P(d,12);i=ll(l+J[b+4>>2]|0,30620);j=Ya(i);e:{f:{while(1){if((h|0)==(j|0)){break f}g:{f=h+i|0;if(!(tb(11331,f,6)|(K[f-1|0]!=32?h:0))){e=K[f+6|0];if((e|32)==32){break g}}h=h+1|0;continue}break}c=e?7:6;e=h;while(1){m=c+e|0;if(m>>>0<=j>>>0){H[e+i|0]=K[i+m|0];e=e+1|0;continue}break}if(!(K[f|0]|!h)){H[f-1|0]=0}c=J[b+4>>2]+l|0;I[c+10>>1]=L[c+10>>1]|2;c=1024;e=2;break e}e=c}J[b+28>>2]=e|J[b+28>>2];d=d+1|0;continue}break}h=0}Za(a,k)}Fa=g+80|0;return h}function Pu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=J[a+104>>2];g=(e|0)>0?e:0;f=J[a+156>>2];e=J[a+168>>2];c=J[a+224>>2];while(1){if((b|0)!=(g|0)){d=J[a+100>>2]+P(b,48)|0;if(!(J[d+8>>2]|J[d+12>>2])){h=J[a+84>>2];J[d+8>>2]=J[a+80>>2];J[d+12>>2]=h}b=b+1|0;continue}break}b=am(a);J[a+88>>2]=b;d=Ia;J[a+92>>2]=d;J[a+80>>2]=b;J[a+84>>2]=d;g=e>>>0>f>>>0;a:{b:{if(!(K[a+7|0]|K[a+5|0]==4)){b=J[a+64>>2];d=J[b>>2];if(!d){break b}if(!(Ja[J[d+48>>2]](b)&512)){break b}}H[c+8|0]=255;H[c+9|0]=255;H[c+10|0]=255;H[c+11|0]=255;H[c|0]=217;H[c+1|0]=213;H[c+2|0]=5;H[c+3|0]=249;H[c+4|0]=32;H[c+5|0]=161;H[c+6|0]=99;H[c+7|0]=215;break a}H[c|0]=0;H[c+1|0]=0;H[c+2|0]=0;H[c+3|0]=0;H[c+4|0]=0;H[c+5|0]=0;H[c+6|0]=0;H[c+7|0]=0;H[c+8|0]=0;H[c+9|0]=0;H[c+10|0]=0;H[c+11|0]=0}if(K[a+5|0]!=4){se(4,a+52|0)}b=J[a+52>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[c+12|0]=b;H[c+13|0]=b>>>8;H[c+14|0]=b>>>16;H[c+15|0]=b>>>24;b=J[a+32>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[c+16|0]=b;H[c+17|0]=b>>>8;H[c+18|0]=b>>>16;H[c+19|0]=b>>>24;b=J[a+156>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[c+20|0]=b;H[c+21|0]=b>>>8;H[c+22|0]=b>>>16;H[c+23|0]=b>>>24;b=J[a+168>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[c+24|0]=b;H[c+25|0]=b>>>8;H[c+26|0]=b>>>16;H[c+27|0]=b>>>24;d=0;e=g?f:e;Sa(c+28|0,0,e-28|0);b=0;while(1){if(!(M[a+156>>2]<=b>>>0|d)){f=J[a+68>>2];d=Ja[J[J[f>>2]+12>>2]](f,c,e,J[a+80>>2],J[a+84>>2])|0;f=J[a+84>>2];g=J[a+80>>2]+e|0;f=e>>>0>g>>>0?f+1|0:f;J[a+80>>2]=g;J[a+84>>2]=f;b=b+e|0;continue}break}return d}function fo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=L[a+18>>1];k=L[a+24>>1];n=l+(k<<1)|0;f=J[a+52>>2];d=J[f+40>>2];a:{b:{g=J[a+56>>2];h=g+K[a+9|0]|0;if(K[h+7|0]>(b|0)){j=d-4|0;break b}j=d-4|0;i=K[h+2|0]|K[h+1|0]<<8;if((j|0)<(i|0)){return Ta(71718)}if(!i){break b}b=g+i|0;e=K[b|0]<<8|K[b+1|0];if((e|0)>(j|0)){return Ta(71721)}if(e){c=e+g|0;if(K[c|0]|K[c+1|0]){break b}}c=K[h+6|0]|K[h+5|0]<<8;if(c>>>0>=i>>>0){return Ta(71729)}f=K[b+3|0]|K[b+2|0]<<8;b=i+f|0;c:{d:{if(e){if(b>>>0>e>>>0){return Ta(71732)}m=d;d=e+g|0;j=K[d+2|0]<<8|K[d+3|0];if((m|0)>=(e+j|0)){break d}return Ta(71734)}j=0;if((b|0)<=(d|0)){break c}return Ta(71738)}d=b+g|0;Dc(d+j|0,d,e-b|0);f=f+j|0}o=g+n|0;d=c+f|0;Dc(g+d|0,c+g|0,i-c|0);c=g+l|0;while(1){if(c>>>0<o>>>0){b=f;k=K[c+1|0]|K[c|0]<<8;e:{if(k>>>0>=i>>>0){b=j;if(e>>>0<=k>>>0){break e}}b=b+k|0;b=b<<8|(b&65280)>>>8;H[c|0]=b;H[c+1|0]=b>>>8}c=c+2|0;continue}break}b=K[h+7|0];break a}f:{if(!k){break f}o=K[h+6|0]|K[h+5|0]<<8;m=Qa(J[J[f>>2]+224>>2],g,d);l=g+l|0;c=0;b=d;while(1){if((c|0)==(k|0)){d=b;break f}f=(c<<1)+l|0;e=K[f|0]<<8|K[f+1|0];if((e|0)>(j|0)){return Ta(71771)}p=e+m|0;i=Ja[J[a+76>>2]](a,p)|0;b=b-i|0;if((o|0)<=(b|0)&(e+i|0)<=(d|0)){e=b<<8|(b&65280)>>>8;H[f|0]=e;H[f+1|0]=e>>>8;Qa(b+g|0,p,i);c=c+1|0;continue}else{return Ta(71777)}}}H[h+7|0]=0;b=0}m=J[a+20>>2];a=d-n|0;if((m|0)!=(a+b|0)){return Ta(71791)}H[h+1|0]=0;H[h+2|0]=0;b=d<<8|(d&65280)>>>8;H[h+5|0]=b;H[h+6|0]=b>>>8;Sa(g+n|0,0,a);return 0}function qh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;j=Fa-16|0;Fa=j;a:{b:{if(K[a|0]){break b}h=K[a+1|0];if(!(h&2)){break b}g=J[a+32>>2];f=J[a+36>>2];if((g|0)==(b|0)&(f|0)==(c|0)){f=0;J[e>>2]=0;break a}if((c|0)<=(f|0)&b>>>0<=g>>>0|(c|0)<(f|0)){break b}if(h&8){J[e>>2]=-1;f=0;break a}g=g+1|0;f=g?f:f+1|0;if((b|0)!=(g|0)|(c|0)!=(f|0)){break b}J[e>>2]=0;f=lj(a);if((f|0)==101){break b}if(f){break a}Eg(a);f=0;if((b|0)==J[a+32>>2]&(c|0)==J[a+36>>2]){break a}}f=Jf(a);if((f|0)!=16){if(f){break a}o=1-d|0;while(1){i=J[a+116>>2];l=L[i+24>>1];k=l-1|0;g=k>>o;m=J[i+64>>2];n=L[i+26>>1];p=J[i+68>>2];h=0;q=K[i+2|0];c:{d:{e:{f:{while(1){d=(g<<1)+m|0;f=((K[d|0]<<8|K[d+1|0])&n)+p|0;g:{if(!q){break g}while(1){d=f+1|0;if(H[f|0]>=0){f=d;break g}f=d;if(f>>>0<M[i+60>>2]){continue}break}f=Ta(75856);break a}Gh(f,j+8|0);h:{d=J[j+8>>2];f=J[j+12>>2];i:{if(d>>>0<b>>>0&(f|0)<=(c|0)|(c|0)>(f|0)){h=g+1|0;if((g|0)<(k|0)){break i}d=-1;break e}if((c|0)>=(f|0)&b>>>0>=d>>>0|(c|0)>(f|0)){break h}if((g|0)<=(h|0)){break f}k=g-1|0}g=h+k>>1;continue}break}I[a+70>>1]=g;if(!K[i+8|0]){h=g;break d}J[a+32>>2]=d;J[a+36>>2]=f;f=0;I[a+50>>1]=0;H[a+1|0]=K[a+1|0]|2;J[e>>2]=0;break a}d=1}if(!K[i+8|0]){break d}I[a+70>>1]=g;J[e>>2]=d;f=0;break c}d=J[i+56>>2];if((h|0)>=(l|0)){d=(d+K[i+9|0]|0)+8|0}else{f=(h<<1)+m|0;d=d+((K[f|0]<<8|K[f+1|0])&n)|0}d=ab(d);I[a+70>>1]=h;f=zg(a,d);if(!f){continue}}break}I[a+50>>1]=0;break a}J[e>>2]=-1;f=0}Fa=j+16|0;return f}function Ty(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=J[a+20>>2];a:{if(K[c+17|0]==2){b=J[c+44>>2];if(b){break a}b:{if(J[c+232>>2]|K[c+5|0]==2){break b}d=J[c>>2];b=$i(J[c+28>>2]);J[c+60>>2]=b;if(!b){return 7}b=J[c+68>>2];c:{d:{if(J[b>>2]){break d}if(K[c+5|0]==4){Sa(b+8|0,0,56);J[b>>2]=33112;J[b+4>>2]=1020;J[b+8>>2]=-1;break d}g=J[16451];e=K[c+12|0];b=av(c);if(!b){b=Xu(d,J[c+188>>2],J[c+68>>2],e?4126:2054,e?g:0)}if(b){break c}}J[c+80>>2]=0;J[c+84>>2]=0;H[c+20|0]=0;J[c+48>>2]=0;J[c+88>>2]=0;J[c+92>>2]=0;b=Pu(c);if(!b){break b}}Rf(J[c+60>>2]);J[c+80>>2]=0;J[c+84>>2]=0;J[c+60>>2]=0;return b}H[c+17|0]=3}_k(a);b=J[c+60>>2];e:{if(!b){break e}d=b;b=J[a+24>>2];if(fl(d,b)){break e}if(b>>>0<=M[c+32>>2]){e=J[a+20>>2];b=J[e+84>>2];f=J[e+80>>2];g=J[a+4>>2];h=Au(e,g);I[a+28>>1]=L[a+28>>1]|8;d=di(J[e+68>>2],f,b,J[a+24>>2]);f:{if(d){break f}d=J[e+68>>2];f=f+4|0;b=f>>>0<4?b+1|0:b;d=Ja[J[J[d>>2]+12>>2]](d,g,J[e+168>>2],f,b)|0;if(d){break f}b=J[e+172>>2]+b|0;d=f;f=J[e+168>>2];d=d+f|0;d=di(J[e+68>>2],d,d>>>0<f>>>0?b+1|0:b,h);if(d){break f}J[e+48>>2]=J[e+48>>2]+1;g=J[e+80>>2];d=g+J[e+168>>2]|0;b=J[e+172>>2]+J[e+84>>2]|0;b=d>>>0<g>>>0?b+1|0:b;d=d+8|0;b=d>>>0<8?b+1|0:b;J[e+80>>2]=d;J[e+84>>2]=b;d=Kg(J[e+60>>2],J[a+24>>2])|Qo(e,J[a+24>>2])}b=d;if(!b){break e}break a}if(K[c+17|0]==4){break e}I[a+28>>1]=L[a+28>>1]|8}I[a+28>>1]=L[a+28>>1]|4;if(J[c+104>>2]<=0){b=0}else{b=km(a)}a=J[a+24>>2];if(a>>>0<=M[c+28>>2]){break a}J[c+28>>2]=a}return b}function oz(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;j=rb(a);m=J[a+56>>2]-1|0;J[a+56>>2]=m;k=J[a+40>>2];if((h|0)<0){Na(j,49,K[e+24|0],m)}n=k-1|0;o=g+1|0;k=0;while(1){l=J[e+20>>2];if((k|0)<(l|0)){Na(j,50,wc(J[e>>2],I[(k<<2)+f>>1])+o|0,m);k=k+1|0;continue}break}a:{if(i){break a}if(!d){d=vb(a);Na(j,81,wc(J[e>>2],I[f>>1])+o|0,d);f=Na(j,13,d,0);b:{if((h|0)!=1|J[e>>2]!=(c|0)){break b}Pa(j,53,g,m,d);g=J[j+108>>2];if((g|0)<=0){break b}I[(J[j+104>>2]+P(g,20)|0)-18>>1]=144}Cd(a,n,b,c,112);Pa(j,31,n,0,d);Lb(j,m);b=J[j+108>>2];c:{if(K[J[j>>2]+87|0]){J[18300]=b;c=73192;break c}c=J[j+104>>2];J[(c+P(b,20)|0)-32>>2]=b;c=c+P(f,20)|0}J[c+8>>2]=b;mb(a,d);break a}i=ic(a,l);Pa(j,112,n,J[d+44>>2],b);zd(a,d);k=0;b=(l|0)>0?l:0;while(1){q=J[e>>2];if((b|0)!=(k|0)){Na(j,80,wc(q,I[(k<<2)+f>>1])+o|0,i+k|0);k=k+1|0;continue}break}if(!((h|0)!=1|(c|0)!=(q|0))){q=(J[j+108>>2]+l|0)+1|0;k=0;while(1){if((b|0)!=(k|0)){r=wc(J[e>>2],I[(k<<2)+f>>1])+o|0;p=L[J[d+4>>2]+(k<<1)>>1];Pa(j,52,r,q,(s=g,t=wc(J[d+12>>2],p<<16>>16)+o|0,u=(p|0)==L[c+32>>1],u?s:t));p=J[j+108>>2];if((p|0)>0){I[(J[j+104>>2]+P(p,20)|0)-18>>1]=16}k=k+1|0;continue}break}Lb(j,m)}$a(j,96,i,l,0,fh(J[a>>2],d),l);bb(j,29,n,m,i,l);Oc(a,i,l)}b=K[e+24|0];d:{e:{if(b){break e}if(!(K[a+20|0]|(J[a+128>>2]|K[J[a>>2]+34|0]&8))){jh(a,787,2,0,-1,4);break d}if((h|0)<=0){break e}c=J[a+128>>2];H[(c?c:a)+21|0]=1}Na(j,158,b,h)}cb(j,m);Va(j,122,n)}function vx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=Fa-160|0;Fa=g;m=J[b+20>>2];Sa(g+24|0,0,128);f=J[b+8>>2];h=J[b+12>>2];i=J[a+24>>2];J[g+16>>2]=c;J[g+20>>2]=((h|0)!=0)<<5|(f?11:3)|((c|0)<(i|0))<<2;J[g+8>>2]=J[b>>2];J[g+12>>2]=J[b+4>>2];f=Lj(a,m,g+8|0);a:while(1){b:{c:{d:{e:{if(f){break e}f=ai(a,m);if((f|0)==100){break b}if(f){break e}c=f;while(1){if((c|0)==16){break d}f:{i=(g+24|0)+(c<<2)|0;h=J[i>>2];g:{if(!h){break g}if(!k){f=J[i- -64>>2];J[i>>2]=0;k=h;break g}f=sx(K[a+239|0],h,J[i- -64>>2],k,f,g+152|0,g+156|0);if(f){break f}Oa(J[i>>2]);Oa(k);J[i>>2]=0;f=J[g+156>>2];k=J[g+152>>2]}c=c+1|0;continue}break}Oa(k)}c=0;while(1){if((c|0)==16){break c}Oa(J[(g+24|0)+(c<<2)>>2]);c=c+1|0;continue}}J[e>>2]=k;J[d>>2]=f;f=0}Mp(m);J[b+20>>2]=0;Fa=g+160|0;return f}j=J[m+60>>2];i=J[m+56>>2];c=0;h:{if(J[g+24>>2]){h=i;while(1){if((c|0)==16){break h}l=(g+24|0)+(c<<2)|0;n=J[l>>2];if(!n){J[l>>2]=h;J[l- -64>>2]=j;break h}o=l- -64|0;f=sx(K[a+239|0],h,j,n,J[o>>2],g+156|0,g+152|0);if(f){if((h|0)==(i|0)){continue a}Oa(h);continue a}if((h|0)!=(i|0)){Oa(h)}Oa(n);J[l>>2]=0;j=J[g+152>>2];h=J[g+156>>2];if((c|0)==15){J[l>>2]=h;J[o>>2]=j}c=c+1|0;continue}}c=j>>31;f=j+11|0;c=f>>>0<11?c+1|0:c;c=pb(f,c);J[g+88>>2]=j;J[g+24>>2]=c;f=7;if(!c){continue}c=Qa(c,i,j)+j|0;H[c|0]=0;H[c+1|0]=0;H[c+2|0]=0;H[c+3|0]=0;H[c+4|0]=0;H[c+5|0]=0;H[c+6|0]=0;H[c+7|0]=0;f=0;H[c+8|0]=0;H[c+9|0]=0;continue}f=0;continue}}function _b(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=J[a+8>>2];g=J[a+4>>2];k=K[g+16|0];h=J[a>>2];i=J[h+56>>2]-1|0;J[h+56>>2]=i;f=(b|0)==2;if(!(f&K[g+17|0]==90)){a:{b:{if((c|0)<=0){break b}if((k|0)==89){l=J[e+108>>2];if(f){if(K[g+17|0]==86){si(a,55,J[a+40>>2],c,J[a+32>>2],i);break a}si(a,57,J[a+32>>2],c,J[a+40>>2],i);break a}si(a,54,J[a+48>>2],c,J[a+40>>2],i);break b}Pa(e,59,c,i,1)}if(J[g+88>>2]|(b|0)!=1){break a}en(a,0)}m=J[e+108>>2];if(!(!c|K[g+17|0]!=K[g+18|0]|K[g+16|0]!=89)){j=vb(h);c=vb(h);c:{d:{if((b|0)==2){Na(e,135,J[a+32>>2],j);Na(e,135,J[a+48>>2],c);f=c;break d}if(!J[a+28>>2]){break c}Na(e,135,J[a+48>>2],j);f=J[a+28>>2]}Pa(e,57,f,i,j)}mb(h,j);mb(h,c)}e:{f:{switch(b-1|0){case 0:j=J[a+44>>2];c=J[a+40>>2];Or(a);break e;case 1:j=J[a+36>>2];c=J[a+32>>2];f=J[g+88>>2];if(f){Na(e,86,f,1);break e}Oq(a,g,c,1,J[a+20>>2]);break e;default:break f}}j=J[a+52>>2];c=J[a+48>>2];if(J[g+88>>2]){Na(e,86,J[g+92>>2],1);break e}Oq(a,g,c,0,J[a+20>>2])}g:{if(J[a+24>>2]!=(b|0)){b=J[e+108>>2];break g}Va(e,130,c);b=J[e+108>>2];if((b|0)<=0){break g}I[(J[e+104>>2]+P(b,20)|0)-18>>1]=2}h:{i:{if(!d){d=b;b=(k|0)==76;Na(e,39,c,d+(b?1:2)|0);if(b){break h}Na(e,9,0,i);break i}Na(e,39,c,b+2|0);n=Hb(e,9);if((k|0)==76){break h}}d=0;b=a;f=J[g+12>>2];a=0;j:{if(!f){break j}f=J[f>>2];a=0;if(!f){break j}d=f;a=ic(h,f)}Yj(b,c,a);Mr(h,J[g+12>>2],a,j,m);Oc(h,a,d)}if(l){Na(e,9,0,l)}cb(e,i)}return n}function rc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=Fa-16|0;Fa=g;f=J[a+8>>2];J[g+12>>2]=0;J[g+8>>2]=0;if(!(!b|!f)){e=K[b|0];h=e^1;a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(e-43|0){default:j:{switch(e-171|0){case 1:case 2:case 3:break b;case 0:break g;case 4:break h;default:break j}}if((e|0)!=19){break b}Fe(a,J[b+12>>2],c,d);e=0;break a;case 0:case 1:break i;case 3:case 4:break b;case 6:break c;case 5:break d;case 7:case 8:break e;case 9:case 10:case 11:case 12:case 13:case 14:break f;case 2:break g}}h=Jm(b);if((h|0)!=(b|0)){rc(a,h,c,d);e=0;break a}if((e|0)==44){rc(a,J[b+12>>2],c,d);rc(a,J[b+16>>2],c,d);e=0;break a}e=J[a+56>>2]-1|0;J[a+56>>2]=e;Fe(a,J[b+12>>2],e,d^16);rc(a,J[b+16>>2],c,d);cb(f,e);e=0;break a}f=K[b+2|0];d=((f|0)!=171)<<4;e=J[b+12>>2];if((ck(J[b+16>>2])|0)!=((f|0)==171|0)){rc(a,e,c,d);e=0;break a}Fe(a,e,c,d);e=0;break a}h=(e|0)==45?52:53;d=128}e=J[b+12>>2];if(Ee(e)){break b}e=Ec(a,e,g+12|0);f=Ec(a,J[b+16>>2],g+8|0);Lm(a,J[b+12>>2],J[b+16>>2],h,e,f,c,d,J[b+4>>2]>>>10&1);e=J[g+8>>2];break a}b=Ec(a,J[b+12>>2],g+12|0);tr(f,b);Na(f,h,b,c);e=0;break a}or(a,b,c,74,d);e=0;break a}if(d){Pm(a,b,c,c);e=0;break a}d=J[a+56>>2]-1|0;J[a+56>>2]=d;Pm(a,b,c,d);cb(f,d);e=0;break a}h=J[b+4>>2];if((h&536870913)==536870912){Lb(f,c);e=0;break a}e=0;if((h&268435457)==268435456){break a}Pa(f,17,Ec(a,b,g+12|0),c,(d|0)!=0);e=0}mb(a,J[g+12>>2]);mb(a,e)}Fa=g+16|0}function Rz(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=J[b>>2];p=J[n>>2];j=H[b+32|0]&1;k=p+!j|0;o=k+f|0;m=J[b+4>>2];if(g){i=d-g|0}else{i=J[a+44>>2];J[a+44>>2]=i+o;i=i+1|0}l=J[c+12>>2];a:{if(l){l=l+1|0;break a}l=J[c+8>>2]}h=J[a+8>>2];q=J[a+56>>2]-1|0;J[a+56>>2]=q;J[b+24>>2]=q;zf(a,n,i,e,e?5:1);if(!j){Na(h,126,J[b+8>>2],i+p|0)}if(!((f|0)<=0|g)){ri(a,d,i+k|0,f)}g=0;f=0;b:{if((m|0)>0){f=uz(a,b,c,i,o);k=J[b+4>>2];d=J[a+44>>2];J[a+44>>2]=k+d;n=d+1|0;c:{if(!j){d=Va(h,17,i+p|0);break c}d=Va(h,120,J[b+8>>2])}Pa(h,90,n,i,J[b+4>>2]);e=73192;e=K[J[h>>2]+87|0]?e:J[h+104>>2]+P(J[b+20>>2],20)|0;if(K[J[a>>2]+87|0]){break b}J[e+8>>2]=o-k;j=J[e+16>>2];Sa(J[j+16>>2],0,L[j+6>>1]);Sd(h,-1,j,-8);J[e+16>>2]=Ie(a,J[b>>2],m,L[j+8>>1]+(L[j+6>>1]^-1)|0);k=J[h+108>>2];e=k+1|0;Pa(h,14,e,0,e);e=J[a+56>>2]-1|0;J[a+56>>2]=e;J[b+16>>2]=e;j=J[a+44>>2]+1|0;J[a+44>>2]=j;J[b+12>>2]=j;Na(h,10,j,e);Va(h,146,J[b+8>>2]);if(l){Na(h,17,l,J[b+24>>2])}e=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(d,20)|0)+8>>2]=e;ri(a,i,n,J[b+4>>2]);e=J[h+108>>2];J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(k,20)|0)+8>>2]=e}if(l){d=J[b+8>>2];Na(h,60,l,J[h+108>>2]+4|0);Na(h,32,d,0);g=bb(h,40,d,0,i+m|0,p-m|0);Va(h,130,d)}if(!f){f=uz(a,b,c,i,o)}bb(h,H[b+32|0]&1?139:138,J[b+8>>2],f,i+m|0,o-m|0);if(!g){break b}b=J[b+28>>2];if(!b){b=J[h+108>>2]}J[(K[J[h>>2]+87|0]?73192:J[h+104>>2]+P(g,20)|0)+8>>2]=b}}function Xp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=Fa-32|0;Fa=c;h=J[b>>2];J[c>>2]=h;if(!h){j=a+28|0;a:{if(!J[a+28>>2]){break a}d=Ul(0,a);J[c>>2]=d;if(d){break a}b:{if(!J[j>>2]){break b}l=J[a>>2];q=J[l+36>>2];r=J[q>>2];s=Sc(J[a+12>>2],0);t=Ia;while(1){h=J[l+24>>2];i=h>>31;d=f;c:{while(1){if(h>>>0<=g>>>0&(e|0)>=(i|0)|(e|0)>(i|0)|d){break c}if(K[J[l+32>>2]+g|0]){g=g+1|0;e=g?e:e+1|0;d=0;continue}break}d=J[a+12>>2];i=g+1|0;h=i?e:e+1|0;d=Oe(d,i);J[c+24>>2]=0;f=fg(q,J[a+20>>2],d,-1,c+24|0);n=J[c+24>>2];d:while(1){if(!f){J[c+16>>2]=0;J[c+12>>2]=0;J[c+8>>2]=0;J[c+4>>2]=0;f=Ja[J[r+20>>2]](n,c+20|0,c+16|0,c+12|0,c+8|0,c+4|0)|0;J[c+28>>2]=f;d=j;while(1){k=J[d>>2];if(!k|f){continue d}m=J[k>>2];f=0;d=J[k+4>>2];e:{if(((g|0)!=(d|0)|(e|0)!=0)&(d|0)<J[l+24>>2]){break e}o=J[c+4>>2];if(o?J[m+12>>2]:0){break e}p=J[m+4>>2];d=J[c+16>>2];if((p|0)!=(d|0)&(!J[m+8>>2]|(d|0)<=(p|0))){break e}if(Cb(J[c+20>>2],J[m>>2],p)){break e}lx(k+12|0,s,t,g,e,o,o>>31,c+28|0);f=J[c+28>>2]}d=k+8|0;continue}}break}if(n){Ja[J[r+16>>2]](n)|0}if((f|0)==101){J[c+28>>2]=0;f=0}g=i;e=h;continue}break}d=j;while(1){e=J[d>>2];if(!e|f){break b}if(J[e+12>>2]){f=Hj(e+12|0,0,0)}else{f=0}d=e+8|0;continue}}J[c>>2]=f}e=Vg(a,J[a+16>>2],c);while(1){a=J[j>>2];if(a){Oa(J[a+12>>2]);J[a+12>>2]=0;j=a+8|0;continue}break}a=J[c>>2];J[b>>2]=a;d=!(a|e)}Fa=c+32|0;return d}function Fe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;g=Fa-16|0;Fa=g;f=J[a+8>>2];J[g+12>>2]=0;J[g+8>>2]=0;if(!(!b|!f)){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{e=K[b|0];switch(e-43|0){case 0:case 1:break i;case 3:case 4:break b;case 6:break c;case 5:break d;case 7:case 8:break e;case 9:case 10:case 11:case 12:case 13:case 14:break f;case 2:break g;default:break j}}k:{switch(e-171|0){case 1:case 2:case 3:break b;case 0:break g;case 4:break h;default:break k}}if((e|0)!=19){break b}rc(a,J[b+12>>2],c,d);e=0;break a}h=Jm(b);if((h|0)!=(b|0)){Fe(a,h,c,d);e=0;break a}if((e|0)==44){e=J[a+56>>2]-1|0;J[a+56>>2]=e;rc(a,J[b+12>>2],e,d^16);Fe(a,J[b+16>>2],c,d);cb(f,e);e=0;break a}Fe(a,J[b+12>>2],c,d);Fe(a,J[b+16>>2],c,d);e=0;break a}f=K[b+2|0]==171;d=f<<4;e=J[b+12>>2];if((ck(J[b+16>>2])|0)!=(f|0)){Fe(a,e,c,d);e=0;break a}rc(a,e,c,d);e=0;break a}e=(e|0)==45?53:52;d=128}h=J[b+12>>2];if(Ee(h)){break b}f=Ec(a,h,g+12|0);h=Ec(a,J[b+16>>2],g+8|0);Lm(a,J[b+12>>2],J[b+16>>2],e,f,h,c,d,J[b+4>>2]>>>10&1);e=J[g+8>>2];break a}b=Ec(a,J[b+12>>2],g+12|0);tr(f,b);Na(f,e,b,c);e=0;break a}or(a,b,c,80,d);e=0;break a}e=J[a+56>>2]-1|0;J[a+56>>2]=e;Pm(a,b,e,d?c:e);Lb(f,c);cb(f,e);e=0;break a}h=J[b+4>>2];if((h&268435457)==268435456){Lb(f,c);e=0;break a}e=0;if((h&536870913)==536870912){break a}Pa(f,16,Ec(a,b,g+12|0),c,(d|0)!=0);e=0}mb(a,J[g+12>>2]);mb(a,e)}Fa=g+16|0}function OE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if((b|0)==2){a:{if((Fb(J[c>>2])|0)!=5){if((Fb(J[c+4>>2])|0)!=5){break a}}Mb(a);return}k=a;e=yb(J[c>>2]);C(+e);a=x(1)|0;a=a&2147483647;b=!(x(0)|0)&(a|0)==2146435072|a>>>0<2146435072;g=yb(J[c+4>>2]);C(+g);a=x(1)|0;a=a&2147483647;b:{if(!(b&(!(x(0)|0)&(a|0)==2146435072|a>>>0<2146435072))){d=e+g;break b}C(+g);b=x(1)|0;a=x(0)|0;c=a;if(!(a|b-1072693248)){d=tp(e);break b}C(+e);a=x(1)|0;f=x(0)|0;j=b>>>30&2;h=j|a>>>31;a=a&2147483647;c:{if(!(a|f)){d:{switch(h-2|0){case 0:d=3.141592653589793;break b;case 1:break d;default:break c}}d=-3.141592653589793;break b}C(1.5707963267948966);f=x(1)|0;i=x(0)|0;C(+e);l=x(1)|0;x(0)|0;z(0,i|0);z(1,f&2147483647|l&-2147483648);b=b&2147483647;d=+B();if(!(b|c)){break b}e:{if((b|0)==2146435072){if((a|0)!=2146435072){break e}d=O[(h<<3)+60112>>3];break b}C(1.5707963267948966);c=x(1)|0;i=x(0)|0;C(+e);f=x(1)|0;x(0)|0;z(0,i|0);z(1,c&2147483647|f&-2147483648);d=+B();if(!((a|0)!=2146435072&a>>>0<=b+67108864>>>0)){break b}f:{if(j){d=0;if(b>>>0>a+67108864>>>0){break f}}d=tp(R(e/g))}e=d;g:{switch(h|0){case 1:d=-e;break b;case 2:d=3.141592653589793-(e+-12246467991473532e-32);break b;case 0:break c;default:break g}}d=e+-12246467991473532e-32+-3.141592653589793;break b}e=O[(h<<3)+60144>>3]}d=e}Nb(k,d);return}Z(23662,17942,570,17871);D()}function PF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=1;a:{if(J[a+56>>2]){break a}J[b+40>>2]=0;J[b+44>>2]=1095963344;J[b+20>>2]=0;c=J[b>>2];m=(c|0)>0?c:0;i=-1;g=-1;j=-1;f=-1;c=0;while(1){b:{c:{d:{if((c|0)!=(m|0)){d=J[b+4>>2]+P(c,12)|0;if(!K[d+5|0]){if(K[d+4|0]!=64){break b}J[b+48>>2]=0;J[b+52>>2]=262144;J[b+40>>2]=-981572454;J[b+44>>2]=1246829326;J[b+20>>2]=0;return 0}h=J[d>>2];l=(h|0)<0;if(l){k=1}else{k=(J[a+24>>2]+1|0)==(h|0)}d=K[d+4|0];if(!(!k|((d|0)!=2|(f|0)>=0))){J[b+40>>2]=0;J[b+44>>2]=1072693248;e=1;J[b+20>>2]=1;f=c;break d}if((d|0)==2){break d}if((d|0)!=64){break c}d=64;if(J[a+24>>2]<(h|0)|l){break c}J[b+40>>2]=0;J[b+44>>2]=1073741824;e=h+2|0;J[b+20>>2]=e;f=c;break c}c=1;if((e|0)==1){J[b+56>>2]=J[b+56>>2]|1}if((f|0)>=0){c=J[b+16>>2]+(f<<3)|0;H[c+4|0]=1;J[c>>2]=1;c=2}if((i|0)>=0){e=e|65536;J[b+20>>2]=e;J[J[b+16>>2]+(i<<3)>>2]=c;c=c+1|0}if((g|0)>=0){e=e|131072;J[b+20>>2]=e;J[J[b+16>>2]+(g<<3)>>2]=c;c=c+1|0}if((j|0)>=0){J[b+20>>2]=e|262144;J[J[b+16>>2]+(j<<3)>>2]=c}c=0;if(J[b+8>>2]!=1){break a}f=J[b+12>>2];g=J[f>>2];if((g|0)>=0&(g|0)!=(J[a+24>>2]+1|0)){break a}a=K[f+4|0];J[b+32>>2]=1;J[b+24>>2]=a?20472:20886;break a}d=2;i=(J[a+24>>2]+2|0)==(h|0)?c:i}if(!k){break b}e:{switch(d<<30|d-4>>>2){case 1:case 3:j=c;break b;case 0:case 7:break e;default:break b}}g=c}c=c+1|0;continue}}return c|0}function nm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-48|0;Fa=d;g=J[a>>2];c=J[a+256>>2];J[d+40>>2]=0;J[d+44>>2]=0;J[d+32>>2]=0;J[d+36>>2]=0;J[d+24>>2]=0;J[d+28>>2]=0;J[d+16>>2]=0;J[d+20>>2]=0;J[d+12>>2]=a;b=tc(g,J[c+4>>2],J[J[g+16>>2]+(Ab(g,J[c+24>>2])<<4)>>2]);J[a+132>>2]=b;H[a+158|0]=K[c+8|0];a:{if(b){b=Ze(a,b);if(b){break a}}b=J[c+12>>2];if(!b){b=0;break a}b=Yc(d+12|0,b)}f=c+28|0;while(1){b:{if(b){break b}e=J[f>>2];if(!e){break b}c=J[e+8>>2];c:{d:{if(!c){break d}ae(a,c,d+12|0);if(!J[a+36>>2]){break d}b=J[a+12>>2];if(b){break c}}if(!J[e+12>>2]){b=0;break c}h=rm(a,e);if(!h){b=7;break c}c=sd(a,J[e+24>>2],h,0,0,0,0,0,0);e:{if(!c){h=0;J[e+24>>2]=0;c=7;break e}bz(J[e+24>>2],1);ae(a,c,0);bz(J[e+24>>2],0);b=J[a+36>>2];if(J[e+24>>2]){J[c+28>>2]=0}J[c+32>>2]=0;ac(g,c);c=(b|0)!=0}f:{f=J[e+16>>2];if(!f){break f}b=0;if(c){break f}while(1){if(J[f>>2]<=(b|0)){break f}i=J[((b<<6)+f|0)+28>>2];if(i){ae(a,i,0);f=J[e+16>>2]}b=b+1|0;continue}}b=K[g+87|0];J[d+16>>2]=h;b=b?7:c;g:{if(b){break g}c=J[e+20>>2];if(c){b=1;if(Yc(d+12|0,c)){break g}}b=He(d+12|0,J[e+24>>2])}c=J[e+32>>2];if(!(!c|b)){J[c+32>>2]=h;J[d+36>>2]=512;J[d+20>>2]=c;f=d+12|0;b=He(f,J[c>>2]);h:{if(b){break h}b=He(f,J[c+8>>2]);if(b){break h}b=1;if(Yc(f,J[c+12>>2])){break h}b=Yc(f,J[c+4>>2])}J[d+36>>2]=0}J[d+16>>2]=0;yc(g,h)}f=e+40|0;continue}break}Fa=d+48|0;return b}function Zj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=J[a+20>>2];a:{if(!c){c=101;a=J[a+12>>2];if(!a){break a}I[a>>1]=0;return 101}f=J[a>>2];g=J[J[f>>2]>>2];J[a+20>>2]=c-1;c=J[f+60>>2];if(!(!c|!(J[b+40>>2]&512))){h=K[b+16|0];while(1){b:{if(!(K[c+41|0]&2)|K[c+16|0]!=(h|0)){break b}c:{if(zz(c,b)){e=I[c+20>>1];d=I[b+20>>1];I[b+20>>1]=(e|0)<(d|0)?e:d;e=I[b+22>>1];d=I[c+22>>1];d=(e|0)<(d|0)?e:d-1|0;break c}if(!zz(b,c)){break b}e=I[c+20>>1];d=I[b+20>>1];I[b+20>>1]=(e|0)>(d|0)?e:d;e=I[b+22>>1];d=I[c+22>>1];d=(e|0)>(d|0)?e:d+1|0}I[b+22>>1]=d}c=J[c+56>>2];if(c){continue}break}}a=J[a+12>>2];if(a){c=0;if(!L[b+44>>1]){break a}Bz(a,J[b>>2],J[b+4>>2],I[b+20>>1],I[b+22>>1]);return 0}c=yz(f+60|0,b);if(!c){return 0}d:{e:{a=J[c>>2];if(!a){a=Ib(g,72,0);J[c>>2]=a;if(a){break e}return 7}c=a+56|0;while(1){if(!J[c>>2]){break d}c=yz(c,b);if(!c){break d}f=J[c>>2];if(!f){break d}J[c>>2]=J[f+56>>2];Iz(g,f);continue}}I[a+48>>1]=3;I[a+44>>1]=0;J[a+56>>2]=0;J[a+40>>2]=0;J[a+52>>2]=a+60}Az(g,a);f:{g:{c=L[b+44>>1];if(c>>>0<=L[a+48>>1]){break g}if(!ii(g,a,c)){break g}Sa(a,0,48);c=7;break f}c=Qa(a,b,48);Qa(J[c+52>>2],J[b+52>>2],L[c+44>>1]<<2);g=J[b+40>>2];if(g&1024){H[b+28|0]=K[b+28|0]&254;c=0;break f}c=0;if(!(g&16384)){break f}J[b+32>>2]=0;c=0}if(K[a+41|0]&4){break a}b=J[a+32>>2];if(!b|((K[b+55|0]|K[b+56|0]<<8)&3)!=3){break a}J[a+32>>2]=0}return c}function zy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Fa-32|0;Fa=e;c=Qu(a);a:{if(c){break a}b:{if(K[a+7|0]){break b}c=J[a+68>>2];h=J[c>>2];if(!(!h|K[a+5|0]==4)){f=J[a+64>>2];g=J[f>>2];c:{d:{if(!g){f=0;break d}f=Ja[J[g+48>>2]](f)|0;d=1;if(f&512){break c}c=J[a+68>>2];h=J[c>>2]}J[e+8>>2]=-117058087;J[e+12>>2]=-681336544;d=J[a+48>>2];J[e+16>>2]=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=am(a);g=Ia;c=Ja[J[h+8>>2]](c,e+24|0,8,d,g)|0;e:{if(!c){if((K[e+24|0]|K[e+25|0]<<8|(K[e+26|0]<<16|K[e+27|0]<<24))!=-117058087|(K[e+28|0]|K[e+29|0]<<8|(K[e+30|0]<<16|K[e+31|0]<<24))!=-681336544){break e}c=J[a+68>>2];c=Ja[J[J[c>>2]+12>>2]](c,33196,1,d,g)|0}if((c|0)==522){break e}if(c){break a}}f:{if(!K[a+8|0]|f&1024){break f}d=K[a+10|0];if(!d){break f}c=J[a+68>>2];c=Ja[J[J[c>>2]+20>>2]](c,d)|0;if(c){break a}}c=J[a+68>>2];c=Ja[J[J[c>>2]+12>>2]](c,e+8|0,12,J[a+88>>2],J[a+92>>2])|0;if(c){break a}d=0}g:{if(f&1024){break g}c=K[a+10|0];c=((c|0)==3)<<4|c;if(!c){break g}f=J[a+68>>2];c=Ja[J[J[f>>2]+20>>2]](f,c)|0;if(c){break a}}c=J[a+84>>2];J[a+88>>2]=J[a+80>>2];J[a+92>>2]=c;if(d|!b){break b}J[a+48>>2]=0;c=Pu(a);if(!c){break b}break a}b=J[a+84>>2];J[a+88>>2]=J[a+80>>2];J[a+92>>2]=b}d=J[a+228>>2];c=d;while(1){b=J[c>>2];if(b){I[b+28>>1]=L[b+28>>1]&65527;c=b+40|0;continue}break}J[d+8>>2]=J[d+4>>2];H[a+17|0]=4;c=0}Fa=e+32|0;return c}function ki(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=K[a+25|0];e=J[a+4>>2];f=J[a+16>>2];while(1){b=(c&255)-1|0;i=J[((b<<2)+a|0)+28>>2];j=I[((b<<1)+a|0)+72>>1];k=(j|0)!=-2;while(1){c=J[e+24>>2]+P(f,48)|0;while(1){if(J[e+12>>2]>(f|0)){a:{if(J[c+20>>2]!=(i|0)|J[c+24>>2]!=(j|0)){break a}if(!k){if(sm(J[J[c>>2]+12>>2],J[a+12>>2],i)){break a}}if(H[J[c>>2]+4|0]&1&K[a+25|0]>=2){break a}g=L[c+12>>1];b:{if(!(g&2048)){break b}h=K[a+26|0];if(h>>>0>10){break b}b=Xc(J[J[c>>2]+16>>2]);if(!b|K[b|0]!=167|K[b+4|0]&32){break b}d=0;c:{while(1){if((d|0)==(h|0)){break c}if(!(J[((d<<2)+a|0)+28>>2]==J[b+28>>2]&L[((d<<1)+a|0)+72>>1]==L[b+32>>1])){d=d+1|0;continue}break}if((d|0)!=(h|0)){break b}}J[((h<<2)+a|0)+28>>2]=J[b+28>>2];I[((h<<1)+a|0)+72>>1]=L[b+32>>1];H[a+26|0]=h+1;g=L[c+12>>1]}if(!(g&J[a+20>>2])){break a}if(!(!J[a+8>>2]|g&256)){d=J[J[e>>2]>>2];b=J[c>>2];if(!Ez(b,H[a+24|0])){break a}b=Qh(d,b);if(!b){b=J[J[d>>2]+8>>2]}if(Xa(J[b>>2],J[a+8>>2])){break a}g=L[c+12>>1]}d:{if(!(g&130)){break d}b=J[J[c>>2]+16>>2];if(!b|K[b|0]!=167|J[b+28>>2]!=J[a+28>>2]){break d}if(L[b+32>>1]==L[a+72>>1]){break a}}J[a+4>>2]=e;J[a+16>>2]=f+1;return c}c=c+48|0;f=f+1|0;continue}break}f=0;e=J[e+4>>2];if(e){continue}break}b=K[a+25|0];if(b>>>0<K[a+26|0]){c=b+1|0;H[a+25|0]=c;e=J[a>>2];continue}break}return 0}function qj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{C(+a);b=x(1)|0;x(0)|0;d:{e:{e=b&2147483647;if(e>>>0>=1078159482){C(+a);e=x(1)|0;e=e&2147483647;if((e|0)==2146435072&(x(0)|0)!=0|e>>>0>2146435072){break a}if((b|0)<0){return-1}if(!(a>709.782712893384)){break e}return a*898846567431158e293}if(e>>>0<1071001155){break c}if(e>>>0>1072734897){break e}if((b|0)>0|(b|0)>=0){b=1;c=1.9082149292705877e-10;g=a+-.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;g=a+.6931471803691238;break d}C(.5);b=x(1)|0;h=x(0)|0;C(+a);e=x(1)|0;x(0)|0;z(0,h|0);z(1,b&2147483647|e&-2147483648);c=a*1.4426950408889634+ +B();f:{if(R(c)<2147483648){b=~~c;break f}b=-2147483648}d=+(b|0);c=d*1.9082149292705877e-10;g=a+d*-.6931471803691238}a=g;a=a-c;c=g-a-c;break b}if(e>>>0<1016070144){break a}b=0}f=a*.5;d=a*f;g=d*(d*(d*(d*(d*-2.0109921818362437e-7+4008217827329362e-21)+-793650757867488e-19)+.0015873015872548146)+-.03333333333333313)+1;f=3-g*f;f=d*((g-f)/(6-a*f));if(!b){return a-(a*f-d)}c=a*(f-c)-c-d;g:{switch(b+1|0){case 0:return(a-c)*.5+-.5;case 2:if(a<-.25){return(c-(a+.5))*-2}a=a-c;return a+a+1;default:break g}}z(0,0);z(1,b+1023<<20);d=+B();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*898846567431158e293:a*d)+-1}z(0,0);z(1,(b^1023)<<20);f=+B();a=(b>>>0<=19?1-f+(a-c):a-(c+f)+1)*d}return a}function _C(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Fa-32|0;Fa=c;g=K[a+16|0];a:{if((g|0)>=(b|0)){break a}e=J[a+8>>2];f=K[e+28|0];if((g|0)!=(f|0)){d=5;if((b|0)>1|f>>>0>2){break a}}b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)==1){if((f-1&255)>>>0<=1){H[a+16|0]=1;J[e+20>>2]=J[e+20>>2]+1;J[e+24>>2]=J[e+24>>2]+1;break b}I[c+2>>1]=0;J[c+16>>2]=1;J[c+20>>2]=0;break i}I[c+2>>1]=0;J[c+16>>2]=1;J[c+20>>2]=0;if((b|0)!=4){break f}if((g|0)!=2){break h}}I[c>>1]=(b|0)!=1;d=J[16608];J[c+8>>2]=d;J[c+12>>2]=d>>31;if(Jg(a,c)){d=5;e=J[18304];b=jl(e);if((b|0)==5){break a}J[a+20>>2]=e;d=b;break a}if((b|0)!=4){break g}H[a+16|0]=3;H[e+28|0]=3}d=5;if(J[e+20>>2]>1){break a}I[c>>1]=1;d=510;f=2;g=0;break e}if((b|0)!=1){break f}J[c+16>>2]=510;J[c+20>>2]=0;d=J[16608]+2|0;J[c+8>>2]=d;J[c+12>>2]=d>>31;d=0;g=0;if(Jg(a,c)){g=J[18304];d=jl(g)}J[c+16>>2]=1;J[c+20>>2]=0;I[c>>1]=2;f=J[16608];J[c+8>>2]=f;J[c+12>>2]=f>>31;j:{if(!(!Jg(a,c)|d)){g=J[18304];d=2058;break j}if(!d){break d}if((d|0)==5){break a}}J[a+20>>2]=g;break a}f=(b|0)==2;d=f?1:510;I[c>>1]=1;f=f?1:2;g=0}J[c+16>>2]=d;J[c+20>>2]=g;d=f+J[16608]|0;J[c+8>>2]=d;J[c+12>>2]=d>>31;if(!Jg(a,c)){break c}d=5;e=J[18304];b=jl(e);if((b|0)==5){break a}J[a+20>>2]=e;d=b;break a}J[e+20>>2]=1;J[e+24>>2]=J[e+24>>2]+1}H[a+16|0]=b;H[e+28|0]=b}d=0}Fa=c+32|0;return d|0}function pI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=1;e=L[J[c+4>>2]+16>>1];g=J[c>>2];b=L[g+16>>1];d=b&31;if((b&63)>>>0>=32){h=-1431655766>>>d|0}else{h=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}d=e&31;if((e&63)>>>0>=32){d=-1431655766>>>d|0}else{d=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}if(!((h|d)&1)){d=sb(g);a:{b:{g=sb(J[c+4>>2]);if((g|0)<=0){c=0;break b}c:{d:{e:{f:{g:{h:{f=b&63;b=f&31;if((f&63)>>>0>=32){b=65536>>>b|0}else{b=((1<<b)-1&65536)<<32-b|65537>>>b}h=b;e=e&63;b=e&31;if((e&63)>>>0>=32){b=65536>>>b|0}else{b=((1<<b)-1&65536)<<32-b|65537>>>b}h=h&b;i:{if(h&1){b=$c(J[c>>2]);e=$c(J[c+4>>2]);break i}k=J[c>>2];b=f&31;if((f&63)>>>0>=32){b=-65537>>>b|0}else{b=((1<<b)-1&-65537)<<32-b|-65538>>>b}f=!(b&1);b=e&31;if((e&63)>>>0>=32){b=-65537>>>b|0}else{b=((1<<b)-1&-65537)<<32-b|-65538>>>b}if(f|!(b&1)){break h}b=Wa(k);e=Wa(J[c+4>>2])}if(e){break e}break g}j=pj(k);b=Wa(j);if(b){break f}}c=0;break c}d=sb(j);c=pj(J[c+4>>2]);e=Wa(c);if(!e){break c}g=sb(c);break d}if(!d){c=0;break d}c=0;if(!b){break c}}f=K[e|0];j:while(1){if((d|0)<(g|0)){i=0;break b}k:{if(K[b|0]!=(f|0)){break k}if(Cb(b,e,g)){break k}break b}i=i+1|0;while(1){b=b+1|0;d=d-1|0;if(h&1){continue j}if((K[b|0]&192)==128){continue}break}continue}}Qb(a);break a}pc(a,i)}Pc(j);Pc(c)}}function ux(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Fa-48|0;Fa=f;a:{if(!d){Oa(J[b>>2]);J[b>>2]=0;J[b+4>>2]=0;e=0;break a}g=J[b+44>>2];if((g|0)<0){J[b+4>>2]=e;J[b>>2]=d;e=0;break a}k=J[b>>2];if(!k){Oa(d);e=0;break a}j=J[b+4>>2];b:{if((c|0)>(g|0)){n=c-g|0;g=d;h=e;break b}n=g-c|0;g=k;h=j;k=d;j=e}i=K[a+239|0];J[f+40>>2]=0;J[f+44>>2]=0;J[f+32>>2]=0;J[f+36>>2]=0;J[f+24>>2]=0;J[f+28>>2]=0;J[f+20>>2]=k;J[f+16>>2]=g;J[f+8>>2]=0;a=g;c:{d:{if(!i){break d}a=h>>31;d=h+10|0;a=d>>>0<10?a+1|0:a;a=pb(d,a);if(a){break d}e=7;break c}J[f+12>>2]=a;j=j+k|0;le(f+20|0,j,0,f+40|0);h=g+h|0;le(f+16|0,h,0,f+32|0);while(1){if(!(!J[f+20>>2]|!J[f+16>>2])){d=J[f+40>>2];e=J[f+32>>2];m=J[f+44>>2];l=J[f+36>>2];e=(l|0)<=(m|0)&d>>>0>e>>>0|(l|0)<(m|0)?1:(d|0)!=(e|0)|(m|0)!=(l|0)?-1:0;e=i?0-e|0:e;if(!e){e=J[f+8>>2];l=J[f+24>>2];p=J[f+28>>2];q=J[f+12>>2];o=f+12|0;Ql(o,i,f+24|0,f+8|0,d,m);if(!Zh(o,n,0,1,f+20|0,f+16|0)){J[f+24>>2]=l;J[f+28>>2]=p;J[f+12>>2]=q;J[f+8>>2]=e}le(f+20|0,j,i,f+40|0);le(f+16|0,h,i,f+32|0);continue}if((e|0)<0){d=f+20|0;me(0,d);le(d,j,i,f+40|0)}else{d=f+16|0;me(0,d);le(d,h,i,f+32|0)}continue}break}h=J[f+12>>2]-a|0;e=0;if(!i){break c}Oa(g);g=a}Oa(k);J[b+4>>2]=h;J[b>>2]=g}if(J[b+44>>2]<(c|0)){J[b+44>>2]=c}Fa=f+48|0;return e}function vy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=Fa-16|0;Fa=h;d=J[a+64>>2];a:{if(!J[d>>2]){e=J[a>>2];e=Ja[J[e+24>>2]](e,0,d,J[a+152>>2]&17334113|30,0)|0;if(e){break a}}e=0;c=J[a+40>>2];d=J[a+28>>2];if(c>>>0>=d>>>0|!J[b+16>>2]&c>>>0>=M[b+24>>2]){break a}J[h+8>>2]=lJ(J[a+168>>2],J[a+172>>2],d,0);J[h+12>>2]=Ia;c=J[a+64>>2];f=J[c>>2];if(f){Ja[J[f+40>>2]](c,5,h+8|0)|0;d=J[a+28>>2]}J[a+40>>2]=d}while(1){if(!(!b|e)){e=0;f=J[b+24>>2];if(!(K[b+28|0]&16|f>>>0>M[a+28>>2])){d=J[a+168>>2];e=lJ(d,J[a+172>>2],f-1|0,0);g=Ia;i=(f|0)!=1;if(!i){lq(b);d=J[a+168>>2]}j=J[a+64>>2];c=J[b+4>>2];e=Ja[J[J[j>>2]+12>>2]](j,c,d,e,g)|0;if(!i){d=K[c+28|0]|K[c+29|0]<<8|(K[c+30|0]<<16|K[c+31|0]<<24);g=K[c+24|0]|K[c+25|0]<<8|(K[c+26|0]<<16|K[c+27|0]<<24);H[a+112|0]=g;H[a+113|0]=g>>>8;H[a+114|0]=g>>>16;H[a+115|0]=g>>>24;H[a+116|0]=d;H[a+117|0]=d>>>8;H[a+118|0]=d>>>16;H[a+119|0]=d>>>24;d=K[c+36|0]|K[c+37|0]<<8|(K[c+38|0]<<16|K[c+39|0]<<24);c=K[c+32|0]|K[c+33|0]<<8|(K[c+34|0]<<16|K[c+35|0]<<24);H[a+120|0]=c;H[a+121|0]=c>>>8;H[a+122|0]=c>>>16;H[a+123|0]=c>>>24;H[a+124|0]=d;H[a+125|0]=d>>>8;H[a+126|0]=d>>>16;H[a+127|0]=d>>>24}if(f>>>0>M[a+36>>2]){J[a+36>>2]=f}J[a+208>>2]=J[a+208>>2]+1;Ru(J[a+96>>2],f,J[b+4>>2])}b=J[b+16>>2];continue}break}Fa=h+16|0;return e}function oF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=Fa-16|0;Fa=f;j=J[c+28>>2]+P(P(J[c+4>>2],b),12)|0;d=J[c>>2];h=J[d>>2];a:{if(!(!K[a+34|0]|J[J[a+8>>2]>>2]==1)){b=0;while(1){if(J[h+24>>2]<=(b|0)){break a}a=P(b,12)+j|0;c=J[d+64>>2];J[a+8>>2]=c;J[a+4>>2]=c;b=b+1|0;continue}}if(!J[a+40>>2]){g=J[d+32>>2];l=J[d+36>>2];b=a;while(1){c=b;b=J[c+8>>2];if(K[c+34|0]|J[b>>2]==1?b:0){continue}break}i=K[c+32|0];b=J[c+24>>2];m=J[c+28>>2];e=dg(c,123,h);J[f+12>>2]=e;if(e){break a}Kl(d,c,f+12|0);while(1){e=J[f+12>>2];if(!(e|K[d+6|0])){while(1){if(!K[d+7|0]){jb(J[d+12>>2])}k=f+12|0;md(d,c,k);e=K[c+32|0];J[d+88>>2]=1;H[d+7|0]=1;H[d+6|0]=e;n=J[c+28>>2];J[d+32>>2]=J[c+24>>2];J[d+36>>2]=n;if(!(J[c>>2]!=1|e)){if(Xp(d,k)){continue}}break}if(J[f+12>>2]|K[d+6|0]){continue}Vw(c,J[h+24>>2]);continue}break}J[d+32>>2]=g;J[d+36>>2]=l;H[d+6|0]=0;b:{if(i){H[c+32|0]=i;break b}Kl(d,c,f+12|0);while(1){md(d,c,f+12|0);if(K[c+32|0]){J[f+12>>2]=267;e=267}else{e=J[f+12>>2]}if(J[c+24>>2]==(b|0)&(m|0)==J[c+28>>2]){break b}if(!e){continue}break}}if(e){break a}}e=0;c=0;while(1){if(J[h+24>>2]<=(c|0)){break a}b=P(c,12);g=b+4|0;i=g+j|0;d=g;g=J[a+40>>2];J[i>>2]=J[d+g>>2];b=b+8|0;J[b+j>>2]=J[b+g>>2];c=c+1|0;continue}}Fa=f+16|0;return e|0}function yI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{f=J[c>>2];e=L[f+16>>1];d=e&31;if((e&63)>>>0>=32){d=-1431655766>>>d|0}else{d=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}if(d&1){break a}j=Wa(f);if(!j){break a}f=sb(J[c>>2]);b:{c:{d:{if((b|0)==1){k=51736;h=51740;g=1;break d}d=Wa(J[c+4>>2]);if(!d){break a}c=d;while(1){h=K[c|0];if(h){e=c+1|0;c=e;if(h>>>0>=192){while(1){c=e;e=c+1|0;if((K[c|0]&192)==128){continue}break}}g=g+1|0;continue}break}if(!g){break c}h=_g(a,g<<3,g>>>29|0);if(!h){break a}k=(g<<2)+h|0;g=0;while(1){if(K[d|0]){i=g<<2;J[i+h>>2]=d;e=d+1|0;c=e;if(K[d|0]>=192){while(1){c=e;e=c+1|0;if((K[c|0]&192)==128){continue}break}}J[i+k>>2]=c-d;g=g+1|0;d=c;continue}break}if(!g){break c}}d=J[J[a+4>>2]+8>>2];e:{if(!(d&1)|!f){break e}while(1){c=0;e=0;while(1){f:{if((c|0)==(g|0)){break f}i=c<<2;e=J[i+k>>2];if(f>>>0>=e>>>0){if(!Cb(j,J[h+i>>2],e)){break f}}c=c+1|0;continue}break}if(c>>>0>=g>>>0){break e}j=e+j|0;f=f-e|0;if(f){continue}break}f=0}g:{if(!(!(d&2)|!f)){while(1){d=f;c=0;while(1){if((c|0)==(g|0)){break g}h:{i=c<<2;e=J[i+k>>2];if(e>>>0<=d>>>0){f=d-e|0;if(!Cb(j+f|0,J[h+i>>2],e)){break h}}c=c+1|0;continue}break}d=0;if(f){continue}break g}}d=f}if((b|0)==1){break b}Oa(h);break b}d=f}lb(a,j,d,-1)}}function ch(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Fa+-64|0;Fa=e;a:{if(!b){b=0;break a}c=J[b+4>>2];if(!(!(c&3)|J[b+36>>2]!=J[a+4>>2])){J[b+36>>2]=J[a+8>>2]}b:{c:{d=K[b|0];d:{if((d|0)!=179){if(c&32|(d|0)!=167|J[b+28>>2]!=J[a+4>>2]){break d}d=J[a>>2];h=I[b+32>>1];c=J[(J[a+16>>2]+(h<<4)|0)+8>>2];if(Ee(c)){DA(d,c);break a}f=J[d>>2];e:{if(!J[a+12>>2]){break e}f:{if(K[c|0]!=167){g=J[a+8>>2];break f}g=J[a+8>>2];if((g|0)==J[c+28>>2]){break e}}d=e+12|0;Sa(d,0,52);I[e+44>>1]=65437;J[e+40>>2]=g;J[e+24>>2]=c;H[e+12|0]=179;J[e+16>>2]=262144;c=d}c=eb(f,c,0);if(!K[f+87|0]){if(J[a+12>>2]){J[c+4>>2]=J[c+4>>2]|2097152}d=J[b+4>>2]&3;if(d){gh(c,J[b+36>>2],d)}ce(f,b);if(K[c|0]==170){b=ck(c);H[c|0]=155;J[c+8>>2]=b;J[c+4>>2]=J[c+4>>2]|2048}d=hd(J[a>>2],c);b=hd(J[a>>2],J[(J[a+20>>2]+(h<<4)|0)+8>>2]);if((d|0)==(b|0)){d=K[c|0];if((d|0)==113|(d|0)==167){break c}}b=li(J[a>>2],c,b?J[b>>2]:33312);break b}_a(f,c);break a}if(J[b+28>>2]!=J[a+4>>2]){break d}J[b+28>>2]=J[a+8>>2]}J[b+12>>2]=ch(a,J[b+12>>2]);J[b+16>>2]=ch(a,J[b+16>>2]);c=J[b+20>>2];g:{if(K[b+5|0]&16){_m(a,c,1);break g}ah(a,c)}if(!(H[b+7|0]&1)){break a}c=J[b+44>>2];J[c+40>>2]=ch(a,J[c+40>>2]);ah(a,J[c+8>>2]);ah(a,J[c+12>>2]);break a}b=c}J[b+4>>2]=J[b+4>>2]&-513}Fa=e- -64|0;return b}function om(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(K[a+8|0]==2){d=J[a+4>>2];J[d+4>>2]=J[a>>2];a:{if(!K[d+17|0]){break a}l=J[d>>2];$p(d);if(K[d+18|0]){break a}b:{e=J[d+48>>2];if((e|0)!=(Ld(d,e)|0)){i=J[d+36>>2];if(((M[16608]/(i>>>0)|0)+1|0)!=(e|0)){break b}}return Ta(74258)}g=ab(J[J[d+12>>2]+56>>2]+36|0);c=g;c:{h=J[a>>2];j=J[h+260>>2];if(!j){break c}c=J[h+20>>2];c=(c|0)>0?c:0;k=J[h+16>>2];while(1){d:{m=J[h+252>>2];if((c|0)!=(f|0)){if(J[((f<<4)+k|0)+4>>2]!=(a|0)){break d}c=f}a=Ja[j|0](m,J[(c<<4)+k>>2],e,g,i)|0;c=a>>>0<g>>>0?a:g;if(!c){break a}break c}f=f+1|0;continue}}a=Rx(d,e,c);if(a>>>0>e>>>0){return Ta(74285)}f=0;if(a>>>0<e>>>0){f=gg(d,0,0)}h=(c|0)==(g|0);while(1){if(!(a>>>0>=e>>>0|f)){f=Hx(d,a,e,h);e=e-1|0;continue}break}if(!(!g|(f|0)!=101&(f|0)!=0)){f=Pb(J[J[d+12>>2]+72>>2]);if((c|0)==(g|0)){c=J[J[d+12>>2]+56>>2];H[c+32|0]=0;H[c+33|0]=0;H[c+34|0]=0;H[c+35|0]=0;c=J[J[d+12>>2]+56>>2];H[c+36|0]=0;H[c+37|0]=0;H[c+38|0]=0;H[c+39|0]=0}c=J[J[d+12>>2]+56>>2];e=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);H[c+28|0]=e;H[c+29|0]=e>>>8;H[c+30|0]=e>>>16;H[c+31|0]=e>>>24;J[d+48>>2]=a;H[d+19|0]=1}if(!f){break a}Qp(l);return f}a=J[d>>2];if(K[d+19|0]){J[a+28>>2]=J[d+48>>2]}a=Gq(a,b,0)}else{a=0}return a}function Ze(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(K[b+43|0]!=1){c=0;if(I[b+34>>1]>0){break a}}e=Fa-48|0;Fa=e;c=J[a>>2];b:{if(K[b+43|0]==1){J[c+56>>2]=J[c+56>>2]+1;c:{if(ud(c,b)){break c}d=Cc(c+388|0,J[J[b+48>>2]>>2]);if(!d){J[e>>2]=J[J[b+48>>2]>>2];Ra(a,8337,e);d=1;break c}J[e+44>>2]=0;d=gp(c,b,d,J[J[d>>2]+8>>2],e+44|0);b=J[e+44>>2];if(d){J[e+16>>2]=b;Ra(a,8863,e+16|0);J[a+12>>2]=d}Ua(c,b)}J[c+56>>2]=J[c+56>>2]-1;break b}if(I[b+34>>1]<0){J[e+32>>2]=J[b>>2];Ra(a,15888,e+32|0);d=1;break b}g=Pd(c,J[b+44>>2],0);d:{if(!g){d=1;break d}j=K[a+220|0];H[a+220|0]=0;k=J[a+40>>2];l=J[a+108>>2];rk(a,J[g+32>>2]);h=b+34|0;I[h>>1]=65535;I[c+308>>1]=0;i=J[c+364>>2];J[c+364>>2]=0;d=1;J[c+304>>2]=J[c+304>>2]+1;f=on(a,g,64);J[c+364>>2]=i;J[a+108>>2]=l;J[a+40>>2]=k;e:{if(!f){I[h>>1]=0;break e}d=J[b+16>>2];if(d){Em(a,d,h,b+4|0);d=0;if(J[a+36>>2]|J[J[g+28>>2]>>2]!=I[h>>1]){break e}ir(a,b,g,64);break e}I[b+34>>1]=L[f+34>>1];J[b+4>>2]=J[f+4>>2];J[b+28>>2]=J[b+28>>2]|J[f+28>>2]&98;d=0;J[f+4>>2]=0;I[f+34>>1]=0}I[b+36>>1]=L[b+34>>1];xd(c,f);ac(c,g);i=J[c+304>>2]-1|0;J[c+304>>2]=i;I[c+308>>1]=i?0:L[c+310>>1];H[a+220|0]=j}a=J[b+60>>2];I[a+78>>1]=L[a+78>>1]|2;if(!K[c+87|0]){break b}In(c,b)}Fa=e+48|0;c=d}return c}function tx(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Fa-16|0;Fa=e;g=J[a>>2];d=0;a:{if(!b){break a}d=0;if(K[a+52|0]!=K[g+239|0]){break a}a=J[c+64>>2];d=0;if((a|0)>4){break a}d=(a|0)>0}a=0;b:{c:{while(1){if((d|0)!=1){break c}if(J[c+64>>2]>(a|0)){i=P(a,24)+c|0;b=J[i+92>>2];d=0;d:{if(J[i+84>>2]){break d}if(!b){b=0;d=1;break d}d=J[b+44>>2]!=0}h=b?1:h;a=a+1|0;continue}break}if(!h){break c}a=J[c+68>>2];m=(a|0)>=J[g+24>>2]?-1:a;h=0;i=1;d=0;while(1){if(J[c+64>>2]<=(h|0)|d){break b}a=P(h,24)+c|0;b=J[a+92>>2];e:{if(b){j=K[g+239|0];f=J[b+4>>2];k=J[a+72>>2];l=J[a+76>>2];d=my(g,b,k,l);if(d){break e}j=j?104:105;a=0;d=(f|0)>0?f:0;f:{while(1){if((a|0)==(d|0)){break f}g:{f=J[J[b>>2]+(a<<2)>>2];if(!J[f+40>>2]){break g}if(fy(f,k,l)){break g}a=a+1|0;continue}break}d=a}J[b+8>>2]=d;a=0;while(1){h:{f=J[b>>2];if((a|0)>=(d|0)){break h}d=by(g,J[f+(a<<2)>>2]);if(d){break e}a=a+1|0;d=J[b+8>>2];continue}break}$h(f,a,a,j);J[b+32>>2]=m}d=0}h=h+1|0;continue}}i=0;d=0;a=0;while(1){if(J[c+64>>2]<=(a|0)|d){break b}b=P(a,24)+c|0;i:{if(!J[b+92>>2]){d=0;break i}J[e+12>>2]=0;J[e+8>>2]=0;d=vx(g,b+72|0,J[c+68>>2],e+12|0,e+8|0);if(d){break i}d=ux(g,c,a,J[e+8>>2],J[e+12>>2])}a=a+1|0;continue}}J[c+40>>2]=i;Fa=e+16|0;return d}function dm(a){var b=0,c=0,d=0,e=0;while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{d=a+c|0;b=K[d|0];if(b-9>>>0>=5){j:{switch(b-225|0){case 2:break e;case 1:break f;case 0:break g;default:break j}}if((b|0)==239){break d}if((b|0)==47){break i}if((b|0)==194){break h}if((b|0)!=32){break c}}c=c+1|0;continue}b=K[d+1|0];if((b|0)!=47){if(!K[d+2|0]|(b|0)!=42){break c}e=c+3|0;while(1){k:{d=a+e|0;b=K[d|0];l:{if((b|0)!=47){if(b){break l}break c}if(K[d-1|0]==42){break k}}e=e+1|0;continue}break}c=e+1|0;continue}c=c+2|0;while(1){b=a+c|0;e=K[b|0];m:{if((e|0)!=226){b=c;n:{switch(e-10|0){case 1:case 2:break m;case 0:case 3:break a;default:break n}}if(e){break m}break a}if(K[b+1|0]!=128){break m}b=c+2|0;e=K[b+a|0];if((e&254)==168){break a}}c=c+1|0;continue}}if(K[d+1|0]!=160){break c}c=c+2|0;continue}if(K[d+1|0]!=154|K[d+2|0]!=128){break c}break b}o:{switch(K[d+1|0]-128|0){case 0:b=K[d+2|0];if(b<<24>>24>=0){break c}if(b>>>0<139){break b}b=b-168|0;if(b>>>0>7){break c}if(1<<b&131){break b}break c;case 1:break o;default:break c}}if(K[d+2|0]==159){break b}break c}if(K[d+1|0]!=128){break c}if(K[d+2|0]==128){break b}break c}if(K[d+1|0]!=187){break c}if(K[d+2|0]==191){break b}}return c}c=c+3|0;continue}c=((e|0)!=0)+b|0;continue}}function Pg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{switch(b|0){case 10:J[c+12>>2]=0;I[c+16>>1]=1025;J[c>>2]=0;return;case 0:case 11:I[c+16>>1]=1;return;case 1:a=H[a|0];b=a>>31;I[c+16>>1]=4;J[c>>2]=a;J[c+4>>2]=b;return;case 2:b=K[a+1|0];a=H[a|0];I[c+16>>1]=4;a=b|a<<8;J[c>>2]=a;J[c+4>>2]=a>>31;return;case 3:b=K[a+2|0];e=K[a+1|0];a=H[a|0];I[c+16>>1]=4;a=b|(e<<8|a<<16);J[c>>2]=a;J[c+4>>2]=a>>31;return;case 4:a=K[a|0]|K[a+1|0]<<8|(K[a+2|0]<<16|K[a+3|0]<<24);I[c+16>>1]=4;a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);J[c>>2]=a;J[c+4>>2]=a>>31;return;case 5:h=K[a+1|0];i=H[a|0];d=K[a+5|0];b=K[a+4|0];f=K[a+3|0];e=K[a+2|0];I[c+16>>1]=4;g=d;d=f;a=d>>>16|0;f=d<<16;d=a;a=e;e=a>>>8|0;f=a<<24|f;a=b>>>24|0;J[c>>2]=g|(f|b<<8);J[c+4>>2]=a|(e|d)|(h|i<<8);return;case 6:case 7:d=K[a+5|0];e=d>>>16|0;h=d<<16;f=e;d=K[a+4|0];e=d>>>8|0;h=d<<24|h;i=e|f;d=K[a+1|0];e=d>>>16|0;g=d<<16;d=K[a|0];g=d<<24|g;d=K[a+2|0];d=K[a+3|0]|d<<8;e=d|g;d=h|K[a+7|0];f=e|i;e=K[a+6|0];a=e>>>24|0;e=e<<8|d;a=a|f;I[c+16>>1]=(b|0)==6?4:(g&2146435072)!=2146435072?8:e|a&1048575?1:8;J[c>>2]=e;J[c+4>>2]=a;return;case 8:case 9:I[c+16>>1]=4;J[c>>2]=b-8;J[c+4>>2]=0;return;default:break a}}J[c+8>>2]=a;J[c+12>>2]=b-12>>>1;I[c+16>>1]=L[((b&1)<<1)+34304>>1]}function kn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=Fa-16|0;Fa=l;g=J[b+12>>2];i=J[a+40>>2];J[a+40>>2]=i+2;d=J[b>>2];f=J[a>>2];e=J[f+16>>2];j=Ab(f,J[b+24>>2]);a:{if(Tb(a,27,d,0,J[e+(j<<4)>>2])){break a}rd(a,j,J[g+20>>2],1,J[g>>2]);d=rb(a);if(!d){break a}f=(c|0)<0?J[b+44>>2]:c;k=pk(a,b);h=J[a+40>>2];J[a+40>>2]=h+1;e=L[b+50>>1];if(k){J[k>>2]=J[k>>2]+1}$a(d,119,h,0,e,k,-8);Cd(a,i,j,g,112);e=Na(d,36,i,0);g=vb(a);m=J[a+128>>2];H[(m?m:a)+20|0]=1;Qm(a,b,i,g,0,l+12|0,0,0);Na(d,139,h,g);rr(a,J[l+12>>2]);Na(d,39,i,e+1|0);m=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(e,20)|0)+8>>2]=m;if((c|0)<0){Na(d,145,f,j)}e=i+1|0;$a(d,113,e,f,j,k,-8);f=J[d+108>>2];if((f|0)>0){I[(J[d+104>>2]+P(f,20)|0)-18>>1]=c>>>27&16^17}k=Na(d,34,h,0);b:{if(K[b+54|0]){c=Lb(d,1);f=J[d+108>>2];bb(d,132,h,c,g,L[b+50>>1]);br(a,2,b);j=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(c,20)|0)+8>>2]=j;break b}c=J[a+128>>2];H[(c?c:a)+21|0]=1;f=J[d+108>>2]}Pa(d,133,h,g,e);if(!(K[b+56|0]&4)){Va(d,137,e)}Na(d,138,e,g);b=J[d+108>>2];if((b|0)>0){I[(J[d+104>>2]+P(b,20)|0)-18>>1]=16}mb(a,g);Na(d,37,h,f);b=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(k,20)|0)+8>>2]=b;Va(d,122,i);Va(d,122,e);Va(d,122,h)}Fa=l+16|0}function jJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{e=b;if(e){if(!c){break j}if(!d){break i}e=S(d)-S(e)|0;if(e>>>0<=31){break h}break b}if((d|0)==1|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Ga=a-P(b,c)|0;Ha=0;Ia=0;return b}if(!a){break g}if(!d){break f}f=d-1|0;if(f&d){break f}Ga=a;Ha=e&f;a=e>>>kJ(d)|0;Ia=0;return a}f=c-1|0;if(!(f&c)){break e}k=(S(c)+33|0)-S(e)|0;g=0-k|0;break c}k=e+1|0;g=63-e|0;break c}Ga=0;a=(e>>>0)/(d>>>0)|0;Ha=e-P(a,d)|0;Ia=0;return a}e=S(d)-S(e)|0;if(e>>>0<31){break d}break b}Ga=a&f;Ha=0;if((c|0)==1){break a}c=kJ(c);d=c&31;if((c&63)>>>0>=32){e=0;a=b>>>d|0}else{e=b>>>d|0;a=((1<<d)-1&b)<<32-d|a>>>d}Ia=e;return a}k=e+1|0;g=63-e|0}f=a;e=k&63;h=e&31;if((e&63)>>>0>=32){e=0;f=b>>>h|0}else{e=b>>>h|0;f=((1<<h)-1&b)<<32-h|f>>>h}h=g&63;g=a;i=h&31;if((h&63)>>>0>=32){j=a<<i;a=0}else{j=(1<<i)-1&g>>>32-i|b<<i;a=g<<i}b=j;if(k){g=d-1|0;l=c-1|0;g=(l|0)!=-1?g+1|0:g;h=l;while(1){e=e<<1|f>>>31;f=f<<1|b>>>31;l=e;i=g-(e+(f>>>0>h>>>0)|0)|0;m=i>>31;j=m;e=f;i=c&j;f=e-i|0;e=l-((d&j)+(e>>>0<i>>>0)|0)|0;j=b<<1|a>>>31;a=n|a<<1;b=j|o;l=m&1;n=l;k=k-1|0;if(k){continue}break}}Ga=f;Ha=e;j=b<<1|a>>>31;a=l|a<<1;Ia=j|o;return a}Ga=a;Ha=b;a=0;b=0}Ia=b;return a}function Rd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Fa-16|0;Fa=g;J[g+8>>2]=0;a:{if(!Rv(a)){b=Nc(135287);break a}Lc(a,0);b=b?b:30620;b:{c:{while(1){if(!(!K[b|0]|h)){J[g+8>>2]=0;h=lh(a,b,-1,g+8|0,g+12|0);if(h){continue}i=0;b=0;j=0;k=0;f=J[g+8>>2];if(!f){h=0;b=J[g+12>>2];continue}while(1){d:{h=qb(f);e:{if(!c){break e}f:{g:{h:{if((h|0)!=100){if((h|0)!=101|b){break d}if(H[a+33|0]&1){break h}break d}if(b){break g}}b=0;j=0;j=f?L[f+144>>1]:j;i=id(a,j<<3|4,0);if(!i){break c}while(1){if((b|0)!=(j|0)){J[(b<<2)+i>>2]=wl(f,b);b=b+1|0;continue}break}if((h|0)!=100){break f}}b=0;k=(j<<2)+i|0;while(1){if((b|0)!=(j|0)){f=Oe(J[g+8>>2],b);J[(b<<2)+k>>2]=f;i:{if(f){break i}f=J[g+8>>2];if((Og(f,b)|0)==5){break i}Db(a);h=100;b=i;break c}b=b+1|0;continue}break}J[(j<<2)+k>>2]=0}b=1;l=Ja[c|0](d,j,k,i)|0;f=J[g+8>>2];if(!l){break e}kf(f);J[g+8>>2]=0;h=4;Lc(a,4);break b}if((h|0)==100){continue}}break}h=kf(f);J[g+8>>2]=0;f=J[g+12>>2];while(1){b=f;f=b+1|0;if(H[K[b|0]+31216|0]&1){continue}break}Ua(a,i);continue}break}b=0;f=J[g+8>>2]}if(f){kf(f)}i=b}Ua(a,i);b=bd(a,h);if(!(!e|!b)){c=Ob(0,Wf(a));J[e>>2]=c;if(c){break a}b=7;Lc(a,7);break a}if(!e){break a}J[e>>2]=0}Fa=g+16|0;return b|0}function Yf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if((d|0)==1){h=1;d=a;break a}f=3-d|0;c=c&-2;while(1){if(!(K[a+f|0]|(c|0)<=(f|0))){f=f+2|0;continue}break}l=(c|0)>(f|0);c=f^1;h=2;d=(d&1)+a|0}a=a+c|0;b:{while(1){j=1;if(a>>>0<=d>>>0){break b}c=K[d|0];if(H[c+31216|0]&1){d=d+h|0;continue}break}c:{switch(c-43|0){case 2:d=d+h|0;j=0;break b;case 0:break c;default:break b}}d=d+h|0}f=d;while(1){if(K[f|0]==48&a>>>0>f>>>0){f=f+h|0;continue}else{c=0;while(1){d:{g=c+f|0;k=g>>>0>=a>>>0;if(k){break d}g=K[g|0];if((g-48&255)>>>0>9){break d}c=c+h|0;i=lJ(e,i,10,0);e=g&255;i=i+e|0;g=Ia;g=e>>>0>i>>>0?g+1|0:g;e=i-48|0;i=g-(i>>>0<48)|0;continue}break}g=j?i:0-(((e|0)!=0)+i|0)|0;m=j?e:0-e|0;e=(i|0)<0;J[b>>2]=e?j?-1:0:m;J[b+4>>2]=e?j?2147483647:-2147483648:g;e:{if(!c){e=-1;if((d|0)==(f|0)){break e}}e=l;if(k|e){break e}d=c;while(1){e=1;if(!(H[K[d+f|0]+31216|0]&1)){break e}d=d+h|0;if(a>>>0>f+d>>>0){continue}break}e=0}d=P(h,19);f:{if(d>>>0>c>>>0){break f}a=1;if(c>>>0<=d>>>0){d=0;a=0;while(1){if(!(d>>>0>17|a)){a=P(H[P(d,h)+f|0]-H[d+24471|0]|0,10);d=d+1|0;continue}break}a=a?a:H[P(h,18)+f|0]-56|0;if((a|0)<0){break f}}J[b>>2]=j?-1:0;J[b+4>>2]=j?2147483647:-2147483648;e=a?2:j?3:e}}break}return e}function cd(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!b){Rb(a);return 0}m=J[a+20>>2];if(m){l=J[m+120>>2];j=l>>31}else{l=1e9;j=0}a:{b:{c:{if((d|0)<0){k=1;if((e|0)==1){break c}while(1){h=514;if(!(K[(g|1)+b|0]|K[b+g|0])|(g>>>0>l>>>0&(i|0)>=(j|0)|(i|0)>(j|0))){break b}g=g+2|0;i=g>>>0<2?i+1|0:i;continue}}h=e?2:16;k=e>>>0<=1?1:e;g=c;i=d;break a}g=ob(b);h=514;break a}k=e}if(g>>>0>l>>>0&(i|0)>=(j|0)|(i|0)>(j|0)){d:{if(f+1>>>0<2){break d}if((f|0)==5){Za(m,b);break d}Ja[f|0](b)}Rb(a);np(J[a+20>>2],18);return 18}e:{f:{if((f|0)==-1){e=7;d=(d|0)<0;c=d?(k|0)==1?1:2:0;d=i;c=c+g|0;d=c>>>0<g>>>0?d+1|0:d;if(Uh(a,(d|0)<=0&c>>>0<=32|(d|0)<0?32:c)){break e}Qa(J[a+8>>2],b,c);break f}Vc(a);J[a+8>>2]=b;if((f|0)==5){J[a+32>>2]=b;J[a+24>>2]=ff(J[a+20>>2],b);break f}J[a+36>>2]=f;h=(f?4096:8192)|h}H[a+18|0]=k;I[a+16>>1]=h;b=g&2147483647;J[a+12>>2]=b;e=0;if(k>>>0<2|b>>>0<2){break e}b=J[a+8>>2];c=K[b+1|0];b=K[b|0];g:{if((b|0)==255){h=2;if((c|0)==254){break g}}if((b|0)!=254){break e}h=3;if((c|0)!=255){break e}}e=7;if(ag(a)){break e}c=J[a+12>>2]-2|0;J[a+12>>2]=c;b=J[a+8>>2];Dc(b,b+2|0,c);e=0;H[J[a+8>>2]+J[a+12>>2]|0]=0;H[(J[a+8>>2]+J[a+12>>2]|0)+1|0]=0;H[a+18|0]=h;I[a+16>>1]=L[a+16>>1]|512}return e}function Cu(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=Fa-16|0;Fa=g;j=am(a);J[a+80>>2]=j;i=Ia;J[a+84>>2]=i;h=101;k=J[a+156>>2];l=k+j|0;k=k>>>0>l>>>0?i+1|0:i;a:{if(c>>>0<l>>>0&(d|0)<=(k|0)|(d|0)<(k|0)){break a}if(!(!b&(J[a+88>>2]==(j|0)&J[a+92>>2]==(i|0)))){b=J[a+68>>2];h=Ja[J[J[b>>2]+8>>2]](b,g+8|0,8,j,i)|0;if(h){break a}h=101;if((K[g+8|0]|K[g+9|0]<<8|(K[g+10|0]<<16|K[g+11|0]<<24))!=-117058087|(K[g+12|0]|K[g+13|0]<<8|(K[g+14|0]<<16|K[g+15|0]<<24))!=-681336544){break a}}c=J[a+68>>2];b=i;d=j+8|0;b=d>>>0<8?b+1|0:b;h=df(c,d,b,e);if(h){break a}c=J[a+68>>2];b=i;d=j+12|0;b=d>>>0<12?b+1|0:b;h=df(c,d,b,a+52|0);if(h){break a}b=J[a+68>>2];c=j+16|0;k=c>>>0<16?i+1|0:i;h=df(b,c,k,f);if(h){break a}b=J[a+84>>2];d=b;c=J[a+80>>2];b:{if(b|c){b=J[a+156>>2];h=0;break b}c=J[a+68>>2];b=i;d=j+20|0;b=d>>>0<20?b+1|0:b;h=df(c,d,b,g);if(h){break a}b=J[a+68>>2];c=j+24|0;i=c>>>0<24?i+1|0:i;h=df(b,c,i,g+4|0);if(h){break a}e=J[g+4>>2];if(!e){e=J[a+168>>2];J[g+4>>2]=e}h=101;if(e-512>>>0>65024){break a}b=J[g>>2];if(b>>>0<32|b>>>0>65536|(qJ(e)>>>0>1|qJ(b)>>>0>=2)){break a}h=Nh(a,g+4|0,-1);J[a+156>>2]=b;c=J[a+80>>2];d=J[a+84>>2]}e=b;b=b+c|0;k=e>>>0>b>>>0?d+1|0:d;J[a+80>>2]=b;J[a+84>>2]=k}Fa=g+16|0;return h}function Qn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;d=Fa+-64|0;Fa=d;J[d+8>>2]=0;J[d+12>>2]=0;f=J[a+4>>2];b=J[a+12>>2];a:{if((f|0)>=(b|0)&M[a>>2]>=M[a+8>>2]|(b|0)<(f|0)){b:{c=J[a+48>>2];c:{if(!c){break c}o=J[c+4>>2];b=J[c+12>>2];p=b;l=c+48|0;f=J[c+8>>2];bt(J[l>>2],d+24|0,J[J[J[c>>2]+12>>2]+12>>2],f,b);while(1){d:{if(e){break d}m=J[o+12>>2]+P(J[J[o+8>>2]+4>>2],56)|0;if(!J[m+24>>2]){break d}b=J[d+40>>2];k=b;g=b>>31;j=J[m+20>>2];b=J[d+48>>2];i=j+b|0;n=j>>31;h=n+J[d+52>>2]|0;h=(b>>>0>i>>>0?h+1|0:h)+g|0;b=i+k|0;h=b>>>0<i>>>0?h+1|0:h;k=b;b=rh(j,n);g=b;k=k+b|0;b=(b>>31)+h|0;b=g>>>0>k>>>0?b+1|0:b;g=J[c+16>>2];h=g+f|0;i=(g>>31)+p|0;i=h>>>0<g>>>0?i+1|0:i;if(h>>>0<k>>>0&(i|0)<=(b|0)|(b|0)>(i|0)){break d}b=d+24|0;Tn(b,j,n);Rn(b,J[m+32>>2],j);e=Dt(J[c+4>>2],d+20|0);continue}break}f=at(d+24|0,c+56|0);j=J[l+12>>2];g=J[l+8>>2];J[c+40>>2]=g;J[c+44>>2]=j;b=J[l+4>>2];J[c+32>>2]=J[l>>2];J[c+36>>2]=b;e=e?e:f;b=J[c+8>>2];f=J[c+12>>2];if((b|0)==(g|0)&(f|0)==(j|0)){J[c+20>>2]=1}if(e){break c}e=0;if(!J[c+20>>2]){break b}}hu(a);break a}e=_s(J[c>>2],a,c+32|0,b,f);if(e){break a}}e=Zs(a,d+8|0);if(e){break a}b=J[d+8>>2];J[a+20>>2]=b;e=Pn(a,b,a+32|0)}Fa=d- -64|0;return e}function XE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Fa-16|0;Fa=e;f=a+168|0;a:{b:{if(K[a+21|0]){J[e+12>>2]=0;c=Bj(a);b=K[c+J[a+168>>2]|0];h=Wb(f,c,e+12|0);c:{i=(b&15)-13>>>0<4294967294;d:{if(!i){b=J[a+24>>2];d=J[a+28>>2];e:{if(b>>>0<d>>>0){d=J[a+32>>2];break e}b=(d<<1)+3|0;d=_c(J[a+36>>2],J[a+32>>2],lJ(b,0,24,0),Ia);if(!d){break c}J[a+32>>2]=d;J[a+28>>2]=b;b=J[a+24>>2]}g=J[a+8>>2];d=P(b,24)+d|0;J[d+4>>2]=c;J[d>>2]=g;g=J[e+12>>2];J[d+16>>2]=-1;J[d+20>>2]=-1;c=c+h|0;J[d+8>>2]=g+c;J[d+12>>2]=J[a+56>>2];d=0;if(!(!b|!K[a+20|0])){Rw(a);d=K[a+65|0]?7:0;b=J[a+24>>2]}J[a+8>>2]=c;b=b+1|0;J[a+24>>2]=b;break d}c=J[e+12>>2]+(c+h|0)|0;J[a+8>>2]=c;b=J[a+24>>2]}f:{g:{while(1){if(b){h=J[a+32>>2];g=h+P(b,24)|0;if(M[g-16>>2]>c>>>0){break g}b=b-1|0;J[a+24>>2]=b;J[a+56>>2]=J[(h+P(b,24)|0)+12>>2];J[a+60>>2]=0;i=0;continue}break}c=0;if(!i){break f}break b}if(i){break b}c=K[J[f>>2]+J[g-20>>2]|0]&15}H[a+20|0]=c;break b}d=7;break a}J[e+8>>2]=0;b=Bj(a);J[a+8>>2]=(Wb(f,b,e+8|0)+b|0)+J[e+8>>2]}h:{if(K[a+20|0]!=11){break h}b=J[a+24>>2];if(!b){break h}b=(J[a+32>>2]+P(b,24)|0)-8|0;c=b;f=J[b>>2];b=J[b+4>>2];f=f+1|0;b=f?b:b+1|0;J[c>>2]=f;J[c+4>>2]=b}J[a+4>>2]=J[a+4>>2]+1}Fa=e+16|0;return d|0}function Vn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=b+c|0;d=K[a+9|0];l=d+1|0;a:{h=J[a+56>>2];j=d+h|0;b:{if(!(K[j+2|0]|K[h+l|0])){i=l;d=c;break b}d=l;c:{while(1){i=d;m=d&65535;n=m+h|0;g=K[n|0];o=K[n+1|0];d=o|g<<8;if(d>>>0>=b>>>0){break c}if(d>>>0>m>>>0){continue}break}if(!(d&65535)){break c}return Ta(72017)}d=d&65535;p=J[J[a+52>>2]+40>>2];if(d>>>0>p-4>>>0){return Ta(72022)}d:{if(!(!d|d>>>0>e+3>>>0)){if(d>>>0<e>>>0){return Ta(72034)}g=d+h|0;f=d+(K[g+2|0]<<8|K[g+3|0])|0;if(p>>>0<f>>>0){return Ta(72037)}k=d-e|0;o=K[g+1|0];g=K[g|0];d=f-b|0;break d}f=e;d=c}e:{if(l>>>0>=m>>>0){break e}e=(K[n+3|0]|K[n+2|0]<<8)+m|0;if(e+3>>>0<b>>>0){break e}if(b>>>0<e>>>0){break a}d=f-i|0;k=(b-e|0)+k|0;b=i}e=K[j+7|0];if(e>>>0<(k&255)>>>0){return Ta(72056)}H[j+7|0]=e-k;e=f}k=K[j+6|0]|K[j+5|0]<<8;f=b&65535;if(K[J[a+52>>2]+24|0]&12){Sa(f+h|0,0,d&65535)}f:{if(f>>>0<=k>>>0){if(f>>>0<k>>>0){return Ta(72070)}if((i&65535)!=(l|0)){return Ta(72071)}b=h+l|0;H[b+1|0]=o;H[b|0]=g;H[j+6|0]=e;H[j+5|0]=e>>>8;break f}i=(i&65535)+h|0;b=b<<8|(b&65280)>>>8;H[i|0]=b;H[i+1|0]=b>>>8;b=f+h|0;H[b+3|0]=d;H[b+2|0]=d>>>8;H[b+1|0]=o;H[b|0]=g}J[a+20>>2]=J[a+20>>2]+c;return 0}return Ta(72050)}function Jt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;e=J[a+8>>2];b=J[a>>2];J[b+24>>2]=J[b+24>>2]|64;d=0;a:{if(!c){break a}d=1;J[a+20>>2]=J[a+20>>2]+1;if(K[b+87|0]){ph(a,c,0);break a}b:{h=J[c+12>>2];if(!h){break b}d=J[c+16>>2];c:{if(d){g=K[d|0];if(!((g&223)!=67|(K[d+1|0]&223)!=82)){g=K[b+176|0];H[b+176|0]=e;d:{e:{if(ot(h,b+172|0)){d=J[a+24>>2];if(d>>>0>=M[b+172>>2]|!d){break d}if(K[65785]){break e}break d}if(!K[65785]){break d}}ph(a,c,14544)}J[b+180>>2]=c;H[b+178|0]=K[b+178|0]&254;d=0;J[f+12>>2]=0;Pv(b,J[c+16>>2],-1,0,0,f+12|0,0);H[b+176|0]=g;e=J[b+64>>2];f:{if(!e|H[b+178|0]&1){break f}if((e|0)>J[a+12>>2]){J[a+12>>2]=e}g:{switch(e-7|0){case 0:Db(b);break f;case 2:break f;default:break g}}if((e&255)==6){break f}ph(a,c,Wf(b))}J[b+180>>2]=66912;Rc(J[f+12>>2]);break a}d=J[c+4>>2];if(g|!d){break b}break c}d=J[c+4>>2];if(!d){break b}}b=$e(b,d,J[J[b+16>>2]+(e<<4)>>2]);h:{if(!b){ph(a,c,1547);break h}i:{j:{if(!ot(J[c+12>>2],b+44|0)){break j}d=J[b+44>>2];if(d>>>0<2|d>>>0>M[a+24>>2]){break j}d=0;if(!nt(b)){break a}if(K[65785]){break i}break a}d=0;if(!K[65785]){break a}}ph(a,c,14544)}d=0;break a}d=0;ph(a,c,0)}Fa=f+16|0;return d|0}function Pn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=Fa-16|0;Fa=k;e=J[a>>2];f=J[a+4>>2];d=J[a+44>>2];a:{b:{if(d){J[c>>2]=d+e;d=(b>>31)+f|0;c=b;b=b+e|0;d=c>>>0>b>>>0?d+1|0:d;J[a>>2]=b;J[a+4>>2]=d;break b}d=J[a+40>>2];g=d>>31;h=nJ(e,f,d,g);if(!h){l=J[a+24>>2];m=d;i=J[a+8>>2];j=i-e|0;n=d>>>0<j>>>0;d=J[a+12>>2]-(f+(e>>>0>i>>>0)|0)|0;e=Ja[J[J[l>>2]+8>>2]](l,J[a+36>>2],n&(d|0)>=(g|0)|(d|0)>(g|0)?m:j,e,f)|0;if(e){break a}d=J[a+40>>2]}g=d-h|0;if((g|0)>=(b|0)){J[c>>2]=h+J[a+36>>2];c=J[a+4>>2]+(b>>31)|0;d=b;b=b+J[a>>2]|0;c=d>>>0>b>>>0?c+1|0:c;J[a>>2]=b;J[a+4>>2]=c;break b}e=J[a+16>>2];c:{if((e|0)>=(b|0)){e=J[a+28>>2];break c}d=e>>31<<1|e>>>31;f=(e|0)<64;e=f?128:e<<1;d=f?0:d;j=b>>31;while(1){i=d;f=e;d=d<<1|e>>>31;e=e<<1;if((i|0)<=(j|0)&b>>>0>f>>>0|(i|0)<(j|0)){continue}break}e=Gd(J[a+28>>2],f,i);if(!e){e=7;break a}J[a+28>>2]=e;J[a+16>>2]=f}Qa(e,h+J[a+36>>2]|0,g);d=J[a+4>>2]+(g>>31)|0;e=g+J[a>>2]|0;d=e>>>0<g>>>0?d+1|0:d;J[a>>2]=e;J[a+4>>2]=d;d=b-g|0;while(1){if((d|0)>0){e=J[a+40>>2];h=(d|0)<(e|0)?d:e;e=Pn(a,h,k+12|0);if(e){break a}Qa(J[a+28>>2]+(b-d|0)|0,J[k+12>>2],h);d=d-h|0;continue}break}J[c>>2]=J[a+28>>2]}e=0}Fa=k+16|0;return e}function vc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(K[a+40|0]){break a}b:{c:{d:{if(!K[a+42|0]){b=2e3;c=1;d=1;break d}b=J[a+8>>2];if(b-1e4>>>0<4294952583){break c}c=J[a+16>>2];d=J[a+12>>2]}if(!K[a+41|0]){break b}}H[Sa(a,0,48)+46|0]=1;return}H[a+40|0]=1;f=(d|0)<3;g=b-f|0;b=g<<16>>16;e=(+((((b|0)/-100|0)+2<<16>>16)+(((b|0)/400<<16>>16)+((((P(f?d+12|0:d,306001)+306001|0)/1e4|0)+c|0)+((P(g,36525)+172251900>>>0)/100|0)|0)|0)|0)+-1524.5)*864e5;e:{if(R(e)<0x8000000000000000){d=~~e>>>0;if(R(e)>=1){b=~~(e>0?T(V(e*2.3283064365386963e-10),4294967295):W((e-+(~~e>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break e}d=0;b=-2147483648}J[a>>2]=d;J[a+4>>2]=b;if(!K[a+43|0]){break a}c=P(J[a+24>>2],6e4)+P(J[a+20>>2],36e5)|0;g=c;f=c>>31;e=O[a+32>>3]*1e3+.5;f:{if(R(e)<0x8000000000000000){c=~~e>>>0;if(R(e)>=1){h=~~(e>0?T(V(e*2.3283064365386963e-10),4294967295):W((e-+(~~e>>>0>>>0))*2.3283064365386963e-10))>>>0}else{h=0}break f}c=0;h=-2147483648}b=h+b|0;c=d+c|0;d=(c>>>0<d>>>0?b+1|0:b)+f|0;b=c+g|0;d=b>>>0<c>>>0?d+1|0:d;J[a>>2]=b;J[a+4>>2]=d;if(!K[a+44|0]){break a}H[a+44|0]=0;I[a+42>>1]=0;c=P(J[a+28>>2],6e4);J[a>>2]=b-c;J[a+4>>2]=d-((c>>31)+(b>>>0<c>>>0)|0)}}function VE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Fa-16|0;Fa=e;a:{b:{switch(c|0){case 0:c=J[a+24>>2];if(!c){if(J[a+16>>2]==1){break a}d=Qw(a);c=J[a+16>>2];if((d|0)==(c|0)){break a}c=c-d|0;a=d+J[a+44>>2]|0;if(K[a|0]==91){Yf(a+1|0,e+8|0,c-1|0,1);Vb(b,J[e+8>>2],J[e+12>>2]);break a}d=a+1|0;if(K[d|0]==34){lb(b,a+2|0,c-3|0,-1);break a}lb(b,d,c-1|0,-1);break a}if(K[a+20|0]==12){gm(a+168|0,J[a+8>>2],b,1);break a}a=(J[a+32>>2]+P(c,24)|0)-8|0;Vb(b,J[a>>2],J[a+4>>2]);break a;case 1:gm(a+168|0,Bj(a),b,1);break a;case 2:lb(b,J[((K[Bj(a)+J[a+168>>2]|0]&15)<<2)+52576>>2],-1,0);break a;case 3:c=Bj(a);if((K[c+J[a+168>>2]|0]&15)>>>0>10){break a}gm(a+168|0,c,b,1);break a;case 4:Vb(b,J[a+8>>2],0);break a;case 5:c=J[a+24>>2];if(!c|!K[a+21|0]){break a}Vb(b,J[(J[a+32>>2]+P(c,24)|0)-24>>2],0);break a;case 6:d=J[a+60>>2];f=d;c=J[a+56>>2];g=c;if(J[a+24>>2]){Rw(a);d=J[a+60>>2];c=J[a+56>>2]}$f(b,J[a+44>>2],c,d,-1);J[a+56>>2]=g;J[a+60>>2]=f;break a;case 7:c=Qw(a);$f(b,J[a+44>>2],c,0,-1);break a;default:lb(b,J[a+44>>2],J[a+16>>2],0);break a;case 8:break b}}c=J[a+180>>2];if(!c){he(b,J[a+168>>2],J[a+172>>2],0);break a}lb(b,c,-1,0)}Fa=e+16|0;return 0}function Dq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=Fa-32|0;Fa=k;r=Ya(d);j=Ya(c);g=j;m=J[J[a>>2]+20>>2];a:{b:{c:{d:{e:{if(d){J[k+16>>2]=d;o=hb(m,30582,k+16|0);if(o){break e}f=7;break a}h=g>>>31|0;g=g<<1|1;f=ib(m,lJ(g,h,3,0),Ia);if(f){break d}f=7;break b}h=J[b+4>>2];q=Ya(o)-1|0;f=q;f=lJ(h,h>>31,f,f>>31);h=f+g|0;g=Ia;g=f>>>0>h>>>0?g+1|0:g;f=h+1|0;g=f?g:g+1|0;f=ib(m,f,g);p=0;if(f){break c}f=7;break b}s=((j<<2)+f|0)+2|0;p=g+f|0}l=Qa(f,c,j);t=j<<1;f:while(1){g:{f=J[b>>2];g=f;if(!f){break g}while(1){g=J[g+12>>2];if(g){f=M[g+4>>2]>M[f+4>>2]?g:f;continue}else{g=b;while(1){h=g;i=J[g>>2];g=i+12|0;if((f|0)!=(i|0)){continue}break}J[h>>2]=J[f+12>>2];i=J[f+4>>2];h:{if(d){if(!(!(K[K[i|0]+31216|0]&70)|e)){g=r;h=d;break h}g=(K[J[f+8>>2]+i|0]==34)+q|0;h=o;break h}g=Qa(p,i,J[f+8>>2]);H[g+J[f+8>>2]|0]=0;jf(g);h=K[J[f+4>>2]+J[f+8>>2]|0];J[k>>2]=g;J[k+4>>2]=(h|0)==39?30595:30620;h=wd(t,s,6160,k);g=Ya(h);i=J[f+4>>2]}i=i-c|0;n=J[f+8>>2];if((n|0)!=(g|0)){n=i+n|0;Dc((g+i|0)+l|0,n+l|0,j-n|0);j=(g-J[f+8>>2]|0)+j|0;H[l+j|0]=0}Qa(i+l|0,h,g);Ua(m,f);continue f}}}break}lb(a,l,-1,-1);Za(m,l);f=0}Oa(o)}Fa=k+32|0;return f}function Iu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=Fa-16|0;Fa=e;c=J[a+20>>2];J[e+12>>2]=0;a:{b:{c:{b=J[c+232>>2];if(!b){break c}b=Po(b,J[a+24>>2],e+12|0);if(b){break a}d=J[e+12>>2];if(!d){break c}b=J[c+232>>2];f=J[b+8>>2];h=J[a+4>>2];b=L[b+66>>1];b=(b<<16|b)&130560;g=J[c+168>>2];g=(b|0)<(g|0)?b:g;d=lJ(b|24,0,d-1|0,0);b=Ia;d=d+56|0;b=d>>>0<56?b+1|0:b;b=Ja[J[J[f>>2]+8>>2]](f,h,g,d,b)|0;break b}b=J[c+64>>2];f=J[a+4>>2];d=J[c+168>>2];h=lJ(d,J[c+172>>2],J[a+24>>2]-1|0,0);b=Ja[J[J[b>>2]+8>>2]](b,f,d,h,Ia)|0;b=(b|0)!=522?b:0}if(J[a+24>>2]!=1){break a}if(b){J[c+112>>2]=-1;J[c+116>>2]=-1;J[c+120>>2]=-1;J[c+124>>2]=-1;break a}a=J[a+4>>2];b=K[a+28|0]|K[a+29|0]<<8|(K[a+30|0]<<16|K[a+31|0]<<24);d=K[a+24|0]|K[a+25|0]<<8|(K[a+26|0]<<16|K[a+27|0]<<24);H[c+112|0]=d;H[c+113|0]=d>>>8;H[c+114|0]=d>>>16;H[c+115|0]=d>>>24;H[c+116|0]=b;H[c+117|0]=b>>>8;H[c+118|0]=b>>>16;H[c+119|0]=b>>>24;b=K[a+36|0]|K[a+37|0]<<8|(K[a+38|0]<<16|K[a+39|0]<<24);a=K[a+32|0]|K[a+33|0]<<8|(K[a+34|0]<<16|K[a+35|0]<<24);H[c+120|0]=a;H[c+121|0]=a>>>8;H[c+122|0]=a>>>16;H[c+123|0]=a>>>24;H[c+124|0]=b;H[c+125|0]=b>>>8;H[c+126|0]=b>>>16;H[c+127|0]=b>>>24;b=0}Fa=e+16|0;return b}function Li(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=Fa-32|0;Fa=f;e=1;C(+c);d=x(1)|0;g=x(0)|0;a:{if((d&2146435072)==2146435072&(d&1048575|g)!=0){break a}if(K[65786]){e=0;g=0;d=Fa-16|0;Fa=d;if(a|b){e=a;a=b>>31;g=e^a;h=g-a|0;a=(a^b)-(a+(a>>>0>g>>>0)|0)|0;e=a;a=S(a);a=(a|0)==32?S(h)+32|0:a;Ud(d,h,e,0,0,a+49|0);h=0;e=h+J[d+8>>2]|0;a=(J[d+12>>2]^65536)+(16446-a<<16)|0;a=e>>>0<h>>>0?a+1|0:a;g=b&-2147483648|a;b=J[d+4>>2];a=J[d>>2]}else{b=0;a=0}J[f+16>>2]=a;J[f+20>>2]=b;J[f+24>>2]=e;J[f+28>>2]=g;Fa=d+16|0;Gl(f,c);a=J[f+16>>2];g=J[f+20>>2];b=J[f+24>>2];h=J[f+28>>2];d=J[f>>2];i=J[f+4>>2];e=J[f+8>>2];j=J[f+12>>2];l=wj(a,g,b,h,d,i,e,j);e=(m=-1,n=(vj(a,g,b,h,d,i,e,j)|0)>0,o=(l|0)<0,o?m:n);break a}if(c<-0x8000000000000000){break a}e=-1;if(c>=0x8000000000000000){break a}b:{if(R(c)<0x8000000000000000){g=~~c>>>0;if(R(c)>=1){d=~~(c>0?T(V(c*2.3283064365386963e-10),4294967295):W((c-+(~~c>>>0>>>0))*2.3283064365386963e-10))>>>0}else{d=0}break b}g=0;d=-2147483648}if(a>>>0<g>>>0&(b|0)<=(d|0)|(b|0)<(d|0)){break a}e=1;if(a>>>0>g>>>0&(b|0)>=(d|0)|(b|0)>(d|0)){break a}k=+(a>>>0)+ +(b|0)*4294967296;e=c>k?-1:k>c}Fa=f+32|0;return e}function tC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(!b){return Ta(62211)|0}e=J[a+228>>2];e=Ja[J[16476]](J[e+52>>2],b,K[e+41|0]&3)|0;a:{if(!e){g=7;f=J[a+228>>2];if(K[f+41|0]==2){break a}b:{if((Ja[J[16475]](J[f+52>>2])|0)<=J[f+28>>2]){break b}e=f+8|0;c:{d:{while(1){e=J[e>>2];if(e){if(!(J[e+32>>2]|J[e+36>>2]|K[e+28|0]&8)){break d}e=e+44|0;continue}break}J[f+8>>2]=0;e=f+4|0;while(1){e=J[e>>2];if(!e){break b}if(!(J[e+32>>2]|J[e+36>>2])){break c}e=e+44|0;continue}}J[f+8>>2]=e}g=Ja[J[f+44>>2]](J[f+48>>2],e)|0;if((g|0)==5){break b}if(g){break a}}g=7;e=Ja[J[16476]](J[f+52>>2],b,2)|0;if(!e){break a}}e=Fo(J[a+228>>2],b,e);J[c>>2]=e;e:{d=d&1;f:{if(!(d|!J[e+20>>2])){J[a+200>>2]=J[a+200>>2]+1;break f}if(J[a+164>>2]==(b|0)){g=Ta(62243);break e}J[e+20>>2]=a;if(!(!(d|!J[J[a+64>>2]>>2])&M[a+28>>2]>=b>>>0)){if(M[a+160>>2]<b>>>0){g=13;if(M[a+28>>2]<b>>>0){break e}il(e);break a}g:{if(!d){break g}c=J[18291];if(c){Ja[c|0]()}if(M[a+32>>2]>=b>>>0){Kg(J[a+60>>2],b)}Qo(a,b);b=J[18292];if(!b){break g}Ja[b|0]()}Sa(J[e+4>>2],0,J[a+168>>2]);return 0}J[a+204>>2]=J[a+204>>2]+1;g=Iu(e);if(g){break e}}return 0}bl(e)}Hu(a);J[c>>2]=0;return g|0}function ir(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Fa-48|0;Fa=i;k=J[a>>2];if(!(K[k+87|0]|K[a+220|0]>1)){while(1){l=c;c=J[c+52>>2];if(c){continue}break}c=J[l+28>>2];Sa(i+12|0,0,36);J[i+16>>2]=J[l+32>>2];n=c+8|0;f=J[b+4>>2];while(1){if(I[b+34>>1]>(m|0)){J[b+28>>2]=J[b+28>>2]|L[f+10>>1]&98;h=m<<4;j=J[h+n>>2];c=mc(j);e=(c|0)<65?d:c;H[f+5|0]=e;a:{if((e|0)<66){break a}g=0;c=J[l+56>>2];if(!c){break a}while(1){if(c){g=iA(J[(h+J[c+28>>2]|0)+8>>2])|g;c=J[c+56>>2];continue}break}c=65;e=H[f+5|0];b:{if(g&1&(e|0)==66){break b}h=(e|0)<67;if(!(g&2?h:1)){break b}if(h){break a}c=70;if(K[j|0]!=36){break a}}H[f+5|0]=c;e=c}g=Bm(i+12|0,j);c:{d:{if(g){if((Hi(g,0)|0)==(e|0)){break d}e=K[f+5|0]}g=20081;c=1;e:{e=e&255;switch(e-67|0){case 0:case 3:break d;default:break e}}while(1){if((c|0)==6){break c}if((e|0)!=K[c+49984|0]){c=c+1|0;continue}break}g=J[(c<<2)+66912>>2];if(!g){break c}}c=J[f>>2];e=Ya(g);h=Ya(c);c=Oi(k,c,(e+h|0)+2|0,0);J[f>>2]=c;I[f+10>>1]=L[f+10>>1]&65019;if(!c){break c}Qa((c+h|0)+1|0,g,e+1|0);I[f+10>>1]=L[f+10>>1]|4}c=hd(a,j);if(c){gs(k,f,J[c>>2])}f=f+12|0;m=m+1|0;continue}break}I[b+40>>1]=1}Fa=i+48|0}function mi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Fa-16|0;Fa=j;m=J[c+40>>2];a:{b:{h=J[c+20>>2];c:{d:{if((h|0)==1){e=I[b+32>>1];if((e|0)<0){break d}if(!m){break c}if(Xa(J[J[b+4>>2]+P(e,12)>>2],m)){break d}break a}if(!e){break d}f=Ib(J[a>>2],h<<2,0);if(!f){break b}J[e>>2]=f}n=(h|0)>0?h:0;e=b+8|0;while(1){e:{f:{g:{h:{g=J[e>>2];if(g){if(J[g+36>>2]|(!K[g+54|0]|L[g+50>>1]!=(h|0))){break f}if(!m){break h}i=0;i:while(1){if((i|0)==(n|0)){i=n;break g}e=I[J[g+4>>2]+(i<<1)>>1];if((e|0)<0){break g}o=i<<2;k=J[o+J[g+32>>2]>>2];e=J[b+4>>2]+P(e&65535,12)|0;l=Sf(e);if(Xa(k,l?l:33312)){break g}l=J[e>>2];e=0;while(1){k=(e|0)==(h|0);if(k){break g}p=(e<<3)+c|0;if(Xa(J[p+40>>2],l)){e=e+1|0;continue}else{if(f){J[f+o>>2]=J[p+36>>2]}if(k){break g}i=i+1|0;continue i}}}}if(!K[a+161|0]){b=J[J[c>>2]>>2];J[j+4>>2]=J[c+8>>2];J[j>>2]=b;Ra(a,29219,j)}Ua(J[a>>2],f);break b}if(((K[g+55|0]|K[g+56|0]<<8)&3)!=2){break f}if(!f){break e}e=0;while(1){if((e|0)==(n|0)){break e}J[(e<<2)+f>>2]=J[((e<<3)+c|0)+36>>2];e=e+1|0;continue}}if((i|0)==(h|0)){break e}}e=g+20|0;continue}break}J[d>>2]=g}f=0;break a}f=1}Fa=j+16|0;return f}function ek(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Fa-48|0;Fa=d;a:{if(J[a+36>>2]){break a}f=J[a+8>>2];e=J[b+20>>2];c=J[b+4>>2];if(c&33554432){J[d+16>>2]=J[e+16>>2];cc(a,0,17466,d+16|0);Na(f,10,J[b+48>>2],J[b+44>>2]);g=J[b+28>>2];break a}J[b+4>>2]=c|33554432;g=1;c=J[a+44>>2]+1|0;J[a+44>>2]=c;J[b+48>>2]=c;J[b+44>>2]=Na(f,74,0,c)+1;if(!(K[b+4|0]&64)){j=Hb(f,15)}J[d+4>>2]=J[e+16>>2];J[d>>2]=j?30620:30466;cc(a,1,17445,d);h=K[b|0]!=138;g=h?g:J[J[e+28>>2]>>2];c=J[a+44>>2];J[d+36>>2]=0;J[d+40>>2]=0;J[d+28>>2]=0;J[d+32>>2]=0;i=c+1|0;J[d+24>>2]=i;c=c+g|0;J[a+44>>2]=c;b:{if(!h){J[d+36>>2]=g;J[d+32>>2]=i;Pa(f,75,0,i,c);c=10;break b}Na(f,71,0,i);c=3}H[d+20|0]=c;h=J[a>>2];c:{if(J[e+60>>2]){c=jc(h,155,24878);if(c){H[c+1|0]=67;c=db(a,52,eb(h,J[J[e+60>>2]+12>>2],0),c)}else{c=0}fk(a,J[J[e+60>>2]+12>>2]);J[J[e+60>>2]+12>>2]=c;break c}J[e+60>>2]=db(a,148,jc(h,155,24095),0)}g=0;J[e+8>>2]=0;if(Gc(a,e,d+20|0)){H[b+2|0]=K[b|0];H[b|0]=182;break a}g=J[d+24>>2];J[b+28>>2]=g;if(j){c=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(j,20)|0)+8>>2]=c}Pa(f,67,J[b+48>>2],J[b+44>>2],1);J[a+28>>2]=0;H[a+19|0]=0}Fa=d+48|0;return g}function Xy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-80|0;Fa=d;e=b;b=d+32|0;a:{if(kg(a,e,c,b)){break a}Ue(b);H[d+5|0]=45;H[d+8|0]=45;H[d+11|0]=32;H[d+14|0]=58;b=J[d+44>>2];c=(b|0)/10|0;H[d+6|0]=((c|0)%10|0)+48;e=J[d+48>>2];f=(e|0)/10|0;H[d+9|0]=((f|0)%10|0)+48;h=J[d+52>>2];i=(h|0)/10|0;H[d+12|0]=((i|0)%10|0)+48;H[d+7|0]=(b-P(c,10)|0)+48;H[d+10|0]=(e-P(f,10)|0)+48;H[d+13|0]=(h-P(i,10)|0)+48;f=J[d+40>>2];b=f>>31;b=(b^f)-b|0;H[d+2|0]=((b>>>0)/100>>>0)%10|48;H[d+1|0]=((b>>>0)/1e3>>>0)%10|48;c=(b>>>0)/10|0;H[d+3|0]=(c>>>0)%10|48;H[d+4|0]=b-P(c,10)|48;b=J[d+56>>2];H[d+17|0]=58;c=b;b=(b|0)/10|0;H[d+16|0]=(c-P(b,10)|0)+48;H[d+15|0]=((b|0)%10|0)+48;g=O[d+64>>3];b:{if(K[d+79|0]){H[d+24|0]=0;g=g*1e3+.5;c:{if(R(g)<2147483648){c=~~g;break c}c=-2147483648}H[d+21|0]=(((c|0)/100|0)%10|0)+48;b=(c|0)/10|0;H[d+22|0]=((b|0)%10|0)+48;H[d+23|0]=(c-P(b,10)|0)+48;b=(c|0)/1e3|0;e=24;h=46;c=(c|0)/1e4|0;break b}e=20;h=0;if(R(g)<2147483648){b=~~g}else{b=-2147483648}c=(b|0)/10|0}H[d+20|0]=h;H[d+19|0]=((b|0)%10|0)+48;H[d+18|0]=((c|0)%10|0)+48;if((f|0)<0){H[d|0]=45;lb(a,d,e,-1);break a}lb(a,d|1,e-1|0,-1)}Fa=d+80|0}function jr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Fa-16|0;Fa=i;a:{if(d){k=134217728;f=-1;e=J[d>>2];break a}b:{if(c){f=-1;e=vA(b);break b}e=56;if(K[b+5|0]&8){break b}g=J[b+8>>2];if(!g){break b}e=ob(g)&1073741823;f=e+1|0;e=e+60&2147483640}e=Ib(a,e,e>>31)}J[i+12>>2]=e;c:{if(!e){break c}j=uA(b,c);d:{if((f|0)>=0){break d}f=0;if(K[b+5|0]&8){break d}g=J[b+8>>2];if(!g){break d}f=Ya(g)+1|0}e:{if(c){g=j&4095;Qa(e,b,g);break e}g=52;h=J[b+4>>2];h=h&65536?12:h&16384?28:52;l=Qa(e,b,h);if(h>>>0>51){break e}Sa(h+l|0,0,52-h|0)}h=J[e+4>>2]&-134299649|(j&81920|k);J[e+4>>2]=h;if(f){h=e+g|0;J[e+8>>2]=h;Qa(h,J[b+8>>2],f);h=J[e+4>>2];g=f+g|0}J[i+12>>2]=(g+7&-8)+e;g=J[b+4>>2];if((g|h)&8454144){break c}f=J[b+20>>2];f:{if(g&4096){f=Pd(a,f,c);break f}f=kc(a,f,K[b|0]!=145?c:0)}J[e+20>>2]=f;if(H[b+7|0]&1){J[e+44>>2]=yA(a,e,J[b+44>>2])}f=J[b+12>>2];g=K[b|0];g:{if(c){h:{if((g|0)==178){break h}if(!f){f=0;break h}f=jr(a,f,1,i+12|0)}J[e+12>>2]=f;b=J[b+16>>2];c=0;if(!b){break g}c=jr(a,b,1,i+12|0);break g}c=e;if((g|0)!=178){f=eb(a,f,0)}J[c+12>>2]=f;c=eb(a,J[b+16>>2],0)}J[e+16>>2]=c}if(d){J[d>>2]=J[i+12>>2]}Fa=i+16|0;return e}function XB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=(K[b|0]&63)+b|0;a:{b:{switch(K[b+1|0]-1|0){case 1:e=K[d+1|0]|H[d|0]<<8;f=e>>31;break a;case 2:e=K[d+2|0]|(K[d+1|0]<<8|H[d|0]<<16);f=e>>31;break a;case 3:e=K[d|0]|K[d+1|0]<<8|(K[d+2|0]<<16|K[d+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=e>>31;break a;case 4:e=K[d+3|0];g=e>>>16|0;h=e<<16;f=g;e=K[d+2|0];g=e>>>8|0;h=e<<24|h;f=f|g;e=K[d+4|0];g=e>>>24|0;i=K[d+5|0]|(e<<8|h);f=f|g;g=K[d+1|0]|H[d|0]<<8;e=i;f=f|g;break a;case 5:e=K[d+4|0]|K[d+5|0]<<8|(K[d+6|0]<<16|K[d+7|0]<<24);f=K[d|0]|K[d+1|0]<<8|(K[d+2|0]<<16|K[d+3|0]<<24);h=f<<24|(f&65280)<<8;d=f&16711680;g=d<<24;d=d>>>8|0;j=g;i=f&-16777216;g=i>>>24|0;e=j|i<<8|(((e&255)<<24|f>>>8)&-16777216|((e&16777215)<<8|f>>>24)&16711680|(e>>>8&65280|e>>>24));j=d|g|h;g=0;f=j|(g|g);break a;case 8:e=1;break a;default:return Mi(a,b,c)|0;case 7:break a;case 0:break b}}e=H[d|0];f=e>>31}g=J[c+8>>2];d=J[c+12>>2];if(g>>>0>e>>>0&(d|0)>=(f|0)|(d|0)>(f|0)){return H[c+24|0]}if((d|0)<=(f|0)&e>>>0>g>>>0|(d|0)<(f|0)){return H[c+25|0]}if(L[c+20>>1]>=2){return vh(a,b,c,1)|0}H[c+26|0]=1;return H[c+22|0]}function Ix(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;h=c;a:{b:{if(J[a+40>>2]){c=19;a=J[((J[a+24>>2]<<2)+b|0)+12>>2];e=L[a+16>>1];d=e&31;g=e&63;if((e&63)>>>0>=32){d=-1431655766>>>d|0}else{d=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}c:{if(!(d&1)){break c}a=J[b+4>>2];g=L[a+16>>1]&63}b=g;if((b&63)>>>0>=32){b=0}else{b=1347440720>>>b|0}if(!(b&1)){break a}c=0;a=fb(a);b=Ia;break b}c=Gb(a,18,f+12|0,b+4|0);if(c){break a}if(J[a+44>>2]){c=J[f+12>>2];e=J[a+24>>2];d=fb(J[((e<<2)+b|0)+16>>2]);c=Uc(c,e+2|0,d);if(c){break a}}e=J[((J[a+24>>2]<<2)+b|0)+12>>2];d=L[e+16>>1];c=d&31;if((d&63)>>>0>=32){c=-1431655766>>>c|0}else{c=((1<<c)-1&-1431655766)<<32-c|-1431655766>>>c}d:{if(c&1){b=J[f+12>>2];break d}d=L[J[b>>2]+16>>1];c=d&31;if((d&63)>>>0>=32){c=-1431655766>>>c|0}else{c=((1<<c)-1&-1431655766)<<32-c|-1431655766>>>c}if(c&1){c=1;d=L[J[b+4>>2]+16>>1];b=d&31;if((d&63)>>>0>=32){b=-1431655766>>>b|0}else{b=((1<<b)-1&-1431655766)<<32-b|-1431655766>>>b}if(!(b&1)){break a}}b=J[f+12>>2];c=jp(b,1,e);if(c){break a}}qb(b);c=jb(b);b=J[a+12>>2];a=J[b+40>>2];b=J[b+44>>2]}J[h>>2]=a;J[h+4>>2]=b}Fa=f+16|0;return c}function Ip(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Fa-16|0;Fa=g;a:{b:{c:{d:{e:{f=J[b>>2];if(!f){k=J[a+232>>2];break e}e=J[f+32>>2];j=J[f+16>>2];i=Fj(j,J[f+20>>2],c,d);h=d-i|0;if((h|0)<=0){d=267;break a}m=i>>31;l=(Md(i,m)+(e+h|0)|0)+Md(h,0)|0;k=J[a+232>>2];if((l|0)>(k|0)){if(j){break e}a=pb(l,l>>31);J[f+36>>2]=a;if(!a){break d}j=J[f+16>>2]}if(j){e=hc(J[f+36>>2]+e|0,i,m)+e|0}a=hc(J[f+36>>2]+e|0,h,0)+e|0;Qa(a+J[f+36>>2]|0,c+i|0,h);J[f+32>>2]=a+h;J[f+12>>2]=J[f+12>>2]+1;e=J[f+28>>2];if(J[f+24>>2]<(d|0)){a=d<<1;e=Bc(e,a,d>>31<<1|d>>>31);if(!e){break d}J[f+28>>2]=e;J[f+24>>2]=a}J[f+16>>2]=e;Qa(e,c,d);J[f+20>>2]=d;d=0;break a}e=pb(k+40|0,0);J[g+12>>2]=e;if(!e){break d}J[e>>2]=0;J[e+4>>2]=0;J[e+32>>2]=11;J[e+24>>2]=0;J[e+28>>2]=0;J[e+16>>2]=0;J[e+20>>2]=0;J[e+8>>2]=0;J[e+12>>2]=0;J[e+36>>2]=e+40;if(!f){break c}J[g+8>>2]=J[f>>2];d=Ip(a,g+8|0,c,d);a=J[g+8>>2];if(!J[f>>2]){J[f>>2]=a}J[f+4>>2]=e;c=J[f+8>>2];J[e>>2]=a;J[e+8>>2]=c;J[e+28>>2]=J[f+28>>2];J[e+24>>2]=J[f+24>>2];J[f+28>>2]=0;break b}d=7;break a}J[e+8>>2]=e;d=Ip(a,g+12|0,c,d);e=J[g+12>>2]}J[b>>2]=e}Fa=g+16|0;return d}function sx(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Fa-48|0;Fa=h;J[h+40>>2]=0;J[h+44>>2]=0;J[h+32>>2]=0;J[h+36>>2]=0;J[h+24>>2]=0;J[h+28>>2]=0;J[h+20>>2]=b;J[h+16>>2]=d;J[h+8>>2]=0;J[f>>2]=0;J[g>>2]=0;i=(c>>31)+(e>>31)|0;j=c+e|0;i=j>>>0<e>>>0?i+1|0:i;j=j+17|0;i=j>>>0<17?i+1|0:i;i=pb(j,i);a:{if(!i){b=7;break a}J[h+12>>2]=i;j=b+c|0;le(h+20|0,j,0,h+40|0);d=d+e|0;le(h+16|0,d,0,h+32|0);b:{c:{while(1){e=J[h+20>>2];n=J[h+16>>2];if(!(e|n)){break c}d:{b=J[h+40>>2];c=J[h+32>>2];k=J[h+44>>2];m=J[h+36>>2];l=b>>>0>c>>>0&(k|0)>=(m|0)|(k|0)>(m|0)?1:(b|0)!=(c|0)|(k|0)!=(m|0)?-1:0;l=a?0-l|0:l;if(!(l|(!e|!n))){c=h+12|0;Ql(c,a,h+24|0,h+8|0,b,k);b=c;c=h+20|0;e=h+16|0;b=rx(b,c,e);if(b){break d}le(c,j,a,h+40|0);le(e,d,a,h+32|0);continue}if(!((e|0)!=0&(l|0)<0?0:n)){c=h+12|0;Ql(c,a,h+24|0,h+8|0,b,k);b=h+20|0;me(c,b);le(b,j,a,h+40|0);continue}b=h+12|0;Ql(b,a,h+24|0,h+8|0,c,m);c=b;b=h+16|0;me(c,b);le(b,d,a,h+32|0);continue}break}Oa(i);a=0;i=0;break b}a=J[h+12>>2];H[a|0]=0;H[a+1|0]=0;H[a+2|0]=0;H[a+3|0]=0;H[a+4|0]=0;H[a+5|0]=0;H[a+6|0]=0;H[a+7|0]=0;b=0}J[f>>2]=i;J[g>>2]=a-i}Fa=h+48|0;return b}function _H(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Fa-96|0;Fa=b;d=J[J[a>>2]+20>>2];e=J[d+120>>2];I[b+84>>1]=0;J[b+80>>2]=0;J[b+76>>2]=e;J[b+64>>2]=d;J[b+68>>2]=0;J[b+72>>2]=0;a:{b:{c:{d:{e:{f:{c=J[c>>2];switch(K[(L[c+16>>1]&63)+31120|0]-1|0){case 2:break c;case 3:break d;case 0:break e;case 1:break f;default:break b}}g=yb(c);O[b+16>>3]=g;c=b- -64|0;gb(c,12578,b+16|0);d=J[b+80>>2];if(!d){break a}e=J[b+68>>2];H[e+d|0]=0;Hd(e,b+88|0,d,1);if(O[b+88>>3]==g){break a}Nf(c);O[b>>3]=g;gb(c,14839,b);break a}J[b+32>>2]=fb(c);J[b+36>>2]=Ia;gb(b- -64|0,14967,b+32|0);break a}j=$c(c);h=b- -64|0;d=sb(c);c=d>>31<<1|d>>>31;e=d<<1;f=e+4|0;c=f>>>0<4?c+1|0:c;kl(h,f,c);if(K[b+84|0]){break a}c=0;h=(d|0)>0?d:0;d=J[b+68>>2];while(1){if((c|0)!=(h|0)){f=d+(c<<1)|0;i=c+j|0;H[f+2|0]=K[(K[i|0]>>>4|0)+51776|0];H[f+3|0]=K[(K[i|0]&15)+51776|0];c=c+1|0;continue}break}c=d+e|0;H[c+2|0]=39;H[c+3|0]=0;H[d|0]=88;H[d+1|0]=39;J[b+80>>2]=e+3;break a}J[b+48>>2]=Wa(c);gb(b- -64|0,19921,b+48|0);break a}nb(b- -64|0,20228,4)}lb(a,Ed(b- -64|0),J[b+80>>2],5);c=K[b+84|0];if(c){Mb(a);Td(a,c)}Fa=b+96|0}function PI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=K[b|0];g=J[a>>2];a:{b:{d=J[a+24>>2];if(!J[d+16>>2]){break b}if((f|0)!=167){break a}a=0;e=J[d+4>>2];h=J[e>>2];c=(h|0)>0?h:0;while(1){c:{if((a|0)!=(c|0)){if(J[b+28>>2]!=J[(e+(a<<6)|0)+48>>2]){break c}c=a}e=0;if((c|0)==(h|0)){break a}break b}a=a+1|0;continue}}d:{e:{f:{switch(f-167|0){case 5:if(!(H[b+7|0]&1)){break d}c=d;while(1){a=J[c>>2];if(!a){break e}c=a+36|0;e=1;if((a|0)!=J[b+44>>2]){continue}break};break a;case 2:case 3:case 4:break d;case 0:case 1:break e;default:break f}}if((f|0)!=179){break d}}e=2;a=J[g>>2];if(K[a+87|0]){break a}g:{h:{c=J[d+8>>2];if(c){a=0;while(1){if(J[c>>2]>(a|0)){if(!Zb(0,J[((a<<4)+c|0)+8>>2],b,-1)){break h}a=a+1|0;c=J[d+8>>2];continue}break}a=J[g>>2]}a=eb(a,b,0);if(!(!a|K[a|0]!=168)){H[a|0]=172}c=Kb(g,J[d+8>>2],a);J[d+8>>2]=c;a=-1;f=1;break g}c=J[d+8>>2];f=0}if(c){c=J[b+4>>2];J[b+4>>2]=c|134217728;ce(J[g>>2],b);b=Sa(b,0,52);H[b|0]=167;if(f){a=J[J[d+8>>2]>>2]-1|0}I[b+32>>1]=a;J[b+28>>2]=J[J[d>>2]+48>>2];a=J[d+12>>2];J[b+4>>2]=c&512;J[b+44>>2]=a}if(K[J[g>>2]+87|0]){break a}}e=0}return e|0}function Qr(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=Fa-32|0;Fa=h;a:{if(K[((e<<6)+d|0)+44|0]&80|(!c|J[b+4>>2]&33562624)){break a}b:{c:{if(J[b+52>>2]){f=b;while(1){if(f){d:{switch(K[f|0]-135|0){default:i=1;break;case 0:case 3:break d}}if(J[f+68>>2]){break b}f=J[f+52>>2];continue}break}if(!i){break c}i=b;while(1){if(!i){break c}g=J[i+28>>2];f=0;while(1){if(J[g>>2]>(f|0)){j=hd(a,J[(g+(f<<4)|0)+8>>2]);if(J[j+12>>2]!=15?j:0){break b}f=f+1|0;continue}break}i=J[i+52>>2];continue}}f=J[b+68>>2];if(!f){break c}if(!J[f+8>>2]){break b}}f=0;if(J[b+60>>2]){break a}while(1){if(K[c|0]==44){f=Qr(a,b,J[c+16>>2],d,e)+f|0;c=J[c+12>>2];continue}break}if(!ar(c,d,e)){break a}J[b+4>>2]=J[b+4>>2]|16777216;i=f+1|0;e=(e<<6)+d|0;while(1){if(!b){f=i;break a}g=eb(J[a>>2],c,0);vi(g,-1,1);J[h+8>>2]=a;d=J[e+48>>2];J[h+20>>2]=0;J[h+16>>2]=d;J[h+12>>2]=d;J[h+24>>2]=J[b+28>>2];J[h+28>>2]=Er(b);d=ch(h+8|0,g);e:{g=J[b+68>>2];if(!g){break e}if(gA(a,d,J[g+8>>2])){break e}_a(J[a>>2],d);break a}g=(J[b+4>>2]&8?44:36)+b|0;J[g>>2]=Od(a,J[g>>2],d);b=J[b+52>>2];continue}}f=0}Fa=h+32|0;return f}function hk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=Fa-32|0;Fa=g;ug(J[a+8>>2],c,b);a:{if(!(K[c+28|0]&64)){break a}d=73192;f=J[a+8>>2];if(!K[J[f>>2]+87|0]){d=(J[f+104>>2]+P(J[f+108>>2],20)|0)-20|0}b:{switch(K[d|0]-95|0){case 1:f=J[d+16>>2];d=0;while(1){h=e+f|0;if(!K[h|0]){break a}i=L[(J[c+4>>2]+P(d,12)|0)+10>>1];if(!(i&32)){if(i&64){H[h|0]=64}e=e+1|0}d=d+1|0;continue};case 0:break b;default:break a}}J[d+12>>2]=1}d=0;h=I[c+34>>1];f=(h|0)>0?h:0;while(1){if((d|0)!=(f|0)){e=J[c+4>>2]+P(d,12)|0;i=L[e+10>>1];if(i&96){I[e+10>>1]=i|128}d=d+1|0;continue}break}J[g+12>>2]=0;J[g+16>>2]=0;J[g+8>>2]=78;J[g+28>>2]=c;J[a+52>>2]=0-b;f=0;e=0;d=0;c:while(1){j=h<<16>>16;while(1){i=e;h=f;if((d|0)<(j|0)){e=J[c+4>>2]+P(d,12)|0;f=L[e+10>>1];d:{if(f&128){I[e+10>>1]=f|256;I[g+24>>1]=0;Eb(g+4|0,Hc(c,e));I[e+10>>1]=L[e+10>>1]&65279;if(K[g+24|0]&128){f=h;break d}qr(a,c,e,wc(c,d<<16>>16)+b|0);I[e+10>>1]=L[e+10>>1]&65407;f=1}else{f=h}e=i}d=d+1|0;h=L[c+34>>1];continue c}if(i){f=0;e=0;d=0;if(h){continue}}break}break}if(i){J[g>>2]=J[i>>2];Ra(a,29376,g)}J[a+52>>2]=0;Fa=g+32|0}function Ls(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Fa+-64|0;Fa=d;e=J[a+248>>2];a:{if(!e){break a}f=J[a>>2];Ms(a);J[a+264>>2]=0;if(J[e+44>>2]<=0){break a}if(!K[f+177|0]){c=J[a+128>>2];H[(c?c:a)+21|0]=1;if(b){J[a+204>>2]=J[b+4>>2]+(J[b>>2]-J[a+200>>2]|0)}J[d+48>>2]=a+200;c=hb(f,19115,d+48|0);b=J[f+16>>2];g=Ab(f,J[e+60>>2]);h=J[b+(g<<4)>>2];b=J[e>>2];J[d+32>>2]=J[a+96>>2];J[d+28>>2]=c;J[d+24>>2]=b;J[d+20>>2]=b;J[d+16>>2]=h;fc(a,16966,d+16|0);b=rb(a);Df(a,g);Hb(b,166);h=J[e>>2];J[d+4>>2]=c;J[d>>2]=h;kh(b,g,hb(f,19611,d),0);Ua(f,c);c=a;a=J[a+44>>2]+1|0;J[c+44>>2]=a;Ic(b,a,J[e>>2]);Na(b,171,g,a);break a}j=J[e>>2];k=J[e+60>>2];b:{g=Cc(f+388|0,J[J[e+48>>2]>>2]);if(!g){break b}b=J[g>>2];if(!b|J[b>>2]<3|!J[b+92>>2]){break b}h=Ya(J[e>>2]);b=J[e+60>>2]+16|0;while(1){b=J[b>>2];if(!b){break b}c=J[b+8>>2];if(K[c+43|0]|K[c+29|0]&16){continue}i=J[c>>2];if(tb(i,J[e>>2],h)){continue}i=h+i|0;if(K[i|0]!=95){continue}if(!(Ja[J[J[g>>2]+92>>2]](i+1|0)|0)){continue}J[c+28>>2]=J[c+28>>2]|4096;continue}}if(jd(k+8|0,j,e)){Db(f);break a}J[a+248>>2]=0}Fa=d- -64|0}function xE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;o=a;C(+d);a=x(1)|0;g=x(0)|0;a:{b:{c:{d:{e:{if((a|0)>0|(a|0)>=0){b=a;if(a>>>0>1048575){break e}}C(+d);b=x(1)|0;e=-1/(d*d);if(!(x(0)|b&2147483647)){break a}if((a|0)>0|(a|0)>=0){break d}e=(d-d)/0;break a}if(b>>>0>2146435071){break b}a=1072693248;c=-1023;if((b|0)!=1072693248){a=b;break c}if(g){break c}e=0;break a}C(+(d*0x40000000000000));a=x(1)|0;g=x(0)|0;c=-1077}a=a+614242|0;l=+((a>>>20|0)+c|0);h=l*.30102999566361177;z(0,g|0);z(1,(a&1048575)+1072079006|0);f=+B()+-1;i=f*(f*.5);j=f/(f+2);k=j*j;d=k*k;C(+(f-i));a=x(1)|0;x(0)|0;z(0,0);z(1,a|0);e=+B();m=e*.4342944818781689;n=h+m;d=j*(i+(d*(d*(d*.15313837699209373+.22222198432149784)+.3999999999940942)+k*(d*(d*(d*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(f-e-i);d=n+(m+(h-n)+(d*.4342944818781689+(l*3694239077158931e-28+(d+e)*25082946711645275e-27)))}e=d}Nb(o,e);return}Z(23800,17942,473,17880);D()}function It(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Fa-32|0;Fa=d;f=J[a+4>>2];J[f+4>>2]=J[a>>2];a:{b:{c:{if(K[f+17|0]){$p(f);xh(a,4,d+24|0);g=J[d+24>>2];if(g>>>0>M[f+48>>2]){break b}h=J[16608];while(1){e=g;g=e+1|0;if((g|0)==(Ld(f,g)|0)|(e|0)==((h>>>0)/M[f+36>>2]|0)){continue}break}J[d+24>>2]=g;e=cf(f,d+12|0,d+16|0,g,1);J[d+20>>2]=e;if(e){break a}h=J[d+16>>2];d:{if((h|0)!=(g|0)){H[d+11|0]=0;J[d+4>>2]=0;e=gg(f,0,0);zb(J[d+12>>2]);if(e){break a}e=ld(f,g,d+28|0,0);if(e){break a}e=Vi(f,g,d+11|0,d+4|0);e:{i=K[d+11|0];f:{if((i-1&255)>>>0<=1){e=Ta(80070);break f}if(!e){break e}}zb(J[d+28>>2]);break a}j=J[d+28>>2];e=xo(f,j,i,J[d+4>>2],h,0);zb(j);if(e){break a}e=ld(f,g,d+28|0,0);if(e){break a}h=J[d+28>>2];e=Pb(J[h+72>>2]);J[d+20>>2]=e;if(!e){break d}Lf(h);break a}h=J[d+12>>2];J[d+28>>2]=h}vd(f,g,1,0,d+20|0);e=J[d+20>>2];if(!e){e=Xj(a,4,g);J[d+20>>2]=e;if(!e){break c}}zb(h);break a}e=cf(f,d+28|0,d+24|0,1,0);J[d+20>>2]=e;if(e){break a}h=J[d+28>>2]}Fh(h,c&1?13:10);ed(J[h+72>>2]);J[b>>2]=J[d+24>>2];e=0;break a}e=Ta(80022)}Fa=d+32|0;return e}function Gr(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=J[a+8>>2];l=J[i+108>>2];j=J[a+56>>2]-1|0;J[a+56>>2]=j;if(f){m=Va(i,17,f);n=J[c+16>>2];k=J[c+12>>2];if(g){J[g>>2]=J[g>>2]+1}o=k;k=f+1|0;g=$a(i,90,o,k,n,g,-8)+2|0;Pa(i,14,g,j,g);g=J[i+108>>2];J[(K[J[i>>2]+87|0]?73192:J[i+104>>2]+P(m,20)|0)+8>>2]=g;Pa(i,80,J[c+12>>2],k,J[c+16>>2]-1|0);Na(i,71,1,f)}if(K[J[a>>2]+87|0]){l=0}else{ti(i,J[b+12>>2],j);a:{b:{switch(K[d|0]-10|0){case 2:g=vb(a);f=vb(a);Pa(i,97,J[c+12>>2],J[c+16>>2],g);Na(i,127,J[d+4>>2],f);Pa(i,128,J[d+4>>2],g,f);c=J[i+108>>2];if((c|0)>0){I[(J[i+104>>2]+P(c,20)|0)-18>>1]=8}mb(a,f);mb(a,g);break a;case 1:g=vb(a);f=J[c+16>>2];$a(i,97,J[c+12>>2],f,g,J[d+20>>2],f);bb(i,138,J[d+4>>2],g,J[c+12>>2],J[c+16>>2]);mb(a,g);break a;case 0:ri(a,J[c+12>>2],J[d+4>>2],J[c+16>>2]);break a;case 3:f=J[c+16>>2];g=J[d+12>>2];if(!g){g=ic(a,f);J[d+12>>2]=g;f=J[c+16>>2];J[d+16>>2]=f}ri(a,J[c+12>>2],g,f);Va(i,12,J[d+4>>2]);break a;default:break b}}Na(i,84,J[c+12>>2],J[c+16>>2])}a=J[b+8>>2];if(a){Na(i,61,a,h)}cb(i,j);Va(i,67,e)}return l}function uy(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=c+d|0;f=c;while(1){a:{if(f>>>0<h>>>0){d=f+1|0;e=K[f|0];if(e>>>0<192){f=d;break a}e=K[e+33056|0];while(1){b:{if((d|0)==(h|0)){d=h}else{f=K[d|0];if((f&192)==128){break b}}f=d;e=(e&-2)==65534?65533:e>>>0<128?65533:(e&-2048)==55296?65533:e;break a}e=f&63|e<<6;d=d+1|0;continue}}c:{if(!g){break c}i=Bc(J[a+12>>2],J[a+8>>2]+g<<2,0);if(!i){return 7}f=J[a+8>>2];d:while(1){e:{if(c>>>0<h>>>0){d=c+1|0;e=K[c|0];if(e>>>0<192){c=d;break e}e=K[e+33056|0];while(1){f:{if((d|0)==(h|0)){c=h}else{c=K[d|0];if((c&192)==128){break f}c=d}e=(e&-2)==65534?65533:e>>>0<128?65533:(e&-2048)==55296?65533:e;break e}e=c&63|e<<6;d=d+1|0;continue}}J[a+8>>2]=f;J[a+12>>2]=i;break c}if((dq(e)|0)==(b|0)){continue}if(eq(e)){continue}d=0;g=(f|0)>0?f:0;while(1){g:{if((d|0)!=(g|0)){if(J[(d<<2)+i>>2]<(e|0)){break g}g=d}d=f;while(1){if((d|0)>(g|0)){j=(d<<2)+i|0;J[j>>2]=J[j-4>>2];d=d-1|0;continue}break}J[(g<<2)+i>>2]=e;f=f+1|0;continue d}d=d+1|0;continue}}}return 0}if((dq(e)|0)==(b|0)){continue}g=!eq(e)+g|0;continue}}function Xl(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Fa-16|0;Fa=h;j=J[d>>2];a:{if(!j){l=1;g=a?-1:1;j=a?-1:0;J[h+4>>2]=b;n=b+c|0;a=0;while(1){if(b>>>0<n>>>0){a=uc(b,h+8|0)+b|0;J[h+4>>2]=a;c=J[h+8>>2];b=J[h+12>>2];me(0,h+4|0);b=lJ(l,m,c,b);k=k+Ia|0;b=b+i|0;k=b>>>0<i>>>0?k+1|0:k;i=b;b=J[h+4>>2];while(1){if(!(K[b|0]|b>>>0>=n>>>0)){b=b+1|0;continue}break}J[h+4>>2]=b;l=g;m=j;continue}break}J[f>>2]=n-a;J[d>>2]=a;J[e>>2]=i;J[e+4>>2]=k;break a}i=j-2|0;while(1){if(!(b>>>0>i>>>0|H[i|0]>=0)){i=i-1|0;continue}break}k=i+1|0;uc(k,h+8|0);c=J[h+8>>2];j=0-c|0;m=a?c:j;l=m+J[e>>2]|0;j=J[h+12>>2];a=J[e+4>>2]+(a?j:0-(j+((c|0)!=0)|0)|0)|0;J[e>>2]=l;J[e+4>>2]=l>>>0<m>>>0?a+1|0:a;b:{if((b|0)!=(k|0)){e=-1;while(1){c:{a=e+i|0;if(a>>>0<=b>>>0){c=0;break c}e=e-1|0;c=K[a|0];if(!c){continue}}break}d:{e:{while(1){a=e+i|0;if(b>>>0<a>>>0){g=c<<24>>24;c=K[a|0];if(!(g|c&128)){break e}e=e-1|0;continue}break}if(c&255|(e|0)>-2){break d}}a=a+2|0}while(1){c=H[a|0];b=a+1|0;a=b;if((c|0)<0){continue}break}J[f>>2]=k-b;break b}H[g|0]=1}J[d>>2]=b}Fa=h+16|0}function yq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=Fa+-64|0;Fa=c;J[c+32>>2]=c+52;J[c+36>>2]=c+48;g=1;a:{if((rf(a,14823,c+32|0)|0)!=2){break a}b:{if(K[a+5|0]==58){J[c+16>>2]=c+44;g=1;if((rf(a+6|0,14842,c+16|0)|0)!=1){break a}e=a+8|0;f=0;if(K[a+8|0]!=46){break b}d=K[a+9|0];f=0;if(d-58>>>0<4294967286){break b}e=a+9|0;f=1;while(1){if(d-58>>>0>=4294967286){f=f*10;h=h*10+ +(d<<24>>24)+-48;d=K[e+1|0];e=e+1|0;continue}break}f=h/f;break b}e=a+5|0;J[c+44>>2]=0;f=0}H[b+43|0]=1;I[b+40>>1]=0;J[b+20>>2]=J[c+52>>2];J[b+24>>2]=J[c+48>>2];O[b+32>>3]=f+ +J[c+44>>2];while(1){a=e;e=a+1|0;if(H[K[a|0]+31216|0]&1){continue}break}J[b+28>>2]=0;i=-1;c:{d:{e:{f:{g:{d=K[a|0];switch(d-43|0){case 0:break f;case 2:break e;default:break g}}if((d&223)==90){break d}break c}i=1}J[c+4>>2]=c+56;J[c>>2]=c+60;g=1;if((rf(e,14831,c)|0)!=2){break a}d=J[c+56>>2]+P(J[c+60>>2],60)|0;J[b+28>>2]=P(d,i);e=a+6|0;j=(d|0)!=0}while(1){a=e;e=a+1|0;if(H[K[a|0]+31216|0]&1){continue}break}H[b+45|0]=1;d=K[a|0]}g=1;if(d){break a}H[b+44|0]=j;g=0}a=g;Fa=c- -64|0;return a}function zh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=L[b+16>>1];d=L[a+16>>1];f=e|d;if(f&1){return(e&1)-(d&1)|0}a:{b:{if(f&44){c=e&d;if(c&36){f=-1;c=J[a>>2];e=J[b>>2];a=J[a+4>>2];b=J[b+4>>2];if(c>>>0<e>>>0&(a|0)<=(b|0)|(a|0)<(b|0)){break b}break a}if(c&8){f=-1;g=O[a>>3];h=O[b>>3];if(g<h){break b}return g>h}if(d&36){if(e&8){return Li(J[a>>2],J[a+4>>2],O[b>>3])}f=-1;if(!(e&36)){break b}c=J[a>>2];e=J[b>>2];a=J[a+4>>2];b=J[b+4>>2];if(c>>>0<e>>>0&(a|0)<=(b|0)|(a|0)<(b|0)){break b}break a}f=1;if(!(d&8)){break b}if(!(e&36)){return-1}return 0-Li(J[b>>2],J[b+4>>2],O[a>>3])|0}c:{if(!(f&2)){break c}f=1;if(!(d&2)){break b}f=-1;if(!(e&2)){break b}if(!c){break c}return ut(a,b,c,0)}c=J[b+12>>2];e=J[a+12>>2];f=L[b+16>>1];d=L[a+16>>1];d:{if((f|d)&1024){i=f;f=d&1024;d=J[a>>2]-J[b>>2]|0;if(i&f){break d}if(f){d=-1;if(!bo(J[b+8>>2],c)){break d}d=J[a>>2]-c|0;break d}d=1;if(!bo(J[a+8>>2],e)){break d}d=e-J[b>>2]|0;break d}a=Cb(J[a+8>>2],J[b+8>>2],(c|0)>(e|0)?e:c);d=a?a:e-c|0}f=d}return f}return c>>>0>e>>>0&(a|0)>=(b|0)|(a|0)>(b|0)}function Sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Fa-4208|0;Fa=e;while(1){f=c;while(1){h=b+f|0;d=K[h|0];if(!(!d|(d|0)==47)){f=f+1|0;continue}break}a:{if((c|0)>=(f|0)){break a}g=f-c|0;b:{d=b+c|0;if(K[d|0]!=46){c=J[a+16>>2];break b}if((g|0)==1){break a}c=J[a+16>>2];if((g|0)!=2|K[d+1|0]!=46){break b}if((c|0)<2){break a}d=J[a+8>>2];while(1){c=c-1|0;J[a+16>>2]=c;if(K[c+d|0]!=47){continue}break}break a}if(J[a+12>>2]<=((c+g|0)+2|0)){J[a>>2]=1;break a}J[a+16>>2]=c+1;H[J[a+8>>2]+c|0]=47;Qa(J[a+8>>2]+J[a+16>>2]|0,d,g);c=J[a+16>>2]+g|0;J[a+16>>2]=c;if(J[a>>2]){break a}H[c+J[a+8>>2]|0]=0;d=J[a+8>>2];if(Ja[J[16694]](d,e+4112|0)|0){if(J[18304]==44){break a}J[a>>2]=Dd(de(44613),3573,d,44613);break a}if((J[e+4116>>2]&61440)!=40960){break a}c=J[a+4>>2];J[a+4>>2]=c+1;c:{d:{if((c|0)>=201){c=de(44619);break d}c=Ja[J[16691]](d,e,4096)|0;if(c-4096>>>0>4294963200){break c}c=Dd(de(44624),11870,d,44624)}J[a>>2]=c;break a}H[c+e|0]=0;J[a+16>>2]=K[e|0]!=47?J[a+16>>2]+(g^-1)|0:0;Sn(a,e)}c=f+1|0;if(K[h|0]){continue}break}Fa=e+4208|0}function hf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Fa-48|0;Fa=g;e=J[a>>2];a:{if(!(K[e+24|0]&16)){if(ve(a)){break a}}f=tc(e,c,d);b:{if(!f){c:{d:{e:{if(K[e+177|0]|K[a+25|0]&4){break e}f=Cc(e+388|0,c);if(!f){if(tb(c,18306,7)){break e}f=Xv(c+7|0);if(!f|!(K[f+5|0]&48)){break e}f=Wv(e,c,35552,f,0);if(!f){break e}}i=J[f>>2];J[g+44>>2]=0;if(J[f+20>>2]){break c}h=J[a>>2];e=J[i+4>>2];if((e|0)!=J[i+8>>2]?e:0){break e}e=ib(h,64,0);if(!e){break e}j=Ob(h,J[f+4>>2]);J[e>>2]=j;if(j){break d}Za(h,e)}f=0;if(b&2){break a}H[a+17|0]=1;break b}J[f+20>>2]=e;H[e+43|0]=1;J[e+24>>2]=1;b=J[J[h+16>>2]+12>>2];I[e+32>>1]=65535;J[e+60>>2]=b;J[e+28>>2]=J[e+28>>2]|32768;Mg(a,e,Ob(h,j));Mg(a,e,0);Mg(a,e,Ob(h,J[e>>2]));if(!gp(h,e,f,J[i+8>>2],g+44|0)){break c}b=J[g+44>>2];J[g+32>>2]=b;Ra(a,8863,g+32|0);Ua(h,b);Bp(h,f)}f=J[f+20>>2];break a}if(!(K[a+25|0]&4)|K[f+43|0]!=1){break a}}b=b&1?1754:14214;f:{if(d){J[g+24>>2]=c;J[g+20>>2]=d;J[g+16>>2]=b;Ra(a,6405,g+16|0);break f}J[g+4>>2]=c;J[g>>2]=b;Ra(a,7774,g)}f=0}Fa=g+48|0;return f}function Pd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Fa-32|0;Fa=f;J[f>>2]=0;i=f;while(1){a:{b:{if(!b){break b}d=Ib(a,76,0);if(!d){break b}J[d+28>>2]=kc(a,J[b+28>>2],c);J[d+32>>2]=oh(a,J[b+32>>2],c);J[d+36>>2]=eb(a,J[b+36>>2],c);J[d+40>>2]=kc(a,J[b+40>>2],c);J[d+44>>2]=eb(a,J[b+44>>2],c);J[d+48>>2]=kc(a,J[b+48>>2],c);h=K[b|0];J[d+56>>2]=e;H[d|0]=h;J[d+52>>2]=0;e=eb(a,J[b+60>>2],c);J[d+8>>2]=0;J[d+12>>2]=0;J[d+60>>2]=e;e=J[b+4>>2];J[d+20>>2]=-1;J[d+24>>2]=-1;J[d+4>>2]=e&-33;I[d+2>>1]=L[b+2>>1];e=zA(a,J[b+64>>2]);J[d+68>>2]=0;J[d+64>>2]=e;e=J[b+72>>2];J[f+4>>2]=0;h=d+52|0;g=f+4|0;while(1){c:{if(!e){break c}j=g;g=yA(a,0,e);J[j>>2]=g;if(!g){break c}g=g+36|0;e=J[e+36>>2];continue}break}J[d+72>>2]=J[f+4>>2];e=K[a+87|0];d:{if(J[b+68>>2]){if(e&255){J[d+16>>2]=J[b+16>>2];break d}J[f+16>>2]=0;J[f+12>>2]=39;J[f+8>>2]=40;J[f+28>>2]=d;J[f+4>>2]=0;$b(f+4|0,d);e=K[a+87|0]}J[d+16>>2]=J[b+16>>2];if(!(e&255)){break a}}J[d+56>>2]=0;ac(a,d)}Fa=f+32|0;return J[f>>2]}J[i>>2]=d;b=J[b+52>>2];i=h;e=d;continue}}function hd(a,b){var c=0,d=0,e=0,f=0,g=0;f=J[a>>2];a:{b:while(1){c=b;d=0;if(!c){break a}c:{b=K[c|0];if((b|0)==176){b=K[c+2|0]}d:{e:{f:{g:{h:{b=b&255;switch(b-174|0){case 0:break e;case 1:case 2:break f;case 3:break g;default:break h}}i:{j:{switch(b-167|0){default:if((b|0)==36){break e}if((b|0)==77){break i}if((b|0)!=113){break f}c=Hn(a,K[f+84|0],0,J[c+8>>2]);break c;case 0:break i;case 2:break j;case 1:break f}}if(!J[c+44>>2]){break f}}b=I[c+32>>1];d=0;if((b|0)<0){break a}c=gf(f,K[f+84|0],Sf(J[J[c+44>>2]+4>>2]+P(b&65535,12)|0),0);break c}b=J[c+20>>2]+8|0;break d}e=J[c+4>>2];d=0;if(!(e&512)){break a}b=J[c+12>>2];if(K[b+5|0]&2?b:0){continue}d=J[c+16>>2];b=d;if(e&4096){continue}e=J[c+20>>2];if(K[f+87|0]|!e){continue}c=0;b=J[e>>2];g=(b|0)>0?b:0;while(1){if((c|0)==(g|0)){b=d;continue b}b=c<<4;c=c+1|0;b=J[(b+e|0)+8>>2];if(!(K[b+5|0]&2)){continue}break}continue}b=c+12|0}b=J[b>>2];continue}break}d=0;if(!c){break a}if(J[c+12>>2]){return c}d=Hn(a,K[J[a>>2]+84|0],c,J[c>>2])?c:0}return d}function eC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=H[b|0];i=d&255;a:{if((d|0)>=0){g=b;break a}i=i&127;while(1){d=f+1|0;g=d+b|0;e=H[g|0];i=e&127|i<<7;if(f>>>0>6){break a}f=d;if((e|0)<0){continue}break}}e=H[g+1|0];d=e&255;f=0;h=g+1|0;b:{if((e|0)>=0){break b}f=d>>>25|0;e=H[g+2|0];d=e&255^d<<7;if((e|0)<0){f=f<<7|d>>>25;e=H[g+3|0];d=e&255^d<<7;if((e|0)<0){f=f<<7|d>>>25;e=H[g+4|0];d=e&255^d<<7^270548992;h=g+4|0;if((e|0)>=0){break b}f=f<<7|d>>>25;e=H[g+5|0];d=e&255^d<<7^16384;h=g+5|0;if((e|0)>=0){break b}f=f<<7|d>>>25;e=H[g+6|0];d=e&255^d<<7^16384;h=g+6|0;if((e|0)>=0){break b}f=f<<7|d>>>25;e=H[g+7|0];d=e&255^d<<7^16384;h=g+7|0;if((e|0)>=0){break b}f=f<<7|d>>>25;e=H[g+8|0];d=e&255^d<<7^16384;h=g+8|0;if((e|0)>=0){break b}f=f<<8|d>>>24;d=(K[g+9|0]|d<<8)^32768;h=g+9|0;break b}d=d^2113536;h=g+3|0;break b}d=d&16383;f=0;h=g+2|0}e=h;J[c+12>>2]=i;J[c>>2]=d;J[c+4>>2]=f;f=e+1|0;J[c+8>>2]=f;if(L[a+14>>1]>=i>>>0){I[c+16>>1]=i;a=(f-b|0)+i|0;I[c+18>>1]=a&65532?a:4;return}yu(a,b,c)}function zt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=Fa-16|0;Fa=i;J[b+4>>2]=a;c=J[b>>2];l=(c|0)>0?c:0;a:{while(1){if((h|0)!=(l|0)){k=J[b+12>>2]+P(h,56)|0;d=J[k+48>>2];if(d){e=J[d>>2];f=J[J[e+12>>2]+24>>2];c=zt(e,J[d+4>>2]);if(c){break a}g=J[d+16>>2];m=g>>31;c=J[e+64>>2];b:{if(c){j=J[e+76>>2];f=J[e+72>>2];break b}c=f;f=e- -64|0;c=ct(c,f);J[e+72>>2]=0;J[e+76>>2]=0;if(c){break a}c=J[f>>2];j=0;f=0}J[d+8>>2]=f;J[d+12>>2]=j;J[d+48>>2]=c;c=j+m|0;d=f+g|0;c=d>>>0<f>>>0?c+1|0:c;J[e+72>>2]=d;J[e+76>>2]=c;c=Qn(k);if(c){break a}}h=h+1|0;continue}break}c=J[b>>2];while(1){if((c|0)>=2){e=c-1|0;d=c;c=J[b>>2]/2|0;c:{if((d|0)>(c|0)){d=e-c<<1;c=d|1;break c}c=J[b+8>>2]+(e<<3)|0;d=J[c>>2];c=J[c+4>>2]}g=J[b+12>>2];f=g+P(d,56)|0;d:{if(!J[f+24>>2]){break d}g=g+P(c,56)|0;if(!J[g+24>>2]){c=d;break d}h=J[b+4>>2];J[i+12>>2]=0;c=(Ja[J[h+40>>2]](h,i+12|0,J[f+32>>2],J[f+20>>2],J[g+32>>2],J[g+20>>2])|0)<=0?d:c}J[J[b+8>>2]+(e<<2)>>2]=c;c=e;continue}break}c=K[J[a+16>>2]+23|0]}Fa=i+16|0;return c}function Zz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=J[b+80>>2];h=J[l+32>>2];f=L[l+46>>1];g=L[l+24>>1];o=g+d|0;k=J[a+44>>2];J[a+44>>2]=o+k;j=k+1|0;i=J[a+8>>2];d=J[a>>2];m=Ob(d,fh(d,h));a:{if(!f){f=0;break a}n=J[b+8>>2];d=0;Pa(i,75,0,j,f+k|0);Va(i,c?32:36,n);k=Hb(i,9);J[b+20>>2]=bb(i,c?21:24,n,0,j,f);h=J[i+108>>2];J[(K[J[i>>2]+87|0]?73192:J[i+104>>2]+P(k,20)|0)+8>>2]=h;while(1){if((d|0)==(f|0)){break a}Pa(i,94,n,d,d+j|0);d=d+1|0;continue}}k=f>>>0>g>>>0?f:g;while(1){if((f|0)!=(k|0)){g=J[J[l+52>>2]+(f<<2)>>2];h=f+j|0;d=xm(a,g,b,f,c,h);b:{if((d|0)==(h|0)){break b}if((o|0)==1){mb(a,j);j=d;break b}Na(i,80,d,h)}d=L[g+12>>1];c:{d:{if(d&1){if(!(K[J[g>>2]+5|0]&16)|!m){break c}d=f+m|0;break d}if(d&256){break c}h=J[J[g>>2]+16>>2];e:{if(K[g+11|0]&8){break e}if(!Xe(h)){break e}Na(i,50,f+j|0,J[b+12>>2])}if(J[a+36>>2]){break c}d=f+m|0;f:{if((qg(h,H[d|0])|0)!=65){g=K[d|0];break f}H[d|0]=65;g=65}if(!vz(h,g<<24>>24)){break c}}H[d|0]=65}f=f+1|0;continue}break}J[e>>2]=m;return j}function Px(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=Fa-16|0;Fa=k;while(1){a:{b:{c:{if(J[f>>2]){break c}d:{switch(J[c>>2]-2|0){case 2:break b;case 0:break c;case 3:break d;default:break a}}l=J[c+20>>2];c=0;e:while(1){if(J[l+64>>2]<=(m|0)|c){break c}g=J[d>>2];J[d>>2]=g+24;J[g+12>>2]=b;J[g+4>>2]=m;J[g>>2]=l;c=P(m,24)+l|0;J[g+8>>2]=c+72;J[g+20>>2]=J[l+68>>2];o=J[c+92>>2];p=J[a>>2];q=J[p+244>>2];c=0;e=0;n=0;while(1){f:{g:{if(!(J[o+4>>2]<=(e|0)|c)){h=J[J[o>>2]+(e<<2)>>2];if(J[h+56>>2]|K[h+5|0]){break g}j=J[h+8>>2];i=J[h+12>>2];while(1){c=J[h+20>>2];if(M[h+16>>2]<j>>>0&(c|0)<=(i|0)|(c|0)<(i|0)){break g}c=Xg(p,j,i,0,k+12|0);if(c){break f}c=J[k+12>>2];if((c+35|0)>(q|0)){n=((c+34|0)/(q|0)|0)+n|0}j=j+1|0;i=j?i:i+1|0;continue}}J[g+16>>2]=n;J[f>>2]=c;m=m+1|0;continue e}c=0}e=e+1|0;continue}}}Fa=k+16|0;return}b=J[c+12>>2];J[J[e>>2]>>2]=b;J[e>>2]=J[e>>2]+4}Px(a,b,J[c+12>>2],d,e,f);if(J[c>>2]==4){b=J[c+16>>2];J[J[e>>2]>>2]=b;J[e>>2]=J[e>>2]+4}c=J[c+16>>2];continue}}function Qq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=Fa-16|0;Fa=g;j=(J[b+8>>2]|J[b>>2])^-1;k=(J[b+12>>2]|J[b+4>>2])^-1;e=J[a+24>>2];h=J[a+20>>2];while(1){if((h|0)>0){d=J[e+40>>2];f=J[e+44>>2];a:{if(j&d|k&f|(!(d&J[b+8>>2]|f&J[b+12>>2])|K[e+10|0]&2)){break a}d=L[b+44>>1];while(1){if(d){d=d-1|0;f=J[J[b+52>>2]+(d<<2)>>2];if(!f){continue}if((e|0)==(f|0)){break a}f=J[f+16>>2];if((f|0)<0|(J[a+24>>2]+P(f,48)|0)!=(e|0)){continue}break a}break}Fm(J[J[a>>2]>>2]);b:{if(J[b+8>>2]!=J[e+40>>2]|J[b+12>>2]!=J[e+44>>2]){break b}if(!(K[e+12|0]&63)){if(K[(J[J[a>>2]+4>>2]+(K[b+16|0]<<6)|0)+44|0]&72){break b}}J[b+40>>2]=J[b+40>>2]|8388608}d=L[b+22>>1];f=I[e+8>>1];if((f|0)<=0){I[b+22>>1]=d+f;break a}I[b+22>>1]=d-1;if(!(K[e+12|0]&130)){break a}d=J[J[e>>2]+16>>2];J[g+12>>2]=0;d=yf(d,g+12|0);f=J[g+12>>2];d=d?(f|0)<=-2?20:(f|0)<2?10:20:20;if(d>>>0<=(i&65535)>>>0){break a}I[e+10>>1]=L[e+10>>1]|8192;i=d}e=e+48|0;h=h-1|0;continue}break}a=c-(i&65535)|0;if((a|0)<I[b+22>>1]){I[b+22>>1]=a}Fa=g+16|0}function Ol(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=Fa-16|0;Fa=d;h=J[a+28>>2];J[d+12>>2]=0;J[d+8>>2]=0;J[d+4>>2]=0;b=J[a+16>>2];c=J[a+20>>2];if(!(!h|!(b|c))){b=b+1|0;c=b?c:c+1|0;J[a+16>>2]=b;J[a+20>>2]=c}c=J[a+8>>2];e=J[a+4>>2];a:{if((c|0)>=(e|0)){c=0;J[a>>2]=0;break a}g=J[a>>2];if(h){f=c+g|0;b=H[f|0];b:{if((b|0)<0){b=lc(f,d+12|0);break b}J[d+12>>2]=b&255;b=1}c=b+c|0;J[a+8>>2]=c}f=c+g|0;b=H[f|0];c:{if((b|0)<0){b=lc(f,d+8|0);break c}J[d+8>>2]=b&255;b=1}b=b+c|0;J[a+8>>2]=b;c=267;g=J[d+12>>2];if((g|0)>(h|0)){break a}b=e-b|0;e=J[d+8>>2];if((b|0)<(e|0)|!e){break a}f=e+g|0;Vd(a+24|0,f,d+4|0);c=J[d+4>>2];if(c){break a}c=0;b=J[a+24>>2];if(!b){break a}Qa(b+g|0,J[a>>2]+J[a+8>>2]|0,e);J[a+28>>2]=f;e=e+J[a+8>>2]|0;J[a+8>>2]=e;if(J[a+16>>2]|J[a+20>>2]){break a}b=J[a>>2]+e|0;c=H[b|0];d:{if((c|0)<0){c=lc(b,a+40|0);f=J[a+40>>2];e=J[a+8>>2];break d}f=c&255;J[a+40>>2]=f;c=1}b=c+e|0;J[a+8>>2]=b;c=267;if((J[a+4>>2]-b|0)<(f|0)){break a}J[a+8>>2]=b+f;J[a+36>>2]=b+J[a>>2];c=0}Fa=d+16|0;return c}function WH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;s=J[J[a>>2]+20>>2];a:{m=Wa(J[c>>2]);if(!m){break a}j=sb(J[c>>2]);k=Wa(J[c+4>>2]);if(!k){break a}if(!K[k|0]){ge(a,J[c>>2]);return}i=sb(J[c+4>>2]);q=Wa(J[c+8>>2]);if(!q){break a}l=sb(J[c+8>>2]);f=j+1|0;g=f>>31;b=_g(a,f,g);if(!b){break a}t=i-1|0;u=j-i|0;n=j^-1;v=n>>31;o=l-i|0;w=o>>31;c=0;while(1){b:{c:{d:{if((c|0)<=(u|0)){e:{d=c+m|0;e=K[d|0];if((e|0)==K[k|0]){if(!Cb(d,k,i)){break e}}H[b+h|0]=e;h=h+1|0;break b}if((i|0)>=(l|0)){break d}d=J[s+120>>2];e=d;d=d>>31;g=g+w|0;f=f+o|0;g=f>>>0<o>>>0?g+1|0:g;p=f-1>>>0>e>>>0;e=g-!f|0;if(p&(e|0)>=(d|0)|(d|0)<(e|0)){Rg(a);Oa(b);return}d=r;r=d+1|0;if(r&d){break d}d=g+v|0;e=f+n|0;d=(f>>31)+(e>>>0<n>>>0?d+1|0:d)|0;p=e;e=e+f|0;d=p>>>0>e>>>0?d+1|0:d;d=Gd(b,e,d);if(d){break c}Qb(a);Oa(b);return}d=c+m|0;c=j-c|0;Qa(b+h|0,d,c);c=c+h|0;H[c+b|0]=0;lb(a,b,c,1);break a}d=b}Qa(d+h|0,q,l);c=c+t|0;b=d;h=h+l|0}c=c+1|0;continue}}}function wp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=yj(a)&2047;e=yj(5551115123125783e-32);if(c-e>>>0<yj(512)-e>>>0){h=c;break b}if(c>>>0<e>>>0){return a+1}if(yj(1024)>>>0>c>>>0){break b}C(+a);e=x(1)|0;b=0;if(!(x(0)|0)&(e|0)==-1048576){break a}if(yj(Infinity)>>>0<=c>>>0){return a+1}if((e|0)<0){return Hw(12882297539194267e-247)}return Hw(3105036184601418e216)}b=O[7237];f=O[7236]*a+b;b=f-b;a=b*O[7239]+(b*O[7238]+a);b=a*a;g=b*b*(a*O[7243]+O[7242]);b=b*(a*O[7241]+O[7240]);C(+f);x(1)|0;c=x(0)|0;d=c<<4&2032;a=g+(b+(O[d+58e3>>3]+a));d=d+58008|0;e=0+J[d>>2]|0;d=J[d+4>>2]+(c<<13)|0;d=e>>>0<i>>>0?d+1|0:d;if(!h){c:{if(!(c&-2147483648)){z(0,e|0);z(1,d-1058013184|0);b=+B();a=(b*a+b)*5486124068793689e288;break c}z(0,e|0);z(1,d+1071644672|0);b=+B();f=b*a;a=f+b;if(a<1){c=Fa-16|0;J[c+8>>2]=0;J[c+12>>2]=1048576;O[c+8>>3]=O[c+8>>3]*22250738585072014e-324;g=a+1;a=g+(f+(b-a)+(a+(1-g)))+-1;a=a==0?0:a}a=a*22250738585072014e-324}return a}z(0,e|0);z(1,d|0);b=+B();b=b*a+b}return b}function Qx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{while(1){if(J[e>>2]|!b){break a}b:{f=J[b>>2];if((f|0)==5){d=c;l=J[c>>2];c=J[J[b+20>>2]+64>>2];J[d>>2]=l+c;o=(c|0)>0?c:0;while(1){c=J[b+20>>2];if((m|0)==(o|0)){break b}c=c+P(m,24)|0;l=c;n=J[c+80>>2];i=J[c+76>>2];k=J[c+72>>2];g=gc(64);c:{if(!g){J[c+92>>2]=0;h=7;break c}f=J[a>>2];d:{e:{if(!n){break e}h=7;j=0;c=1;d=1;while(1){f:{if(!j){if(J[f+260>>2]>(d|0)){break f}c=0}d=1;j=i+1|0;while(1){if(c){break d}if(J[f+260>>2]<=(d|0)){break e}c=0;g:{if((j|0)!=J[J[f+264>>2]+P(d,24)>>2]){break g}c=1;h=bi(f,J[a+20>>2],d,-2,k,i,1,0,g);if(h){break g}h=ny(f,J[a+20>>2],0,-2,k,i,0,0,g)}d=d+1|0;continue}}j=0;if(J[J[f+264>>2]+P(d,24)>>2]==(i|0)){h=bi(f,J[a+20>>2],d,-2,k,i,0,0,g);J[g+44>>2]=1;j=1}d=d+1|0;continue}}h=bi(f,J[a+20>>2],0,-2,k,i,n,0,g);J[g+44>>2]=!n}J[l+92>>2]=g;m=m+1|0;if(!h){continue}}break}J[e>>2]=h;return}J[d>>2]=J[d>>2]+((f|0)==4);Qx(a,J[b+12>>2],c,d,e);b=J[b+16>>2];continue}break}J[c+44>>2]=-1}}function Uy(a,b){var c=0,d=0,e=0,f=0,g=0;d=Fa-96|0;Fa=d;Sa(d+52|0,0,44);vc(a);c=J[a>>2];f=c-947587585|0;e=J[a+4>>2];g=e-((c>>>0<947587585)+49596|0)|0;a:{if((g|0)==-500&f>>>0<=98047998|g>>>0<4294966796){c=Qa(d,a,48);Ue(c);H[c+40|0]=0;e=J[c+8>>2];g=((e|0)%4|0)+2e3|0;J[c+8>>2]=g;vc(c);c=mJ(J[c>>2],J[c+4>>2],1e3,0);f=Ia;e=(e-g|0)+1900|0;break a}c=oJ(c,e,1e3,0);f=Ia;e=1900}J[d>>2]=c-413362496;J[d+4>>2]=f-((c>>>0<413362496)+49|0);if(!(H[73828]&1)){pa(73832,73836,73840);H[73828]=1}ia(J[d>>2],J[d+4>>2],73720);J[18440]=J[(J[18438]?73844:73840)>>2];c=73720;b:{c:{d:{if(J[16509]){f=J[16510];if(!f){break d}c=d+52|0;if(Ja[f|0](d,c)|0){break d}break c}break c}Bb(b,14322,-1);a=1;break b}Qa(d+52|0,c,44);J[a+8>>2]=e+J[d+72>>2];J[a+12>>2]=J[d+68>>2]+1;J[a+16>>2]=J[d+64>>2];J[a+20>>2]=J[d+60>>2];J[a+24>>2]=J[d+56>>2];b=J[d+52>>2];H[a+46|0]=0;H[a+44|0]=0;J[a+40>>2]=16842752;O[a+32>>3]=(+(nJ(J[a>>2],J[a+4>>2],1e3,0)>>>0)+ +(Ia|0)*4294967296)*.001+ +(b|0);a=0}Fa=d+96|0;return a}function yH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;b=Fa-336|0;Fa=b;f=J[J[a>>2]+20>>2];d=Wa(J[c>>2]);g=Wa(J[c+4>>2]);i=J[f+364>>2];J[f+364>>2]=0;ue(f);if(!(!d|!g)){h=b+52|0;d=Vj(h,d,f,g,0);a:{if(!d){J[b+40>>2]=0;J[b+44>>2]=0;J[b+48>>2]=0;J[b+24>>2]=0;J[b+32>>2]=0;J[b+36>>2]=0;J[b+16>>2]=0;J[b+20>>2]=0;J[b+12>>2]=92;J[b+8>>2]=96;J[b+28>>2]=b+32;J[b+4>>2]=h;d=J[b+300>>2];b:{c:{if(d){if(K[d+43|0]==2){e=J[d+44>>2];J[e+4>>2]=J[e+4>>2]&-2097153;J[b+64>>2]=0;ae(h,e,0);d=K[f+87|0]?7:J[b+64>>2];if(d){break b}$b(b+4|0,e);break c}dc(b+4|0,J[d+16>>2]);d=0;while(1){e=J[b+300>>2];if(I[e+34>>1]<=(d|0)){break c}Eb(b+4|0,Hc(e,J[e+4>>2]+P(d,12)|0));d=d+1|0;continue}}d=J[b+304>>2];if(d){e=b+4|0;dc(e,J[d+40>>2]);Eb(e,J[J[b+304>>2]+36>>2]);break c}d=nm(b+52|0);if(d){break b}Eq(b+4|0,J[b+308>>2])}d=Dq(a,b+32|0,g,0,0)}mm(f,J[b+32>>2]);if(!d){break a}}if(!((d|0)!=1|(J[f+32>>2]&268435457)!=1)){ge(a,J[c+4>>2]);break a}Td(a,d)}Uj(b+52|0)}J[f+364>>2]=i;Fa=b+336|0}function jd(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;e=Ys(a,b,f+12|0);d=J[e+8>>2];a:{if(d){if(!c){g=J[f+12>>2];c=J[e+4>>2];b=J[e>>2];J[(c?c:a+8|0)>>2]=b;if(b){J[b+4>>2]=c}c=J[a+12>>2];if(c){c=c+(g<<3)|0;if((e|0)==J[c+4>>2]){J[c+4>>2]=b}J[c>>2]=J[c>>2]-1}Oa(e);b=J[a+4>>2]-1|0;J[a+4>>2]=b;if(b){break a}lf(a);break a}J[e+12>>2]=b;J[e+8>>2]=c;break a}if(!c){d=0;break a}e=Yb(16,0);if(!e){d=c;break a}J[e+8>>2]=c;J[e+12>>2]=b;c=J[a+4>>2]+1|0;J[a+4>>2]=c;b:{if(c>>>0<10){break b}d=J[a>>2];if(c>>>0<=d<<1>>>0){break b}c=c<<4>>>0>1024?128:c<<1;if((c|0)==(d|0)){break b}d=J[18291];if(d){Ja[d|0]()}c=Yb(c<<3,0);d=J[18292];if(d){Ja[d|0]()}if(!c){break b}Oa(J[a+12>>2]);J[a+12>>2]=c;d=Ja[J[16455]](c)|0;g=d>>>3|0;J[a>>2]=g;h=Sa(c,0,d&-8);c=J[a+8>>2];J[a+8>>2]=0;while(1){if(c){d=J[c>>2];Xs(a,((On(J[c+12>>2])>>>0)%(g>>>0)<<3)+h|0,c);c=d;continue}break}J[f+12>>2]=(On(b)>>>0)%M[a>>2]}d=0;b=a;a=J[a+12>>2];Xs(b,a?a+(J[f+12>>2]<<3)|0:0,e)}Fa=f+16|0;return d}function UC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=5130;a:{f=J[a+36>>2];if(!f){break a}g=J[f>>2];if(!g){break a}h=b+c|0;i=(1<<h)+(-1<<b)|0;g=g+36|0;b:{c:{d:{e:{f:{g:{if(d&1){e=L[f+10>>1];if((e|L[f+12>>1])&i){break g}}e=0;switch(d-6|0){case 0:break e;case 4:break f;default:break a}}h:{if(!(d&4)){break h}d=g+(b<<2)|0;h=J[d>>2];if((h|0)<2){break h}J[d>>2]=h-1;I[f+10>>1]=e&(i^-1);break b}e=Zi(a,2,b+120|0,c);if(e){break a}Sa(g+(b<<2)|0,0,c<<2);a=i^-1;I[f+10>>1]=a&L[f+10>>1];I[f+12>>1]=a&L[f+12>>1];return 0}d=(b|0)>(h|0)?b:h;e=b;while(1){if((d|0)!=(e|0)){h=e<<2;e=e+1|0;if(!J[g+h>>2]){continue}break d}break}e=Zi(a,1,b+120|0,c);if(e){break a}I[f+12>>1]=L[f+12>>1]|i;while(1){if((b|0)==(d|0)){break b}J[g+(b<<2)>>2]=-1;b=b+1|0;continue}}d=L[f+10>>1];if(d&i){break a}g=g+(b<<2)|0;e=J[g>>2];if((e|0)>=0){break c}}return 5}if(!e){e=Zi(a,0,b+120|0,c);if(e){break a}e=J[g>>2];d=L[f+10>>1]}I[f+10>>1]=d|i;J[g>>2]=e+1}return 0}return e|0}function AH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=Fa-320|0;Fa=b;d=J[J[a>>2]+20>>2];j=Wa(J[c>>2]);l=Wa(J[c+4>>2]);g=fb(J[c+16>>2]);h=J[d+32>>2];m=Wa(J[c+20>>2]);f=fb(J[c+24>>2]);n=J[d+364>>2];J[d+364>>2]=0;if(!(!j|!l)){e=J[d+32>>2];i=J[d+36>>2];if(f){J[d+32>>2]=e&-1610612737;J[d+36>>2]=i}k=b+36|0;g=Vj(k,j,d,l,g);f=J[d+36>>2];J[d+32>>2]=J[d+32>>2]|e&1610612736;J[d+36>>2]=f;i=1;a:{b:{if(g){break b}e=0;g=e;c:{h=h&67108864;if(e|h){break c}e=J[b+284>>2];if(!e|K[e+43|0]!=2){break c}J[b+28>>2]=0;J[b+32>>2]=0;J[b+20>>2]=0;J[b+24>>2]=0;J[b+12>>2]=0;J[b+16>>2]=0;J[b+4>>2]=0;J[b+8>>2]=0;J[b>>2]=k;ae(k,J[e+44>>2],b);i=J[b+72>>2]!=0&J[b+48>>2]!=0;break b}f=J[b+292>>2];if(!f){break a}e=d;if(!(g|h)){if(nm(b+36|0)){break b}f=J[b+292>>2]}if((Ab(e,J[f+24>>2])|0)!=(xg(d,j)|0)){break a}pc(a,1);break a}if(!i|!m|(J[d+32>>2]&268435457)==1){break a}Cq(a,m,J[c+8>>2],J[c+12>>2],b+36|0)}Uj(b+36|0)}J[d+364>>2]=n;Fa=b+320|0}function Fx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=Fa-16|0;Fa=i;a:{if(J[a>>2]){break a}j=J[b+24>>2]+2|0;g=pb(lJ(j,j>>31,14,0),Ia);if(!g){J[a>>2]=7;break a}f=Gb(b,22,i+4|0,0);if(f){Oa(g);J[a>>2]=f;break a}k=J[i+4>>2];xb(k,1,0,0);b:{if((qb(k)|0)==100){l=Pe(k,0);f=0;c:{m=Id(k,0);if(!m|H[(l+m|0)-1|0]<0){break c}while(1){if((f|0)>=(j|0)|(h|0)>=(m|0)){break c}n=uc(h+l|0,i+8|0);J[(f<<2)+g>>2]=J[i+8>>2];f=f+1|0;h=h+n|0;continue}}h=(f|0)>(j|0)?f:j;while(1){if((f|0)==(h|0)){break b}J[(f<<2)+g>>2]=0;f=f+1|0;continue}}Sa(g,0,j<<2)}f=jb(k);if(f){Oa(g);J[a>>2]=f;break a}k=(j<<2)+g|0;f=J[g>>2];h=f+e|0;J[g>>2]=(e|0)<0?f>>>0>=0-e>>>0?h:0:h;f=0;while(1){if((f|0)<=J[b+24>>2]){e=f<<2;f=f+1|0;h=(f<<2)+g|0;l=J[e+c>>2]+J[h>>2]|0;e=l-J[d+e>>2]|0;J[h>>2]=e>>>0<=l>>>0?e:0;continue}break}jx(j,g,k,i+8|0);b=Gb(b,23,i+4|0,0);if(b){Oa(g);J[a>>2]=b;break a}b=J[i+4>>2];xb(b,1,0,0);_f(b,2,k,J[i+8>>2],0);qb(b);J[a>>2]=jb(b);we(b,1);Oa(g)}Fa=i+16|0}function ft(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=J[d+64>>2];e=J[d+52>>2];n=J[J[e>>2]+224>>2];l=J[d+56>>2];h=l+K[d+9|0]|0;f=K[h+5|0]<<8|K[h+6|0];e=J[e+40>>2];f=e>>>0>=f>>>0?f:0;o=f+l|0;Qa(n+f|0,o,e-f|0);r=b+c|0;f=e+l|0;while(1){if(!((j|0)==6|J[((j<<2)+a|0)+40>>2]>(b|0))){j=j+1|0;continue}break}e=f;while(1){g=(j<<2)+a|0;s=g;p=J[g+16>>2];a:{while(1){g=J[J[a+8>>2]+(b<<2)>>2];m=L[J[a+12>>2]+(b<<1)>>1];i=g+m|0;b:{c:{if(!(g>>>0<o>>>0|f>>>0<=g>>>0)){if(f>>>0>=i>>>0){break c}return Ta(77631)}if(i>>>0<=p>>>0|g>>>0>=p>>>0){break b}return Ta(77636)}g=(g-l|0)+n|0}e=e-m|0;i=e-l|0;q=i<<8|(i&65280)>>>8;H[k|0]=q;H[k+1|0]=q>>>8;k=k+2|0;if(k>>>0>e>>>0){return Ta(77642)}Dc(e,g,m);b=b+1|0;if((r|0)<=(b|0)){break a}if(J[s+40>>2]>(b|0)){continue}break}j=j+1|0;continue}break}H[d+12|0]=0;I[d+24>>1]=c;H[h+1|0]=0;H[h+2|0]=0;H[h+3|0]=K[d+25|0];a=K[d+24|0];H[h+7|0]=0;H[h+6|0]=i;H[h+5|0]=i>>>8;H[h+4|0]=a;return 0}function LD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-128|0;Fa=d;a:{b:{switch(b-1|0){default:if((b|0)==9){break a}break;case 0:case 2:break a;case 1:break b}}J[d+120>>2]=c+4;e=J[c>>2]}c=(b|0)==4?e|32768:e;c:{d:{if(b>>>0>16){break d}e:{if(!(1<<b&98400)){if((b|0)==7){break e}if((b|0)!=9){break d}J[d+48>>2]=d+120;J[d+52>>2]=0;b=_(a|0,16,d+48|0)|0;if(b){if((b|0)==-28){J[d+32>>2]=c;J[d+36>>2]=0;a=_(a|0,9,d+32|0)|0;break c}a=qc(b);break c}a=J[d+124>>2];a=J[d+120>>2]==2?0-a|0:a;break c}J[d+112>>2]=c;J[d+116>>2]=0;a=qc(_(a|0,b|0,d+112|0)|0);break c}J[d+16>>2]=c;J[d+20>>2]=0;a=qc(_(a|0,7,d+16|0)|0);break c}if((b|0)!=1030){J[d>>2]=c;J[d+4>>2]=0;a=qc(_(a|0,b|0,d|0)|0);break c}J[d+96>>2]=c;J[d+100>>2]=0;b=_(a|0,1030,d+96|0)|0;if((b|0)!=-28){a=qc(b);break c}J[d+80>>2]=0;J[d+84>>2]=0;b=_(a|0,1030,d+80|0)|0;if((b|0)!=-28){if((b|0)>=0){ba(b|0)|0}a=qc(-28);break c}J[d+64>>2]=c;J[d+68>>2]=0;a=qc(_(a|0,0,d- -64|0)|0)}Fa=d+128|0;return a|0}function tp(a){var b=0,c=0,d=0,e=0,f=0,g=0;C(+a);e=x(1)|0;x(0)|0;d=e&2147483647;if(d>>>0>=1141899264){C(1.5707963267948966);e=x(1)|0;d=x(0)|0;C(+a);b=x(1)|0;x(0)|0;z(0,d|0);z(1,e&2147483647|b&-2147483648);g=+B();C(+a);b=x(1)|0;e=x(0)|0;b=b&2147483647;return(b|0)==2146435072&(e|0)!=0|b>>>0>2146435072?a:g}a:{b:{if(d>>>0<=1071382527){b=-1;if(d>>>0>=1044381696){break b}break a}a=R(a);if(d>>>0<=1072889855){if(d>>>0<=1072037887){a=(a+a+-1)/(a+2);b=0;break b}a=(a+-1)/(a+1);b=1;break b}if(d>>>0<=1073971199){a=(a+-1.5)/(a*1.5+1);b=2;break b}a=-1/a;b=3}f=a*a;c=f*f;g=c*(c*(c*(c*(c*-.036531572744216916+-.058335701337905735)+-.0769187620504483)+-.11111110405462356)+-.19999999999876483);f=f*(c*(c*(c*(c*(c*.016285820115365782+.049768779946159324)+.06661073137387531)+.09090887133436507)+.14285714272503466)+.3333333333333293);if(d>>>0<=1071382527){return a-a*(g+f)}b=b<<3;a=O[b+60048>>3]-(a*(g+f)-O[b+60080>>3]-a);a=(e|0)<0?-a:a}return a}function Pb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=J[a+20>>2];if(!(!(K[a+28|0]&4)|M[b+28>>2]<M[a+24>>2])){if(!J[b+104>>2]){return 0}return km(a)}c=J[b+44>>2];if(!c){if(M[b+156>>2]>M[b+168>>2]){i=Fa-16|0;Fa=i;d=J[a+20>>2];H[d+21|0]=K[d+21|0]|4;e=J[a+24>>2];c=mJ(J[d+156>>2],0,J[d+168>>2],J[d+172>>2]);g=e-1&0-c;b=J[d+28>>2];if(b>>>0<e>>>0){c=e-g|0}else{c=b>>>0<c+g>>>0?b-g|0:c}g=g+1|0;while(1){if(!((c|0)<=(f|0)|h)){a:{b:{b=f+g|0;if((b|0)!=J[a+24>>2]){if(vv(J[d+60>>2],b)){break b}}h=0;if((b|0)==J[d+164>>2]){break a}h=Ja[J[d+220>>2]](d,b,i+12|0,0)|0;if(h){break a}h=Ty(J[i+12>>2]);e=J[i+12>>2];b=L[e+28>>1];vf(e);j=b&8?1:j;break a}e=Hh(d,b);J[i+12>>2]=e;h=0;if(!e){break a}b=L[e+28>>1];vf(e);j=b&8?1:j}f=f+1|0;continue}break}c:{if(!j|h){break c}f=0;a=(c|0)>0?c:0;while(1){if((a|0)==(f|0)){break c}c=Hh(d,f+g|0);if(c){I[c+28>>1]=L[c+28>>1]|8;vf(c)}f=f+1|0;continue}}H[d+21|0]=K[d+21|0]&251;Fa=i+16|0;return h}c=Ty(a)}return c}function nz(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=Fa-48|0;Fa=i;l=J[a>>2];m=rb(a);if((h|0)<0){o=Na(m,49,K[e+24|0],0)}n=e+36|0;while(1){if((j|0)<J[e+20>>2]){k=Od(a,k,db(a,53,Kq(a,c,g,(d?L[J[d+4>>2]+(j<<1)>>1]:65535)<<16>>16),jc(l,59,J[J[J[e>>2]+4>>2]+P(I[(f?(j<<2)+f|0:n)>>1],12)>>2])));j=j+1|0;continue}break}if(!(J[e>>2]!=(c|0)|(h|0)<=0)){a:{b:{if(K[c+28|0]&128){f=0;j=0;while(1){if(L[d+50>>1]<=j>>>0){break b}n=f;f=I[J[d+4>>2]+(j<<1)>>1];f=Od(a,n,db(a,45,Kq(a,c,g,f),jc(l,59,J[J[c+4>>2]+P(f,12)>>2])));j=j+1|0;continue}}f=Kq(a,c,g,-1);g=J[b+48>>2];d=jc(l,167,0);if(d){I[d+32>>1]=65535;J[d+28>>2]=g;J[d+44>>2]=c}c=db(a,52,f,d);break a}c=db(a,19,f,0)}k=Od(a,k,c)}J[i+44>>2]=0;J[i+36>>2]=0;J[i+40>>2]=0;J[i+28>>2]=0;J[i+32>>2]=0;J[i+20>>2]=0;J[i+24>>2]=0;J[i+16>>2]=b;J[i+12>>2]=a;Yc(i+12|0,k);c:{if(J[a+36>>2]){break c}a=Ye(a,b,k,0,0,0,0,0);Na(m,158,K[e+24|0],h);if(!a){break c}qd(a)}_a(l,k);if(o){mk(m,o)}Fa=i+48|0}function Do(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-32|0;Fa=d;H[b|0]=0;e=Ja[J[J[a>>2]+24>>2]](a,d+16|0)|0;a:{if(e){break a}f=J[d+16>>2];h=f>>>0<16;g=J[d+20>>2];if(h&(g|0)<=0|(g|0)<0){break a}e=df(a,f-16|0,g-h|0,d+28|0);if(e){break a}e=0;f=J[d+28>>2];if(f>>>0>=c>>>0|!f){break a}c=J[d+16>>2];g=c-16|0;h=J[d+20>>2];i=h-(c>>>0<16)|0;if((i|0)<0){g=1}else{g=(i|0)<=0&f>>>0>g>>>0}if(g){break a}e=df(a,c-12|0,h-(c>>>0<12)|0,d+12|0);if(e){break a}c=J[d+16>>2];e=Ja[J[J[a>>2]+8>>2]](a,d+4|0,8,c-8|0,J[d+20>>2]-(c>>>0<8)|0)|0;if(e){break a}e=0;if((K[d+4|0]|K[d+5|0]<<8|(K[d+6|0]<<16|K[d+7|0]<<24))!=-117058087|(K[d+8|0]|K[d+9|0]<<8|(K[d+10|0]<<16|K[d+11|0]<<24))!=-681336544){break a}c=J[d+16>>2];g=c-f|0;e=Ja[J[J[a>>2]+8>>2]](a,b,f,g-16|0,(J[d+20>>2]-(c>>>0<f>>>0)|0)-(g>>>0<16)|0)|0;if(e){break a}a=0;c=J[d+12>>2];while(1){if((a|0)!=(f|0)){c=c-H[a+b|0]|0;a=a+1|0;continue}break}e=0;a=(c?0:f)+b|0;H[a|0]=0;H[a+1|0]=0}Fa=d+32|0;return e}function cE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)==1){d=Ng(J[c>>2]);if((d|0)!=5){a:{b:{c:{a=wb(a,64);d:{if(!J[a+56>>2]){b=Hl(12);J[a+56>>2]=b;if((d|0)!=1){break c}J[b+4>>2]=429;J[a+48>>2]=0;J[a+52>>2]=0;b=J[a+20>>2];d=J[a+16>>2]+1|0;b=d?b:b+1|0;J[a+16>>2]=d;J[a+20>>2]=b;break d}b=J[a+20>>2];d=J[a+16>>2]+1|0;b=d?b:b+1|0;J[a+16>>2]=d;J[a+20>>2]=b;if(J[a+48>>2]|J[a+52>>2]){break b}}b=fb(J[c>>2]);d=Ia;c=Hl(8);J[c>>2]=b;J[c+4>>2]=d;break a}J[a+48>>2]=1;J[a+52>>2]=0;J[b+4>>2]=430;b=J[a+20>>2];d=J[a+16>>2]+1|0;b=d?b:b+1|0;J[a+16>>2]=d;J[a+20>>2]=b}e=yb(J[c>>2]);c=Hl(8);O[c>>3]=e}a=J[a+56>>2];b=J[a+4>>2];while(1){e:{d=J[a>>2];if(!d){b=Hl(24);J[b+16>>2]=1;J[b+20>>2]=0;J[b+8>>2]=c;J[a>>2]=b;break e}d=Ja[b|0](J[d+8>>2],c)|0;if(d){a=J[a>>2];a=(d|0)>0?a:a+4|0;continue}else{a=J[a>>2];d=J[a+16>>2];b=J[a+20>>2];d=d+1|0;b=d?b:b+1|0;J[a+16>>2]=d;J[a+20>>2]=b;xe(c)}}break}}return}Z(23800,17942,1418,9905);D()}function Ur(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=Fa+-64|0;Fa=d;a:{if(K[a+16|0]){break a}h=J[a>>2];f=J[a+8>>2];while(1){c=b;b=J[b+52>>2];if(b){continue}break}j=J[c+32>>2];g=J[c+28>>2];H[a+16|0]=1;b=J[h+32>>2];Tm(f,J[g>>2]);k=b&68;l=b&4;b=0;while(1){c=J[g>>2];if((b|0)<(c|0)){i=(b<<4)+g|0;c=J[i+8>>2];e=J[i+12>>2];b:{if(!(!e|K[i+17|0]&3)){wf(f,b,0,e,-1);break b}if(!(!(m|k)|K[c|0]!=167)){e=J[c+44>>2];c:{d:{c=I[c+32>>1];if((c|0)>=0){break d}c=I[e+32>>1];if((c|0)>=0){break d}c=15084;break c}c=J[J[e+4>>2]+P(c&65535,12)>>2]}if(m|l){e=J[e>>2];J[d+20>>2]=c;J[d+16>>2]=e;wf(f,b,0,hb(h,6437,d+16|0),5);break b}wf(f,b,0,c,-1);break b}e:{if(!e){J[d>>2]=b+1;c=hb(h,16683,d);break e}c=Ob(h,e)}wf(f,b,0,c,5)}b=b+1|0;continue}break}f=J[a+8>>2];b=0;J[d+40>>2]=0;J[d+28>>2]=a;J[d+32>>2]=j;while(1){if((b|0)>=(c|0)){break a}wf(f,b,1,Bm(d+28|0,J[((b<<4)+g|0)+8>>2]),-1);b=b+1|0;c=J[g>>2];continue}}Fa=d- -64|0}function VF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=J[a+4>>2];m=J[a>>2];a:while(1){g=J[a+12>>2];h=J[a+8>>2];if((g|0)>=(h|0)){return 101}i=0-g|0;b:{while(1){j=h;if((g|0)==(h|0)){break b}j=H[g+l|0];if(!((j|0)<0|!K[((j&255)+m|0)+4|0])){g=g+1|0;J[a+12>>2]=g;i=i-1|0;continue}break}j=g}h=(g|0)>(h|0)?g:h;i=g+i|0;c:{while(1){d:{e:{if((g|0)!=(h|0)){k=H[g+l|0];if((k|0)<0|!K[((k&255)+m|0)+4|0]){break e}h=g}k=(h|0)<=(j|0);if(k){continue a}h=h-j|0;if((h|0)<=J[a+24>>2]){break c}g=h+20|0;J[a+24>>2]=g;g=Bc(J[a+20>>2],g,g>>31);if(g){break d}return 7}g=g+1|0;J[a+12>>2]=g;i=i+1|0;continue}break}J[a+20>>2]=g}g=0;n=(i|0)>0?i:0;o=j+l|0;while(1){if((g|0)!=(n|0)){i=K[g+o|0];H[J[a+20>>2]+g|0]=(i-65&255)>>>0<26?i+32|0:i;g=g+1|0;continue}break}J[b>>2]=J[a+20>>2];J[c>>2]=h;J[d>>2]=j;J[e>>2]=J[a+12>>2];j=J[a+16>>2];J[a+16>>2]=j+1;J[f>>2]=j;if(k){continue}break}return 0}function et(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=Fa-96|0;Fa=f;c=b+c|0;o=(b|0)>(c|0)?b:c;k=J[a+56>>2];m=J[J[a+52>>2]+40>>2];p=k+m|0;q=(K[a+10|0]+(K[a+9|0]+k|0)|0)+8|0;while(1){a:{b:{c:{d:{if((b|0)==(o|0)){c=0;b=(e|0)>0?e:0;while(1){if((b|0)==(c|0)){break d}d=c<<2;e=J[d+(f+48|0)>>2];Vn(a,e&65535,J[d+f>>2]-e&65535);c=c+1|0;continue}}c=J[J[d+8>>2]+(b<<2)>>2];if(c>>>0<q>>>0|c>>>0>=p>>>0){break a}h=c-k&65535;i=h+L[J[d+12>>2]+(b<<1)>>1]|0;c=0;j=(e|0)>0?e:0;e:{while(1){if((c|0)==(j|0)){break e}g=c<<2;n=g+(f+48|0)|0;if(J[n>>2]==(i|0)){J[n>>2]=h;break b}c=c+1|0;g=f+g|0;if(J[g>>2]!=(h|0)){continue}break}J[g>>2]=i;break b}c=0;if((e|0)>=10){while(1){if((c|0)!=(e|0)){j=c<<2;g=J[j+(f+48|0)>>2];Vn(a,g&65535,J[f+j>>2]-g&65535);c=c+1|0;continue}break}e=0}c=e<<2;J[c+f>>2]=i;J[c+(f+48|0)>>2]=h;if((i|0)<=(m|0)){break c}l=0}Fa=f+96|0;return l}e=e+1|0}l=l+1|0}b=b+1|0;continue}}function lk(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=J[a+56>>2]-1|0;J[a+56>>2]=n;s=K[b+28|0]&128?28:31;l=J[a+8>>2];if(!j){bb(l,s,d,n,f,g)}if(oi(a,b,0,0)|c){p=Wm(a,c,0,0,3,b,i);r=Br(a,b);q=J[a+44>>2];o=q+1|0;J[a+44>>2]=o+I[b+34>>1];Na(l,80,f,o);q=q+2|0;p=p|r;r=(p|0)==-1;while(1){if(I[b+34>>1]>(m|0)){if(!(!r&(!(p>>>m&1)|m>>>0>31))){td(l,b,d,m,wc(b,m<<16>>16)+q|0)}m=m+1|0;continue}break}m=J[l+108>>2];ni(a,c,128,0,1,b,o,i,n);if((m|0)<J[l+108>>2]){bb(l,s,d,n,f,g);k=-1}Vm(a,b,o,0,0,0)}a:{if(K[b+43|0]==2){break a}zr(a,b,d,e,0,k);Na(l,130,d,(h|0)!=0);b:{if(K[a+18|0]){if(Ub(J[b>>2],23725)){break b}}sc(l,b,-5)}c:{if(!j){break c}e=J[l+108>>2];if((e|0)<=0){break c}I[(J[l+104>>2]+P(e,20)|0)-18>>1]=4}if(!((d|0)==(k|0)|(k|0)<0)){Va(l,130,k)}d=J[l+108>>2];if((d|0)<=0){break a}I[(J[l+104>>2]+P(d,20)|0)-18>>1]=((j|0)==2)<<1}gB(a,b,0,o,0,0);if(c){ni(a,c,128,0,2,b,o,i,n)}cb(l,n)}function LH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{e=L[J[c>>2]+16>>1];d=e&31;if((e&63)>>>0>=32){d=-1431655766>>>d|0}else{d=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}if(d&1){break a}d=wb(a,36);if(!d){break a}e=J[d+12>>2];J[d+12>>2]=J[J[J[a>>2]+20>>2]+120>>2];b:{if((b|0)==1){if(e){Oh(d,1,44);break b}J[d+28>>2]=1;break b}a=J[c+4>>2];c:{d:{e:{if(e){a=Wa(a);e=sb(J[c+4>>2]);f:{if(!a){e=0;break f}nb(d,a,e)}a=J[d+32>>2];if(J[d+28>>2]==(e|0)){if(!a){break b}f=d+32|0;break e}f=d+32|0;if(a){break e}b=pb((J[d+24>>2]<<2)+4|0,0);if(!b){break c}a=J[d+24>>2];g=((a|0)<=1?1:a)-1|0;a=0;while(1){if((a|0)==(g|0)){break d}J[(a<<2)+b>>2]=J[d+28>>2];a=a+1|0;continue}}J[d+28>>2]=sb(a);break b}b=Bc(a,J[d+24>>2]<<2,0);if(!b){break c}}a=J[d+24>>2];if((a|0)>0){J[((a<<2)+b|0)-4>>2]=e}J[f>>2]=b;break b}Jh(d,7)}J[d+24>>2]=J[d+24>>2]+1;a=Wa(J[c>>2]);b=sb(J[c>>2]);if(!a){break a}nb(d,a,b)}}function Hx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=Fa-32|0;Fa=f;a:{b:{if((Ld(a,c)|0)==(c|0)|((M[16608]/M[a+36>>2]|0)+1|0)==(c|0)){break b}if(!ab(J[J[a+12>>2]+56>>2]+36|0)){e=101;break a}e=Vi(a,c,f+31|0,f+24|0);if(e){break a}c:{d:{e:{g=K[f+31|0];switch(g-1|0){case 1:break d;case 0:break e;default:break c}}e=Ta(74087);break a}if(d){break b}e=cf(a,f+16|0,f+20|0,c,1);if(e){break a}zb(J[f+16>>2]);break b}e=ld(a,c,f+16|0,0);if(e){break a}h=d?0:b;i=!d<<1;while(1){j=J[a+48>>2];e=cf(a,f+12|0,f+20|0,h,i);if(e){zb(J[f+16>>2]);break a}zb(J[f+12>>2]);e=J[f+20>>2];if(e>>>0>j>>>0){zb(J[f+16>>2]);e=Ta(74139);break a}if(b>>>0<e>>>0?d:0){continue}break}b=J[f+16>>2];e=xo(a,b,g,J[f+24>>2],e,d);zb(b);if(e){break a}}e=0;if(d){break a}b=(M[16608]/M[a+36>>2]|0)+2|0;while(1){d=(b|0)==(c|0);c=c-1|0;if(d){continue}if((Ld(a,c)|0)==(c|0)){continue}break}J[a+48>>2]=c;H[a+19|0]=1}Fa=f+32|0;return e}function lj(a){var b=0,c=0,d=0,e=0;I[a+50>>1]=0;H[a+1|0]=K[a+1|0]&249;a:{if(K[a|0]){break a}e=L[a+70>>1];c=e+1|0;I[a+70>>1]=c;b=J[a+116>>2];if(L[b+24>>1]<=(c&65535)>>>0){I[a+70>>1]=e;break a}if(K[b+8|0]){a=0}else{a=io(a)}return a}c=K[a|0];b:{c:{if(!c){break c}if(c>>>0>=3){b=hj(a);if(b){break b}c=K[a|0]}b=101;d:{switch(c-1|0){case 0:break b;case 1:break d;default:break c}}b=0;H[a|0]=0;if(J[a+4>>2]>0){break b}}c=L[a+70>>1]+1|0;I[a+70>>1]=c;d=J[a+116>>2];e:{f:{g:{b=J[16508];if(!b){break g}if(!(Ja[b|0](412)|0)){break g}H[d|0]=0;break f}if(K[d|0]){break e}}b=Ta(76314);break b}e=K[d+8|0];h:{if(L[d+24>>1]<=(c&65535)>>>0){if(!e){b=zg(a,ab((J[d+56>>2]+K[d+9|0]|0)+8|0));if(!b){break h}break b}while(1){if(!K[a+68|0]){H[a|0]=1;b=101;break b}mo(a);c=J[a+116>>2];if(L[a+70>>1]>=L[c+24>>1]){continue}break}b=0;if(!K[c+1|0]){break b}b=lj(a);break b}b=0;if(e){break b}}b=io(a)}return b}function Zf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{g=K[a|0];if((g|0)==45){a=a+1|0;h=-1;break c}if((g|0)!=48){if((g|0)!=43){break c}a=a+1|0;break c}if(!(K[K[a+2|0]+31216|0]&8)|(K[a+1|0]|32)!=120){break c}c=a+2|0;while(1){e=c;c=c+1|0;if(K[e|0]==48){continue}break}c=0;a=0;while(1){d:{if((c|0)==8){break d}d=K[c+e|0];if(!(K[d+31216|0]&8)){break d}a=d+(d<<1<<24>>24>>>7&9)&15|a<<4;c=c+1|0;continue}break}if((a|0)<0){break a}if(!(K[K[c+e|0]+31216|0]&8)){break b}break a}c=K[a|0];if(c-58>>>0<4294967286){break a}while(1){if((c&255)!=48){e:{c=0;while(1){if((c|0)==11){break e}f=K[a+c|0];if((f-48&255)>>>0>9){break e}f=f&15;e=lJ(e,d,10,0)+f|0;d=Ia;d=e>>>0<f>>>0?d+1|0:d;c=c+1|0;continue}}}else{c=K[a+1|0];a=a+1|0;continue}break}f=0;c=c>>>0>10;a=d+h|0;d=e+h|0;a=d>>>0<h>>>0?a+1|0:a;if(d>>>0>2147483647&(a|0)>=0|(a|0)>0|c){break a}a=(g|0)==45?0-e|0:e}J[b>>2]=a;f=1}return f}function oh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}d=J[b>>2];d=(d|0)<=0?72:d<<6|8;h=Ib(a,d,d>>31);if(!h){break a}d=J[b>>2];J[h>>2]=d;J[h+4>>2]=d;while(1){if((d|0)<=(i|0)){return h}e=i<<6;d=e+h|0;f=b+e|0;J[d+8>>2]=J[f+8>>2];J[d+12>>2]=Ob(a,J[f+12>>2]);J[d+16>>2]=Ob(a,J[f+16>>2]);J[d+20>>2]=Ob(a,J[f+20>>2]);J[d+44>>2]=J[f+44>>2];J[d+48>>2]=J[f+48>>2];J[d+32>>2]=J[f+32>>2];J[d+36>>2]=J[f+36>>2];e=K[d+45|0]|K[d+46|0]<<8;if(e&2){J[d- -64>>2]=Ob(a,J[f- -64>>2]);e=K[d+45|0]|K[d+46|0]<<8}g=J[f+68>>2];J[d+68>>2]=g;if(e&256){J[g>>2]=J[g>>2]+1;e=K[d+45|0]|K[d+46|0]<<8}if(e&4){J[d- -64>>2]=kc(a,J[f- -64>>2],c)}e=J[f+24>>2];J[d+24>>2]=e;if(e){J[e+24>>2]=J[e+24>>2]+1}J[d+28>>2]=Pd(a,J[f+28>>2],c);e=J[f+52>>2];b:{if(K[f+46|0]&4){g=xA(a,e);break b}g=eb(a,e,c)}J[d+52>>2]=g;e=J[f+60>>2];J[d+56>>2]=J[f+56>>2];J[d+60>>2]=e;i=i+1|0;d=J[b>>2];continue}}return 0}function jo(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Fa-32|0;Fa=g;a:{if(M[a+48>>2]<b>>>0){e=Ta(80160);break a}e=Ji(a,b,g+28|0,0);if(e){break a}f=J[g+28>>2];b:{if(!(K[a+16|0]&4|J[J[f+72>>2]+32>>2]==(((b|0)==1?2:1)|0))){e=Ta(80167);break b}i=K[f+9|0];b=0;while(1){e=L[f+24>>1];if(e>>>0>b>>>0){e=J[f+64>>2]+(b<<1)|0;h=J[f+56>>2]+(L[f+26>>1]&(K[e|0]<<8|K[e+1|0]))|0;if(!K[f+8|0]){e=jo(a,ab(h),1,d);if(e){break b}}Ja[J[f+80>>2]](f,h,g);if(J[g+12>>2]!=L[g+16>>1]){e=ho(f,h,g);if(e){break b}}b=b+1|0;continue}break}J[g+24>>2]=0;c:{d:{if(!K[f+8|0]){e=jo(a,ab((J[f+56>>2]+i|0)+8|0),1,d);J[g+24>>2]=e;if(e){break b}if(K[f+1|0]|!d){break c}e=L[f+24>>1];break d}if(!d){break c}}a=J[d+4>>2];b=e&65535;e=b+J[d>>2]|0;a=e>>>0<b>>>0?a+1|0:a;J[d>>2]=e;J[d+4>>2]=a}if(c){wh(f,g+24|0);e=J[g+24>>2];break b}e=Pb(J[f+72>>2]);if(e){break b}Fh(f,K[J[f+56>>2]+i|0]|8);e=0}zb(f)}Fa=g+32|0;return e}function Im(a){var b=0,c=0,d=0,e=0,f=0;a:{if(K[a+97|0]!=167){break a}if(cx(a)){break a}Tg(a,0);Dj(a);while(1){c=J[a+16>>2];if((b|0)<J[a+20>>2]){d=c+(b<<4)|0;c=J[d+4>>2];b:{if(!c){break b}mf(c);J[d+4>>2]=0;if((b|0)==1){break b}J[d+12>>2]=0}b=b+1|0;continue}break}c=J[c+28>>2];if(c){Tj(c)}lm(a);zq(a);d=a+424|0;while(1){d=J[d>>2];if(d){b=J[d+8>>2];while(1){Tw(a,b);c=J[b+12>>2];Ua(a,b);b=c;if(b){continue}break}continue}break}lf(a+416|0);e=a+440|0;while(1){e=J[e>>2];if(e){f=J[e+8>>2];b=0;while(1){if((b|0)!=3){d=P(b,20)+f|0;c=J[d+16>>2];if(c){Ja[c|0](J[d+8>>2])}b=b+1|0;continue}break}Ua(a,f);continue}break}lf(a+432|0);b=a+396|0;while(1){b=J[b>>2];if(b){c=J[b+8>>2];Bp(a,c);Ap(a,c);continue}break}lf(a+388|0);Lc(a,0);Pc(J[a+288>>2]);H[a+97|0]=213;Ua(a,J[J[a+16>>2]+28>>2]);c=J[a+256>>2];if(c){Ja[c|0](J[a+252>>2])}H[a+97|0]=206;if(K[a+312|0]){Oa(J[a+352>>2])}Oa(a)}}function iA(a){var b=0,c=0,d=0,e=0;while(1){a:{b=a;b:{if(!b){a=0;break b}c:{d:{e:{f:{g:{h:{i:{c=K[b|0];switch(c-154|0){case 13:case 15:case 23:case 24:break h;case 20:case 25:break a;case 1:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 16:case 17:case 19:case 21:case 22:break c;case 2:case 14:case 18:break d;case 0:break f;case 3:break g;default:break i}}a=2;j:{switch(c-111|0){case 2:break a;case 6:break b;case 1:case 3:case 4:case 5:break c;case 0:break e;default:break j}}a=0;if((c|0)==121){continue}if((c|0)==36){break h}if((c|0)!=138){break c}}a=mc(b);a=(a|0)>66?5:(a|0)==66?6:7;break b}c=J[b+20>>2];b=1;a=0;while(1){d=J[c>>2];if((b|0)<(d|0)){a=iA(J[(c+(b<<4)|0)+8>>2])|a;b=b+2|0;continue}break}if(!(d&1)){break b}e=a|e;a=J[(c+(d<<4)|0)-8>>2];continue}a=4;break b}a=6;break b}a=7;break b}a=1}return a|e}a=J[b+12>>2];continue}}function Jx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Fa-16|0;Fa=e;J[e+4>>2]=b;J[e+12>>2]=b;f=Gb(a,7,e+8|0,e+12|0);g=J[e+8>>2];a:{b:{c:{if(f){break c}j=(qb(g)|0)!=100;if(j){break b}k=Tp(a,g);f=Wp(a,1,k,Sc(g,0),Ia);h=1;while(1){if(f){break c}if(J[a+24>>2]<(h|0)){break b}f=0;i=h-1|0;if(!K[i+J[a+32>>2]|0]){f=Vp(a,k,Oe(g,h),-1,(i<<2)+d|0);i=Id(g,h);l=(J[a+24>>2]<<2)+d|0;J[l>>2]=i+J[l>>2]}h=h+1|0;continue}}jb(g);J[e>>2]=f;break a}f=jb(g);J[e>>2]=f;if(f|j){break a}J[e+12>>2]=b;d:{if(J[a+40>>2]){J[e>>2]=0;J[c>>2]=J[c>>2]-1;break d}f=1;b=Gb(a,1,e+8|0,e+12|0);if(b){J[e>>2]=b;break a}b=J[e+8>>2];if((qb(b)|0)==100){f=!Ad(b,0)}b=jb(b);J[e>>2]=b;if(b){break a}if(!f){J[e>>2]=Kx(a,1);J[c>>2]=0;Sa(d,0,(J[a+24>>2]<<3)+8|0);break a}b=J[a+40>>2];J[c>>2]=J[c>>2]-1;if(b){break d}Ug(e,a,0,e+4|0)}if(!K[a+238|0]){break a}Ug(e,a,19,e+4|0)}Fa=e+16|0;return J[e>>2]}function pi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{if(!J[b+56>>2]){h=J[J[J[a>>2]+16>>2]+28>>2];if(!h|!J[h+48>>2]){break c}}if(!K[a+161|0]){break b}}a=0;if(!e){break a}J[e>>2]=0;return 0}k=d;i=Fa-16|0;Fa=i;d=b;d:{e:{b=Wr(a,b);if(!b){break e}h=a;f:{if(K[J[a>>2]+34|0]&4){break f}f=J[d+56>>2];if(!f){break f}if((b|0)==(f|0)){break e}a=b;while(1){g=a;a=J[a+32>>2];if((a|0)!=(f|0)?a:0){continue}break}J[g+32>>2]=0}l=(c|0)==128?20321:20328;g=0;m=(c|0)==127;n=(c|0)!=129;a=b;while(1){g:{h:{f=K[a+8|0];if((f|0)!=(c|0)){break h}if(!Lq(J[a+16>>2],k)){break h}g=K[a+9|0]|g;break g}if((f|0)==150){H[a+8|0]=c;j=K[d+43|0]!=1;f=j?2:1;if(!(m|j)){J[i>>2]=l;Ra(h,5636,i);f=1}H[a+9|0]=f;g=g|f;break g}if(J[h+128>>2]|(!K[a+10|0]|n|(f|0)!=127)){break g}g=K[a+9|0]|g}a=J[a+32>>2];if(a){continue}break}break d}b=0}if(e){J[e>>2]=g}Fa=i+16|0;a=g?b:0}return a}function jF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=Fa-16|0;Fa=h;J[h+12>>2]=0;a=fj(a,25348);if(!a){j=14007;g=c-3|0;a:{b:{if(!g){break b}k=d+12|0;d=0;l=(g|0)>0?g:0;a=0;while(1){if((a|0)!=(l|0)){d=(ob(J[(a<<2)+k>>2])+d|0)+1|0;a=a+1|0;continue}break}a=g<<2;i=pb(a+d|0,0);if(!i){i=0;a=7;break a}d=a+i|0;a=0;while(1){if((a|0)!=(l|0)){g=a<<2;m=g+k|0;n=ob(J[m>>2]);J[g+i>>2]=d;g=d;d=n+1|0;g=Qa(g,J[m>>2],d);ci(g);a=a+1|0;d=d+g|0;continue}break}if((c|0)<4){break b}j=J[i>>2]}a=1;d=Wl(b,j,ob(j)+1|0);if(!d){J[h>>2]=j;Nd(f,7781,h);break a}c:{a=(c|0)>4;a=Ja[J[d+4>>2]](a?c-4|0:0,a?i+4|0:0,h+12|0)|0;d:{if(a){c=J[h+12>>2];break d}b=gc(20);c=J[h+12>>2];if(b){break c}a=7}if(!c){break a}Ja[J[d+8>>2]](c)|0;break a}J[b>>2]=0;J[b+4>>2]=0;J[b+16>>2]=c;J[b+12>>2]=d;a=0;J[b+8>>2]=0;J[e>>2]=b}Oa(i)}Fa=h+16|0;return a|0}function Gm(a,b,c,d,e){var f=0,g=0;while(1){if(!Zb(a,b,c,d)){return K[c|0]!=121}g=0;a:{b:{c:{d:{e:{f:{g:{h:{f=K[b|0];switch(f-102|0){case 11:break a;case 12:break b;case 10:break c;case 0:case 6:case 7:case 8:break f;case 1:case 2:case 3:case 4:case 5:case 9:break g;default:break h}}i:{switch(f-48|0){default:switch(f-173|0){case 0:case 1:case 8:break a;case 3:case 4:case 5:case 6:case 7:break c;case 2:break e;default:break d};case 1:if(!e){break b}e=1;if(K[b+5|0]&16){break c}break a;case 0:break i;case 2:case 3:break c;case 4:case 5:case 6:case 7:case 8:case 9:break g}}if(e){break c}g=1;f=J[b+20>>2];if(Gm(a,J[f+8>>2],c,d,1)){break c}e=1;if(!Gm(a,J[f+24>>2],c,d,1)){break a}break c}e=1}if(!Gm(a,J[b+16>>2],c,d,e)){break a}return 1}if(e){break c}e=1;if(K[b+2|0]==45){break a}break c}if((f|0)==19){break b}}return g}e=1}b=J[b+12>>2];continue}}function kI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Fa-32|0;Fa=e;a:{if((b|0)==2){f=J[c+4>>2];g=L[f+16>>1];b=g&31;if((g&63)>>>0>=32){b=-1431655766>>>b|0}else{b=((1<<b)-1&-1431655766)<<32-b|-1431655766>>>b}if(b&1){break a}b=fb(f);b=(b|0)>=30?30:b;f=(b|0)>0?b:0}c=J[c>>2];g=L[c+16>>1];b=g&31;if((g&63)>>>0>=32){b=-1431655766>>>b|0}else{b=((1<<b)-1&-1431655766)<<32-b|-1431655766>>>b}if(b&1){break a}d=yb(c);O[e+24>>3]=d;b:{if(d<-4503599627370496|d>4503599627370496){break b}if(!f){d=d+(d<0?-.5:.5);c:{if(R(d)<0x8000000000000000){b=~~d>>>0;if(R(d)>=1){c=~~(d>0?T(V(d*2.3283064365386963e-10),4294967295):W((d-+(~~d>>>0>>>0))*2.3283064365386963e-10))>>>0}else{c=0}break c}b=0;c=-2147483648}d=+(b>>>0)+ +(c|0)*4294967296;break b}O[e+8>>3]=d;J[e>>2]=f;b=ub(12739,e);if(!b){Qb(a);break a}Hd(b,e+24|0,Ya(b),1);Oa(b);d=O[e+24>>3]}Nb(a,d)}Fa=e+32|0}function tc(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(c){f=J[a+20>>2];d=(f|0)>0?f:0;f=a;g=a+16|0;c:{while(1){if((e|0)!=(d|0)){a=J[f+16>>2];if(!Xa(c,J[a+(e<<4)>>2])){break c}e=e+1|0;continue}break}d=0;if(Xa(c,11276)){break a}a=J[f+16>>2];e=0}d=Cc(J[((e<<4)+a|0)+12>>2]+8|0,b);if(d){break a}d=0;if(tb(b,18298,7)){break a}c=b+7|0;a=1;if((e|0)==1){b=9192;if(!Xa(c,18191)){break b}if(!Xa(c,18210)){break b}if(!Xa(c,9218)){break b}break a}if(Xa(c,18210)){break a}b=9211;a=e;break b}d=Cc(J[J[a+16>>2]+28>>2]+8|0,b);if(d){break a}g=a+16|0;d=Cc(J[J[g>>2]+12>>2]+8|0,b);if(d){break a}e=2;while(1){if(J[a+20>>2]>(e|0)){c=e<<4;e=e+1|0;d=Cc(J[(J[a+16>>2]+c|0)+12>>2]+8|0,b);if(!d){continue}break a}break}d=0;if(tb(b,18298,7)){break a}a=b+7|0;if(!Xa(a,18210)){b=9211;a=0;break b}if(Xa(a,18191)){break a}b=9192;a=1}d=Cc(J[(J[g>>2]+(a<<4)|0)+12>>2]+8|0,b)}return d}function is(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=Fa-16|0;Fa=j;f=J[a+248>>2];a:{if(!f){break a}g=J[f+28>>2];if(g&4){J[j>>2]=J[f>>2];Ra(a,1293,j);break a}J[f+28>>2]=g|4;b:{if(!b){g=I[f+34>>1]-1|0;k=J[f+4>>2]+P(g,12)|0;mn(a,k);h=1;break b}l=J[b>>2];n=(l|0)>0?l:0;g=-1;while(1){c:{if((m|0)!=(n|0)){i=Cf(J[((m<<4)+b|0)+8>>2]);Yr(i);if(K[i|0]!=59){break c}g=0;h=I[f+34>>1];h=(h|0)>0?h:0;o=J[i+8>>2];while(1){if((g|0)==(h|0)){g=h;break c}i=J[f+4>>2]+P(g,12)|0;if(Xa(o,J[i>>2])){g=g+1|0;continue}else{mn(a,i);k=i;break c}}}h=(l|0)==1;break b}m=m+1|0;continue}}if(!(!h|!k|(e|0)==1|(K[k+4|0]&-16)!=64)){if(!(!b|K[a+220|0]<2)){Zc(a,f+32|0,Cf(J[b+8>>2]))}H[f+42|0]=c;I[f+32>>1]=g;J[f+28>>2]=J[f+28>>2]|d<<3;if(b){H[a+218|0]=K[b+16|0]}Ck(a,b);break a}if(d){Ra(a,18530,0);break a}Ci(a,0,0,0,b,c,0,0,e,0,2);b=0}kb(J[a>>2],b);Fa=j+16|0}function lx(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;k=Fa-16|0;Fa=k;i=J[a>>2];J[k+12>>2]=i;m=k+12|0;a:{b:{if(i){j=J[i+16>>2];l=J[i+20>>2];if((j|0)==(b|0)&(l|0)==(c|0)){break b}J[i>>2]=J[i>>2]+1;i=b-j|0;j=c-((b>>>0<j>>>0)+l|0)|0}else{i=b;j=c}j=Hj(m,i,j);i=J[k+12>>2];if(j){break a}J[i+32>>2]=0;J[i+36>>2]=0;J[i+24>>2]=-1;J[i+28>>2]=-1;J[i+16>>2]=b;J[i+20>>2]=c}c:{d:{if(!!d&(e|0)>=0|(e|0)>0){if((d|0)==J[i+24>>2]&(e|0)==J[i+28>>2]){break d}j=Hj(k+12|0,1,0);if(j){i=J[k+12>>2];break a}j=Hj(k+12|0,d,e);i=J[k+12>>2];if(j){break a}J[i+32>>2]=0;J[i+36>>2]=0;J[i+24>>2]=d;J[i+28>>2]=e;break d}if((e|0)<0){break c}}c=k+12|0;b=J[i+32>>2];d=f-b|0;b=g-(J[i+36>>2]+(b>>>0>f>>>0)|0)|0;d=d+2|0;b=d>>>0<2?b+1|0:b;j=Hj(c,d,b);i=J[k+12>>2];if(j){break a}J[i+32>>2]=f;J[i+36>>2]=g}j=0}J[h>>2]=j;Fa=k+16|0;if(J[a>>2]==(i|0)){a=0}else{J[a>>2]=i;a=1}return a}function Ir(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=J[b+32>>2];d=J[a+8>>2];while(1){if(J[b+36>>2]>(i|0)){k=J[J[c>>2]+20>>2];if(J[c+16>>2]>=0){h=J[k>>2];j=ic(a,h);g=K[c+20|0]?J[J[J[J[c>>2]+12>>2]+20>>2]>>2]+!K[c+21|0]|0:0;l=Va(d,36,J[c+16>>2]);f=h-1|0;e=f;while(1){if((e|0)>=0){Pa(d,94,J[c+16>>2],e+g|0,e+j|0);e=e-1|0;continue}break}if(K[c+22|0]){e=vb(a);g=!(K[c+20|0]?1:K[c+21|0])+(g+h|0)|0;while(1){if((f|0)>=0){Pa(d,94,J[c+16>>2],f+g|0,e);Na(d,182,e,f+j|0);f=f-1|0;continue}break}mb(a,e)}Pa(d,162,0,j,J[b+24>>2]+(J[b+12>>2]+i|0)|0);sc(d,J[c+4>>2],-7);g=J[d+108>>2];if((g|0)>0){I[(J[d+104>>2]+P(g,20)|0)-18>>1]=h&255}Na(d,39,J[c+16>>2],l+1|0);f=J[d+108>>2];J[(K[J[d>>2]+87|0]?73192:J[d+104>>2]+P(l,20)|0)+8>>2]=f;Oc(a,j,h)}Na(d,165,J[b+24>>2]+(J[b+12>>2]+i|0)|0,k?J[k>>2]:0);sc(d,J[c+4>>2],-7);c=c+24|0;i=i+1|0;continue}break}}function xd(a,b){var c=0,d=0,e=0;a:{if(!b){break a}if(!J[a+528>>2]){c=J[b+24>>2]-1|0;J[b+24>>2]=c;if(c){break a}}c=a;d=b;a=J[d+8>>2];while(1){if(a){b=J[a+20>>2];if(!(J[c+528>>2]|K[d+43|0]==1)){jd(J[a+24>>2]+24|0,J[a>>2],0)}Uk(c,a);a=b;continue}break}b:{c:{switch(K[d+43|0]){case 0:a=J[d+48>>2];while(1){if(!a){break b}d:{if(J[c+528>>2]){break d}b=J[a+12>>2];e=J[a+16>>2];e:{if(e){J[e+12>>2]=b;break e}jd(J[d+60>>2]+56|0,J[(b?b:a)+8>>2],b);b=J[a+12>>2]}if(!b){break d}J[b+16>>2]=J[a+16>>2]}Ki(c,J[a+28>>2]);Ki(c,J[a+32>>2]);b=J[a+4>>2];Za(c,a);a=b;continue};case 1:if(!J[c+528>>2]){Yt(0,d)}if(!J[d+48>>2]){break b}a=0;while(1){if(J[d+44>>2]>(a|0)){if((a|0)!=1){Ua(c,J[J[d+48>>2]+(a<<2)>>2])}a=a+1|0;continue}break};Ua(c,J[d+48>>2]);break b;default:break c}}ac(c,J[d+44>>2])}In(c,d);Ua(c,J[d>>2]);Ua(c,J[d+12>>2]);kb(c,J[d+16>>2]);Za(c,d)}}function tz(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Fa-16|0;Fa=i;d=J[b+24>>2];j=(d|0)>0?d:0;f=b+24|0;h=J[b+20>>2];d=h;a:{b:{while(1){if((g|0)!=(j|0)){if(J[d+4>>2]==(c|0)){break a}if(!(J[d+8>>2]!=J[c+28>>2]|L[d+12>>1]!=L[c+32>>1])){e=K[c|0];if((e|0)!=179){break b}}d=d+16|0;g=g+1|0;continue}break}a=sz(J[a>>2],h,16,f,i+12|0);J[b+20>>2]=a;g=J[i+12>>2];if((g|0)<0){break a}a=a+(g<<4)|0;J[a>>2]=J[c+44>>2];h=J[c+28>>2];J[a+8>>2]=h;j=L[c+32>>1];J[a+4>>2]=c;I[a+12>>1]=j;e=J[b+16>>2];c:{d:{if(!e|K[c|0]==179){break d}d=0;f=J[e>>2];k=(f|0)>0?f:0;e=e+8|0;while(1){if((d|0)==(k|0)){break d}f=J[e>>2];if(!(!(K[f|0]!=167|(h|0)!=J[f+28>>2])&(j|0)==L[f+32>>1])){e=e+16|0;d=d+1|0;continue}break}I[a+14>>1]=d;if(d<<16>>16>=0){break c}}d=L[b+2>>1];I[b+2>>1]=d+1;I[a+14>>1]=d}e=K[c|0]}J[c+40>>2]=b;if((e|0)==167){H[c|0]=169}I[c+34>>1]=g}Fa=i+16|0}function Yl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Fa-16|0;Fa=f;e=J[b+80>>2];J[f+12>>2]=e;a:{if(!(!K[a+239|0]|!J[b+56>>2])){H[f+11|0]=0;if(c){J[c>>2]=e;J[d>>2]=J[b+84>>2]-1}Xl(0,J[b+72>>2],J[b+76>>2],f+12|0,b+88|0,b+84|0,f+11|0);J[b+80>>2]=K[f+11|0]?0:J[f+12>>2];break a}h=J[b+72>>2]+J[b+76>>2]|0;while(1){g=K[e|0];if(g|i){i=g&128;e=e+1|0;continue}if(!(!J[b+52>>2]|J[b+40>>2]+J[b+48>>2]>>>0>e>>>0)){g=ey(b);if(!g){continue}break a}break}e=e+1|0;J[f+12>>2]=e;if(c){g=c;c=J[b+80>>2];J[g>>2]=c;J[d>>2]=(c^-1)+e}b:{while(1){if(e>>>0<h>>>0){if(K[e|0]){break b}e=e+1|0;continue}break}g=0;J[b+80>>2]=0;break a}J[f+12>>2]=e;g=Zl(b,e,10);if(g){break a}J[b+80>>2]=uc(e,f)+e;c=J[f>>2];a=K[a+239|0];e=a?0-c|0:c;d=e+J[b+88>>2]|0;g=(c|0)!=0;c=J[f+4>>2];a=J[b+92>>2]+(a?0-(g+c|0)|0:c)|0;J[b+88>>2]=d;J[b+92>>2]=d>>>0<e>>>0?a+1|0:a;g=0}Fa=f+16|0;return g}function hG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(J[b+8>>2]!=1){break a}a=J[b+12>>2];if(J[a>>2]|K[a+4|0]){break a}J[b+32>>2]=1}a=J[b>>2];j=(a|0)>0?a:0;g=-1;h=-1;f=-1;i=-1;while(1){if((c|0)!=(j|0)){d=J[b+4>>2]+P(c,12)|0;if(K[d+5|0]){a=K[d+4|0];d=J[d>>2];if(!d){h=(a|0)==8?c:(a|0)==16?c:h;i=(a|0)==2?c:i;g=(a|0)==32?c:(a|0)==4?c:g}f=(d|0)==4?(a|0)==2?c:f:f}c=c+1|0;continue}break}b:{if((i|0)>=0){J[b+20>>2]=1;J[J[b+16>>2]+(i<<3)>>2]=1;J[b+40>>2]=0;J[b+44>>2]=1075052544;c=2;e=5;break b}J[b+40>>2]=0;J[b+44>>2]=1087604736;J[b+20>>2]=0;c:{if((g|0)<0){c=1;e=2e4;a=4;break c}c=2;J[b+20>>2]=2;J[J[b+16>>2]+(g<<3)>>2]=1;J[b+40>>2]=0;J[b+44>>2]=1086556160;e=1e4;a=6}if((h|0)<0){break b}J[b+20>>2]=a;J[J[b+16>>2]+(h<<3)>>2]=c;e=e*.5;O[b+40>>3]=e;c=c+1|0}if((f|0)>=0){J[J[b+16>>2]+(f<<3)>>2]=c;O[b+40>>3]=e+-1}return 0}function gx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=Fa-32|0;Fa=g;f=Gb(a,37,g+28|0,0);a:{if(f){break a}i=J[g+28>>2];h=c;f=b+1|0;h=f?h:h+1|0;xb(i,1,f,h);h=mJ(b,c,1024,0);xb(i,2,h<<10|1023,Ia<<10|h>>>22);e=mJ(lJ(d,e,3,0),Ia,2,0);k=Ia;while(1){b:{h=j;if((qb(i)|0)!=100){break b}J[g+16>>2]=0;J[g+20>>2]=0;ex(i,2,g+8|0,g+16|0);h=0;j=J[g+20>>2];f=j;d=J[g+16>>2];if(!d&(f|0)<=0|(f|0)<0){break b}j=1;if((f|0)<=(k|0)&d>>>0<=e>>>0|(f|0)<(k|0)){continue}}break}f=jb(i);if(!h){break a}J[g+16>>2]=0;J[g+8>>2]=0;if(f){break a}f=Gb(a,38,g+16|0,0);if(f){break a}f=Gb(a,39,g+8|0,0);if(f){break a}xb(i,1,b,c);a=J[g+16>>2];h=0;c:{while(1){if((qb(i)|0)!=100){break c}Uc(a,1,h);Uc(a,2,Ad(i,0));Uc(a,3,Ad(i,1));qb(a);h=h+1|0;f=jb(a);if(!f){continue}break}jb(i);break a}f=jb(i);if(f){break a}a=J[g+8>>2];xb(a,1,b,c);qb(a);f=jb(a)}Fa=g+32|0;return f}function Mj(a,b,c,d){var e=0,f=0,g=0;if(K[a|0]==1){g=hq(b,c)}else{g=gq(b,c)}a:{f=g&J[a+12>>2]-1;e=yy(a,b,c,f);if(e){g=J[e+8>>2];if(!d){b=J[e+4>>2];c=J[e>>2];J[(b?b:a+8|0)>>2]=c;if(c){J[c+4>>2]=b}b=J[a+16>>2]+(f<<3)|0;if((e|0)==J[b+4>>2]){J[b+4>>2]=c}c=J[b>>2];J[b>>2]=c-1;if((c|0)<=1){J[b+4>>2]=0}b:{if(!K[a+1|0]){break b}b=J[e+12>>2];if(!b){break b}Oa(b)}Oa(e);b=J[a+4>>2];J[a+4>>2]=b-1;if((b|0)>1){break a}_l(a);break a}J[e+8>>2]=d;break a}c:{if(d){d:{e=J[a+12>>2];e:{if(!e){if(xy(a,8)){break e}e=J[a+12>>2]}if(J[a+4>>2]<(e|0)){break d}if(!xy(a,e<<1)){break d}}J[a+4>>2]=0;return d}e=Be(20,0);if(!e){break c}f:{if(!(!b|!K[a+1|0])){f=Be(c,c>>31);J[e+12>>2]=f;if(!f){Oa(e);return d}Qa(f,b,c);break f}J[e+12>>2]=b}J[e+16>>2]=c;J[a+4>>2]=J[a+4>>2]+1;wy(a,J[a+16>>2]+((g&J[a+12>>2]-1)<<3)|0,e);J[e+8>>2]=d}d=0}return d}return g}function eJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;c=J[b+4>>2];a:{if(c&1|(L[a+22>>1]?c&2:0)){break a}b:{c:{d:{e:{f:{g:{e=K[b|0];switch(e-43|0){case 2:case 7:case 8:break a;case 3:case 4:break b;case 9:case 10:case 11:case 12:case 13:case 14:break c;case 5:break d;case 6:break e;case 0:case 1:break f;default:break g}}c=e-157|0;if(c>>>0>20){break b}if(1<<c&1359873){break a}if((c|0)!=10){break b}if(J[a+24>>2]!=J[b+28>>2]){break a}I[a+20>>1]=1;return 2}EA(a,J[b+12>>2],J[b+16>>2]);return 1}if(c&4096|J[J[b+20>>2]>>2]<=0){break a}Eb(a,J[b+12>>2]);return 1}Eb(a,J[b+12>>2]);c=a;a=J[b+20>>2];EA(c,J[a+8>>2],J[a+24>>2]);return 1}a=J[b+16>>2];b=J[b+12>>2];h:{if(K[b|0]!=167){break h}b=J[b+44>>2];if(!b){break h}if(K[b+43|0]==1){break a}}if(K[a|0]!=167){break b}a=J[a+44>>2];if(!a){break b}if(K[a+43|0]==1){break a}}d=0}return d|0}function Zw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Fa-16|0;Fa=e;a:{while(1){d=0;if(K[a+32|0]){break a}c=J[b>>2];if(J[a+24>>2]!=J[c+32>>2]|J[a+28>>2]!=J[c+36>>2]){break a}d=J[a+12>>2];if(d){d=Zw(d,b);if(d){break a}a=J[a+16>>2];continue}break}h=J[c>>2];g=J[a+20>>2];c=J[g+28>>2];J[e+12>>2]=c;d=0;J[e+8>>2]=0;if(!c){break a}d=J[b+4>>2];c=K[b+24|0];d=P(J[a+36>>2],(c|0)!=121?(d+31|0)/32|0:d);a=0;i=(c|0)!=121;while(1){c=Ww(e+12|0);f=J[g+68>>2];b:{if((f|0)!=(a|0)&(f|0)<J[h+24>>2]){break b}if(!i){J[(J[b+28>>2]+(d<<2)|0)+(a<<2)>>2]=c;break b}if(!c){break b}c=(J[b+28>>2]+(d<<2)|0)+((a+1|0)/32<<2)|0;J[c>>2]=J[c>>2]|1<<a}a=J[e+12>>2];if(K[a|0]!=1){d=0;break a}c=a+1|0;a=H[a+1|0];c:{if((a|0)<0){f=lc(c,e+8|0);a=J[e+8>>2];break c}a=a&255;J[e+8>>2]=a;f=1}J[e+12>>2]=c+f;if(J[b+4>>2]>(a|0)){continue}break}d=267}Fa=e+16|0;return d}function xz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=Fa-16|0;Fa=h;e=J[J[J[a+24>>2]+4>>2]+36>>2];f=J[J[a+4>>2]+4>>2];j=J[f+36>>2];p=(e|0)<(j|0)?e:j;q=e;k=e>>31;l=lJ(e,k,b,0);i=l-e|0;m=Ia;e=m-((e>>>0>l>>>0)+k|0)|0;o=J[f>>2];n=j>>31;b=0;while(1){if(!((e|0)>=(m|0)&i>>>0>=l>>>0|(e|0)>(m|0)|b)){b=0;J[h+12>>2]=0;f=mJ(i,e,j,n);g=Ia;if((f|0)!=(M[16608]/M[J[J[a+4>>2]+4>>2]+36>>2]|0)){b=Ja[J[o+220>>2]](o,f+1|0,h+12|0,0)|0;a:{if(b){break a}b=Pb(J[h+12>>2]);if(b){break a}f=Qa(J[J[h+12>>2]+4>>2]+(i-lJ(j,n,f,g)|0)|0,nJ(i,e,q,k)+c|0,p);b=0;H[J[J[h+12>>2]+8>>2]]=0;if(e|i|d){break a}g=J[J[J[a+24>>2]+4>>2]+48>>2];g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);H[f+28|0]=g;H[f+29|0]=g>>>8;H[f+30|0]=g>>>16;H[f+31|0]=g>>>24}ed(J[h+12>>2])}e=e+n|0;i=i+j|0;e=i>>>0<j>>>0?e+1|0:e;continue}break}Fa=h+16|0;return b}function Of(a,b,c,d,e){var f=0,g=0;if(d){f=J[d+4>>2];d=J[d>>2]}else{d=0}g=b+c|0;a:{if(!a){while(1){a=J[b>>2];d=(d+f|0)+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=J[b+4>>2];f=d+((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+f|0)|0;b=b+8|0;if(g>>>0>b>>>0){continue}break a}}if(!(c&63)){while(1){a=J[b>>2]+(d+f|0)|0;c=a+(J[b+4>>2]+f|0)|0;a=c+(a+J[b+8>>2]|0)|0;c=(c+J[b+12>>2]|0)+a|0;a=c+(a+J[b+16>>2]|0)|0;c=(c+J[b+20>>2]|0)+a|0;a=c+(a+J[b+24>>2]|0)|0;c=(c+J[b+28>>2]|0)+a|0;a=c+(a+J[b+32>>2]|0)|0;c=(c+J[b+36>>2]|0)+a|0;a=c+(a+J[b+40>>2]|0)|0;c=(c+J[b+44>>2]|0)+a|0;d=c+J[b+52>>2]|0;c=c+(a+J[b+48>>2]|0)|0;a=d+c|0;d=a+(c+J[b+56>>2]|0)|0;f=d+(a+J[b+60>>2]|0)|0;b=b- -64|0;if(g>>>0>b>>>0){continue}break a}}while(1){d=J[b>>2]+(d+f|0)|0;f=d+(J[b+4>>2]+f|0)|0;b=b+8|0;if(g>>>0>b>>>0){continue}break}}J[e+4>>2]=f;J[e>>2]=d}function fj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Fa-288|0;Fa=c;g=J[a+404>>2];a:{if(!(J[g+12>>2]?0:g)){Lc(a,Nc(154915));a=Nc(154917);break a}d=J[g+4>>2];f=c+4|0;wm(f,a);e=1;H[c+165|0]=1;H[c+224|0]=1;h=K[a+177|0];H[a+177|0]=0;I[c+160>>1]=1;b:{c:{if(ej(f,b)){break c}b=J[c+252>>2];if(K[a+87|0]|!b|K[b+43|0]){break c}e=0;d:{if(J[d+4>>2]){break d}J[d+4>>2]=J[b+4>>2];kb(a,J[b+52>>2]);e=L[b+34>>1];I[d+36>>1]=e;I[d+34>>1]=e;J[d+28>>2]=J[d+28>>2]|J[b+28>>2]&640;e=0;J[b+4>>2]=0;I[b+34>>1]=0;if(!(!(K[b+28|0]&128)|!J[J[J[J[g>>2]+4>>2]>>2]+52>>2])){e=L[ec(b)+50>>1]!=1}f=J[b+8>>2];if(!f){break d}J[d+8>>2]=f;J[b+8>>2]=0;J[f+12>>2]=d}J[g+12>>2]=1;break b}b=J[c+8>>2];J[c>>2]=b;Zd(a,1,b?8863:0,c);Ua(a,J[c+8>>2])}H[c+224|0]=0;b=J[c+12>>2];if(b){kf(b)}xd(a,J[c+252>>2]);ji(c+4|0);H[a+177|0]=h;a=bd(a,e)}Fa=c+288|0;return a}function xB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=Fa-16|0;Fa=g;e=J[a+24>>2];j=J[J[e>>2]>>2];k=xg(j,J[e+40>>2]);h=J[b+32>>2];a:{if(!h){break a}l=e+4|0;c=h+8|0;b:{while(1){if(J[h>>2]>(f|0)){if(!K[e+36|0]){d=J[c+4>>2];c:{if(!d){d=K[c+37|0]|K[c+38|0]<<8;break c}if((xg(j,d)|0)!=(k|0)){a=J[e>>2];b=J[e+48>>2];c=J[e+44>>2];J[g+8>>2]=d;J[g>>2]=c;J[g+4>>2]=b;Ra(a,6812,g);break b}Ua(j,d);J[c+4>>2]=0;i=c+37|0;d=K[c+37|0]|K[c+38|0]<<8|512;H[i|0]=d;H[i+1|0]=d>>>8}i=J[e+32>>2];d=d|128;H[c+37|0]=d;H[c+38|0]=d>>>8;J[c>>2]=i}d=h+(f<<6)|0;if(!(K[d+46|0]&4)){if(Eb(l,J[d+52>>2])){break b}}c=c- -64|0;f=f+1|0;continue}break}c=0;if(!J[b+64>>2]){break a}f=0;while(1){e=J[b+64>>2];if(J[e>>2]<=(f|0)){break a}h=P(f,24);f=f+1|0;if(!$b(a,J[(e+h|0)+20>>2])){continue}break}}c=2}Fa=g+16|0;return c|0}function sC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;J[c>>2]=0;J[c+4>>2]=0;J[c+8>>2]=0;a:{b:{c:{h=Ya(b);if(h>>>0<2){break c}a=K[b|0];if((a|0)!=92&(a|0)!=47){break c}a=J[18263];g=(a|0)>0?a:0;i=J[18264];d:{while(1){if((f|0)==(g|0)){break d}a=f<<2;f=f+1|0;a=J[a+i>>2];if(Kc(J[a+52>>2],b)){continue}break}J[a+48>>2]=J[a+48>>2]+1;break b}a=Yb(h+59|0,0);f=7;if(!a){break a}f=Gd(J[18264],(J[18263]<<2)+4|0,0);if(!f){Oa(a);return 7}g=J[18263];J[18263]=g+1;J[f+(g<<2)>>2]=a;J[18264]=f;f=Sa(a,0,56);J[f+36>>2]=3;g=J[16507];i=J[16506];j=f+56|0;J[f+52>>2]=j;J[f+16>>2]=i;J[f+20>>2]=g;Qa(j,b,h+1|0);J[f+48>>2]=1;J[f+28>>2]=8;break b}a=Yb(56,0);if(!a){return 7}b=Sa(a,0,56);J[b+36>>2]=3;f=J[16507];J[b+16>>2]=J[16506];J[b+20>>2]=f}J[c+4>>2]=a;if(e){J[e>>2]=d|128}J[c>>2]=33028;f=0}return f|0}function Hi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;d=67;a:{b:{c:{d:{e:while(1){h=d-67|0;while(1){f:{g=K[a|0];if(g){a=a+1|0;g:{c=K[g+30832|0]|c<<8;if((c|0)!=1651273570){if((c|0)==1667785074){d=66;e=a;continue e}if((c|0)!=1952807028&(c|0)!=1668050786){break g}d=66;continue e}h:{switch(h|0){case 0:case 2:break h;default:break g}}e=K[a|0]==40?a:e;d=65;continue e}if((c|0)!=1919246700&(c|0)!=1718382433&(c|0)!=1685026146|(d|0)!=67){break f}d=69;continue e}if(!b){break a}a=0;J[f+12>>2]=0;if(d>>>0>66){break b}if(e){break d}a=4;break b}if((c&16777215)!=6909556){continue}break}break}if(b){break c}d=68;break a}while(1){c=K[e|0];if(!c){break b}if(c-58>>>0>=4294967286){Zf(e,f+12|0);a=J[f+12>>2]/4|0;break b}else{e=e+1|0;continue}}}a=0;d=68}H[b+6|0]=((a|0)>=254?254:a)+1}Fa=f+16|0;return d<<24>>24}function MB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;c=Fa-272|0;Fa=c;I[c+268>>1]=0;J[c+260>>2]=0;J[c+264>>2]=0;J[c+256>>2]=200;J[c+248>>2]=0;J[c+252>>2]=c+48;Qd(c+248|0,1630);d=K[b+6|0];g=40;while(1){if(h>>>0<K[b+7|0]){J[c>>2]=g;J[c+4>>2]=J[(d<<2)+36720>>2];gb(c+248|0,29345,c);d=d+1|0;h=h+1|0;g=44;continue}break}if(!h){J[c+32>>2]=J[b>>2];gb(c+248|0,29352,c+32|0);h=1}g=0;d=K[b+5|0];if(d&32){Qd(c+248|0,20029);g=1;d=K[b+5|0]}if((d&255)>>>0>=64){Qd(c+248|0,20041);g=g+1|0}d=c+248|0;nb(d,27638,1);Ed(d);i=fj(a,c+48|0);a:{b:{if(!i){d=gc(24);if(!d){i=7;break b}f=d+16|0;J[f>>2]=0;J[f+4>>2]=0;J[d+8>>2]=0;J[d+12>>2]=0;J[d>>2]=0;J[d+4>>2]=0;J[d+16>>2]=b;H[d+21|0]=h;J[d+12>>2]=a;H[d+20|0]=g;i=0;break a}J[c+16>>2]=Wf(a);J[f>>2]=ub(8863,c+16|0)}d=0}J[e>>2]=d;Fa=c+272|0;return i|0}function oE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{if((b&-2)==2){d:{if((Fb(J[c>>2])|0)!=5){if((Fb(J[c+4>>2])|0)!=5){break d}}Mb(a);return}f=Wa(J[c>>2]);if(!f){break a}d=Wa(J[c+4>>2]);if((b|0)==3){b=fb(J[c+8>>2]);i=((b|0)<=1?1:b)-1|0}if(!K[f|0]){break b}while(1){if(!ze(d)|(e|0)==(i|0)){break c}e=e+1|0;while(1){b=K[d+1|0];d=d+1|0;if((b&192)==128){continue}break}continue}}Z(23652,17942,1038,17578);D()}e=0;while(1){c=f;b=d;if(!ze(b)){break b}while(1){g=ze(c);j=ze(b);while(1){h=K[c+1|0];k=c+1|0;c=k;if((h&192)==128){continue}break}c=b;while(1){h=K[c+1|0];b=c+1|0;c=b;if((h&192)==128){continue}break}if(!(!j|!g)){c=k;if((g|0)==(j|0)){continue}}break}if(g){while(1){b=K[d+1|0];d=d+1|0;if((b&192)==128){continue}break}l=l+1|0;continue}break}e=(i+l|0)+1|0}pc(a,e)}}function Je(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;i=Fa-16|0;Fa=i;j=J[a>>2];a:{b:{c:{d:{if(!g|b){break d}h=20009;if(!J[g>>2]){h=20290;if(!J[g+4>>2]){break d}}J[i>>2]=h;Ra(a,6884,i);break c}b=Bd(a,b,c,d);if(b){h=J[b>>2]-1|0;e:{if(K[a+220|0]<2){break e}k=J[((h<<6)+b|0)+16>>2];if(!k){break e}qe(a,k,(J[d>>2]?d:0)?d:c)}if(J[e+4>>2]){J[((h<<6)+b|0)+20>>2]=oc(j,e)}f:{if(!f){break f}a=(h<<6)+b|0;J[a+28>>2]=f;if(!(K[f+5|0]&8)){break f}c=K[a+45|0]|K[a+46|0]<<8|8192;H[a+45|0]=c;H[a+46|0]=c>>>8}if(!g){J[((h<<6)+b|0)+52>>2]=0;break a}if(J[g+4>>2]){a=(h<<6)+b|0;c=a+45|0;d=K[a+45|0]|K[a+46|0]<<8|1024;H[c|0]=d;H[c+1|0]=d>>>8;J[a+52>>2]=J[g+4>>2];break a}J[((h<<6)+b|0)+52>>2]=J[g>>2];break a}if(!g){break b}}a=J[g>>2];if(a){ce(j,a);break b}a=J[g+4>>2];if(!a){break b}ne(j,a)}ac(j,f);b=0}Fa=i+16|0;return b}function si(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=J[a>>2];g=rb(h);m=J[J[a+4>>2]+12>>2];i=vb(h);j=vb(h);l=J[h+44>>2]+1|0;J[h+44>>2]=l;k=J[h+56>>2]-1|0;J[h+56>>2]=k;Yj(a,c,i);Yj(a,e,j);c=K[m+16|0];e=c&1;a=e?(b|0)==57?55:(b|0)==54?56:57:b;if(c&2){c=Va(g,51,i);a:{b:{switch(a-54|0){case 3:Na(g,9,0,f);break a;case 0:Na(g,51,j,f);break a;case 1:break b;default:break a}}Na(g,50,j,f)}Na(g,9,0,k);J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(c,20)|0)+8>>2]=J[g+108>>2];Na(g,50,j,(a|0)==54?k:(a|0)==57?k:f)}$a(g,117,0,l,0,30620,-1);c=Pa(g,57,l,0,i);if((b|0)==57){Pa(g,a,j,f,i)}Pa(g,e?107:106,d,i,i);d=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(c,20)|0)+8>>2]=d;Pa(g,a,j,f,i);sc(g,uf(h,J[m+8>>2]),-2);a=J[g+108>>2];if((a|0)>0){I[(J[g+104>>2]+P(a,20)|0)-18>>1]=128}cb(g,k);mb(h,i);mb(h,j)}function Ws(a,b,c,d){var e=0,f=0,g=0,h=0;while(1){a:{f=K[a|0];if(!f){break a}e=0;g=0;if((b|0)<=(h|0)){break a}while(1){if((f-48&255)>>>0<=9){g=lJ(e,g,10,0);e=f&255;f=g+e|0;g=Ia;g=f>>>0<e>>>0?g+1|0:g;e=f-48|0;g=g-(f>>>0<48)|0;f=K[a+1|0];a=a+1|0;continue}break}I[(h<<1)+c>>1]=Fd(e,g);h=h+1|0;a=(K[a|0]==32)+a|0;continue}break}e=(K[d+55|0]|K[d+56|0]<<8)&-69;H[d+55|0]=e;H[d+56|0]=e>>>8;h=K[a|0];b:while(1){if(h&255){c:{if(ep(24919,a)){if(!ep(24930,a)){f=Me(a+3|0);I[d+48>>1]=Fd((f|0)<=2?2:f,0);break c}if(ep(24907,a)){break c}e=e|64}else{e=e|4}H[d+55|0]=e;H[d+56|0]=e>>>8}while(1)if((K[a|0]|32)==32){f=a;while(1){a=f;f=a+1|0;h=K[a|0];if((h|0)==32){continue}break}continue b}else{a=a+1|0;continue}}break}a=I[c>>1];if(!((a|0)<67|(a|0)>I[((b<<1)+c|0)-2>>1])){a=e|256;H[d+55|0]=a;H[d+56|0]=a>>>8}}function Tu(a,b,c,d,e){H[e+7|0]=c;H[e+3|0]=b;H[e+6|0]=c>>>8;H[e+5|0]=c>>>16;H[e+4|0]=c>>>24;H[e+2|0]=b>>>8;H[e+1|0]=b>>>16;H[e|0]=b>>>24;if(!J[a+104>>2]){b=J[a+88>>2];c=J[a+84>>2];H[e+8|0]=c;H[e+9|0]=c>>>8;H[e+10|0]=c>>>16;H[e+11|0]=c>>>24;H[e+12|0]=b;H[e+13|0]=b>>>8;H[e+14|0]=b>>>16;H[e+15|0]=b>>>24;c=!K[a+65|0];b=a+76|0;Of(c,e,8,b,b);Of(c,d,J[a+36>>2],b,b);b=J[b>>2];b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[e+16|0]=b;H[e+17|0]=b>>>8;H[e+18|0]=b>>>16;H[e+19|0]=b>>>24;a=J[a+80>>2];a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);H[e+20|0]=a;H[e+21|0]=a>>>8;H[e+22|0]=a>>>16;H[e+23|0]=a>>>24;return}H[e+8|0]=0;H[e+9|0]=0;H[e+10|0]=0;H[e+11|0]=0;H[e+12|0]=0;H[e+13|0]=0;H[e+14|0]=0;H[e+15|0]=0;H[e+16|0]=0;H[e+17|0]=0;H[e+18|0]=0;H[e+19|0]=0;H[e+20|0]=0;H[e+21|0]=0;H[e+22|0]=0;H[e+23|0]=0}function Cr(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Fa-32|0;Fa=g;h=J[e+24>>2];j=J[a>>2];i=oh(j,e,0);k=eb(j,f,0);if(i){J[i+48>>2]=-1;e=J[i+24>>2];J[e+24>>2]=J[e+24>>2]-1;J[i+24>>2]=0}a:{if(c){e=0;f=0;while(1){if(f>>>0<L[c+50>>1]){e=Kb(a,e,ik(a,I[J[c+4>>2]+(f<<1)>>1]));f=f+1|0;continue}break}h=K[h+43|0]==1?14:15;break a}e=K[h+43|0];if((e|0)==2){e=0;f=0;while(1)if(I[h+34>>1]<=(f|0)){h=14;break a}else{e=Kb(a,e,ik(a,f));f=f+1|0;continue}}h=(e|0)==1?14:15;e=db(a,75,0,0);e=Tc(J[a>>2],e)}b:{if(!d){break b}f=0;while(1){if(J[d>>2]<=(f|0)){break b}e=Kb(a,e,eb(j,J[((f<<4)+d|0)+8>>2],0));f=f+1|0;continue}}d=sd(a,e,i,k,0,0,0,276955136,0);if(d){J[d+4>>2]=J[d+4>>2]|134217728}J[g+24>>2]=0;J[g+16>>2]=0;J[g+20>>2]=0;J[g+8>>2]=b;H[g+4|0]=h;J[g+12>>2]=c?L[c+50>>1]:-1;Gc(a,d,g+4|0);ac(j,d);Fa=g+32|0}function hE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if((b|0)==2){if((Fb(J[c>>2])|0)==5){Mb(a);return}i=Wa(J[c>>2]);g=fb(J[c+4>>2]);b=Ia;h=b;if((b|0)<0){Bb(a,9065,-1);return}b=zp(i);j=b;l=b>>31;c=l;b:{if((h|0)<=(c|0)&g>>>0<=b>>>0|(c|0)>(h|0)){b=Jl(i);if(!b){break a}lb(a,b,-1,-1);break b}m=ob(i);b=gc((m+(g-b|0)|0)+1|0);if(!b){break a}e=g-j|0;c=h-(l+(g>>>0<j>>>0)|0)|0;d=c>>>1|0;f=((c&1)<<31|e>>>1)+1|0;k=f?d:d+1|0;e=1;d=0;c=b;while(1){if((e|0)!=(f|0)|(d|0)!=(k|0)){H[c|0]=32;e=e+1|0;d=e?d:d+1|0;c=c+1|0;continue}break}e=f;d=0;c=Sg(c,i)+m|0;while(1){f=d+l|0;k=e+j|0;f=k>>>0<j>>>0?f+1|0:f;if((f|0)<=(h|0)&g>>>0>=k>>>0|(f|0)<(h|0)){H[c|0]=32;e=e+1|0;d=e?d:d+1|0;c=c+1|0;continue}break}H[c|0]=0}lb(a,b,-1,-1);Oa(b);return}Z(23662,17942,880,17862);D()}Qb(a)}function Nt(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Fa-48|0;Fa=e;k=J[a+20>>2];f=d;a:{while(1){b:{if(!c|!J[a+16>>2]){break b}if(Nn(a,c)){break b}h=f-1|0;g=J[a+4>>2];if(Ja[J[g+220>>2]](g,c,e+44|0,0)|0){J[e+32>>2]=c;Jc(a,1968,e+32|0);break a}else{i=J[J[e+44>>2]+4>>2];c:{d:{e:{if(b){j=ab(i+4|0);g=J[a>>2];if(K[g+17|0]){Ag(a,c,2,0);g=J[a>>2]}if((J[g+40>>2]>>>2|0)-2>>>0<j>>>0){break e}c=0;g=(j|0)>0?j:0;l=i+8|0;while(1){if((c|0)!=(g|0)){f=ab((c<<2)+l|0);if(K[J[a>>2]+17|0]){Ag(a,f,2,0)}Nn(a,f);c=c+1|0;continue}break}f=h-j|0;break c}if(!K[J[a>>2]+17|0]|!h){break d}Ag(a,ab(i),4,c);break d}J[e+16>>2]=c;Jc(a,2067,e+16|0);f=f-2|0;break c}f=h}c=ab(i);ed(J[e+44>>2]);continue}}break}h=f}if(!(!h|J[a+20>>2]!=(k|0))){J[e>>2]=b?12809:12213;J[e+8>>2]=d;J[e+4>>2]=d-h;Jc(a,2143,e)}Fa=e+48|0}function ww(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;C(+a);h=x(1)|0;x(0)|0;g=h&2147483640;g=(g|0)==1072010279|g>>>0<1072010279;if(!g){i=(h|0)>0|(h|0)>=0;a=.7853981633974483-(i?a:-a)+(3061616997868383e-32-(i?b:-b));b=0}e=a*a;d=a*e;j=d*.3333333333333341;f=d;d=e*e;e=j+(e*(f*(d*(d*(d*(d*(d*-18558637485527546e-21+7817944429395571e-20)+.0005880412408202641)+.0035920791075913124)+.021869488294859542)+.13333333333320124+e*(d*(d*(d*(d*(d*2590730518636337e-20+7140724913826082e-20)+.0002464631348184699)+.0014562094543252903)+.0088632398235993)+.05396825397622605))+b)+b);b=a+e;if(!g){f=b*b;d=b;b=+(1-(c<<1)|0);a=a+(e-f/(d+b));a=b-(a+a);return i?a:-a}if(c){f=-1/b;C(+f);c=x(1)|0;x(0)|0;z(0,0);z(1,c|0);d=+B();C(+b);c=x(1)|0;x(0)|0;z(0,0);z(1,c|0);b=+B();b=f*(d*(e-(b-a))+(d*b+1))+d}return b}function km(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=J[a+20>>2];b=J[d+104>>2];h=(b|0)>0?b:0;f=J[a+24>>2];a:{while(1){if((e|0)==(h|0)){break a}b:{c:{g=J[d+100>>2];i=g+P(e,48)|0;if(M[i+20>>2]<f>>>0){break c}if(fl(J[i+16>>2],f)){break c}while(1){e=e+1|0;if((b|0)<=(e|0)){break b}J[(P(e,48)+g|0)+28>>2]=0;continue}}e=e+1|0;continue}break}e=K[d+5|0];if((e|0)!=2){c=J[d+72>>2];if(!J[c>>2]){f=J[d>>2];if(K[d+22|0]|(e|0)==4){b=-1}else{b=J[16451]}c=Xu(f,0,c,8222,b);if(c){break a}f=J[a+24>>2];c=J[d+72>>2]}e=J[a+4>>2];h=J[d+56>>2];b=J[d+172>>2];g=J[d+168>>2]+4|0;b=g>>>0<4?b+1|0:b;h=lJ(h,0,g,b);b=Ia;c=di(c,h,b,f);if(c){break a}f=J[d+72>>2];g=J[d+168>>2];c=b;b=h+4|0;c=b>>>0<4?c+1|0:c;c=Ja[J[J[f>>2]+12>>2]](f,e,g,b,c)|0;if(c){break a}f=J[a+24>>2]}J[d+56>>2]=J[d+56>>2]+1;c=Qo(d,f)}return c}function Nh(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=Fa-16|0;Fa=h;e=J[b>>2];a:{b:{c:{if(J[a+28>>2]?K[a+15|0]:0){break c}g=J[a+228>>2];if(!e|(J[g+16>>2]|J[g+20>>2])|J[a+168>>2]==(e|0)){break c}J[h+8>>2]=0;J[h+12>>2]=0;d:{if(!K[a+17|0]){break d}g=J[a+64>>2];d=J[g>>2];if(!d){break d}d=Ja[J[d+24>>2]](g,h+8|0)|0;if(d){break b}}f=Wi(e+8|0);if(!f){f=0;d=7;break b}d=e+f|0;H[d|0]=0;H[d+1|0]=0;H[d+2|0]=0;H[d+3|0]=0;H[d+4|0]=0;H[d+5|0]=0;H[d+6|0]=0;H[d+7|0]=0;Hg(a);d=ev(J[a+228>>2],e);if(d){break b}ef(J[a+224>>2]);J[a+224>>2]=f;g=J[h+8>>2];d=J[h+12>>2];J[a+168>>2]=e;J[a+172>>2]=0;f=e+g|0;d=f>>>0<g>>>0?d+1|0:d;J[a+28>>2]=mJ(f-1|0,d-!f|0,e,0);J[a+164>>2]=(M[16608]/(e>>>0)|0)+1}J[b>>2]=J[a+168>>2];if((c|0)<0){c=L[a+150>>1]}I[a+150>>1]=c;d=0;break a}ef(f);J[b>>2]=J[a+168>>2]}Fa=h+16|0;return d}function Lv(a,b,c){a=J[a+4>>2];a:{switch(b-204|0){case 0:case 35:case 36:case 48:ac(J[a>>2],J[c>>2]);return;case 12:case 13:case 42:case 44:case 63:case 74:case 76:case 79:case 86:case 91:case 107:_a(J[a>>2],J[c>>2]);return;case 17:case 27:case 28:case 40:case 43:case 45:case 49:case 50:case 57:case 64:case 73:case 75:case 106:kb(J[a>>2],J[c>>2]);return;case 34:case 41:case 52:case 53:case 58:yc(J[a>>2],J[c>>2]);return;case 37:Kk(J[a>>2],J[c>>2]);return;case 47:case 102:Wn(J[a>>2],J[c>>2]);return;case 59:case 66:ne(J[a>>2],J[c>>2]);return;case 69:case 103:case 104:case 105:case 108:Mk(J[a>>2],J[c>>2]);return;case 82:case 87:Bn(J[a>>2],J[c>>2]);return;case 84:ne(J[a>>2],J[c+4>>2]);return;case 110:case 111:case 112:_a(J[a>>2],J[c+4>>2]);break;default:break a}}}function Kg(a,b){var c=0,d=0,e=0;a:{b:{if(a){c=b-1|0;c:{while(1){if(M[a>>2]>=4001){d=J[a+8>>2];if(!d){break c}b=(c>>>0)/(d>>>0)|0;c=c-P(b,d)|0;b=(b<<2)+a|0;a=J[b+12>>2];if(a){continue}a=$i(d);J[b+12>>2]=a;if(a){continue}break a}break}a=(c>>>3|0)+a|0;H[a+12|0]=K[a+12|0]|1<<(c&7);return 0}d=c+1|0;e=a+12|0;b=(c>>>0)%125|0;c=J[e+(b<<2)>>2];d:{if(c){while(1){if((c|0)==(d|0)){return 0}b=b+1|0;b=b>>>0<=124?b:0;c=J[e+(b<<2)>>2];if(c){continue}break}c=J[a+4>>2];if(c>>>0<62){break d}break b}c=J[a+4>>2];if(c>>>0>=124){break b}}J[a+4>>2]=c+1;J[e+(b<<2)>>2]=d}return 0}b=Yb(500,0);if(!b){break a}c=Qa(b,e,500);b=0;Sa(e,0,500);J[a+8>>2]=(J[a>>2]+124>>>0)/125;e=Kg(a,d);while(1){if((b|0)!=125){d=J[c+(b<<2)>>2];if(d){e=Kg(a,d)|e}b=b+1|0;continue}break}Oa(c);return e}return 7}function Gh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=K[a|0];e=d<<24>>24;a:{if((e|0)>=0){a=0;c=1;break a}c=H[a+1|0];if((c|0)>=0){d=e&127;a=d>>>25|0;d=c&255|d<<7;c=2;break a}c=c&255;e=H[a+2|0];d=(e&127|d<<14)&2080895;if((e|0)>=0){d=d|c<<7&16256;a=0;c=3;break a}e=H[a+3|0];c=(e&127|c<<14)&2080895;if((e|0)>=0){d=c|d<<7;a=0;c=4;break a}g=K[a+4|0];e=g|d<<14;h=g<<24>>24;if((h|0)>=0){a=d>>>18|0;d=c<<7|e;c=5;break a}f=H[a+5|0];g=f&255|c<<14;d=c|d<<7;if((f|0)>=0){a=d>>>18|0;d=e<<7&266354560|g;c=6;break a}f=H[a+6|0];c=f&255|e<<14;if((f|0)>=0){a=d>>>11|0;d=c&-266354561|g<<7&266354560;c=7;break a}f=H[a+7|0];e=f&255|g<<14;c=c&2080895;if((f|0)>=0){a=d>>>4|0;d=e&-266354561|c<<7;c=8;break a}c=e<<8&532709120|(K[a+8|0]|c<<15);a=h>>>3&15|d<<4;d=c|0;c=9}J[b>>2]=d;J[b+4>>2]=a;return c}function Yv(a,b,c,d){var e=0,f=0,g=0;f=Fa-48|0;Fa=f;g=J[a+16>>2];xc(J[g+88>>2]+40|0,b,c);a:{if(J[g+32>>2]>=5){J[g+32>>2]=4;e=Nr(g);break a}e=qb(J[a+16>>2])}b:{if((e|0)==100){e=11625;c:{b=L[a+8>>1];c=J[J[g+96>>2]>>2];if(b>>>0<L[c+54>>1]){e=J[(c+(b<<2)|0)+84>>2];if(e>>>0>11){break c}e=e?(e|0)==7?11847:9628:11625}b=J[a+20>>2];J[f>>2]=e;b=hb(b,6920,f);Rc(J[a+16>>2]);J[a+16>>2]=0;e=1;break b}J[a+4>>2]=J[(c+(b+I[c+52>>1]<<2)|0)+84>>2];J[a>>2]=e>>>0>=128?e-12>>>1|0:K[e+34176|0];b=a;a=J[c+36>>2];J[b+12>>2]=a;H[a+1|0]=K[a+1|0]|16;H[J[a+8>>2]+11|0]=1;b=0;e=0;break b}g=J[a+16>>2];if(!g){b=0;break b}e=Rc(g);J[a+16>>2]=0;a=J[a+20>>2];if(!e){J[f+16>>2]=b;J[f+20>>2]=c;e=1;b=hb(a,14952,f+16|0);break b}J[f+32>>2]=Wf(a);b=hb(a,8863,f+32|0)}J[d>>2]=b;Fa=f+48|0;return e}function Mx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=Fa-16|0;Fa=f;a:{if(L[a+4>>1]<=1){b=J[a>>2];J[b+56>>2]=J[b+56>>2]+1;b:{if((qb(J[a+12>>2])|0)!=100){H[a+6|0]=1;c=jb(J[a+12>>2]);break b}J[a+32>>2]=Sc(J[a+12>>2],0);J[a+36>>2]=Ia;c=0}J[b+56>>2]=J[b+56>>2]-1;break a}J[f+12>>2]=0;c=J[a+16>>2];c:{if(c){while(1){if(!K[a+7|0]){jb(J[a+12>>2])}d=f+12|0;md(a,c,d);b=K[c+32|0];J[a+88>>2]=1;H[a+7|0]=1;H[a+6|0]=b;e=J[c+28>>2];J[a+32>>2]=J[c+24>>2];J[a+36>>2]=e;if(!b){if(Xp(a,d)){continue}}break}c=J[f+12>>2];if(c){break a}break c}H[a+6|0]=1}b=J[a+32>>2];d=J[a+36>>2];d:{if(!K[a+52|0]){c=0;e=M[a+80>>2]<b>>>0;b=J[a+84>>2];if(e&(b|0)<=(d|0)|(b|0)<(d|0)){break d}break a}c=0;e=J[a+76>>2];if((e|0)<=(d|0)&M[a+72>>2]<=b>>>0|(d|0)>(e|0)){break a}}H[a+6|0]=1}Fa=f+16|0;return c|0}function Kw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;if(a>>>0<=8){return ye(b)|0}c=16;d=a>>>0<=16?16:a;a:{if(!(d-1&d)){a=d;break a}while(1){a=c;c=a<<1;if(a>>>0<d>>>0){continue}break}}b:{if(-64-a>>>0<=b>>>0){J[18304]=48;b=0;break b}d=b>>>0<11?16:b+11&-8;c=ye((d+a|0)+12|0);b=0;if(!c){break b}b=c-8|0;c:{if(!(c&a-1)){a=b;break c}f=c-4|0;g=J[f>>2];e=a;a=((a+c|0)-1&0-a)-8|0;a=(a-b>>>0<=15?e:0)+a|0;c=a-b|0;e=(g&-8)-c|0;if(!(g&3)){b=J[b>>2];J[a+4>>2]=e;J[a>>2]=b+c;break c}J[a+4>>2]=e|J[a+4>>2]&1|2;e=a+e|0;J[e+4>>2]=J[e+4>>2]|1;J[f>>2]=c|J[f>>2]&1|2;e=b+c|0;J[e+4>>2]=J[e+4>>2]|1;Il(b,c)}b=J[a+4>>2];d:{if(!(b&3)){break d}c=b&-8;if(c>>>0<=d+16>>>0){break d}J[a+4>>2]=d|b&1|2;b=a+d|0;d=c-d|0;J[b+4>>2]=d|3;c=a+c|0;J[c+4>>2]=J[c+4>>2]|1;Il(b,d)}b=a+8|0}return b|0}function Kh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=J[a+52>>2];b=J[a+56>>2]+K[a+9|0]|0;if(zu(a,K[b|0])){return Ta(72299)}c=J[d+36>>2];H[a+12|0]=0;I[a+26>>1]=c-1;e=J[a+56>>2];f=K[a+10|0];J[a+68>>2]=e+f;J[a+60>>2]=c+e;J[a+64>>2]=(b+f|0)+8;I[a+18>>1]=(f+K[a+9|0]|0)+8;b=K[b+3|0]|K[b+4|0]<<8;b=b<<8|b>>>8;I[a+24>>1]=b;if((c-8>>>0)/6>>>0<(b&65535)>>>0){return Ta(72313)}H[a|0]=1;J[a+20>>2]=-1;if(K[J[d+4>>2]+34|0]&32){b=0;e=J[J[a+52>>2]+40>>2];f=e+(K[a+8|0]?-4:-5)|0;h=J[a+56>>2];c=L[a+18>>1];i=h+c|0;j=c+(L[a+24>>1]<<1)|0;c=0;a:{b:{while(1){if(L[a+24>>1]<=c>>>0){break a}d=(c<<1)+i|0;d=K[d|0]<<8|K[d+1|0];g=72262;if(d>>>0<j>>>0|(d|0)>(f|0)){break b}c=c+1|0;if((e|0)>=((Ja[J[a+76>>2]](a,d+h|0)|0)+d|0)){continue}break}g=72267}b=Ta(g)}}else{b=0}return b}function Dt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Fa-16|0;Fa=g;i=J[a+4>>2];h=J[J[a+8>>2]+4>>2];d=Qn(J[a+12>>2]+P(h,56)|0);if(!d){J[g+12>>2]=0;c=J[a+12>>2];e=c+P(h|1,56)|0;f=P(h&65534,56)+c|0;d=(J[a>>2]+h|0)/2|0;while(1){if((d|0)>0){a:{b:{if(!J[f+24>>2]){break b}c:{d:{if(!J[e+24>>2]){break d}c=Ja[J[i+40>>2]](i,g+12|0,J[f+32>>2],J[f+20>>2],J[e+32>>2],J[e+20>>2])|0;if((c|0)<0){break d}if(c|e>>>0<=f>>>0){break c}}e=J[a+8>>2];c=J[a+12>>2];J[e+(d<<2)>>2]=(f-c|0)/56;e=J[e+((d^1)<<2)>>2];J[g+12>>2]=0;e=P(e,56)+c|0;break a}if(!J[f+24>>2]){break b}J[g+12>>2]=0}f=J[a+8>>2];c=J[a+12>>2];J[f+(d<<2)>>2]=(e-c|0)/56;f=P(J[f+((d^1)<<2)>>2],56)+c|0}d=d>>>1|0;continue}break}J[b>>2]=!J[(P(J[J[a+8>>2]+4>>2],56)+c|0)+24>>2];d=K[J[i+16>>2]+23|0]}Fa=g+16|0;return d}function Bm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-48|0;Fa=d;e=K[b|0];a:{if((e|0)!=138){if((e|0)!=167){break a}e=I[b+32>>1];while(1){c=0;b:{while(1){if(!a|c){break b}c=0;h=J[a+4>>2];f=J[h>>2];i=(f|0)>0?f:0;c:{while(1){if((c|0)==(i|0)){break c}f=(c<<6)+h|0;if(J[f+48>>2]!=J[b+28>>2]){c=c+1|0;continue}break}g=J[f+28>>2];c=J[f+24>>2];continue}break}a=J[a+12>>2];continue}break}if(!c){c=0;break a}if(g){c=0;if((e|0)<0){break a}b=J[g+28>>2];if((e|0)>=J[b>>2]){break a}b=J[(b+(e<<4)|0)+8>>2];J[d+16>>2]=J[g+32>>2];J[d+24>>2]=a;J[d+12>>2]=J[a>>2];c=Bm(d+12|0,b);break a}if((e|0)<0){c=19562;break a}c=ll(J[c+4>>2]+P(e,12)|0,0);break a}b=J[b+20>>2];c=J[J[b+28>>2]+8>>2];J[d+16>>2]=J[b+32>>2];J[d+24>>2]=a;J[d+12>>2]=J[a>>2];c=Bm(d+12|0,c)}Fa=d+48|0;return c}function YI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Fa-16|0;Fa=e;a:{if(!J[b+52>>2]){break a}d=J[b+48>>2];if(!d){break a}c=b;while(1){if(!c){break a}b:{switch(K[c|0]-135|0){case 0:case 3:c=J[c+52>>2];continue;default:break b}}break}if(L[d+20>>1]){break a}f=d+8|0;c=J[d>>2];while(1){if((c|0)<=0){break a}c=c-1|0;if(!(K[J[f+(c<<4)>>2]+5|0]&2)){continue}break}g=2;c=J[a>>2];d=J[c>>2];a=ib(d,76,0);if(!a){break a}J[e+8>>2]=0;J[e+12>>2]=0;f=Je(c,0,0,0,e+8|0,a,0);if(!f){break a}a=Qa(a,b,76);J[b+32>>2]=f;d=jc(d,180,0);c=Tc(J[c>>2],d);J[b+36>>2]=0;H[b|0]=138;J[b+28>>2]=c;J[a+48>>2]=0;J[a+40>>2]=0;J[a+44>>2]=0;J[b+72>>2]=0;J[b+64>>2]=0;J[b+52>>2]=0;J[b+56>>2]=0;J[b+4>>2]=J[b+4>>2]&-65793|65536;J[J[a+52>>2]+56>>2]=a;J[a+60>>2]=0;g=0}Fa=e+16|0;return g|0}function qv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=Fa-32|0;Fa=c;d=K[a+16|0];a:{if((d|0)<=(b|0)){break a}e=J[a+8>>2];b:{if(d>>>0>=2){c:{if((b|0)!=1){break c}J[c+16>>2]=510;J[c+20>>2]=0;J[c>>2]=0;d=J[16608]+2|0;J[c+8>>2]=d;J[c+12>>2]=d>>31;if(!Jg(a,c)){break c}J[a+20>>2]=J[18304];g=2314;break a}J[c>>2]=2;J[c+16>>2]=2;J[c+20>>2]=0;d=J[16608];J[c+8>>2]=d;J[c+12>>2]=d>>31;if(Jg(a,c)){break b}H[e+28|0]=1}d=a+16|0;if(!b){f=J[e+20>>2]-1|0;J[e+20>>2]=f;if(f){f=1}else{J[c+16>>2]=0;J[c+20>>2]=0;J[c+8>>2]=0;J[c+12>>2]=0;J[c>>2]=2;f=Jg(a,c);if(f){J[a+20>>2]=J[18304];H[e+28|0]=0;g=2058;h=d}else{h=e+28|0}H[h|0]=0;f=!f}h=e;e=J[e+24>>2]-1|0;J[h+24>>2]=e;if(!e){pv(a)}if(!f){break a}}H[d|0]=b;g=0;break a}J[a+20>>2]=J[18304];g=2058}Fa=c+32|0;return g|0}function Kr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Fa-32|0;Fa=f;a:{c=J[b+24>>2]+J[b+36>>2]|0;if(J[a+36>>2]|!c){break a}h=J[a+8>>2];d=J[b+12>>2];Pa(h,75,0,d,(c+d|0)-1|0);c=J[b+32>>2];while(1){if(J[b+36>>2]<=(i|0)){break a}b:{if(J[c+8>>2]<0){break b}d=J[J[c>>2]+20>>2];if(!(J[d>>2]==1?d:0)){Ra(a,2846,0);J[c+8>>2]=-1;break b}d=Ie(a,d,0,0);J[c+12>>2]=$a(h,118,J[c+8>>2],0,0,d,-8);J[f+16>>2]=J[J[c+4>>2]+32>>2];cc(a,0,25695,f+16|0)}if(J[c+16>>2]>=0){d=!K[c+21|0];e=J[c>>2];g=J[e+12>>2];d=K[c+20|0]?J[J[e+20>>2]>>2]+d|0:d;g=J[g+20>>2];d=K[c+22|0]?J[J[e+20>>2]>>2]+d|0:d;e=Ie(a,g,0,d);if(!(K[c+21|0]|J[a+36>>2])){I[e+6>>1]=L[e+6>>1]+1}$a(h,118,J[c+16>>2],J[g>>2]+d|0,0,e,-8);J[f>>2]=J[J[c+4>>2]+32>>2];cc(a,0,25662,f)}c=c+24|0;i=i+1|0;continue}}Fa=f+32|0}function Hz(a,b,c,d){var e=0,f=0,g=0,h=0;e=K[c|0];if(!((e|0)!=177|d-54>>>0>3)){c=J[J[c+20>>2]+8>>2];e=K[c|0]}a:{if((e|0)!=167){d=J[a>>2];e=(d|0)>0?d:0;while(1){if((e|0)==(g|0)){break a}d=J[((g<<6)+a|0)+24>>2]+8|0;b:{while(1){h=J[d>>2];if(!h){break b}d=h+20|0;if(!J[h+40>>2]){continue}break}c:{while(1){e=(g<<6)+a|0;d=J[e+24>>2]+8|0;e=J[e+48>>2];while(1){f=J[d>>2];if(f){d:{if(!J[f+40>>2]){break d}d=0;while(1){if(L[f+50>>1]<=d>>>0){break d}e:{if(L[J[f+4>>2]+(d<<1)>>1]!=65534){break e}if(sm(c,J[(J[f+40>>2]+(d<<4)|0)+8>>2],e)|K[c|0]==117){break e}J[b+4>>2]=-2;J[b>>2]=e;a=1;break c}d=d+1|0;continue}}d=f+20|0;continue}break}g=g+1|0;if((g|0)<J[a>>2]){continue}break}a=0}return a}g=g+1|0;continue}}J[b>>2]=J[c+28>>2];J[b+4>>2]=I[c+32>>1];f=1}return f}function zj(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;C(+a);b=x(1)|0;f=x(0)|0;a:{b:{c:{if(!(((b|0)>0|(b|0)>=0)&b>>>0>1048575)){C(+a);d=x(1)|0;if(!(x(0)|d&2147483647)){return-1/(a*a)}if((b|0)>0|(b|0)>=0){break c}return(a-a)/0}if(b>>>0>2146435071){break a}d=1072693248;g=-1023;if((b|0)!=1072693248){d=b;break b}if(f){break b}return 0}C(+(a*0x40000000000000));b=x(1)|0;f=x(0)|0;d=b;g=-1077}b=d+614242|0;h=+((b>>>20|0)+g|0);e=h*.6931471803691238;z(0,f|0);z(1,(b&1048575)+1072079006|0);a=+B()+-1;c=a/(a+2);i=e;j=a;k=c;e=a*(a*.5);c=c*c;a=c*c;a=i+(j+(k*(e+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+c*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+h*1.9082149292705877e-10-e))}return a}function nl(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0,n=0;a:{if(!(!b|(h?f:0)|((!h|0)==((g|0)!=0|0)|c-128>>>0<4294967167|!i^!j))){if(Ya(b)>>>0<256){break a}}return Nc(179995)}m=d&20449280;b:{c:{d:{e:{f:{d=d&7;switch(d-1|0){case 0:case 1:case 2:break c;case 4:break e;case 3:break f;default:break d}}d=2;break c}l=nl(a,b,c,m|1,e,f,g,h,i,j,k);if(l){break b}l=nl(a,b,c,m|2,e,f,g,h,i,j,k);if(l){break b}d=3;break c}d=1}l=0;n=Ne(a,b,c,d,0);g:{if(!(!n|(J[n+4>>2]&3)!=(d|0)|H[n|0]!=(c|0))){if(J[a+184>>2]){Zd(a,5,4065,0);return 5}Uf(a,0);break g}if(!(f|h)){break b}}b=Ne(a,b,c,d,1);if(!b){return 7}Tw(a,b);if(k){J[k>>2]=J[k>>2]+1}J[b+36>>2]=k;J[b+28>>2]=j;J[b+24>>2]=i;J[b+20>>2]=h;J[b+8>>2]=e;H[b|0]=c;J[b+16>>2]=f?f:g;J[b+4>>2]=(J[b+4>>2]&3|m)^2097152}return l}function Nq(a){var b=0,c=0,d=0,e=0,f=0;a:{if(J[a+48>>2]){break a}e=J[a+12>>2];b=J[e+56>>2];f=Pb(J[e+72>>2]);if(f){break a}f=0;c=J[8311];d=J[8310];H[b+8|0]=d;H[b+9|0]=d>>>8;H[b+10|0]=d>>>16;H[b+11|0]=d>>>24;H[b+12|0]=c;H[b+13|0]=c>>>8;H[b+14|0]=c>>>16;H[b+15|0]=c>>>24;c=J[8309];d=J[8308];H[b|0]=d;H[b+1|0]=d>>>8;H[b+2|0]=d>>>16;H[b+3|0]=d>>>24;H[b+4|0]=c;H[b+5|0]=c>>>8;H[b+6|0]=c>>>16;H[b+7|0]=c>>>24;H[b+16|0]=J[a+36>>2]>>>8;H[b+17|0]=L[a+38>>1];H[b+18|0]=1;H[b+19|0]=1;c=J[a+40>>2];d=J[a+36>>2];H[b+21|0]=64;H[b+22|0]=32;H[b+23|0]=32;H[b+20|0]=d-c;Sa(b+24|0,0,76);Fh(e,13);I[a+24>>1]=L[a+24>>1]|2;H[b+55|0]=K[a+17|0];H[b+54|0]=0;H[b+52|0]=0;H[b+53|0]=0;H[b+67|0]=K[a+18|0];H[b+66|0]=0;H[b+64|0]=0;H[b+65|0]=0;J[a+48>>2]=1;H[b+31|0]=1}return f}function gI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=Fa-16|0;Fa=e;d=Wa(J[c>>2]);J[e+8>>2]=d;f=sb(J[c>>2]);a:{if((b|0)!=2){h=30620;b=0;break a}h=Wa(J[c+4>>2]);b=sb(J[c+4>>2])}b:{if(!d|!h){break b}c:{c=((f|0)/2|0)+1|0;g=_g(a,c,c>>31);if(!g){f=0;break c}i=b+h|0;f=g;while(1){b=K[d|0];if(!b){break c}d:{if(!(K[b+31216|0]&8)){e:{if(b<<24>>24>=0){J[e+8>>2]=d+1;break e}b=kd(e+8|0)}J[e+12>>2]=h;while(1){c=J[e+12>>2];if(c>>>0>=i>>>0){break d}d=H[c|0];f:{if((d|0)>=0){J[e+12>>2]=c+1;c=d&255;break f}c=kd(e+12|0)}if((c|0)!=(b|0)){continue}break}d=J[e+8>>2];continue}c=d+2|0;J[e+8>>2]=c;d=K[d+1|0];if(!(K[d+31216|0]&8)){break d}H[f|0]=d+(d<<25>>31&9)&15|(b<<25>>31&9)+b<<4;f=f+1|0;d=c;continue}break}Oa(g);break b}he(a,g,f-g|0,1)}Fa=e+16|0}function Yb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b=b-(a>>>0<2147483392)|0;b:{if((b|0)==-1&a-2147483392>>>0<2147483905|(b|0)!=-1){break b}if(J[16444]){d=Ja[J[16456]](a)|0;if(a>>>0>M[18187]){J[18187]=a}a=J[18197];f=a;c=J[18196];c:{if(!c&(a|0)<=0|(a|0)<0){break c}a=J[18172];b=c-d|0;e=f;f=d>>31;c=e-(f+(c>>>0<d>>>0)|0)|0;if((c|0)<0){b=1}else{b=(c|0)<=0&a>>>0>=b>>>0}if(b){J[18200]=1;e=J[18198];b=e-d|0;c=J[18199];g=!(c|e);c=c-((d>>>0>e>>>0)+f|0)|0;if((c|0)>0){a=1}else{a=a>>>0<b>>>0&(c|0)>=0}if(g|a){break c}break b}J[18200]=0}b=Ja[J[16452]](d)|0;if(!b){break b}a=(Ja[J[16455]](b)|0)+J[18172]|0;J[18172]=a;if(a>>>0>M[18182]){J[18182]=a}a=J[18181]+1|0;J[18181]=a;if(a>>>0<=M[18191]){break a}J[18191]=a;break a}h=Ja[J[16452]](a)|0}return h}return b}function Aq(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(!K[a+42|0]){f=a+42|0;a:{if(!K[a+40|0]){J[a+16>>2]=1;J[a+8>>2]=2e3;J[a+12>>2]=1;break a}b=J[a+4>>2];c=J[a>>2];if((b|0)==108096&c>>>0>=275971584|b>>>0>108096){f=Sa(a,0,48)+46|0;break a}c=c+432e5|0;b=c>>>0<432e5?b+1|0:b;c=oJ(c,b,864e5,0);d=(+(c|0)+-1867216.25)/36524.25;b:{if(R(d)<2147483648){b=~~d;break b}b=-2147483648}c=((b+c|0)+((b|0)/-4|0)|0)+1525|0;d=(+(c|0)+-122.1)/365.25;c:{if(R(d)<2147483648){b=~~d;break c}b=-2147483648}c=c-((P(b&32767,36525)>>>0)/100|0)|0;d=+(c|0)/30.6001;d:{if(R(d)<2147483648){e=~~d;break d}e=-2147483648}g=((e|0)<14?-1:-13)+e|0;J[a+12>>2]=g;d=+(e|0)*30.6001;e:{if(R(d)<2147483648){e=~~d;break e}e=-2147483648}J[a+16>>2]=c-e;J[a+8>>2]=b+((g|0)>2?-4716:-4715)}H[f|0]=1}}function GA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{d=L[a+20>>1];b:{c:{if(!(!(H[b+4|0]&1)|(d|0)!=2)){break c}d:{e:{f:{g:{h:{e=K[b|0];switch(e-167|0){case 3:case 4:case 6:case 7:case 8:case 10:case 11:break b;case 9:case 12:break c;case 0:case 1:case 2:break e;case 5:break g;default:break h}}if((e|0)==59){break f}if((e|0)==141){break c}if((e|0)==156){break d}break a}c=J[b+4>>2];if(!(!(c&1048576)&d>>>0<=3|c&16777216)){if((d|0)!=5){break a}J[b+4>>2]=c|1073741824;break a}break c}c=1;if(zk(b)){break b}}d=L[a+20>>1];if(K[b+4|0]&32){c=0;if((d|0)==2){break c}break b}if((d|0)!=3){break c}c=0;if(J[b+28>>2]==J[a+24>>2]){break b}break c}i:{switch(d-4|0){case 1:H[b|0]=121;break a;case 0:break i;default:break b}}}I[a+20>>1]=0;c=2}return c|0}return 0}function $b(a,b){var c=0,d=0,e=0,f=0;a:{if(!b|!J[a+8>>2]){break a}while(1){c=Ja[J[a+8>>2]](a,b)|0;if(c){return c&2}f=2;if(dc(a,J[b+28>>2])){break a}if(Eb(a,J[b+36>>2])){break a}if(dc(a,J[b+40>>2])){break a}if(Eb(a,J[b+44>>2])){break a}if(dc(a,J[b+48>>2])){break a}if(Eb(a,J[b+60>>2])){break a}d=J[b+72>>2];b:{if(!d){break b}c=J[a+12>>2];c:{if((c|0)==13){break c}e=J[a>>2];if(e){if((c|0)==41|K[e+220|0]>1){break c}break b}if((c|0)!=41){break b}}if(FA(a,d,0)){break a}}d:{d=J[b+32>>2];if(!d){break d}c=d+8|0;d=J[d>>2];while(1){if((d|0)<=0){break d}e=J[c+20>>2];if(e){if($b(a,e)){break a}}if(K[c+37|0]&4){if(dc(a,J[c+56>>2])){break a}}c=c- -64|0;d=d-1|0;continue}}c=J[a+12>>2];if(c){Ja[c|0](a,b)}f=0;b=J[b+52>>2];if(b){continue}break}}return f}function Bh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Fa-48|0;Fa=e;a:{if(Uh(a,32)){H[a+18|0]=0;a=7;break a}j=J[a+8>>2];d=L[a+16>>1];b:{if(d&4){g=J[a>>2];d=J[a+4>>2];l=d;H[e+37|0]=0;h=d;i=g;d=d>>31;g=d;f=i^d;d=f-d|0;h=(g^h)-((f>>>0<g>>>0)+g|0)|0;f=20;while(1){g=oJ(d,h,10,0);i=Ia;H[(e+16|0)+f|0]=d-lJ(g,i,10,0)|48;if(!(!h&d>>>0<10)){f=f-1|0;d=g;h=i;continue}break}if((l|0)<0){f=f-1|0;H[f+(e+16|0)|0]=45}Qa(j,(e+16|0)+f|0,22-f|0);f=21-f|0;break b}I[e+36>>1]=0;J[e+28>>2]=0;J[e+32>>2]=0;J[e+16>>2]=0;J[e+20>>2]=j;J[e+24>>2]=32;if(d&32){k=+M[a>>2]+ +J[a+4>>2]*4294967296}else{k=O[a>>3]}O[e>>3]=k;gb(e+16|0,12578,e);f=J[e+32>>2];H[j+f|0]=0}J[a+12>>2]=f;H[a+18|0]=1;d=L[a+16>>1]|514;I[a+16>>1]=c?d&65491:d;Kd(a,b);a=0}Fa=e+48|0;return a}function Vp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Fa-32|0;Fa=f;J[f+28>>2]=0;J[f+24>>2]=0;J[f+20>>2]=0;J[f+12>>2]=0;a:{if(!c){J[e>>2]=0;break a}g=J[a+36>>2];j=J[g>>2];g=fg(g,b,c,-1,f+8|0);if(g){break a}m=J[j+20>>2];k=J[f+8>>2];b=0;c=0;b:while(1){c:{if(c){break c}c=Ja[m|0](k,f+16|0,f+12|0,f+28|0,f+24|0,f+20|0)|0;if(c){break c}c=1;h=J[f+20>>2];b=(b|0)>(h|0)?b:h+1|0;if((h|0)<0){break c}i=J[f+16>>2];if(!i){break c}l=J[f+12>>2];if((l|0)<=0){break c}g=1;c=dx(a,d,h,J[a+264>>2]+4|0,i,l);while(1){if(J[a+260>>2]<=(g|0)|c){continue b}c=0;h=J[a+264>>2]+P(g,24)|0;i=J[h>>2];if((i|0)<=J[f+12>>2]){c=dx(a,d,J[f+20>>2],h+4|0,J[f+16>>2],i)}g=g+1|0;continue}}break}Ja[J[j+16>>2]](k)|0;J[e>>2]=J[e>>2]+b;g=(c|0)!=101?c:0}Fa=f+32|0;return g}function up(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;C(+a);b=x(1)|0;x(0)|0;a:{b:{c:{d:{if(!(((b|0)>0|(b|0)>=0)&b>>>0>1071284857)){if(b>>>0>=3220176896){d=-Infinity;if(a==-1){break b}return(a-a)/0}if(b<<1>>>0<2034237440){break a}if(b>>>0>=3218259653){break d}d=0;break c}if(b>>>0>2146435071){break a}}c=a+1;C(+c);b=x(1)|0;b=b+614242|0;g=b>>>0<=1129316351?(b>>>0>1074790399?a-c+1:a-(c+-1))/c:0;z(0,x(0)|0);z(1,(b&1048575)+1072079006|0);a=+B()+-1;d=+((b>>>20|0)-1023|0)}e=a/(a+2);f=e*e;c=f*f;h=a;a=a*(a*.5);d=d*.6931471803691238+(h+(e*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+f*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(d*1.9082149292705877e-10+g)-a))}return d}return a}function zH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=Fa-304|0;Fa=b;e=J[J[a>>2]+20>>2];d=fb(J[c>>2]);h=Wa(J[c+4>>2]);f=fb(J[c+8>>2]);c=J[J[e+16>>2]+(d<<4)>>2];j=J[e+364>>2];J[e+364>>2]=0;c=Vj(b+20|0,c,e,h,(d|0)==1);a:{if(c){break a}b:{c=J[b+268>>2];c:{if(!c){break c}d=I[c+34>>1];if((d|0)==1){break c}if((d|0)>(f|0)){break b}}c=Ta(117463);break a}g=b+20|0;i=P(f,12);d=Qc(g,0,J[i+J[c+4>>2]>>2]);d:{if((f|0)<(I[c+34>>1]-1|0)){f=J[Qc(g,0,J[(i+J[c+4>>2]|0)+12>>2])+4>>2];c=J[d+4>>2];break d}f=J[c+44>>2]+h|0;c=J[d+4>>2];while(1){g=K[c|0];if(!g|(g|0)==44){break d}c=c-1|0;J[d+4>>2]=c;continue}}J[b+8>>2]=f;J[b+4>>2]=h;J[b>>2]=c-h;c=hb(e,6091,b);lb(a,c,-1,-1);Oa(c);c=0}Uj(b+20|0);J[e+364>>2]=j;if(c){Td(a,c)}Fa=b+304|0}function px(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=Fa-16|0;Fa=h;a:{b:{j=J[b+8>>2];if(!j){break b}m=K[a+239|0]?104:105;i=J[b>>2];g=i;while(1){if(!J[J[g>>2]+80>>2]){break b}f=J[i>>2];k=J[f+88>>2];l=J[f+92>>2];g=1;f=Yl(a,f,h+12|0,h+8|0);c:{while(1){if(!((g|0)>=(j|0)|f)){f=J[(g<<2)+i>>2];if(!J[f+80>>2]|(J[f+88>>2]!=(k|0)|(l|0)!=J[f+92>>2])){break c}g=g+1|0;f=Yl(a,f,0,0);continue}break}if(f){break a}}$h(J[b>>2],j,g,m);g=J[h+8>>2];if(!(!J[J[i>>2]+56>>2]|(g|0)<=0)){f=dy(b,J[h+12>>2],g+1|0,0);if(f){break a}J[h+12>>2]=J[b+16>>2]}f=J[b+32>>2];if((f|0)>=0){$x(f,1,h+12|0,h+8|0);g=J[h+8>>2]}if((g|0)>0){J[d>>2]=J[h+12>>2];J[c>>2]=k;J[c+4>>2]=l;J[e>>2]=g;f=0;break a}else{g=J[b>>2];continue}}}f=0;J[d>>2]=0}Fa=h+16|0;return f}function EC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=778;f=J[a+4>>2];i=J[f+36>>2];a:{if(i&4){break a}a=e+(c>>31)|0;k=c+d|0;a=k>>>0<d>>>0?a+1|0:a;g=J[f>>2];h=J[f+4>>2];if(g>>>0<k>>>0&(h|0)<=(a|0)|(a|0)>(h|0)){j=J[f+12>>2];if(k>>>0>M[f+8>>2]&(a|0)>=(j|0)|(a|0)>(j|0)){h=13;if(!(i&2)|J[f+32>>2]>0){break a}g=J[f+16>>2];i=J[f+20>>2];if(k>>>0>g>>>0&(a|0)>=(i|0)|(a|0)>(i|0)){break a}j=k<<1;h=j;l=g;j=g>>>0>j>>>0;g=a<<1|k>>>31;j=j&(g|0)<=(i|0)|(g|0)<(i|0);h=j?h:l;g=j?g:i;i=Gd(J[f+24>>2],h,g);if(!i){return 3082}J[f+8>>2]=h;J[f+12>>2]=g;J[f+24>>2]=i;h=J[f+4>>2];g=J[f>>2]}if(d>>>0>g>>>0&(e|0)>=(h|0)|(e|0)>(h|0)){Sa(J[f+24>>2]+g|0,0,d-g|0)}J[f>>2]=k;J[f+4>>2]=a}Qa(J[f+24>>2]+d|0,b,c);h=0}return h|0}function dG(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=Fa-32|0;Fa=c;h=1;i=J[J[a>>2]+12>>2];f=a+8|0;Yg(f);Oa(J[a+72>>2]);Oa(J[a+120>>2]);Oa(J[a+88>>2]);j=Sa(f,0,120);k=(b|0)==1;a:{if(k){f=-1;b=3;break a}m=1;g=b>>>1&1;b=b&4;h=b?g?2:1:g;f=b?g:-1;b=19}J[a+84>>2]=b;l=a+72|0;b:{c:{d:{if(!(g|k)){break d}b=Wa(J[e>>2]);if(!b){break d}J[c+16>>2]=b;b=ub(8863,c+16|0);J[l>>2]=b;if(!b){break c}J[a+76>>2]=ob(b)}b=0;if((f|0)>=0){J[c>>2]=Wa(J[(f<<2)+e>>2]);f=ub(8863,c);J[a+88>>2]=f;if(!f){break c}J[a+92>>2]=ob(f)}if((d|0)>(h|0)){b=fb(J[(h<<2)+e>>2]);b=(b|0)>0?b:0}J[a+96>>2]=b;b=bi(i,b,0,-2,J[a+72>>2],J[a+76>>2],0,m,j);if(b){break b}b=Lj(i,j,l);if(b){break b}b=qy(a);break b}b=7}Fa=c+32|0;return b|0}function HB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;b=Fa-80|0;Fa=b;f=J[a>>2];Jn(a);c=0;h=(d|0)>0?d:0;d=!(K[J[f+16>>2]+5|0]&32);a:{b:{while(1){if((c|0)!=(h|0)){g=Wa(J[(c<<2)+e>>2]);if(g){J[b+48>>2]=g;g=ub(8863,b+48|0);J[((d<<2)+a|0)+16>>2]=g;if(!g){break b}}d=d+1|0;c=c+1|0;continue}break}c=J[J[f+12>>2]+124>>2];I[b+76>>1]=0;J[b+72>>2]=0;J[b+68>>2]=c;J[b+64>>2]=0;J[b+56>>2]=0;J[b+60>>2]=0;c=b+56|0;Qd(c,30478);d=J[a+20>>2];if(d){J[b+32>>2]=d;gb(c,24895,b+32|0)}c=b+56|0;Qd(c,J[J[f+16>>2]>>2]);d=J[a+16>>2];if(d){J[b+16>>2]=d;gb(c,19671,b+16|0)}d=Ed(b+56|0);if(!d){break b}c=lh(J[f+12>>2],d,-1,a+4|0,0);Oa(d);if(c){J[b>>2]=Wf(J[f+12>>2]);J[f+8>>2]=ub(8863,b);break a}c=Us(a);break a}c=7}Fa=b+80|0;return c|0}function qt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=J[a+116>>2];d=J[a+40>>2];e=L[a+48>>1];if(!(M[c+60>>2]>=d+e>>>0&d>>>0>=J[c+56>>2]+L[c+18>>1]>>>0)){return Ta(79303)}f=e;e=J[b+32>>2]+J[b+28>>2]|0;if((f|0)==(e|0)){return Jk(c,d,b,0,e)}e=Fa-16|0;Fa=e;d=J[b+32>>2];g=J[b+28>>2];f=J[a+116>>2];J[e+12>>2]=f;c=Jk(f,J[a+40>>2],b,0,L[a+48>>1]);a:{if(c){break a}g=d+g|0;d=L[a+48>>1];h=ab(d+J[a+40>>2]|0);i=J[f+52>>2];f=J[i+40>>2]-4|0;while(1){c=ld(i,h,e+12|0,0);if(c){break a}a=J[e+12>>2];b:{if(!(J[J[a+72>>2]+32>>2]==1&!K[a|0])){c=Ta(79275);break b}c:{if(g>>>0>d+f>>>0){c=J[a+56>>2];h=ab(c);break c}f=g-d|0;c=J[a+56>>2]}c=Jk(a,c+4|0,b,d,f)}ed(J[a+72>>2]);if(c){break a}d=d+f|0;if((g|0)>(d|0)){continue}break}c=0}Fa=e+16|0;return c}function Ri(a,b){var c=0,d=0,e=0;if(K[b+5|0]&16){c=J[b+80>>2];J[b+80>>2]=0;H[b+5|0]=K[b+5|0]&239;d=J[c>>2];if(d){Qg(d);J[c>>2]=0}Za(J[a>>2],c);Ri(a,b);return}a:{b:{switch(K[b|0]){case 1:c=J[b+36>>2];if(!c){break a}a=J[a>>2];iu(a,c);Oa(J[c+44>>2]);Za(a,c);J[b+36>>2]=0;return;case 0:c=J[b+36>>2];e=J[c+8>>2];if(!e){break a}d=J[c+20>>2];J[J[e+4>>2]+4>>2]=J[e>>2];a=J[d+8>>2];c:{if((c|0)==(a|0)){J[d+8>>2]=J[c+24>>2];break c}while(1){b=J[a+24>>2];if((b|0)==(c|0)){J[a+24>>2]=J[c+24>>2];break c}a=b;if(b){continue}break}}Eh(c);Ao(d);Oa(J[c+12>>2]);Oa(J[c+16>>2]);if(!(J[d+8>>2]|!(K[d+16|0]&4))){mf(e)}J[c+8>>2]=0;return;case 2:break b;default:break a}}b=J[b+36>>2];a=J[b>>2];J[a+4>>2]=J[a+4>>2]-1;Ja[J[J[a>>2]+28>>2]](b)|0}}function qG(a){a=a|0;var b=0,c=0;c=Nv(a,1414,55872);a:{if(c){break a}b=gc(24);if(!b){return 7}J[b+4>>2]=0;J[b+8>>2]=0;I[b>>1]=257;J[b+12>>2]=0;J[b+16>>2]=0;J[b+20>>2]=0;c=7;b:{if(Mj(b,14007,7,56144)){break b}if(Mj(b,9225,7,56172)){break b}if(Mj(b,23808,10,52988)){break b}c=ol(a,9147,1,524289,b,98,0,0);if(c){break b}c=ol(a,9147,2,524289,b,98,0,0);if(c){break b}c=Ph(a,3415,-1);if(c){break b}c=Ph(a,4196,1);if(c){break b}c=Ph(a,10120,1);if(c){break b}c=Ph(a,10120,2);if(c){break b}c=Ph(a,12827,1);if(c){break b}J[b+20>>2]=J[b+20>>2]+1;c=rl(a,23550,52888,b,99);if(c){break a}J[b+20>>2]=J[b+20>>2]+1;c=rl(a,23421,52888,b,99);if(c){break a}J[b+20>>2]=J[b+20>>2]+1;return rl(a,12814,56500,b,99)|0}_l(b);Oa(b)}return c|0}function Uv(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=J[b>>2];f=J[a+12>>2];h=J[f+64>>2];I[a+152>>1]=L[a+152>>1]&65343|64;g=J[a+104>>2]+P(J[a+108>>2],20)|0;while(1){c=g;g=c-20|0;d=K[g|0];if(d>>>0>64){continue}a:{b:{c:{d:{e:{f:{g:{switch(d|0){case 8:break a;case 6:break c;case 7:break d;case 3:case 4:case 5:break e;case 0:case 1:break f;case 2:break g;default:break b}}if(!J[c-12>>2]){break f}I[a+152>>1]=L[a+152>>1]&65471}I[a+152>>1]=L[a+152>>1]|128;continue}I[a+152>>1]=L[a+152>>1]&65343|128;continue}c=J[c-12>>2];e=(c|0)>(e|0)?c:e;continue}d=J[c-36>>2];e=(e|0)<(d|0)?d:e}c=c-12|0;d=J[c>>2];if((d|0)>=0){continue}J[c>>2]=J[((d^-1)<<2)+h>>2];continue}break}if(h){Sb(J[a>>2],J[f+64>>2]);J[f+64>>2]=0}J[f+56>>2]=0;J[b>>2]=e}function Gd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return Yb(b,c)}if(!(b|c)){Oa(a);return 0}a:{b:{if(!c&b>>>0>2147483391|c){break b}h=Ja[J[16455]](a)|0;f=Ja[J[16456]](b)|0;if((h|0)==(f|0)){return a}if(J[16444]){if(b>>>0>M[18187]){J[18187]=b}c=f-h|0;c:{if((c|0)<=0){break c}b=J[18172];d=J[18196];e=d-c|0;d=J[18197]-(c>>>0>d>>>0)|0;if((d|0)>0){g=1}else{g=b>>>0<e>>>0&(d|0)>=0}if(g){break c}d=J[18199];g=d;e=J[18198];if(!e&(d|0)<=0|(d|0)<0){break c}d=e-c|0;c=g-(c>>>0>e>>>0)|0;if((c|0)<0){b=1}else{b=(c|0)<=0&b>>>0>=d>>>0}if(b){break b}}a=Ja[J[16454]](a,f)|0;if(!a){break b}b=Ja[J[16455]](a)|0;b=J[18172]+(b-h|0)|0;J[18172]=b;if(b>>>0<=M[18182]){break a}J[18182]=b;break a}i=Ja[J[16454]](a,f)|0}return i}return a}function nA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=Fa-48|0;Fa=e;h=c+8|0;k=J[a>>2];l=J[J[b+28>>2]>>2];a:{while(1){if(J[c>>2]>(j|0)){i=J[h>>2];f=Xc(i);b:{if(!f){break b}c:{if(K[d|0]!=71){g=mA(J[b+28>>2],f);J[e+12>>2]=g;if((g|0)>0){break c}}if(yf(f,e+12|0)){g=J[e+12>>2];if(g-65536>>>0>4294901760){break c}fr(k,d,j+1|0,l,f);f=1;break a}g=0;I[h+12>>1]=0;f=1;if(Yc(a,i)){break a}while(1){f=J[b+28>>2];if(J[f>>2]<=(g|0)){break b}if(!Zb(0,i,J[(f+(g<<4)|0)+8>>2],-1)){if(J[b+68>>2]){J[e+32>>2]=0;J[e+36>>2]=0;J[e+24>>2]=0;J[e+28>>2]=0;J[e+16>>2]=0;J[e+20>>2]=0;J[e+40>>2]=b;J[e+20>>2]=85;Eb(e+16|0,i)}I[h+12>>1]=g+1}g=g+1|0;continue}}I[h+12>>1]=g}h=h+16|0;j=j+1|0;continue}break}f=an(k,b,c,d)}Fa=e+48|0;return f}function cq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=Fa-16|0;Fa=e;f=J[a+64>>2];d=J[f>>2];a:{if(!d|(K[a+17|0]-4&255)>>>0>252){break a}g=J[a+168>>2];c=Ja[J[d+24>>2]](f,e+8|0)|0;j=g>>31;f=lJ(g,j,b,0);d=Ia;h=d;J[e>>2]=f;J[e+4>>2]=d;if(c){break a}c=0;d=J[e+8>>2];i=J[e+12>>2];if((f|0)==(d|0)&(h|0)==(i|0)){break a}b:{c:{if(f>>>0<d>>>0&(h|0)<=(i|0)|(h|0)<(i|0)){g=J[a+64>>2];c=Ja[J[J[g>>2]+16>>2]](g,f,h)|0;break c}c=i+j|0;i=d;d=d+g|0;c=i>>>0>d>>>0?c+1|0:c;if(f>>>0<d>>>0&(c|0)>=(h|0)|(c|0)>(h|0)){break b}f=Sa(J[a+224>>2],0,g);c=J[a+64>>2];Ja[J[J[c>>2]+40>>2]](c,5,e)|0;h=J[a+64>>2];c=J[e>>2];c=Ja[J[J[h>>2]+12>>2]](h,f,g,c-g|0,J[e+4>>2]-(j+(c>>>0<g>>>0)|0)|0)|0}if(c){break a}}J[a+36>>2]=b;c=0}Fa=e+16|0;return c}function Wb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{g=J[a+4>>2];if(g>>>0<b>>>0){break b}i=J[a>>2];e=i+b|0;f=K[e|0];d=f>>>4|0;h=1;c:{if(f>>>0<=191){break c}d:{switch(d-12|0){case 0:f=0;d=b+1|0;if(d>>>0>=g>>>0){break a}d=K[d+i|0];h=2;break c;case 1:f=0;d=b+2|0;if(d>>>0>=g>>>0){break a}d=K[d+i|0]|K[e+1|0]<<8;h=3;break c;case 2:f=0;d=b+4|0;if(d>>>0>=g>>>0){break a}d=K[d+i|0]|(K[e+2|0]<<16|K[e+1|0]<<24|K[e+3|0]<<8);h=5;break c;default:break d}}d=b+8|0;if(K[e+1|0]|d>>>0>=g>>>0|(K[e+2|0]|K[e+3|0])){break b}f=0;if(K[e+4|0]){break a}d=K[d+i|0]|(K[e+6|0]<<16|K[e+5|0]<<24|K[e+7|0]<<8);h=9}f=h;b=f+(b+d|0)|0;if(b>>>0<=g>>>0){j=d;break a}a=b>>>0>g-J[a+40>>2]>>>0;f=a?0:f;j=a?0:d;break a}f=0}J[c>>2]=j;return f}function _s(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;g=J[16508];a:{if(g){f=266;if(Ja[g|0](201)|0){break a}}if(J[b+44>>2]){J[b+44>>2]=0}J[b>>2]=d;J[b+4>>2]=e;g=J[c+12>>2];f=J[c+8>>2];J[b+8>>2]=f;J[b+12>>2]=g;c=J[c>>2];J[b+24>>2]=c;i=e;e=f;f=J[a+12>>2];h=J[J[f+24>>2]+168>>2];e=e>>>0>h>>>0;h=h>>31;if(!(e&(h|0)<=(g|0)|(g|0)>(h|0)|J[J[c>>2]>>2]<3)){J[b+44>>2]=0;f=J[a+12>>2]}g=J[f+12>>2];c=g;e=c>>31;d=nJ(d,i,c,e);f=0;a=J[b+36>>2];if(!a){a=Yb(c,e);J[b+40>>2]=c;J[b+36>>2]=a;f=a?0:7}if(!d|f){break a}h=J[b+24>>2];j=a+d|0;a=J[b+8>>2];c=J[b>>2];e=a-c|0;f=J[b+12>>2];i=J[b+4>>2];b=i;d=g-d|0;b=(d>>31)+b|0;g=c+d|0;b=g>>>0<d>>>0?b+1|0:b;f=Ja[J[J[h>>2]+8>>2]](h,j,a>>>0<g>>>0&(b|0)>=(f|0)|(b|0)>(f|0)?e:d,c,i)|0}return f}function QE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}e=yb(J[c>>2]);J[18304]=0;h=a;C(+e);a=x(1)|0;c=x(0)|0;b=a&2147483647;a:{if(b>>>0>=1072693248){d=e*1.5707963267948966+752316384526264e-51;if(!(b-1072693248|c)){break a}d=0/(e-e);break a}b:{if(b>>>0<=1071644671){if(b+-1048576>>>0<1044381696){break b}d=e*uj(e*e)+e;break a}d=(1-R(e))*.5;f=Y(d);e=uj(d);c:{if(b>>>0>=1072640819){d=f*e+f;d=1.5707963267948966-(d+d+-6123233995736766e-32);break c}C(+f);c=x(1)|0;x(0)|0;z(0,0);z(1,c|0);g=+B();d=(d-g*g)/(f+g);d=.7853981633974483-(g+g)-((f+f)*e-(6123233995736766e-32-(d+d)))+.7853981633974483}e=(a|0)<0?-d:d}d=e}Nb(h,d);return}Z(23800,17942,379,17699);D()}function Jf(a){var b=0,c=0;a:{b:{c:{c=H[a+68|0];d:{if((c|0)>=0){b=J[a+116>>2];if(!c){break d}while(1){Lf(b);b=K[a+68|0]-1|0;H[a+68|0]=b;if(!(b&255)){break c}b=J[((b<<24>>24<<2)+a|0)+120>>2];continue}}b=J[a+64>>2];if(!b){break a}c=K[a|0];if(c>>>0>=3){if((c|0)==4){return J[a+4>>2]}Xk(a);b=J[a+64>>2]}b=Ji(J[a+20>>2],b,a+116|0,K[a+2|0]);if(b){H[a|0]=1;return b}H[a+68|0]=0;b=J[a+116>>2];H[a+69|0]=K[b+1|0]}if(K[b+1|0]==(!J[a+112>>2]|0)?K[b|0]:0){break b}return Ta(75602)}b=J[a+120>>2];J[a+116>>2]=b}I[a+70>>1]=0;I[a+50>>1]=0;H[a+1|0]=K[a+1|0]&241;if(L[b+24>>1]){H[a|0]=0;return 0}if(!K[b+8|0]){if(J[b+4>>2]!=1){return Ta(75614)}b=ab((J[b+56>>2]+K[b+9|0]|0)+8|0);H[a|0]=0;return zg(a,b)}}H[a|0]=1;return 16}function mc(a){var b=0,c=0;a:{b:while(1){b=K[a|0];while(1){c:{d:{e:{f:{g:{h:{i:{j:{switch(b-167|0){default:k:{switch(b-177|0){case 0:break f;case 1:break g;default:break k}}if((b|0)==36){break h}if((b|0)!=138){break e}a=J[J[a+20>>2]+28>>2]+8|0;break d;case 0:c=J[a+44>>2];break i;case 2:break j;case 1:break e}}c=J[a+44>>2];if(!c){break e}}a=I[a+32>>1];b=68;if((a|0)<0|(a|0)>=I[c+34>>1]){break a}b=K[(J[c+4>>2]+P(a,12)|0)+5|0];break a}b=Hi(J[a+8>>2],0);break a}a=(J[J[J[a+12>>2]+20>>2]+28>>2]+(I[a+32>>1]<<4)|0)+8|0;break d}a=J[a+20>>2]+8|0;break d}if(!(J[a+4>>2]&270336)){break c}a=a+12|0}a=J[a>>2];continue b}if((b|0)==176){b=K[a+2|0];if((b|0)!=176){continue}}break}break}b=K[a+1|0]}return b<<24>>24}function Ly(a,b){var c=0,d=0,e=0,f=0,g=0;c=lp(a);a:{if(!c){f=7;c=J[J[a>>2]+20>>2];e=ib(c,24,0);if(!e){break a}J[e>>2]=c;d=J[a+12>>2];c=d+236|0;b:{c:{d:{e:{while(1){c=J[c>>2];if(c){if(J[c+4>>2]==-429938){break e}c=c+16|0;continue}break}c=ib(J[d>>2],20,0);if(!c){break c}g=J[a+16>>2];J[c+4>>2]=-429938;J[c>>2]=g;J[c+16>>2]=J[d+236>>2];J[d+236>>2]=c;if(J[a+20>>2]){break d}J[a+20>>2]=-1;break d}d=J[c+12>>2];if(!d){break d}Ja[d|0](J[c+8>>2])}J[c+12>>2]=97;J[c+8>>2]=e;break b}Iy(e)}c=lp(a);if(!c){break a}}a=J[c+4>>2];if((a|0)>=4){Wc(J[c+8>>2]);a=J[c+16>>2];J[c+8>>2]=J[c+12>>2];J[c+12>>2]=a;J[c+16>>2]=J[c+20>>2];a=3}I[b+38>>1]=1;J[b+24>>2]=J[b+24>>2]+1;J[((a<<2)+c|0)+8>>2]=b;J[c+4>>2]=a+1;f=0}return f}function kz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=J[b+40>>2];i=J[a>>2];g=J[a+8>>2];j=Jq(b,d);a:{if(!d|(e|0)==(h|0)){break a}if(!(K[c+28|0]&128)){d=vb(a);Na(g,142,e,d);Pa(g,30,h,0,d);mb(a,d);break a}f=J[a+44>>2];l=ec(c);k=L[l+50>>1];J[a+44>>2]=f+k;m=f+1|0;f=0;while(1){if((f|0)!=(k|0)){Pa(g,94,e,Le(d,I[J[l+4>>2]+(f<<1)>>1]),f+m|0);f=f+1|0;continue}break}d=bb(g,29,h,0,m,k);$a(g,70,11,2,0,13536,-1);e=J[a+128>>2];H[(e?e:a)+21|0]=1;e=J[g+108>>2];J[(K[J[g>>2]+87|0]?73192:J[g+104>>2]+P(d,20)|0)+8>>2]=e}f=0;d=oh(i,J[b+32>>2],0);while(1){if(I[c+34>>1]>(f|0)){if(K[(J[c+4>>2]+P(f,12)|0)+5|0]==69){Va(g,87,J[b+36>>2]+f|0)}f=f+1|0;continue}break}tn(a,d,kc(i,J[j+8>>2],0),eb(i,J[j+12>>2],0),2,j)}function CI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;b=Fa-48|0;Fa=b;f=$c(J[c>>2]);d=J[f+32>>2];c=0;I[b+44>>1]=0;J[b+40>>2]=0;J[b+32>>2]=0;J[b+24>>2]=0;J[b+28>>2]=0;J[b+36>>2]=P(d,100)+100;d=(K[f+36|0]?8:16)+f|0;e=J[d+4>>2];J[b+16>>2]=J[d>>2];J[b+20>>2]=e;gb(b+24|0,1868,b+16|0);while(1){if((c|0)<J[f+32>>2]){e=J[f+20>>2];h=e;l=J[f+16>>2];i=lJ(l,e,10,0);g=Ia;d=J[f+40>>2]+(c<<3)|0;e=J[d>>2];d=J[d+4>>2];n=d;j=e+1|0;d=j?d:d+1|0;k=lJ(j,d,11,0);m=Ia;i=(m|0)==(g|0)&i>>>0>k>>>0|g>>>0>m>>>0?2:1;k=0;g=h+n|0;h=e;e=e+l|0;g=h>>>0>e>>>0?g+1|0:g;d=oJ(e,g,j,d);h=d;e=Ia;d=!e&(d|0)==2;J[b>>2]=d?i:h;J[b+4>>2]=d?k:e;gb(b+24|0,1867,b);c=c+1|0;continue}break}qm(a,b+24|0);Fa=b+48|0}function Sk(a){var b=0,c=0,d=0;I[a+50>>1]=0;H[a+1|0]=K[a+1|0]&241;a:{b:{if(K[a|0]){break b}b=L[a+70>>1];if(!b){break b}if(K[J[a+116>>2]+8|0]){break a}}c=K[a|0];c:{d:{if(!c){break d}if(c>>>0>=3){b=hj(a);if(b){break c}c=K[a|0]}b=101;e:{switch(c-1|0){case 0:break c;case 1:break e;default:break d}}b=0;H[a|0]=0;if(J[a+4>>2]<0){break c}}b=J[a+116>>2];if(!K[b+8|0]){c=J[b+56>>2];d=L[b+26>>1];b=J[b+64>>2]+(L[a+70>>1]<<1)|0;b=zg(a,ab(c+(d&(K[b|0]<<8|K[b+1|0]))|0));if(b){break c}b=ht(a);break c}f:{while(1){b=L[a+70>>1];if(b){break f}if(K[a+68|0]){mo(a);continue}break}H[a|0]=1;b=101;break c}I[a+70>>1]=b-1;b=0;c=J[a+116>>2];if(!K[c+1|0]|K[c+8|0]){break c}b=Sk(a)}return b}I[a+70>>1]=b-1;return 0}function tu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Fa-16|0;Fa=e;a:{if(K[a+4|0]){c=su(a);if(c){break a}h=(K[a+4|0]!=0)<<1}c=J[a+176>>2];i=J[a+180>>2];g=J[a+236>>2];f=J[a+64>>2];d=J[a>>2];J[a+232>>2]=0;b=od(J[d+4>>2]+120|0,0);if(!b){c=7;break a}J[b>>2]=d;I[b+40>>1]=65535;J[b+4>>2]=f;J[b+108>>2]=g;J[b+16>>2]=c;J[b+20>>2]=i;I[b+48>>1]=257;H[b+43|0]=h;c=b+120|0;J[b+8>>2]=c;J[e+12>>2]=524294;c=Ja[J[d+24>>2]](d,g,c,524294,e+12|0)|0;if(!c){if(H[e+12|0]&1){H[b+46|0]=1}c=J[f>>2];b:{if(!c){break b}c=Ja[J[c+48>>2]](f)|0;if(c&1024){H[b+48|0]=0}if(!(c&4096)){break b}H[b+49|0]=0}J[a+232>>2]=b;c=0;break a}Io(b,0);a=J[b+8>>2];d=J[a>>2];if(d){Ja[J[d+4>>2]](a)|0;J[a>>2]=0}Oa(b)}Fa=e+16|0;return c}function ro(a,b){var c=0,d=0;c=K[a+5|0];a:{b:{if(!K[a+15|0]){break b}switch(b-2|0){case 0:case 2:break b;default:break a}}if((b|0)==(c|0)){break a}H[a+5|0]=b;if(!(K[a+4|0]|(b&1|(c&5)!=1))){c=J[a+68>>2];b=J[c>>2];if(b){Ja[J[b+4>>2]](c)|0;J[c>>2]=0}if(K[a+18|0]>=2){c=J[a>>2];b=J[c+28>>2];if(!b){break a}Ja[b|0](c,J[a+188>>2],0)|0;break a}b=0;d=K[a+17|0];if(d){c=d}else{b=wu(a);c=K[a+17|0]}if((c|0)==1){b=Mf(a,2)}c:{if(b){break c}c=J[a>>2];b=J[c+28>>2];if(b){Ja[b|0](c,J[a+188>>2],0)|0}if((d|0)!=1){break c}Fg(a,1);break a}if(d){break a}hl(a);break a}d:{switch(b-2|0){case 0:case 2:break d;default:break a}}c=J[a+68>>2];b=J[c>>2];if(!b){break a}Ja[J[b+4>>2]](c)|0;J[c>>2]=0}return K[a+5|0]}function hC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=(c>>31)+e|0;j=c+d|0;h=j>>>0<d>>>0?h+1|0:h;g=J[a+20>>2];if((h|0)<=(g|0)&M[a+16>>2]>=j>>>0|(h|0)<(g|0)){a:{if(!(!!(d|e)&((d|0)==J[a+32>>2]&(e|0)==J[a+36>>2]))){f=a+12|0;while(1){f=J[f>>2];if(!f){f=0;break a}g=J[a+4>>2];k=g+k|0;i=(g>>31)+i|0;i=g>>>0>k>>>0?i+1|0:i;if((e|0)>=(i|0)&d>>>0>=k>>>0|(e|0)>(i|0)){continue}break}break a}f=J[a+40>>2]}g=d;d=J[a+4>>2];d=nJ(g,e,d,d>>31);while(1){b:{g=(d+f|0)+4|0;e=J[a+4>>2]-d|0;d=(c|0)<(e|0)?c:e;b=Qa(b,g,d);c=c-e|0;if((c|0)<0){break b}f=J[f>>2];if(!c){break b}b=b+d|0;d=0;if(f){continue}}break}J[a+40>>2]=f;J[a+32>>2]=f?j:0;J[a+36>>2]=f?h:0;a=0}else{a=522}return a|0}function Zy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Fa+-64|0;Fa=d;e=b;b=d+16|0;if(!kg(a,e,c,b)){Yy(b);H[d+2|0]=58;H[d+5|0]=58;b=J[d+36>>2];c=(b|0)/10|0;H[d|0]=((c|0)%10|0)+48;e=J[d+40>>2];g=(e|0)/10|0;H[d+3|0]=((g|0)%10|0)+48;H[d+1|0]=(b-P(c,10)|0)+48;H[d+4|0]=(e-P(g,10)|0)+48;f=O[d+48>>3];a:{if(K[d+63|0]){H[d+12|0]=0;f=f*1e3+.5;b:{if(R(f)<2147483648){c=~~f;break b}c=-2147483648}H[d+9|0]=(((c|0)/100|0)%10|0)+48;b=(c|0)/10|0;H[d+10|0]=((b|0)%10|0)+48;H[d+11|0]=(c-P(b,10)|0)+48;b=(c|0)/1e3|0;e=12;g=46;c=(c|0)/1e4|0;break a}e=8;g=0;if(R(f)<2147483648){b=~~f}else{b=-2147483648}c=(b|0)/10|0}H[d+8|0]=g;H[d+7|0]=((b|0)%10|0)+48;H[d+6|0]=((c|0)%10|0)+48;lb(a,d,e,-1)}Fa=d- -64|0}function NB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=Fa-16|0;Fa=a;c=Sa(c,0,b);J[18262]=42;d=th(11441,0,0);a:{if((d|0)>=0){while(1){if((Ja[J[16637]](d,c,b)|0)<0&J[18304]==27){continue}break}Gf(0,d,44789);break a}f=a+8|0;e=+aa()/1e3;b:{if(R(e)<0x8000000000000000){d=~~e>>>0;if(R(e)>=1){b=~~(e>0?T(V(e*2.3283064365386963e-10),4294967295):W((e-+(~~e>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break b}d=0;b=-2147483648}if(f){J[f>>2]=d;J[f+4>>2]=b}b=J[a+12>>2];d=J[a+8>>2];H[c|0]=d;H[c+1|0]=d>>>8;H[c+2|0]=d>>>16;H[c+3|0]=d>>>24;H[c+4|0]=b;H[c+5|0]=b>>>8;H[c+6|0]=b>>>16;H[c+7|0]=b>>>24;b=J[18262];H[c+8|0]=b;H[c+9|0]=b>>>8;H[c+10|0]=b>>>16;H[c+11|0]=b>>>24;b=12}Fa=a+16|0;return b|0}function Ct(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Fa-256|0;Fa=f;c=J[a+12>>2];a:{if(!J[a+16>>2]){e=Qk(J[c+28>>2]);J[a+16>>2]=e;d=7;if(!e){break a}c=J[a+12>>2];d=L[J[c+28>>2]+6>>1];H[e+23|0]=0;I[e+20>>1]=d}e=J[b>>2];d=K[c+68|0];J[a+40>>2]=(d|0)==1?35:(d|0)==2?36:37;i=Sa(f,0,256);while(1){if(e){c=J[b+4>>2];b:{if(c){d=0;if((c|0)==(e|0)){break b}d=c+J[e+4>>2]|0;break b}d=J[e+4>>2]}c=0;J[e+4>>2]=0;while(1){g=(c<<2)+i|0;j=J[g>>2];if(j){e=dt(a,e,j);J[g>>2]=0;c=c+1|0;continue}break}J[g>>2]=e;e=d;continue}else{c=0;while(1){if((h|0)!=64){d=J[(h<<2)+i>>2];c:{if(!d){break c}if(!c){c=d;break c}c=dt(a,c,d)}h=h+1|0;continue}break}J[b>>2]=c;d=K[J[a+16>>2]+23|0]}break}}Fa=f+256|0;return d}function Hn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Fa-16|0;Fa=h;e=J[a>>2];a:{b:{if(!c){c=gf(e,b,d,0);if(!c){break b}}if(J[c+12>>2]){break a}}c:{if(J[e+276>>2]){c=Ob(e,d);if(!c){break c}Ja[J[e+276>>2]](J[e+284>>2],e,b,c);Za(e,c)}if(!J[e+280>>2]){break c}c=ng(e);ym(c,d,0);f=Fl(c,2);if(f){Ja[J[e+280>>2]](J[e+284>>2],e,K[e+84|0],f)}Pc(c)}c=0;d:{e:{f=gf(e,b,d,0);if(!f){break e}if(J[f+12>>2]){break d}i=J[f>>2];b=0;while(1){if((b|0)==3){break e}g=b+36948|0;b=b+1|0;g=gf(e,K[g|0],i,0);if(!J[g+12>>2]){continue}break}a=J[g+4>>2];J[f>>2]=J[g>>2];J[f+4>>2]=a;a=J[g+12>>2];J[f+8>>2]=J[g+8>>2];J[f+12>>2]=a;J[f+16>>2]=0;break d}J[h>>2]=d;Ra(a,8509,h);J[a+12>>2]=257;break a}c=f}Fa=h+16|0;return c}function zf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=d-1|0;d=b+8|0;f=K[a+23|0]?e:e&253;m=f&2;n=f&8;o=f&4;h=J[b>>2];f=J[a+8>>2];b=0;i=e&1^81;p=(i|0)!=80;while(1){if((b|0)<(h|0)){e=J[d>>2];a:{b:{if(!o){break b}g=L[d+12>>1];if(!g){break b}if(n){h=h-1|0;b=b-1|0;break a}Na(f,i,g+l|0,b+c|0);break a}c:{if(!m){break c}if(!Om(e)){break c}Nm(a,e,b+c|0);break a}g=b+c|0;j=Ge(a,e,g);if((j|0)==(g|0)){break a}d:{if(p){break d}e=73192;if(!K[J[f>>2]+87|0]){e=(J[f+104>>2]+P(J[f+108>>2],20)|0)-20|0}if(K[e|0]!=80){break d}k=J[e+12>>2]+1|0;if(L[e+2>>1]|((k+J[e+4>>2]|0)!=(j|0)|(g|0)!=(J[e+8>>2]+k|0))){break d}J[e+12>>2]=k;break a}Na(f,i,j,g)}d=d+16|0;b=b+1|0;continue}break}}function oq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=0;a:{if(K[a+35|0]){break a}g=J[a>>2];d=g+b|0;e=K[d|0];f=e>>>4|0;f=e>>>0>=192?(f|0)==12?-1:(f|0)==13?-2:-4:0;e=0;b:{if(c>>>0<12){break b}if(c>>>0<256){j=1;e=1;break b}i=c>>>0<65536;e=i?2:4}e=e+f|0;if(e){f=J[a+4>>2];h=e+f|0;c:{if((e|0)>0){if(M[a+8>>2]<h>>>0){d=0;if(Oj(a,h)){break a}f=J[a+4>>2];g=J[a>>2]}d=b+g|0;g=d+1|0;Dc(g+e|0,g,(b^-1)+f|0);break c}Dc(d+1|0,(d-e|0)+1|0,(e+(b^-1)|0)+f|0)}J[a+4>>2]=h}a=K[d|0]&15;d:{if(c>>>0<=11){H[d|0]=a|c<<4;break d}if(j){H[d+1|0]=c;H[d|0]=a|192;break d}if(i){H[d+2|0]=c;H[d+1|0]=c>>>8;H[d|0]=a|208;break d}H[d+4|0]=c;H[d+3|0]=c>>>8;H[d+2|0]=c>>>16;H[d+1|0]=c>>>24;H[d|0]=a|224}d=e}return d}function Pk(a,b,c,d,e){var f=0;if(K[a+9|0]){J[J[a+4>>2]+4>>2]=J[a>>2]}f=J[a+4>>2];a:{if(b>>>0<=1){if(!b){a=Ta(74749);break a}b=J[f+48>>2]!=0}J[e+112>>2]=d;H[e+68|0]=255;J[e+64>>2]=b;J[e+20>>2]=f;J[e+8>>2]=a;d=0;H[e+1|0]=0;a=f+8|0;while(1){a=J[a>>2];if(a){if(J[a+64>>2]==(b|0)){H[a+1|0]=K[a+1|0]|32;H[e+1|0]=32;d=32}a=a+24|0;continue}break}H[e|0]=1;J[e+24>>2]=J[f+8>>2];J[f+8>>2]=e;b:{if(c){H[e+2|0]=0;H[e+1|0]=d|1;if(J[f+84>>2]){break b}a=Wi(J[f+36>>2]);J[f+84>>2]=a;c:{if(!a){a=J[f+8>>2];J[f+8>>2]=J[a+24>>2];Sa(a,0,200);a=7;break c}H[a|0]=0;H[a+1|0]=0;H[a+2|0]=0;H[a+3|0]=0;H[a+4|0]=0;H[a+5|0]=0;H[a+6|0]=0;H[a+7|0]=0;J[f+84>>2]=J[f+84>>2]+4;a=0}break a}H[e+2|0]=2}a=0}return a}function Nm(a,b,c){var d=0,e=0,f=0;a:{e=J[a+68>>2];if(!e|(c|0)>=0){break a}d=e+8|0;f=J[e>>2];while(1){if((f|0)<=0){break a}b:{if(K[d+9|0]&8){if(!Zb(0,J[d>>2],b,-1)){break b}}f=f-1|0;d=d+16|0;continue}break}return J[d+12>>2]}d=eb(J[a>>2],b,0);if(!(!d|!(K[d+4|0]&8))){e=J[a+8>>2];f=Hb(e,15);H[a+23|0]=0;b=J[a>>2];if(!K[b+87|0]){if((c|0)<0){c=J[a+44>>2]+1|0;J[a+44>>2]=c}Xb(a,d,c);b=J[a>>2]}H[a+23|0]=1;ce(b,d);b=J[e+108>>2];J[(K[J[e>>2]+87|0]?73192:J[e+104>>2]+P(f,20)|0)+8>>2]=b;return c}b=Kb(a,e,d);if(b){d=b+(J[b>>2]-1<<4)|0;e=d+17|0;f=(K[d+17|0]|K[d+18|0]<<8)&65527|c>>>28&8;H[e|0]=f;H[e+1|0]=f>>>8;if((c|0)<0){c=J[a+44>>2]+1|0;J[a+44>>2]=c}J[d+20>>2]=c}J[a+68>>2]=b;return c}function Ne(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=Ya(b);l=a+416|0;f=Cc(l,b);while(1){if(f){i=Cv(f,c,d);j=(i|0)>(h|0);h=j?i:h;g=j?f:g;f=J[f+12>>2];continue}break}a:{b:{c:{d:{if(e){break d}if(g){f=0;if(!(K[a+24|0]&2)){break c}}h=0;f=Bv((K[K[b|0]+30832|0]+k>>>0)%23|0,b);while(1){if(!f){break d}i=Cv(f,c,d);j=(i|0)>(h|0);h=j?i:h;g=j?f:g;f=J[f+12>>2];continue}}if(!(!e|(h|0)>5)){e=ib(a,k+41|0,0);if(!e){break b}J[e+4>>2]=d;H[e|0]=c;f=e+40|0;J[e+32>>2]=f;Qa(f,b,k+1|0);while(1){b=K[f|0];if(b){H[f|0]=K[b+30832|0];f=f+1|0;continue}break}b=jd(l,J[e+32>>2],e);if((b|0)==(e|0)){Za(a,e);Db(a);break b}J[e+12>>2]=b;return e}if(!g){break b}f=e}if(f|J[g+16>>2]){break a}}g=0}return g}function hs(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Fa-16|0;Fa=h;a:{b:{c:{e=J[a+248>>2];d:{if(!e){break d}if(K[a+220|0]==1){Ra(a,5121,0);break d}i=J[e+4>>2]+P(I[e+34>>1],12)|0;d=i-12|0;e:{if(L[i-4>>1]){break e}if(!c){break c}f:{switch(J[c+4>>2]-6|0){case 0:if(tb(15684,J[c>>2],6)){break e}g=64;break b;case 1:break f;default:break e}}if(!tb(11761,J[c>>2],7)){break c}}J[h>>2]=J[d>>2];Ra(a,29447,h)}c=b;break a}I[e+36>>1]=L[e+36>>1]-1;g=32}c=i-2|0;f=L[c>>1];I[c>>1]=f|g;J[e+28>>2]=g|J[e+28>>2];if(f&1){mn(a,d)}c=0;g=d;d=0;g:{if(!b){break g}f=K[b|0];if((f|0)==59){b=db(a,174,b,0);d=0;if(!b){break g}f=K[b|0]}if((f&255)!=71){H[b+1|0]=K[i-7|0]}d=b}pn(a,e,g,d)}_a(J[a>>2],c);Fa=h+16|0}function Yq(a,b,c,d,e,f){var g=0,h=0,i=0;a:{g=K[c|0];if((g|0)==44){Yq(a,b,J[c+16>>2],d,e,f);c=J[c+12>>2];g=K[c|0]}if((g|0)!=53&(g|0)!=45){break a}g=J[c+12>>2];if(K[g|0]!=167){break a}h=J[c+16>>2];if(!be(h)){break a}c=Qh(a,c);if(J[c+12>>2]!=15?c:0){break a}c=I[g+32>>1];if((c|0)<0){break a}i=K[(J[J[b+12>>2]+4>>2]+P(c,12)|0)+5|0];if(i>>>0<66){break a}if(f){c=J[a>>2];b=id(c,24,0);if(!b){break a}d=K[f+36|0];J[b>>2]=eb(c,h,0);c=J[f+40>>2];J[b+8>>2]=e;J[b+4>>2]=c;c=I[g+32>>1];H[b+16|0]=(d&72)!=0;J[b+12>>2]=c;c=J[a+76>>2];H[b+17|0]=i;J[b+20>>2]=c;J[a+76>>2]=b;if(c){break a}dd(a,87,a+76|0);return}if(c>>>0>62){break a}a=J[d>>2];b=J[d+4>>2];J[d>>2]=sJ(-2,-1,c)&a;J[d+4>>2]=Ia&b}}function RE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}e=yb(J[c>>2]);J[18304]=0;g=a;C(+e);a=x(1)|0;b=x(0)|0;c=a&2147483647;a:{if(c>>>0>=1072693248){f=(a|0)>0|(a|0)>=0?0:3.141592653589793;if(!(c-1072693248|b)){break a}f=0/(e-e);break a}b:{if(c>>>0<=1071644671){f=1.5707963267948966;if(c>>>0<1012924417){break b}f=6123233995736766e-32-e*uj(e*e)-e+1.5707963267948966;break a}if((a|0)<0){d=(e+1)*.5;e=Y(d);d=1.5707963267948966-(e+(e*uj(d)+-6123233995736766e-32));f=d+d;break a}d=(1-e)*.5;e=Y(d);h=e*uj(d);C(+e);a=x(1)|0;x(0)|0;z(0,0);z(1,a|0);f=d;d=+B();d=h+(f-d*d)/(e+d)+d;f=d+d}}Nb(g,f);return}Z(23800,17942,378,17628);D()}function yF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Fa-80|0;Fa=c;f=J[a+12>>2];d=Dx(a);J[c+76>>2]=d;if(!d){J[c+76>>2]=Ij(a)}H[a+240|0]=1;if(!J[a+40>>2]){d=J[a+20>>2];e=J[a+16>>2];J[c+72>>2]=b;J[c+64>>2]=e;J[c+68>>2]=d;Ae(c+76|0,f,22845,c- -64|0)}if(K[a+238|0]){d=J[a+20>>2];e=J[a+16>>2];J[c+56>>2]=b;J[c+48>>2]=e;J[c+52>>2]=d;Ae(c+76|0,f,23051,c+48|0)}if(K[a+237|0]){d=J[a+20>>2];e=J[a+16>>2];J[c+40>>2]=b;J[c+32>>2]=e;J[c+36>>2]=d;Ae(c+76|0,f,22898,c+32|0)}d=J[a+20>>2];e=J[a+16>>2];J[c+24>>2]=b;J[c+16>>2]=e;J[c+20>>2]=d;d=c+76|0;Ae(d,f,22945,c+16|0);e=J[a+20>>2];g=J[a+16>>2];J[c+8>>2]=b;J[c>>2]=g;J[c+4>>2]=e;Ae(d,f,22999,c);H[a+240|0]=0;Fa=c+80|0;return J[c+76>>2]}function zu(a,b){var c=0;c=J[a+52>>2];H[a+11|0]=K[c+21|0];a:{b:{if((b|0)>=10){H[a+8|0]=1;H[a+10|0]=0;c:{switch(b-10|0){case 3:J[a+80>>2]=23;J[a+76>>2]=24;H[a+1|0]=1;H[a+2|0]=1;break b;case 0:J[a+80>>2]=25;J[a+76>>2]=26;break a;default:break c}}J[a+80>>2]=25;J[a+76>>2]=26;H[a+1|0]=0;H[a+2|0]=0;return Ta(72125)}H[a+8|0]=0;H[a+10|0]=4;d:{switch(b-2|0){case 0:J[a+80>>2]=25;J[a+76>>2]=27;break a;case 3:J[a+80>>2]=28;J[a+76>>2]=29;H[a+1|0]=1;H[a+2|0]=0;break b;default:break d}}J[a+80>>2]=25;J[a+76>>2]=27;H[a+1|0]=0;H[a+2|0]=0;return Ta(72149)}I[a+14>>1]=L[c+30>>1];I[a+16>>1]=L[c+32>>1];return 0}H[a+1|0]=0;H[a+2|0]=0;I[a+14>>1]=L[c+26>>1];I[a+16>>1]=L[c+28>>1];return 0}function Un(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=Fa-16|0;Fa=j;a:{if((f|0)<=0){break a}o=e+f|0;i=J[c>>2];k=J[a+56>>2];f=0;while(1){if(!((f|0)==6|J[((f<<2)+g|0)+40>>2]>(e|0))){f=f+1|0;continue}break}l=J[((f<<2)+g|0)+16>>2];while(1){h=L[J[g+12>>2]+(e<<1)>>1];b:{c:{d:{if(K[k+1|0]|K[k+2|0]){m=go(a,h,j+12|0);if(m){break d}}if((h|0)>(i-b|0)){break c}i=i-h|0;m=i}n=J[J[g+8>>2]+(e<<2)>>2];if(n>>>0>=l>>>0|h+n>>>0<=l>>>0){break b}Ta(77727)}p=1;break a}h=Dc(m,n,h)-k|0;h=h<<8|(h&65280)>>>8;H[d|0]=h;H[d+1|0]=h>>>8;e=e+1|0;if((o|0)>(e|0)){if(J[((f<<2)+g|0)+40>>2]<=(e|0)){f=f+1|0;l=J[((f<<2)+g|0)+16>>2]}d=d+2|0;continue}break}J[c>>2]=i}Fa=j+16|0;return p}function Gb(a,b,c,d){var e=0,f=0,g=0,h=0;e=Fa-48|0;Fa=e;h=(b<<2)+a|0;f=J[h+60>>2];J[e+44>>2]=f;a:{b:{c:{if(!f){d:{e:{if((b|0)!=7){if((b|0)!=18){break e}b=J[a+20>>2];f=J[a+16>>2];J[e+24>>2]=J[a+228>>2];J[e+16>>2]=f;J[e+20>>2]=b;g=5;b=ub(25192,e+16|0);break d}J[e+32>>2]=J[a+224>>2];g=1;b=ub(21051,e+32|0);break d}f=J[a+20>>2];J[e>>2]=J[a+16>>2];J[e+4>>2]=f;g=5;b=ub(J[(b<<2)+55984>>2],e)}if(!b){break c}g=cp(J[a+12>>2],b,g,e+44|0);Oa(b);f=J[e+44>>2];J[h+60>>2]=f}if(!d){break a}if(!f){f=0;h=0;break b}h=I[f+16>>1];break b}f=0;g=7;h=0;if(!d){break a}}b=0;while(1){if((b|0)>=(h|0)|g){break a}a=b+1|0;g=jp(f,a,J[(b<<2)+d>>2]);b=a;continue}}J[c>>2]=f;Fa=e+48|0;return g}function Qm(a,b,c,d,e,f,g,h){var i=0,j=0,k=0;j=J[a+8>>2];if(f){i=J[b+36>>2];if(i){g=J[a+56>>2]-1|0;J[a+56>>2]=g;J[f>>2]=g;J[a+52>>2]=c+1;hA(a,i,J[f>>2]);g=0;f=a+52|0}J[f>>2]=0}if(!e|!(K[b+55|0]&8)){e=b+52|0}else{e=b+50|0}k=L[e>>1];i=ic(a,k);e=0;a:{if(!g){break a}if((h|0)==(i|0)){e=g;if(!J[g+36>>2]){break a}}e=0}f=0;while(1){if((f|0)!=(k|0)){b:{c:{if(!e){break c}g=f<<1;h=L[g+J[e+4>>2]>>1];if((h|0)==65534){break c}if((h|0)==L[g+J[b+4>>2]>>1]){break b}}sr(a,b,c,f,f+i|0);if(I[J[b+4>>2]+(f<<1)>>1]<0){break b}g=J[j+108>>2];if((g|0)<=0){break b}g=g-1|0;if(K[J[j+104>>2]+P(g,20)|0]!=87){break b}$d(j,g)}f=f+1|0;continue}break}if(d){Pa(j,97,i,k,d)}Oc(a,i,k);return i}function Lz(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-176|0;Fa=d;g=J[a+8>>2];b=J[b+4>>2];e=K[c+60|0];f=J[a>>2];I[d+172>>1]=256;J[d+168>>2]=0;J[d+160>>2]=100;J[d+164>>2]=1e9;J[d+152>>2]=f;e=b+(e<<6)|0;J[d+32>>2]=e+8;J[d+156>>2]=d+48;f=d+152|0;gb(f,27640,d+32|0);a:{b:{b=J[c+80>>2];if(H[b+41|0]&1){b=J[e+24>>2];c=I[b+32>>1];if((c|0)<0){break b}J[d+16>>2]=J[J[b+4>>2]+P(c&65535,12)>>2];gb(f,21046,d+16|0);break a}c=L[b+46>>1];while(1){if(L[b+24>>1]<=c>>>0){break a}e=Tq(J[b+32>>2],c);if(L[b+46>>1]<c>>>0){nb(d+152|0,30460,5)}J[d>>2]=e;gb(d+152|0,21046,d);c=c+1|0;continue}}gb(d+152|0,21067,0)}b=d+152|0;nb(b,27638,1);b=Ed(b);$a(g,188,J[g+108>>2],J[a+232>>2],0,b,-6);Fa=d+176|0}function td(a,b,c,d,e){var f=0,g=0,h=0;g=Fa-16|0;Fa=g;a:{if(!(I[b+32>>1]!=(d|0)&(d|0)>=0)){Na(a,135,c,e);break a}h=176;f=d;b:{if(K[b+43|0]==1){break b}f=J[b+4>>2]+P(d,12)|0;h=L[f+10>>1];if(h&32){a=J[a+12>>2];if(h&256){J[g>>2]=J[f>>2];Ra(a,29376,g);break a}d=J[a+52>>2];I[f+10>>1]=h|256;J[a+52>>2]=c+1;qr(a,b,f,e);J[a+52>>2]=d;I[f+10>>1]=L[f+10>>1]&65279;break a}if(K[b+28|0]&128){h=94;f=Le(ec(b),d<<16>>16);break b}h=94;f=wc(b,d<<16>>16)}Pa(a,h,c,f,e);c=J[b+4>>2]+P(d,12)|0;c:{if(!L[c+8>>1]){break c}J[g+12>>2]=0;d=J[a>>2];dj(d,Hc(b,c),K[d+84|0],K[c+5|0],g+12|0);d=J[g+12>>2];if(!d){break c}sc(a,d,-10)}if(K[b+43|0]==1|K[c+5|0]!=69){break a}Va(a,87,e)}Fa=g+16|0}function ij(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=Fa-16|0;Fa=f;g=J[a+8>>2];h=J[a+12>>2];i=K[a+18|0];c=Hd(g,f+8|0,h,i);if((c|0)>0){d=O[f+8>>3];a:{b:{if((c|0)!=1){break b}c=0;e=-2147483648;c:{if(d<-0x7ffffffffffffc00){break c}c=-1;e=2147483647;if(d>0x7ffffffffffffc00){break c}if(R(d)<0x8000000000000000){c=~~d>>>0;if(R(d)>=1){e=~~(d>0?T(V(d*2.3283064365386963e-10),4294967295):W((d-+(~~d>>>0>>>0))*2.3283064365386963e-10))>>>0}else{e=0}break c}c=0;e=-2147483648}d:{if(aw(d,c,e)){J[a>>2]=c;J[a+4>>2]=e;break d}if(Yf(g,a,h,i)){break b}}c=L[a+16>>1]|4;break a}O[a>>3]=d;c=L[a+16>>1]|8;I[a+16>>1]=c;if(!b){break a}$v(a);c=L[a+16>>1]}I[a+16>>1]=c&65533}Fa=f+16|0}function uc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=H[a|0];if((c|0)>=0){J[b>>2]=c&255;J[b+4>>2]=0;return 1}d=H[a+1|0];c=c&127|(d&255)<<7;if((d|0)>=0){J[b>>2]=c;J[b+4>>2]=0;return 2}d=H[a+2|0];c=c&16383|(d&255)<<14;if((d|0)>=0){J[b>>2]=c;J[b+4>>2]=0;return 3}d=H[a+3|0];c=c&2097151|(d&255)<<21;if((d|0)>=0){J[b>>2]=c;J[b+4>>2]=0;return 4}l=a+10|0;g=a+4|0;d=c&268435455;f=28;c=0;while(1){a:{if(!c&f>>>0>63|c){g=l;break a}j=H[g|0];e=j&127;i=f&31;if((f&63)>>>0>=32){k=e<<i;e=0}else{k=(1<<i)-1&e>>>32-i;e=e<<i}e=e+d|0;h=h+k|0;h=d>>>0>e>>>0?h+1|0:h;d=e;f=f+7|0;c=f>>>0<7?c+1|0:c;g=g+1|0;if((j|0)<0){continue}}break}J[b>>2]=d;J[b+4>>2]=h;return g-a|0}function LB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=Fa-16|0;J[b+40>>2]=0;J[b+44>>2]=1072693248;a:{if(!K[a+20|0]){break a}c=J[b+4>>2];J[d+8>>2]=0;J[d+12>>2]=0;e=J[b>>2];e=(e|0)>0?e:0;while(1){if((e|0)!=(f|0)){b:{if(!K[c+5|0]|K[c+4|0]!=2){break b}g=J[c>>2];h=K[a+21|0];if((g|0)<(h|0)){break b}J[(d+8|0)+(g-h<<2)>>2]=f+1}c=c+12|0;f=f+1|0;continue}break}a=J[d+8>>2];if(!a){J[b+48>>2]=2147483647;J[b+52>>2]=0;J[b+40>>2]=-4194304;J[b+44>>2]=1105199103;break a}c=a<<3;a=J[b+16>>2];c=(c+a|0)-8|0;H[c+4|0]=1;J[c>>2]=1;d=J[d+12>>2];if(!d){break a}J[b+48>>2]=20;J[b+52>>2]=0;J[b+40>>2]=0;J[b+44>>2]=1077149696;a=(a+(d<<3)|0)-8|0;H[a+4|0]=1;J[a>>2]=2}return 0}function cl(a,b,c){var d=0,e=0,f=0;a:{if(J[a+24>>2]>(b|0)){d=J[J[a+32>>2]+(b<<2)>>2];J[c>>2]=d;e=0;if(d){break a}}e=c;b:{if(J[a+24>>2]<=(b|0)){c=b+1|0;d=Gd(J[a+32>>2],c<<2,0);if(!d){c=7;a=0;break b}f=J[a+24>>2];Sa(d+(f<<2)|0,0,c-f<<2);J[a+24>>2]=c;J[a+32>>2]=d}c:{if(K[a+43|0]==2){c=od(32768,0);d=b<<2;J[d+J[a+32>>2]>>2]=c;c=J[d+J[a+32>>2]>>2]?0:7;break c}d:{c=J[a+4>>2];c=Ja[J[J[c>>2]+52>>2]](c,b,32768,K[a+44|0],J[a+32>>2]+(b<<2)|0)|0;if(!c){if((b|0)<=0){break d}d=J[16508];if(!d){break d}c=7;if(!(Ja[d|0](600)|0)){break d}break c}if((c&255)!=8){break c}H[a+46|0]=K[a+46|0]|2;c=(c|0)!=8?c:0;break c}c=0}a=J[J[a+32>>2]+(b<<2)>>2]}J[e>>2]=a;e=c}return e}function $E(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-16|0;J[d+8>>2]=-1;J[d+12>>2]=-1;a=J[b>>2];i=(a|0)>0?a:0;a=J[b+4>>2];while(1){if((c|0)!=(i|0)){e=J[a>>2];a:{if((e|0)<8){break a}f=e-8|0;e=1<<f;if(!K[a+5|0]){g=e|g;break a}if(K[a+4|0]!=2){break a}J[(d+8|0)+(f<<2)>>2]=c;h=e|h}a=a+12|0;c=c+1|0;continue}break}b:{if(J[b+8>>2]<=0){break b}a=J[b+12>>2];if(J[a>>2]>=0|K[a+4|0]){break b}J[b+32>>2]=1}a=19;if(!((h^-1)&g)){a=0;e=J[d+8>>2];c=0;c:{if((e|0)<0){break c}J[b+40>>2]=0;J[b+44>>2]=1072693248;c=e<<3;e=J[b+16>>2];c=c+e|0;H[c+4|0]=1;J[c>>2]=1;d=J[d+12>>2];c=1;if((d|0)<0){break c}d=e+(d<<3)|0;H[d+4|0]=1;J[d>>2]=2;c=3}J[b+20>>2]=c}return a|0}function Bg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=J[a+88>>2];f=(b|0)>0?P(J[a+20>>2]-b|0,40)+f|0:f;h=(c<<3)+88|0;g=h+(d?0:200)|0;e=b<<2;i=J[e+J[a+96>>2]>>2];if(i){Ri(a,i);J[e+J[a+96>>2]>>2]=0}e=J[f+24>>2];a:{if((e|0)>=(g|0)){e=J[f+32>>2];break a}if((e|0)>0){Za(J[f+20>>2],J[f+32>>2])}e=id(J[f+20>>2],g,g>>31);J[f+8>>2]=e;J[f+32>>2]=e;if(!e){J[f+24>>2]=0;return 0}J[f+24>>2]=g}J[J[a+96>>2]+(b<<2)>>2]=e;J[e>>2]=0;J[e+4>>2]=0;J[e+24>>2]=0;J[e+28>>2]=0;J[e+16>>2]=0;J[e+20>>2]=0;J[e+8>>2]=0;J[e+12>>2]=0;J[e+64>>2]=((c<<2)+e|0)+84;I[e+52>>1]=c;H[e|0]=d;if(!d){a=J[f+8>>2]+h|0;J[e+36>>2]=a;J[a+16>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;J[a>>2]=0;J[a+4>>2]=0}return e}function yr(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;o=((i|0)!=0)<<4;q=o|g&2|1;j=b+8|0;k=J[a+8>>2];while(1){m=J[j>>2];if(m){l=(n<<2)+f|0;j=J[l>>2];a:{if(!j){break a}if(J[m+36>>2]){Na(k,50,j,J[k+108>>2]+2|0)}j=o;p=K[m+55|0]|K[m+56|0]<<8;j=(p&3)==2?K[b+28|0]&128?q:j:j;l=J[l>>2];bb(k,138,d+n|0,l,l+1|0,L[(p&8?50:52)+m>>1]);l=J[k+108>>2];if((l|0)<=0){break a}I[(J[k+104>>2]+P(l,20)|0)-18>>1]=j}n=n+1|0;j=m+20|0;continue}break}b:{if(K[b+28|0]&128){break b}d=K[a+18|0];Pa(k,128,c,J[(n<<2)+f>>2],e);if(!K[a+18|0]){sc(k,b,-5)}a=J[k+108>>2];if((a|0)<=0){break b}b=(J[k+104>>2]+P(a,20)|0)-18|0;a=d?0:g?g|1:33;a=h?a|8:a;I[b>>1]=(i?a|16:a)&255}}function nk(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0;if(K[b+43|0]==1){J[h>>2]=-999;J[g>>2]=-999;return 0}j=J[a>>2];k=Ab(j,J[b+60>>2]);l=J[a+8>>2];e=(e|0)<0?J[a+40>>2]:e;J[g>>2]=e;i=e+1|0;a:{if(!(K[b+28|0]&128|(K[f|0]?0:f))){Cd(a,e,k,b,c);break a}if(K[j+95|0]){break a}rd(a,k,J[b+20>>2],(c|0)==113,J[b>>2])}J[h>>2]=i;j=f+1|0;e=b+8|0;h=0;while(1){e=J[e>>2];if(e){if(!(!(K[b+28|0]&128)|((K[e+55|0]|K[e+56|0]<<8)&3)!=2)){J[g>>2]=i;d=0}b:{if(K[h+j|0]?0:f){break b}Pa(l,c,i,J[e+44>>2],k);zd(a,e);m=J[l+108>>2];if((m|0)<=0){break b}I[(J[l+104>>2]+P(m,20)|0)-18>>1]=d&255}i=i+1|0;h=h+1|0;e=e+20|0;continue}break}if(J[a+40>>2]<(i|0)){J[a+40>>2]=i}return h}function kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(K[a+20|0]){b=0}else{e=J[a+12>>2];if(!e){Jh(a,18);return J[a+8>>2]+(J[a+16>>2]^-1)|0}g=K[a+21|0]&4?J[a+4>>2]:g;f=J[a+16>>2];d=f+b|0;c=d>>>0<f>>>0?c+1|0:c;d=d+1|0;c=d?c:c+1|0;h=d;i=c;d=d+f|0;c=h>>>0>d>>>0?c+1|0:c;f=c;j=d;d=d>>>0>e>>>0&(c|0)>=0|(c|0)>0;c=d?h:j;d=d?i:f;if((d|0)>0){d=1}else{d=c>>>0>e>>>0&(d|0)>=0}if(d){Nf(a);Jh(a,18);return 0}J[a+8>>2]=c;e=0;d=J[a>>2];b:{if(d){c=_c(d,g,c,e);break b}c=Gd(g,c,e)}if(!c){break a}c:{if(K[a+21|0]&4){break c}e=J[a+16>>2];if(!e){break c}Qa(c,J[a+4>>2],e)}J[a+4>>2]=c;J[a+8>>2]=ff(J[a>>2],c);H[a+21|0]=K[a+21|0]|4}return b}Nf(a);Jh(a,7);return 0}function Bq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!K[a+6|0]|J[a+104>>2]>=(b|0)){a=c}else{c=J[a+104>>2];g=7;a:{e=Gd(J[a+100>>2],P(b,48),0);if(!e){break a}Sa(P(c,48)+e|0,0,P(b-c|0,48));J[a+100>>2]=e;i=(b|0)<(c|0)?c:b;while(1){if((c|0)==(i|0)){g=0;break a}d=P(c,48)+e|0;h=J[a+28>>2];J[d+20>>2]=h;b:{if(J[J[a+68>>2]>>2]){b=J[a+80>>2];f=J[a+84>>2];if(!!b&(f|0)>=0|(f|0)>0){break b}}b=J[a+156>>2];f=0}J[d>>2]=b;J[d+4>>2]=f;J[d+24>>2]=J[a+56>>2];b=$i(h);J[d+28>>2]=1;J[d+16>>2]=b;if(!b){break a}b=J[a+232>>2];if(b){J[d+32>>2]=J[b+68>>2];J[d+36>>2]=J[b+76>>2];J[d+40>>2]=J[b+80>>2];J[d+44>>2]=J[b+112>>2]}c=c+1|0;J[a+104>>2]=c;continue}}a=g}return a}function vt(a){var b=0,c=0,d=0,e=0;e=Fa-16|0;Fa=e;c=L[a+16>>1];if(!(c&45)){a:{b:{c:{if(Hd(J[a+8>>2],a,J[a+12>>2],K[a+18|0])>>>0>1){break c}if((Yf(J[a+8>>2],e+8|0,J[a+12>>2],K[a+18|0])|0)>1){break c}c=J[e+8>>2];b=J[e+12>>2];break b}c=0;d=O[a>>3];b=-2147483648;d:{if(d<-0x7ffffffffffffc00){break d}c=-1;b=2147483647;if(d>0x7ffffffffffffc00){break d}if(R(d)<0x8000000000000000){c=~~d>>>0;if(R(d)>=1){b=~~(d>0?T(V(d*2.3283064365386963e-10),4294967295):W((d-+(~~d>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break d}c=0;b=-2147483648}if(aw(d,c,b)){break b}b=8;break a}J[a>>2]=c;J[a+4>>2]=b;b=4}c=b|L[a+16>>1]&-3520}I[a+16>>1]=c&64493;Fa=e+16|0}function ug(a,b,c){var d=0,e=0,f=0,g=0;if(H[b+30|0]&1){if(!c){sc(a,b,-5);e=73192;if(!K[J[a>>2]+87|0]){e=(J[a+104>>2]+P(J[a+108>>2],20)|0)-20|0}H[e|0]=95;Pa(a,97,J[e+4>>2],J[e+8>>2],J[e+12>>2]);return}Na(a,95,c,I[b+36>>1]);sc(a,b,-5);return}a:{d=J[b+12>>2];if(d){break a}f=I[b+34>>1];d=f>>31;f=f+1|0;d=f?d:d+1|0;d=Yb(f,d);if(d){while(1)if(I[b+34>>1]<=(e|0)){while(1){b:{H[d+g|0]=0;if((g|0)<=0){break b}g=g-1|0;if(H[g+d|0]<66){continue}}break}J[b+12>>2]=d;break a}else{f=J[b+4>>2]+P(e,12)|0;if(!(K[f+10|0]&32)){H[d+g|0]=K[f+5|0];g=g+1|0}e=e+1|0;continue}}Db(J[a>>2]);return}b=ob(d)&1073741823;if(b){if(c){$a(a,96,c,b,0,d,b);return}Sd(a,-1,d,b)}}function dC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=H[b|0];e=c&255;a:{if((c|0)>=0){c=b;break a}e=e&127;while(1){f=d+1|0;c=f+b|0;g=H[c|0];e=g&127|e<<7;if(d>>>0>6){break a}d=f;if((g|0)<0){continue}break}}d=c+2|0;b:{if(H[c+1|0]>=0){break b}d=c+3|0;if(H[c+2|0]>=0){break b}d=c+4|0;if(H[c+3|0]>=0){break b}d=c+5|0;if(H[c+4|0]>=0){break b}d=c+6|0;if(H[c+5|0]>=0){break b}d=c+7|0;if(H[c+6|0]>=0){break b}d=c+8|0;if(H[c+7|0]>=0){break b}d=(H[c+8|0]<0?10:9)+c|0}f=L[a+14>>1];c:{if(f>>>0>=e>>>0){a=(e-b|0)+d|0;a=a>>>0<=4?4:a;break c}c=L[a+16>>1];a=((e-c>>>0)%(J[J[a+52>>2]+40>>2]-4>>>0)|0)+c|0;a=((d-b&65535)+(a>>>0>f>>>0?c:a)|0)+4|0}return a&65535}function kx(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Fa-32|0;Fa=f;j=J[d>>2];g=J[e+64>>2];h=J[e+28>>2];J[f+12>>2]=h;J[f+8>>2]=h;J[f+28>>2]=b;k=J[c>>2];J[f+24>>2]=b;i=f+12|0;Zh(f+24|0,a+g|0,0,0,c,i);g=J[f+24>>2];J[f+20>>2]=g;J[f+16>>2]=g;J[c>>2]=k;J[f+12>>2]=h;Zh(f+20|0,a+j|0,1,0,i,c);a=J[f+20>>2];a:{b:{c:{if((b|0)!=(g|0)){if((a|0)==(g|0)){break c}rx(f+8|0,f+28|0,f+16|0);break b}if((a|0)!=(b|0)){me(f+8|0,f+16|0);break b}a=0;break a}me(f+8|0,f+28|0)}b=J[e+28>>2];a=J[f+8>>2]+(b^-1)|0;d:{if((a|0)<0){break d}g=J[e+32>>2];if((g|0)<(a|0)){break d}Sa(a+b|0,0,g-a|0);J[e+32>>2]=a;b=J[e+28>>2]}J[c>>2]=b;J[d>>2]=J[e+64>>2];a=1}Fa=f+32|0;return a}function dD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;h=b;g=c;a:{while(1){b:{Ew(J[a+12>>2],d,e);c:{d:{f=Ia;if((f|0)>0){f=1}else{f=(f|0)>=0}if(f){f=Ja[J[16637]](J[a+12>>2],h,g)|0;e:{if((g|0)==(f|0)){f=g;break e}if((f|0)<0){j=J[18304];if((j|0)==27){continue}J[a+20>>2]=j;i=0;break e}if(f){break c}f=0}g=0;d=f+i|0;if((d|0)==(c|0)){break a}if((d|0)>=0){break d}f=J[a+20>>2];break b}f=J[18304];J[a+20>>2]=f;if((c|0)!=-1){break b}return 0}J[a+20>>2]=0;Sa(b+d|0,0,c-d|0);g=522;break a}h=f+h|0;i=f+i|0;g=g-f|0;d=d+f|0;e=d>>>0<f>>>0?e+1|0:e;continue}break}g=8458;if((f|0)==29|(f|0)==60|(f|0)==68){break a}return 266}return g|0}function Hq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Fa-48|0;Fa=f;m=J[a>>2];i=rb(a);a:{if(!i){break a}l=J[m+16>>2]+(b<<4)|0;while(1){if((h|0)!=3){g=(f+33|0)+h|0;H[g|0]=0;j=J[(h<<3)+50768>>2];k=tc(m,j,J[l>>2]);b:{if(!k){if(h){break b}k=J[l>>2];J[f+8>>2]=3593;J[f+4>>2]=j;J[f>>2]=k;fc(a,25135,f);J[f+36>>2]=J[a+100>>2];H[g|0]=16;break b}g=J[k+20>>2];J[(f+36|0)+(h<<2)>>2]=g;rd(a,b,g,1,j);if(d){g=J[l>>2];J[f+28>>2]=d;J[f+24>>2]=e;J[f+20>>2]=j;J[f+16>>2]=g;fc(a,19581,f+16|0);break b}Na(i,145,g,b)}h=h+1|0;continue}break}bb(i,113,c,J[f+36>>2],b,3);a=J[i+108>>2];if((a|0)<=0){break a}I[(J[i+104>>2]+P(a,20)|0)-18>>1]=K[f+33|0]}Fa=f+48|0}function $w(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=Fa-80|0;Fa=g;J[g+24>>2]=0;J[g+16>>2]=0;J[g+20>>2]=0;J[g+12>>2]=0;a:{if((b|0)<=0){h=267;break a}i=K[a|0];Vd(c,b,g+12|0);h=J[g+12>>2];if(h){break a}J[c+4>>2]=0;h=Gp(g+32|0,a,b);k=(i|0)!=0;while(1){b:{if(!J[g+32>>2]|h){break b}b=J[g+60>>2];h=J[g+56>>2];c:{if(!J[c+4>>2]){i=bx(h,b,d,e);if((i|0)<0|!i&k){break c}i=J[g+48>>2];j=J[g+52>>2];_w(c,H[a|0],i,j);J[f>>2]=i;J[f+4>>2]=j}h=ax(c,g+16|0,h,b,J[g+68>>2],J[g+72>>2]);if(h){break b}}h=Ol(g+32|0);continue}break}if(!J[c+4>>2]){d=H[a|0];b=J[g+48>>2];a=J[g+52>>2];_w(c,d,b,a);J[f>>2]=b;J[f+4>>2]=a}Oa(J[g+56>>2]);Oa(J[g+16>>2])}Fa=g+80|0;return h}function VB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;d=Fa-80|0;Fa=d;a:{if(!c){break a}b=J[c>>2];if(!b|!J[c+8>>2]){break a}b=tc(J[a>>2],b,J[a+4>>2]);if(!b){break a}b:{e=J[c+4>>2];if(!e){c=J[c+8>>2];break b}c:{if(!Ub(J[c>>2],e)){a=ec(b);break c}a=$e(J[a>>2],e,J[a+4>>2])}c=J[c+8>>2];if(!a){break b}e=(K[a+55|0]|K[a+56|0]<<8)&65531;H[a+55|0]=e;H[a+56|0]=e>>>8;Ws(c,L[a+50>>1]+1|0,J[a+8>>2],a);c=K[a+55|0]|K[a+56|0]<<8|128;H[a+55|0]=c;H[a+56|0]=c>>>8;if(J[a+36>>2]){break a}I[b+38>>1]=L[J[a+8>>2]>>1];J[b+28>>2]=J[b+28>>2]|16;break a}I[d+56>>1]=L[b+40>>1];Ws(c,1,b+38|0,d+8|0);I[b+40>>1]=L[d+56>>1];J[b+28>>2]=J[b+28>>2]|16}Fa=d+80|0;return 0}function Tj(a){a=a|0;var b=0,c=0,d=0;c=Fa-576|0;Fa=c;Sa(c+8|0,0,536);b=J[a+20>>2];J[c+568>>2]=J[a+16>>2];J[c+572>>2]=b;b=J[a+12>>2];J[c+560>>2]=J[a+8>>2];J[c+564>>2]=b;d=J[a+52>>2];b=c+552|0;J[b>>2]=J[a+48>>2];J[b+4>>2]=d;d=J[a+44>>2];J[c+544>>2]=J[a+40>>2];J[c+548>>2]=d;J[a+40>>2]=0;J[a+44>>2]=0;J[a+48>>2]=0;J[a+52>>2]=0;lf(a+24|0);while(1){b=J[b>>2];if(b){Mh(c+8|0,J[b+8>>2]);continue}break}lf(c+544|0);J[a+8>>2]=0;J[a+12>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;b=c+568|0;while(1){b=J[b>>2];if(b){xd(c+8|0,J[b+8>>2]);continue}break}lf(c+560|0);lf(a+56|0);J[a+72>>2]=0;b=L[a+78>>1];if(b&1){J[a+4>>2]=J[a+4>>2]+1}I[a+78>>1]=b&65526;Fa=c+576|0}function hH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{e=wb(a,16);if(!e){break a}b:{c:{d:{switch(Ng(J[c+4>>2])-1|0){case 0:g=fb(J[c+4>>2]);b=Ia;break c;case 1:break d;default:break b}}d=yb(J[c+4>>2]);e:{if(R(d)<0x8000000000000000){g=~~d>>>0;if(R(d)>=1){b=~~(d>0?T(V(d*2.3283064365386963e-10),4294967295):W((d-+(~~d>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break e}b=-2147483648}if(+(g>>>0)+ +(b|0)*4294967296!=d){break b}}if(!g&(b|0)<=0|(b|0)<0){break b}f=J[e+4>>2];h=J[e>>2]+1|0;f=h?f:f+1|0;J[e>>2]=h;J[e+4>>2]=f;if((g|0)!=(h|0)|(b|0)!=(f|0)){break a}b=pj(J[c>>2]);J[e+8>>2]=b;if(b){break a}Qb(a);return}Bb(a,9431,-1)}}function Hv(a,b){var c=0,d=0,e=0;if(a){if(!sl(a)){return Nc(179340)}if(K[a+94|0]&8){Ja[J[a+212>>2]](8,J[a+216>>2],a,0)|0}ue(a);while(1){if((d|0)<J[a+20>>2]){a:{c=J[(J[a+16>>2]+(d<<4)|0)+12>>2];if(!c){break a}c=c+16|0;while(1){c=J[c>>2];if(!c){break a}e=J[c+8>>2];if(K[e+43|0]!=1){continue}Gv(a,e);continue}}d=d+1|0;continue}break}c=a+396|0;while(1){c=J[c>>2];if(c){d=J[J[c+8>>2]+20>>2];if(!d){continue}Gv(a,d);continue}break}lm(a);Fv(a);b:{if(b){break b}if(!cx(a)){break b}Zd(a,5,4788,0);return 5}while(1){b=J[a+532>>2];if(b){J[a+532>>2]=J[b>>2];c=J[b+8>>2];if(c){Ja[c|0](J[b+4>>2])}Oa(b);continue}break}H[a+97|0]=167;Im(a)}return 0}function qf(a,b,c){var d=0,e=0,f=0,g=0;d=K[a+25|0];a:{if(!d){d=J[a>>2];if(K[J[d+4>>2]+8|0]&8){mq(a);break a}if(K[a+24|0]){$f(d,J[a+4>>2],J[a+16>>2],J[a+20>>2],-1);break a}b:{if(wq(a)){if(!(!J[b+8>>2]|(K[b+36|0]|!b))){e=J[a+4>>2];d=e-8|0;f=d;g=J[d>>2];d=J[d+4>>2];g=g+1|0;d=g?d:d+1|0;J[f>>2]=g;J[f+4>>2]=d;J[b+12>>2]=e;d=J[a+16>>2];H[b+36|0]=1;J[b+20>>2]=d;if((Ly(c,b)|0)==7){break b}}d=J[a>>2];f=J[a+4>>2];b=f-8|0;c=b;e=J[b>>2];b=J[b+4>>2];e=e+1|0;b=e?b:b+1|0;J[c>>2]=e;J[c+4>>2]=b;$f(d,f,J[a+16>>2],J[a+20>>2],9);break a}Qb(J[a>>2]);break a}Qb(c);break a}if(d&1){Qb(J[a>>2]);break a}if(!(d&2)){break a}Bb(J[a>>2],19961,-1)}ig(a)}function ih(a,b,c){var d=0,e=0;d=J[a+24>>2];a:{b:{c:{if(!(!c|(d|0)<=0)){d=J[a+32>>2];e=J[a+8>>2];if((d|0)!=(e|0)){break c}c=b>>31;d=J[a+20>>2];d:{if(d){d=Oi(d,e,b,c);J[a+32>>2]=d;break d}d=Gd(e,b,c);J[a+32>>2]=d;if(d){break d}Oa(J[a+8>>2]);d=J[a+32>>2]}J[a+8>>2]=d;b=1;break a}if((d|0)<=0){break b}d=J[a+32>>2]}Za(J[a+20>>2],d)}d=id(J[a+20>>2],b,b>>31);J[a+32>>2]=d;b=!c}if(!d){Rb(a);J[a+24>>2]=0;J[a+8>>2]=0;return 7}J[a+24>>2]=ff(J[a+20>>2],d);e:{if(b){break e}b=J[a+8>>2];if(!b){break e}Qa(J[a+32>>2],b,J[a+12>>2])}b=L[a+16>>1];if(b&4096){Ja[J[a+36>>2]](J[a+8>>2]);b=L[a+16>>1]}I[a+16>>1]=b&36863;J[a+8>>2]=J[a+32>>2];return 0}function go(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=J[a+56>>2];h=K[a+9|0];g=h+1|0;d=f+g|0;d=K[d|0]<<8|K[d+1|0];i=J[J[a+52>>2]+40>>2];j=i-b|0;a:{b:{while(1){a=d;if((d|0)>(j|0)){break b}d=d+f|0;e=(K[d+2|0]<<8|K[d+3|0])-b|0;if((e|0)>=0){if(e>>>0<=3){a=f+h|0;if(K[a+7|0]>57){break a}b=f+g|0;c=K[d|0]|K[d+1|0]<<8;H[b|0]=c;H[b+1|0]=c>>>8;H[a+7|0]=K[a+7|0]+e;return d}a=a+e|0;if((a|0)>(j|0)){J[c>>2]=Ta(71848);return 0}b=e<<8|(e&65280)>>>8;H[d+2|0]=b;H[d+3|0]=b>>>8;return a+f|0}g=a;d=K[d+1|0]|K[d|0]<<8;if(a>>>0<d>>>0){continue}break}if(!d){break a}J[c>>2]=Ta(71863);return 0}if((a|0)<=(i-4|0)){break a}J[c>>2]=Ta(71870)}return 0}function cy(a){var b=0,c=0,d=0,e=0;c=J[a>>2];b=J[a+4>>2];H[b+19|0]=0;a:{if(!K[a+8|0]){break a}if(J[c+188>>2]>=2){b:{if(J[b+80>>2]!=(a|0)){break b}J[b+80>>2]=0;I[b+24>>1]=L[b+24>>1]&65343;d=b+76|0;while(1){c=J[d>>2];if(!c){break b}H[c+8|0]=1;d=c+12|0;continue}}H[a+8|0]=1;return}c=b+76|0;while(1){d=J[c>>2];if(d){if(J[d>>2]!=(a|0)){c=d+12|0;continue}J[c>>2]=J[d+12>>2];if(J[d+4>>2]==1){continue}Oa(d);continue}break}c:{d:{if(J[b+80>>2]==(a|0)){J[b+80>>2]=0;c=J[b+44>>2];e=65343;break d}c=2;e=65407;d=J[b+44>>2];if((d|0)!=2){break c}}I[b+24>>1]=L[b+24>>1]&e;d=c}c=d-1|0;J[b+44>>2]=c;if(c){break a}H[b+20|0]=0}H[a+8|0]=0;Ao(b)}function wj(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;j=1;i=d&2147483647;k=i;l=(i|0)==2147418112;a:{if(l&!c?a|b:l&(c|0)!=0|i>>>0>2147418112){break a}i=h&2147483647;if(!g&(i|0)==2147418112?e|f:(i|0)==2147418112&(g|0)!=0|i>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(i|k)))){return 0}j=d&h;if((j|0)>0){k=1}else{k=(j|0)>=0}if(k){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0<e>>>0|b>>>0<f>>>0:c>>>0<g>>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}j=(a^e|c^g|(b^f|d^h))!=0}return j}function ei(a,b){var c=0,d=0,e=0,f=0,g=0;d=J[a+12>>2];c=d;e=J[a+8>>2];d=c<<1|e>>>31;g=d;f=b+e|0;d=f>>>0<e>>>0?c+1|0:c;f=f+10|0;d=f>>>0<10?d+1|0:d;c=!c&b>>>0<e>>>0|(c|0)!=0;b=c?e<<1:f;d=c?g:d;a:{b:{c:{if(K[a+24|0]){c=1;if(K[a+25|0]){break a}c=lo(b,d);if(c){break c}H[a+25|0]=K[a+25|0]|1;b=J[a>>2];if(b){Qb(b)}ig(a);return 7}e=J[a+4>>2]-8|0;c=d;g=b+9|0;c=g>>>0<9?c+1|0:c;c=Bc(e,g,c);if(c){J[a+4>>2]=c+8;break b}Oa(e);H[a+24|0]=1;J[a+16>>2]=0;J[a+20>>2]=0;J[a+8>>2]=100;J[a+12>>2]=0;J[a+4>>2]=a+26;H[a+25|0]=K[a+25|0]|1;return 7}c=Qa(c,J[a+4>>2],J[a+16>>2]);H[a+24|0]=0;J[a+4>>2]=c}J[a+8>>2]=b;J[a+12>>2]=d;c=0}return c}function Up(a,b,c,d,e,f,g,h){var i=0,j=0;i=f+(c>>31)|0;c=c+e|0;i=c>>>0<e>>>0?i+1|0:i;j=c;c=f<<3|e>>>29;f=e<<3;e=j+f|0;c=c+i|0;c=e>>>0<f>>>0?c+1|0:c;f=c+(d>>31)|0;j=d;d=d+e|0;f=j>>>0>d>>>0?f+1|0:f;c=c<<3|e>>>29;e=e<<3;d=e+d|0;c=c+f|0;c=d>>>0<e>>>0?c+1|0:c;i=c+(g>>31)|0;e=d+g|0;i=e>>>0<g>>>0?i+1|0:i;c=c<<3|d>>>29;f=e;e=d<<3;d=f+e|0;c=c+i|0;c=d>>>0<e>>>0?c+1|0:c;f=c+(h>>31)|0;e=d+h|0;f=e>>>0<h>>>0?f+1|0:f;c=c<<3|d>>>29;d=d<<3;e=d+e|0;c=c+f|0;f=d>>>0>e>>>0?c+1|0:c;c=0;g=(b|0)>0?b:0;while(1){if((c|0)!=(g|0)){d=H[a+c|0];b=lJ(e,f,9,0);e=d+b|0;i=Ia+(d>>31)|0;f=b>>>0>e>>>0?i+1|0:i;c=c+1|0;continue}break}Ia=f;return e}function If(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=L[a+24>>1];k=K[a+10|0];f=J[a+56>>2];g=K[a+9|0];b=f+g|0;c=(K[b+5|0]<<8|K[b+6|0])-1&65535;d=(c+K[b+7|0]|0)+1|0;e=J[J[a+52>>2]+40>>2];a:{b:{b=K[b+2|0]|K[b+1|0]<<8;if(!b){break b}if(b>>>0<=c>>>0){break a}l=e-4|0;while(1){if((b|0)>(l|0)){return Ta(72205)}c=b+f|0;h=K[c+2|0]<<8|K[c+3|0];i=b+h|0;d=d+h|0;b=K[c+1|0]|K[c|0]<<8;if(b>>>0>i+3>>>0){continue}break}if(b){return Ta(72215)}if(e>>>0>=i>>>0){break b}return Ta(72219)}c:{if((d|0)<=(e|0)){b=((k+g|0)+(j<<1)|0)+8|0;if((b|0)<=(d|0)){break c}}return Ta(72231)}J[a+20>>2]=d-b&65535;return 0}return Ta(72200)}function $m(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;f=Fa-16|0;Fa=f;a:{e=J[b>>2];g=e+c|0;if(g>>>0>M[b+4>>2]){b:{c:{if((g|0)>=200){J[f>>2]=200;Ra(a,17493,f);break c}g=J[a>>2];h=e>>31<<1|e>>>31;i=e<<1;e=i+c|0;a=h+(c>>31)|0;a=e>>>0<i>>>0?a+1|0:a;h=(a|0)>=0&e>>>0>=200|(a|0)>0;e=h?200:e;b=_c(g,b,e<<6|8,(h?0:a)<<6|e>>>26);if(b){break b}}b=0;break a}J[b+4>>2]=e;e=J[b>>2]}a=b+8|0;while(1){if((d|0)<(e|0)){e=e-1|0;Qa(a+(e+c<<6)|0,a+(e<<6)|0,64);continue}break}J[b>>2]=J[b>>2]+c;Sa(((d<<6)+b|0)+8|0,0,c<<6);a=c+d|0;a=(a|0)<(d|0)?d:a;while(1){if((a|0)==(d|0)){break a}J[((d<<6)+b|0)+48>>2]=-1;d=d+1|0;continue}}Fa=f+16|0;return b}function vj(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;k=-1;i=d&2147483647;j=i;l=(i|0)==2147418112;a:{if(l&!c?a|b:l&(c|0)!=0|i>>>0>2147418112){break a}i=h&2147483647;if(!g&(i|0)==2147418112?e|f:(i|0)==2147418112&(g|0)!=0|i>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(i|j)))){return 0}i=d&h;if((i|0)>0){j=1}else{j=(i|0)>=0}if(j){if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0<e>>>0|b>>>0<f>>>0:c>>>0<g>>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}k=(a^e|c^g|(b^f|d^h))!=0}return k}function iy(a,b,c,d,e,f,g,h,i,j,k){var l=0,m=0;a:{if(!(c|d)){l=267;if(e|f){break a}m=j+20|0}l=pb(m+96|0,0);if(!l){return 7}l=Sa(l,0,96);J[l+24>>2]=g;J[l+28>>2]=h;J[l+16>>2]=e;J[l+20>>2]=f;J[l+8>>2]=c;J[l+12>>2]=d;H[l+4|0]=(b|0)!=0;J[l>>2]=a;b:{if(m){J[l+44>>2]=j;H[l+5|0]=1;a=l+96|0;J[l+40>>2]=a;if(j){Qa(a,i,j)}a=a+j|0;H[a|0]=0;H[a+1|0]=0;H[a+2|0]=0;H[a+3|0]=0;H[a+4|0]=0;H[a+5|0]=0;H[a+6|0]=0;H[a+7|0]=0;H[a+16|0]=0;H[a+17|0]=0;H[a+18|0]=0;H[a+19|0]=0;H[a+8|0]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;break b}J[l+32>>2]=c-1;J[l+36>>2]=d-!c}J[k>>2]=l;l=0}return l}function Sz(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=J[a+8>>2];g=J[e>>2];a:{switch(b-1|0){case 1:c=J[a+44>>2];J[a+44>>2]=c+g;b=0;k=(g|0)>0?g:0;i=g-1|0;c=c+1|0;l=g+J[h+108>>2]|0;while(1){if((b|0)!=(k|0)){g=b+c|0;j=b+f|0;m=hd(a,J[((b<<4)+e|0)+8>>2]);b:{if((b|0)<(i|0)){Pa(h,52,j,l,g);break b}Pa(h,53,j,d,g)}Sd(h,-1,m,-2);g=J[h+108>>2];if((g|0)>0){I[(J[h+104>>2]+P(g,20)|0)-18>>1]=128}b=b+1|0;continue}break};Pa(h,80,f,c,i);return c;default:b=vb(a);bb(h,29,c,d,f,g);Pa(h,97,f,g,b);bb(h,138,c,b,f,g);d=J[h+108>>2];if((d|0)>0){I[(J[h+104>>2]+P(d,20)|0)-18>>1]=16}mb(a,b);i=c;break;case 0:break a}}return i}function Cx(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=Fa-32|0;Fa=e;J[e+16>>2]=b;J[e+28>>2]=0;b=7;g=ub(8863,e+16|0);a:{if(!g){break a}j=ob(g);b=Np(g,e+28|0);f=b?b:g;h=f+J[e+28>>2]|0;H[h|0]=0;ci(f);b=1;k=Wl(a,f,ob(f)+1|0);b:{if(k){j=g+j|0;c:{while(1){d:{b=l;a=h+1|0;if(a>>>0>=j>>>0){break d}f=Np(a,e+28|0);if(!f){break d}l=b+1|0;m=l?m:m+1|0;a=Bc(i,l<<2&-4,0);if(!a){break c}J[a+(b<<2)>>2]=f;h=f+J[e+28>>2]|0;H[h|0]=0;ci(f);i=a;continue}break}b=Ja[J[k+4>>2]](b,i,c)|0;e:{if(b){Nd(d,9162,0);break e}J[J[c>>2]>>2]=k}Oa(i);break b}Oa(g);Oa(i);b=7;break a}J[e>>2]=f;Nd(d,7781,e)}Oa(g)}Fa=e+32|0;return b}function QB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=K[e|0]+e|0;l=K[c|0]+c|0;a:{j=K[c+1|0];h=K[e+1|0];b:{c:{if((j|0)==(h|0)){j=K[j+34340|0];while(1){if((g|0)==(j|0)){break b}h=g+k|0;i=g+l|0;g=g+1|0;i=K[i|0]-K[h|0]|0;if(!i){continue}break}g=H[l|0];if((g^K[k|0])<<24>>24>=0){break c}g=g>>31|1;break a}i=j-h|0;h=h>>>0>7;if(h&j>>>0>=8){break c}g=1;i=j>>>0>7?-1:i;h=h?1:i;if((h|0)>0){i=H[l|0]<0?-1:h;break c}if(H[k|0]<0){break a}}g=i;if(g){break a}}if(L[J[J[a+12>>2]+28>>2]+6>>1]>=2){a=$s(a,b,c,d,e,f)}else{a=0}return a|0}return(K[J[J[J[a+12>>2]+28>>2]+16>>2]]?0-g|0:g)|0}function $u(a,b,c,d,e){var f=0,g=0,h=0;g=Fa-16|0;Fa=g;if(a){a:{b:{if(!e){break b}f=J[a+4>>2];f=Ja[J[J[f>>2]+28>>2]](f,4)|0;if(f){break a}if(!K[a+43|0]){H[a+43|0]=1}f=zv(a,b,0,0,0,c,d,e,0,0);if(f){break a}J[g+12>>2]=-1;b=J[a+4>>2];c=J[b>>2];if(!c){h=1;break b}Ja[J[c+40>>2]](b,10,g+12|0)|0;h=1;if(J[g+12>>2]!=1){break b}h=0;if(J[a+20>>2]<0){break b}Su(a,0,0)}f=0}Io(a,h);b=J[a+8>>2];c=J[b>>2];if(c){Ja[J[c+4>>2]](b)|0;J[b>>2]=0}c:{if(!h){break c}b=J[18291];if(b){Ja[b|0]()}b=J[a>>2];c=J[b+28>>2];if(c){Ja[c|0](b,J[a+108>>2],0)|0}b=J[18292];if(!b){break c}Ja[b|0]()}Oa(J[a+32>>2]);Oa(a)}Fa=g+16|0;return f}function dr(a,b,c,d){var e=0,f=0,g=0;f=nc(a,167,0,0);if(f){e=(c<<6)+b|0;a=J[e+24>>2];J[f+44>>2]=a;J[f+28>>2]=J[e+48>>2];if(I[a+32>>1]==(d|0)){I[f+32>>1]=65535;return f}I[f+32>>1]=d;if(!(!(K[a+28|0]&96)|!(K[(J[a+4>>2]+P(d,12)|0)+10|0]&96))){b=(c<<6)+b|0;a=I[a+34>>1];c=a>>31;d=a&31;if((a&63)>>>0>=32){e=-1<<d;d=0}else{e=(1<<d)-1&-1>>>32-d;d=-1<<d;e=e|d}d=d^-1;e=e^-1;a=a>>>0>63&(c|0)>=0|(c|0)>0;J[b+56>>2]=a?-1:d;J[b+60>>2]=a?-1:e;return f}b=(c<<6)+b|0;a=b+56|0;e=J[b+60>>2];g=J[b+56>>2];c=(d|0)>=63?63:d;b=c&31;if((c&63)>>>0>=32){c=1<<b;d=0}else{d=1<<b;c=d-1&1>>>32-b}J[a>>2]=g|d;J[a+4>>2]=c|e}return f}function gE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if((b|0)==2){b:{if((Fb(J[c>>2])|0)!=5){if((Fb(J[c+4>>2])|0)!=5){break b}}Mb(a);return}d=Wa(J[c>>2]);i=Wa(J[c+4>>2]);e=gc(ob(d)+1|0);if(!e){break a}g=e;while(1){c=i;f=ze(d);if(f){while(1){h=ze(c);if(!(!h|(f|0)==(h|0))){while(1){b=K[c+1|0];c=c+1|0;if((b&192)==128){continue}break}continue}break}b=c;if(h){while(1){f=K[b+1|0];b=b+1|0;if((f&192)==128){continue}break}b=b-c|0;g=yw(g,c,b)+b|0}while(1){b=K[d+1|0];d=d+1|0;if((b&192)==128){continue}break}continue}break}H[g|0]=0;lb(a,e,-1,-1);Oa(e);return}Z(23662,17942,939,17657);D()}Qb(a)}function GI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=Fa-144|0;Fa=f;e=Wa(J[c>>2]);c=0;g=J[J[a>>2]+20>>2];b=J[g+20>>2];d=(b|0)>0?b:0;i=e?e:30620;a:{b:{while(1){if((c|0)==(d|0)){d=8201;break b}c:{e=J[g+16>>2];b=e+(c<<4)|0;h=J[b+4>>2];if(h){if(Ik(g,c,i)){break c}}c=c+1|0;continue}break}d=6858;if(c>>>0<2){break b}d=16064;if(K[h+8|0]|J[h+16>>2]){break b}d=e+(c<<4)|0;c=J[e+28>>2]+48|0;while(1){c=J[c>>2];if(c){a=J[c+8>>2];if(J[a+24>>2]!=J[d+12>>2]){continue}J[a+24>>2]=J[a+20>>2];continue}break}mf(h);J[b+4>>2]=0;J[d+12>>2]=0;zq(g);break a}J[f>>2]=i;Bb(a,wd(128,f+16|0,d,f),-1)}Fa=f+144|0}function ho(a,b,c){var d=0,e=0;d=Fa-16|0;Fa=d;a:{b=L[c+18>>1]+b|0;if(b>>>0>M[a+60>>2]){c=Ta(76952);break a}b=ab(b-4|0);e=J[a+52>>2];a=J[e+40>>2]-4|0;a=((a+J[c+12>>2]|0)+(L[c+16>>1]^-1)>>>0)/(a>>>0)|0;while(1){if(!a){c=0;break a}J[d+12>>2]=0;J[d+8>>2]=0;if(!(b>>>0>=2&M[e+48>>2]>=b>>>0)){c=Ta(76969);break a}b:{c:{d:{a=a-1|0;if(a){c=ou(e,b,d+8|0,d+12|0);if(c){break a}c=J[d+8>>2];if(c){break d}}c=jt(e,b);J[d+8>>2]=c;if(c){break d}c=0;break c}if(J[J[c+72>>2]+32>>2]==1){break c}c=Ta(76989);break b}c=it(e,c,b)}b=J[d+8>>2];if(b){ed(J[b+72>>2])}if(c){break a}b=J[d+12>>2];continue}}Fa=d+16|0;return c}function Kt(a,b){var c=0,d=0,e=0,f=0,g=0;f=Fa-16|0;Fa=f;c=J[(J[a+16>>2]+(b<<4)|0)+12>>2];d=c+16|0;while(1){d=J[d>>2];if(d){e=J[d+8>>2];J[e+28>>2]=J[e+28>>2]&-17;continue}break}d=c+32|0;c=d;while(1){c=J[c>>2];if(c){e=J[c+8>>2];g=(K[e+55|0]|K[e+56|0]<<8)&65407;H[e+55|0]=g;H[e+56|0]=g>>>8;continue}break}J[f+8>>2]=a;c=J[J[a+16>>2]+(b<<4)>>2];J[f+12>>2]=c;b=0;e=tc(a,23725,c);a:{if(!e|K[e+43|0]){break a}J[f>>2]=c;c=hb(a,23697,f);if(!c){b=7;break a}b=Rd(a,c,31,f+8|0,0);Za(a,c)}while(1){d=J[d>>2];if(d){c=J[d+8>>2];if(K[c+55|0]&128){continue}mt(c);continue}break}if((b|0)==7){Db(a)}Fa=f+16|0;return b}function NG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Fa+-64|0;Fa=e;d=1;a:{b:{if((b|0)==2){b=fb(J[c+4>>2]);d=b-1|0;f=Ia-!b|0;if(!f&d>>>0>14|f){break b}d=b}c:{d:{e:{f=J[c>>2];switch(K[(L[f+16>>1]&63)+31120|0]-4|0){case 1:break a;case 0:break e;default:break d}}b=0;if(!(d&12)){break c}if(!Pj(f)){break c}b=1;if(d&4){break c}Sa(e+16|0,0,48);J[e+8>>2]=$c(J[c>>2]);b=sb(J[c>>2]);J[e+12>>2]=b;b=!im(e+8|0,0,b,1);break c}b=0;if(!(d&3)){break c}c=jg(a,f,2);if(c){f:{if(K[c+35|0]){Qb(a);break f}if(K[c+34|0]|!(K[c+37|0]?d&2:1)){break f}b=1}Wc(c);break c}Qb(a)}pc(a,b);break a}Bb(a,23351,-1)}Fa=e- -64|0}function Ky(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(!(!c|!f)){if((b|0)!=(e|0)){break a}return!Cb(a,d,b)}h=Fa-16|0;Fa=h;b:{while(1){c:{if(!b){b=0;J[h+12>>2]=0;break c}g=K[a|0];if(!(!c&(g|0)==92)){J[h+12>>2]=g;if(g>>>0>=192){g=nq(a,b,h+12|0);b=b-g|0;a=a+g|0;break c}b=b-1|0;a=a+1|0;break c}g=bm(a,b,h+12|0);b=b-g|0;a=a+g|0}d:{if(!e){e=0;J[h+8>>2]=0;break d}g=K[d|0];if(!(!f&(g|0)==92)){J[h+8>>2]=g;if(g>>>0>=192){g=nq(d,e,h+8|0);e=e-g|0;d=d+g|0;break d}e=e-1|0;d=d+1|0;break d}g=bm(d,e,h+8|0);e=e-g|0;d=d+g|0}g=J[h+12>>2];i=0;if((g|0)!=J[h+8>>2]){break b}if(g){continue}break}i=1}g=i;Fa=h+16|0}return g}function Ss(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=Fa-16|0;Fa=a;f=+aa();e=f/1e3;a:{if(R(e)<0x8000000000000000){c=~~e>>>0;if(R(e)>=1){d=~~(e>0?T(V(e*2.3283064365386963e-10),4294967295):W((e-+(~~e>>>0>>>0))*2.3283064365386963e-10))>>>0}else{d=0}break a}d=-2147483648}J[a>>2]=c;J[a+4>>2]=d;e=(f-(+(lJ(c,d,1e3,0)>>>0)+ +(Ia|0)*4294967296))*1e3;b:{if(R(e)<2147483648){d=~~e;break b}d=-2147483648}J[a+8>>2]=d;c=J[a+8>>2]/1e3|0;d=lJ(J[a>>2],J[a+4>>2],1e3,0);g=c+d|0;c=Ia+(c>>31)|0;c=(d>>>0>g>>>0?c+1|0:c)+49096|0;d=g+1045635584|0;c=d>>>0<1045635584?c+1|0:c;J[b>>2]=d;J[b+4>>2]=c;Fa=a+16|0;return 0}function fz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;k=(b|0)>0?b:0;while(1){if((h|0)!=(k|0)){i=sb(J[(h<<2)+c>>2]);g=i+g|0;f=(i>>31)+f|0;f=g>>>0<i>>>0?f+1|0:f;h=h+1|0;continue}break}h=P(b-1|0,d);b=f+(h>>31)|0;f=g+h|0;b=f>>>0<g>>>0?b+1|0:b;f=f+1|0;b=f?b:b+1|0;b=pb(f,b);if(b){g=0;f=0;h=0;while(1){if((h|0)!=(k|0)){j=(h<<2)+c|0;i=sb(J[j>>2]);a:{if((i|0)<=0){break a}j=Wa(J[j>>2]);if(!j){break a}if(!(!g&(f|0)<=0|(f|0)<0|(d|0)<=0)){Qa(b+g|0,e,d);g=d+g|0;f=g>>>0<d>>>0?f+1|0:f}Qa(b+g|0,j,i);f=(i>>31)+f|0;j=g;g=g+i|0;f=j>>>0>g>>>0?f+1|0:f}h=h+1|0;continue}break}H[b+g|0]=0;$f(a,b,g,f,1);return}Qb(a)}function VG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;b=Fa+-64|0;Fa=b;e=b+8|0;Sa(e,0,56);J[b+24>>2]=J[J[a>>2]+20>>2];g=Pj(J[c>>2]);d=J[c>>2];a:{b:{if(g){J[b+8>>2]=$c(d);c=sb(J[c>>2]);J[b+12>>2]=c;c=im(e,0,c,1);d=0;break b}d=Wa(d);J[b+20>>2]=d;if(!d){break a}J[b+28>>2]=sb(J[c>>2]);c=0;d=0;if(!hm(b+8|0,0)){break b}c=-1;d=-1;if(K[b+43|0]){break b}c=0;e=J[b+20>>2];g=J[b+36>>2];while(1){c:{if((c|0)==(g|0)){break c}d=K[c+e|0];if(!d){break c}c=c+1|0;d=(d&192)!=128;h=d+h|0;f=d>>>0>h>>>0?f+1|0:f;continue}break}c=h+1|0;d=c?f:f+1|0}pf(b+8|0);if((d|0)<0){Qb(a);break a}Vb(a,c,d)}Fa=b- -64|0}function mx(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Fa-16|0;Fa=e;f=J[b>>2];a:{b:{d=J[b+8>>2];c:{if(!d){d=f;if(!d){break c}}g=f+J[b+4>>2]|0;if(g>>>0>d>>>0){break b}}H[c|0]=1;break a}h=uc(d,e)+d|0;J[e+12>>2]=h;d:{if(!(J[b+8>>2]?K[a+239|0]:0)){d=J[b+20>>2]+J[e+4>>2]|0;a=J[e>>2];f=a+J[b+16>>2]|0;J[b+16>>2]=f;J[b+20>>2]=a>>>0>f>>>0?d+1|0:d;break d}d=J[b+16>>2];a=J[e>>2];f=d-a|0;a=J[b+20>>2]-(J[e+4>>2]+(a>>>0>d>>>0)|0)|0;J[b+16>>2]=f;J[b+20>>2]=a}J[b+28>>2]=h;me(0,e+12|0);d=J[e+12>>2];J[b+32>>2]=d-J[b+28>>2];while(1){if(!(K[d|0]|d>>>0>=g>>>0)){d=d+1|0;continue}break}J[b+8>>2]=d;H[c|0]=0}Fa=e+16|0}function Pi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!J[a+408>>2]){break b}j=c+1|0;while(1){if(f){break a}if(J[a+384>>2]<=(g|0)){break b}f=0;e=J[J[a+408>>2]+(g<<2)>>2];h=J[e+8>>2];c:{if(!h){break c}d=J[J[e+4>>2]>>2];if(J[d>>2]<2){break c}J[e+12>>2]=J[e+12>>2]+1;d:{e:{switch(b|0){case 0:d=J[d+80>>2];J[e+20>>2]=j;break d;case 2:d=J[d+88>>2];break d;default:break e}}d=J[d+84>>2]}if(!(!d|J[e+20>>2]<=(c|0))){f=J[a+36>>2];i=J[a+32>>2];J[a+32>>2]=i&-268435457;J[a+36>>2]=f;f=Ja[d|0](h,c)|0;d=J[a+36>>2];J[a+32>>2]=J[a+32>>2]|i&268435456;J[a+36>>2]=d}Kf(e)}g=g+1|0;continue}}f=0}return f}function Kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;while(1){if(!(J[c>>2]|!b)){d=J[b+20>>2];if(d){_h(d);if(J[d+40>>2]){g=0;f=J[d+64>>2];i=(f|0)>0?f:0;while(1){if((g|0)!=(i|0)){a:{f=J[(P(g,24)+d|0)+92>>2];if(!f){break a}J[f+36>>2]=1;h=0;J[f+8>>2]=0;e=J[f+4>>2];j=(e|0)>0?e:0;while(1){if((h|0)==(j|0)){break a}e=J[f>>2]+(h<<2)|0;J[J[e>>2]+80>>2]=0;e=J[e>>2];J[e+88>>2]=0;J[e+92>>2]=0;J[e+84>>2]=0;h=h+1|0;continue}}g=g+1|0;continue}break}J[c>>2]=tx(a,0,d)}J[d+48>>2]=0;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=0}I[b+32>>1]=0;J[b+24>>2]=0;J[b+28>>2]=0;Kl(a,J[b+12>>2],c);b=J[b+16>>2];continue}break}}function tm(a,b){var c=0,d=0,e=0,f=0;c=J[b+4>>2];if(!(c&32|K[b|0]!=167)){a=De(a,J[b+28>>2]);return a}if(!(c&8454144)){if(K[b|0]==179){d=De(a,J[b+28>>2]);e=Ia}c=J[b+12>>2];if(c){d=tm(a,c)|d;e=e|Ia}c=J[b+16>>2];a:{if(c){d=tm(a,c)|d;e=e|Ia;break a}c=J[b+4>>2];if(c&4096){if(c&64){J[a>>2]=1}d=Sq(a,J[b+20>>2])|d;e=e|Ia;break a}c=J[b+20>>2];if(!c){break a}d=We(a,c)|d;e=e|Ia}b:{c:{switch(K[b|0]-168|0){case 0:case 4:break c;default:break b}}if(!(H[b+7|0]&1)){break b}c=We(a,J[J[b+44>>2]+8>>2]);f=Ia;c=We(a,J[J[b+44>>2]+12>>2])|c;f=Ia|f;d=Ve(a,J[J[b+44>>2]+40>>2])|c|d;e=e|(Ia|f)}}Ia=e;return d}function zq(a){var b=0,c=0,d=0,e=0,f=0;c=2;d=2;while(1){if((d|0)<J[a+20>>2]){e=J[a+16>>2];b=e+(d<<4)|0;a:{if(!J[b+4>>2]){Ua(a,J[b>>2]);J[b>>2]=0;break a}if((c|0)<(d|0)){f=J[b+4>>2];e=e+(c<<4)|0;J[e>>2]=J[b>>2];J[e+4>>2]=f;f=J[b+12>>2];J[e+8>>2]=J[b+8>>2];J[e+12>>2]=f}c=c+1|0}d=d+1|0;continue}break}J[a+20>>2]=c;b:{if((c|0)>2){break b}c=J[a+16>>2];b=a+460|0;if((c|0)==(b|0)){break b}d=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=d;d=J[c+28>>2];J[b+24>>2]=J[c+24>>2];J[b+28>>2]=d;d=J[c+20>>2];J[b+16>>2]=J[c+16>>2];J[b+20>>2]=d;d=J[c+12>>2];J[b+8>>2]=J[c+8>>2];J[b+12>>2]=d;Ua(a,c);J[a+16>>2]=b}}function af(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!c&b>>>0<=127){H[a|0]=b;return 1}if(!c&b>>>0<=16383){H[a+1|0]=b&127;H[a|0]=b>>>7|128;return 2}g=a;f=Fa-16|0;a:{if(c>>>0<16777216){e=1;while(1){d=h;H[d+(f+6|0)|0]=b|128;a=e;e=a+1|0;h=d+1|0;i=!c&b>>>0>127|(c|0)!=0;j=c;c=c>>>7|0;b=(j&127)<<25|b>>>7;if(i){continue}break}H[f+6|0]=K[f+6|0]&127;e=0;while(1){if((a|0)==(e|0)){break a}H[e+g|0]=K[(f+6|0)+d|0];e=e+1|0;d=d-1|0;continue}}H[g+8|0]=b;a=c;c=a>>>8|0;b=(a&255)<<24|b>>>8;d=7;while(1){if((d|0)>=0){H[d+g|0]=b|128;d=d-1|0;a=c;c=a>>>7|0;b=(a&127)<<25|b>>>7;continue}break}h=9}return h}function nH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{c=wb(a,24);if(!c){break a}d=J[c+12>>2];e=d;b=J[c+8>>2];if(!b&(d|0)<=0|(d|0)<0){break a}i=a;f=J[c>>2];g=J[c+4>>2];a=mJ(f,g,b,d);b:{if(!a){b=J[c+20>>2];a=J[c+16>>2]+1|0;b=a?b:b+1|0;break b}d=J[c+16>>2];c=J[c+20>>2];j=a;h=a>>31;e=lJ(b,e,a,h);b=f-e|0;f=g-(Ia+(e>>>0>f>>>0)|0)|0;e=b;a=a+1|0;b=a>>31;k=a;a=lJ(e,f,a,b);g=Ia;if(a>>>0>d>>>0&(g|0)>=(c|0)|(c|0)<(g|0)){a=mJ(d,c,k,b);b=Ia;a=a+1|0;b=a?b:b+1|0;break b}d=mJ(d-a|0,c-((a>>>0>d>>>0)+g|0)|0,j,h);a=d+e|0;b=Ia+f|0;b=a>>>0<d>>>0?b+1|0:b;a=a+1|0;b=a?b:b+1|0}Vb(i,a,b)}}function iE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if((b|0)==2){if((Fb(J[c>>2])|0)==5){Mb(a);return}h=Wa(J[c>>2]);c=fb(J[c+4>>2]);b=Ia;g=b;if((b|0)<0){Bb(a,9065,-1);return}b=zp(h);e=b>>31;d=e;b:{if((g|0)<=(d|0)&b>>>0>=c>>>0|(d|0)>(g|0)){b=Jl(h);if(!b){break a}lb(a,b,-1,-1);break b}i=ob(h);d=c-b|0;f=gc((i+d|0)+1|0);if(!f){break a}e=g-(e+(b>>>0>c>>>0)|0)|0;g=d+1|0;e=g?e:e+1|0;b=Sg(f,h);c=i+b|0;f=1;d=0;while(1){if((g|0)!=(f|0)|(d|0)!=(e|0)){H[c|0]=32;f=f+1|0;d=f?d:d+1|0;c=c+1|0;continue}break}H[c|0]=0}lb(a,b,-1,-1);Oa(b);return}Z(23662,17942,825,17682);D()}Qb(a)}function Po(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=Fa-16|0;Fa=e;a:{i=J[a+68>>2];if(!(L[a+40>>1]|K[a+50|0]?i:0)){J[c>>2]=0;break a}l=P(b,383);g=i+33>>>12|0;m=J[a+100>>2]+33>>>12|0;while(1){h=0;b:{if((g|0)>=(m|0)){d=el(a,g,e+4|0);if(d){break a}n=J[e+8>>2]-4|0;d=8192;o=J[e+12>>2];p=J[e+4>>2];f=l;while(1){k=f&8191;f=L[(k<<1)+p>>1];if(f){j=f+o|0;if(!(j>>>0>i>>>0|M[a+100>>2]>j>>>0)){h=J[(f<<2)+n>>2]==(b|0)?j:h}if(d){f=k+1|0;d=d-1|0;continue}else{J[c>>2]=0;d=Ta(68048);break a}}break}if(!h){break b}}J[c>>2]=h;d=0;break a}g=g-1|0;continue}}Fa=e+16|0;return d}function FD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;if(f&4095|g&-4096){J[18304]=28;return-1}if(b>>>0>=2147483647){J[18304]=48;return-1}if(a){b=-28}else{i=f&-4096;a:{b:{c:{if(d&32){f=b+15&-16;e=Kw(65536,f+40|0);if(e){break c}f=-48;break a}h=ye(40);f=ga(b|0,c|0,d|0,e|0,i|0,g|0,h+8|0,h|0)|0;if((f|0)>=0){J[h+12>>2]=e;break b}xe(h);break a}Sa(e,0,f);h=e+f|0;J[h>>2]=e;J[h+8>>2]=1;J[h+12>>2]=-1}J[h+32>>2]=c;J[h+24>>2]=i;J[h+28>>2]=g;J[h+16>>2]=d;J[h+4>>2]=b;J[h+36>>2]=J[18441];J[18441]=h;f=J[h>>2]}b=f}return qc(a?b:(b|0)!=-63?b:d&32?d&16?-63:-48:-63)|0}function yz(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;while(1){a:{c=J[a>>2];if(!c){break a}b:{if(K[c+16|0]!=K[b+16|0]|K[c+17|0]!=K[b+17|0]){break b}if(!(L[b+46>>1]|!(K[c+41|0]&64)|(J[b+40>>2]&513)!=513)){d=J[b>>2];e=(d&J[c>>2])==(d|0);d=J[b+4>>2];if(e&(d&J[c+4>>2])==(d|0)){break a}}d=J[b>>2];e=J[c>>2];f=d&e;i=(f|0)!=(e|0);e=J[b+4>>2];g=J[c+4>>2];h=e&g;if(!(i|(h|0)!=(g|0)|I[c+18>>1]>I[b+18>>1]|(I[c+20>>1]>I[b+20>>1]|I[c+22>>1]>I[b+22>>1]))){a=0;break a}if((d|0)!=(f|0)|(e|0)!=(h|0)|I[c+20>>1]<I[b+20>>1]){break b}if(I[c+22>>1]>=I[b+22>>1]){break a}}a=c+56|0;continue}break}return a}function TH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=Fa-16|0;Fa=b;a=wb(a,40);e=Ng(J[c>>2]);a:{if(!a|(e|0)==5){break a}d=J[a+28>>2];f=J[a+24>>2]+1|0;d=f?d:d+1|0;J[a+24>>2]=f;J[a+28>>2]=d;if(!K[a+32|0]){if((e|0)!=1){ez(a,J[a+16>>2],J[a+20>>2]);H[a+32|0]=1;gi(a,yb(J[c>>2]));break a}d=J[a+20>>2];J[b+8>>2]=J[a+16>>2];J[b+12>>2]=d;if(!Vk(b+8|0,fb(J[c>>2]),Ia)){c=J[b+12>>2];J[a+16>>2]=J[b+8>>2];J[a+20>>2]=c;break a}H[a+33|0]=1;ez(a,J[a+16>>2],J[a+20>>2]);H[a+32|0]=1;pm(a,fb(J[c>>2]),Ia);break a}if((e|0)==1){pm(a,fb(J[c>>2]),Ia);break a}H[a+33|0]=0;gi(a,yb(J[c>>2]))}Fa=b+16|0}function Bz(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;j=L[a>>1];g=j;k=a+8|0;f=k;a:{b:{while(1){if(g&65535){i=I[f+8>>1];if((b|0)==(b&J[f>>2])&(c&J[f+4>>2])==(c|0)&(i|0)>=(d|0)){break b}if((d|0)>=(i|0)){h=J[f>>2];i=(h&b)==(h|0);h=J[f+4>>2];if(i&(c&h)==(h|0)){break a}}f=f+16|0;g=g-1|0;continue}break}if(j>>>0>2){g=1;f=k;while(1){i=I[f+8>>1];if((g|0)!=(j|0)){h=g<<4;f=I[(a+h|0)+16>>1]<(i|0)?h+k|0:f;g=g+1|0;continue}break}if((d|0)>=(i|0)){break a}break b}I[a>>1]=j+1;a=(j<<4)+a|0;I[a+18>>1]=e;f=a+8|0}I[f+8>>1]=d;J[f>>2]=b;J[f+4>>2]=c;if(I[f+10>>1]<=(e|0)){break a}I[f+10>>1]=e}}function kc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(!b){break a}f=ff(a,b);f=Ib(a,f,f>>31);if(!f){break a}d=J[b>>2];J[f>>2]=d;J[f+4>>2]=J[b+4>>2];g=b+8|0;e=f+8|0;while(1){if((d|0)<=(k|0)){a=f}else{h=J[g>>2];i=eb(a,h,c);J[e>>2]=i;if(!(!h|(!i|K[h|0]!=178))){d=J[i+16>>2];b:{if(d){l=J[h+16>>2];j=d;break b}d=J[h+12>>2];if((d|0)==(l|0)){break b}j=eb(a,d,c);J[i+16>>2]=j;l=d}J[i+12>>2]=j}J[e+4>>2]=Ob(a,J[g+4>>2]);d=J[g+8>>2];J[e+8>>2]=d;d=d>>>8&65531;H[e+9|0]=d;H[e+10|0]=d>>>8;J[e+12>>2]=J[g+12>>2];g=g+16|0;e=e+16|0;k=k+1|0;d=J[b>>2];continue}break}e=a}return e}function WB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Fa-16|0;Fa=f;d=H[b+1|0];J[f+12>>2]=d;e=b+1|0;a:{b:{c:{while(1){if((d|0)<=11){if((d|0)>=0){break c}Jd(e,f+12|0);d=J[f+12>>2];if((d|0)>11){continue}break c}break}if(!(d&1)){break b}d=d-12>>>1|0;e=K[b|0];if((d+e|0)>(a|0)){H[c+23|0]=Ta(89338);a=0;break a}g=b+e|0;e=J[c+16>>2];g=Cb(g,J[c+8>>2],(d|0)>(e|0)?e:d);if((g|0)>0){break b}if((g|0)<0){break c}if((d|0)==(e|0)){if(L[c+20>>1]>=2){a=vh(a,b,c,1);break a}H[c+26|0]=1;a=H[c+22|0];break a}if((d|0)>(e|0)){break b}}a=H[c+24|0];break a}a=H[c+25|0]}Fa=f+16|0;return a|0}function Os(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;a:{if(!c){break a}e=J[a>>2];b:{c:{d:{e:{if(!b){break e}g=J[c>>2];if(!g){break e}while(1){h=J[b>>2];if((h|0)<=(d|0)){break d}if(!Xa(g,J[(P(d,24)+b|0)+12>>2])){J[f>>2]=g;Ra(a,8307,f)}d=d+1|0;continue}}if(!b){break c}h=J[b>>2]}a=_c(e,b,P(h,24)+36|0,0);break b}a=ib(e,36,0)}if(K[e+87|0]){kt(e,c);Ua(e,c);break a}b=J[a>>2];J[a>>2]=b+1;d=J[c+20>>2];b=a+P(b,24)|0;J[b+28>>2]=J[c+16>>2];J[b+32>>2]=d;d=J[c+12>>2];J[b+20>>2]=J[c+8>>2];J[b+24>>2]=d;d=J[c+4>>2];J[b+12>>2]=J[c>>2];J[b+16>>2]=d;Za(e,c);b=a}Fa=f+16|0;return b}function Wx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;b=Fa-16|0;Fa=b;d=J[J[a>>2]+20>>2];J[b>>2]=-1;J[b+12>>2]=0;J[b+4>>2]=b+12;e=Fa-16|0;Fa=e;J[e+12>>2]=b;a:{while(1){if((f|0)==18){break a}if(J[(f<<3)+32608>>2]!=1004){f=f+1|0;continue}break}c=J[e+12>>2];J[e+12>>2]=c+4;h=J[c>>2];J[e+12>>2]=c+8;g=J[d+32>>2];a=J[d+36>>2];i=J[c+4>>2];b:{if((h|0)>0){c=J[(f<<3)+32612>>2]|g}else{if(h){break b}c=(J[(f<<3)+32612>>2]^-1)&g}J[d+32>>2]=c;J[d+36>>2]=a;if((c|0)==(g|0)){break b}Uf(d,0)}if(!i){break a}J[i>>2]=(J[d+32>>2]&J[(f<<3)+32612>>2])!=0}Fa=e+16|0;Fa=b+16|0;return J[b+12>>2]}function SG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-128|0;Fa=d;a:{if(b&1){Bb(a,3959,-1);break a}J[d>>2]=a;I[d+24>>1]=1;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=100;J[d+12>>2]=0;J[d+4>>2]=d+26;bc(d,123);while(1){if((b|0)>(f|0)){h=f<<2;g=h+c|0;i=L[J[g>>2]+16>>1];e=i&31;if((i&63)>>>0>=32){e=262144>>>e|0}else{e=((1<<e)-1&262144)<<32-e|262148>>>e}if(e&1){jm(d);fm(d,Wa(J[g>>2]),sb(J[g>>2]));bc(d,58);Qj(d,J[(h|4)+c>>2]);f=f+2|0;continue}else{Bb(a,18768,-1);ig(d);break a}}break}bc(d,125);qf(d,0,0);a=J[a>>2];H[a+19|0]=74;I[a+16>>1]=L[a+16>>1]|2048}Fa=d+128|0}function He(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=Fa-32|0;Fa=d;a:{if(b){f=J[a>>2];J[d+28>>2]=a;J[d+16>>2]=0;J[d+12>>2]=76;J[d+8>>2]=75;J[d+4>>2]=f;e=J[a+24>>2];c=e&-134254609;J[a+24>>2]=c;g=e&134254608;while(1){if(J[b>>2]>(h|0)){e=J[((h<<4)+b|0)+8>>2];if(e){c=J[f+228>>2]+J[e+24>>2]|0;J[f+228>>2]=c;i=2;if(sk(f,c)){break a}Hm(d+4|0,e);f=J[d+4>>2];J[f+228>>2]=J[f+228>>2]-J[e+24>>2];c=J[a+24>>2];j=c&134254608;if(j){J[e+4>>2]=J[e+4>>2]|c&32784;c=c&-134254609;J[a+24>>2]=c;g=g|j}if(J[f+36>>2]>0){break a}}h=h+1|0;continue}break}J[a+24>>2]=c|g}i=0}Fa=d+32|0;return i}function _D(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{b:{if(!(J[d+48>>2]|J[d+52>>2])){f=J[d+32>>2];e=J[d+36>>2];if((f|0)==(b|0)&(e|0)==(c|0)){break a}if((c|0)<=(e|0)&b>>>0<=f>>>0|(c|0)<(e|0)){break b}a=J[a>>2];J[d+40>>2]=1;J[d+44>>2]=0;J[d+32>>2]=b;J[d+36>>2]=c;J[d>>2]=a;J[d+4>>2]=a>>31;return}f=J[d+32>>2];e=J[d+36>>2];if((f|0)==(b|0)&(e|0)==(c|0)){break a}if((c|0)<=(e|0)&b>>>0<=f>>>0|(c|0)<(e|0)){break b}g=O[a>>3];J[d+40>>2]=1;J[d+44>>2]=0;J[d+32>>2]=b;J[d+36>>2]=c;O[d+8>>3]=g}return}a=J[d+44>>2];b=J[d+40>>2]+1|0;a=b?a:a+1|0;J[d+40>>2]=b;J[d+44>>2]=a}function fb(a){var b=0,c=0,d=0,e=0;b=L[a+16>>1];if(b&36){Ia=J[a+4>>2];return J[a>>2]}a:{if(b&8){d=-2147483648;c=O[a>>3];if(c<-0x7ffffffffffffc00){break a}e=-1;d=2147483647;if(c>0x7ffffffffffffc00){break a}if(R(c)<0x8000000000000000){a=~~c>>>0;if(R(c)>=1){b=~~(c>0?T(V(c*2.3283064365386963e-10),4294967295):W((c-+(~~c>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}Ia=b;return a}Ia=-2147483648;return 0}if(!(b&18)|!J[a+8>>2]){break a}b=Fa-16|0;Fa=b;J[b+8>>2]=0;J[b+12>>2]=0;Yf(J[a+8>>2],b+8|0,J[a+12>>2],K[a+18|0]);e=J[b+8>>2];d=J[b+12>>2];Fa=b+16|0}Ia=d;return e}function Zm(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-48|0;Fa=d;a:{b:{c:{f=K[b+43|0];d:{if((f|0)==1){f=J[a>>2];if(!J[J[J[ud(f,b)+4>>2]>>2]+52>>2]){break d}if(!J[a+128>>2]|K[J[b+52>>2]+18|0]<=(J[f+32>>2]>>>7&1)>>>0){break a}J[d+32>>2]=J[b>>2];Ra(a,29619,d+32|0);f=K[b+43|0];break c}g=J[b+28>>2];if(!(g&4097)){break c}e=J[a>>2];e:{if(g&1){if((J[e+32>>2]&268435457)==1){break c}e=!K[a+18|0];break e}e=mh(e)}if(!e){break c}}J[d>>2]=J[b>>2];Ra(a,16269,d);break b}e=0;if((f|0)!=2|(J[c+32>>2]|!K[c+10|0]?c:0)){break a}J[d+16>>2]=J[b>>2];Ra(a,1767,d+16|0)}e=1}Fa=d+48|0;return e}function DI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;b=$c(J[c>>2]);c=fb(J[c+4>>2]);if(J[b+16>>2]|J[b+20>>2]){d=J[b+28>>2];g=(c|0)<(d|0)?d:c;while(1){if((c|0)!=(g|0)){d=J[b+40>>2]+(c<<3)|0;f=d;e=J[d>>2];d=J[d+4>>2];e=e+1|0;d=e?d:d+1|0;J[f>>2]=e;J[f+4>>2]=d;c=c+1|0;continue}break}d=J[b+20>>2];c=J[b+16>>2]+1|0;d=c?d:d+1|0}else{c=1;d=0}J[b+16>>2]=c;J[b+20>>2]=d;f=J[b+24>>2];a:{if(!f){break a}e=0;g=K[b+36|0];h=g+1|0;e=h?e:1;f=lJ(f,f>>31,h,e);e=Ia;if((e|0)==(d|0)&c>>>0<=f>>>0|d>>>0<e>>>0){break a}H[b+36|0]=g+1;b=J[b+40>>2];pc(a,(J[b>>2]|J[b+4>>2])!=0)}}function Br(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=Fa-16|0;Fa=g;a:{if(K[b+43|0]|!(K[J[a>>2]+33|0]&64)){break a}c=b+48|0;while(1){e=J[c>>2];if(e){c=0;f=J[e+20>>2];f=(f|0)>0?f:0;while(1){if((c|0)!=(f|0)){h=d;d=J[(e+(c<<3)|0)+36>>2];d=h|((d|0)>31?-1:1<<d);c=c+1|0;continue}break}c=e+4|0;continue}break}e=tg(b);while(1){if(!e){break a}J[g+12>>2]=0;mi(a,b,e,g+12|0,0);b:{f=J[g+12>>2];if(!f){break b}i=L[f+50>>1];c=0;while(1){if((c|0)==(i|0)){break b}h=d;d=L[J[f+4>>2]+(c<<1)>>1];d=h|(d<<16>>16>31?-1:1<<d);c=c+1|0;continue}}e=J[e+12>>2];continue}}Fa=g+16|0;return d}function jE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if((b|0)==2){if((Fb(J[c>>2])|0)==5){Mb(a);return}h=Wa(J[c>>2]);d=fb(J[c+4>>2]);b=Ia;g=b;if((b|0)<0){Bb(a,9065,-1);return}c=zp(h);e=c>>31;b=e;b:{if((g|0)<=(b|0)&c>>>0>=d>>>0|(b|0)>(g|0)){b=Jl(h);if(!b){break a}lb(a,b,-1,-1);break b}f=d-c|0;b=gc((ob(h)+f|0)+1|0);if(!b){break a}e=g-(e+(c>>>0>d>>>0)|0)|0;g=f+1|0;e=g?e:e+1|0;f=1;d=0;c=b;while(1){if((g|0)!=(f|0)|(d|0)!=(e|0)){H[c|0]=32;f=f+1|0;d=f?d:d+1|0;c=c+1|0;continue}break}Sg(c,h)}lb(a,b,-1,-1);Oa(b);return}Z(23662,17942,771,17735);D()}Qb(a)}function zm(a,b,c,d,e,f){var g=0;H[a+24|0]=0;J[a+4>>2]=b;J[a>>2]=b;J[a+20>>2]=e;J[a+8>>2]=0;J[a+12>>2]=0;J[a+28>>2]=c;J[a+16>>2]=0;H[a+25|0]=1;H[a+26|0]=1;a:{b:{if(f){b=-1;e=L[J[f+4>>2]+(d<<1)>>1];c=J[f+12>>2];if((e|0)==L[c+32>>1]){break b}b=e<<16>>16;if((b|0)>=0){H[a+24|0]=K[(J[c+4>>2]+P(b,12)|0)+5|0];J[a+8>>2]=J[J[f+32>>2]+(d<<2)>>2];break b}if((b|0)!=-2){break b}J[a+12>>2]=J[(J[f+40>>2]+(d<<4)|0)+8>>2];b=J[J[f+32>>2]+(d<<2)>>2];I[a+72>>1]=65534;J[a+8>>2]=b;H[a+24|0]=mc(J[a+12>>2]);return ki(a)}b=d;if((b|0)==-2){break a}}I[a+72>>1]=b;g=ki(a)}return g}function en(a,b){var c=0,d=0,e=0,f=0;e=J[a+4>>2];c=rb(J[a>>2]);a=e;while(1){if(a){a:{if(!(J[e+88>>2]|!(K[J[a+44>>2]+5|0]&16)|K[a+17|0]==90)){Na(c,75,0,J[a+56>>2]);Va(c,32,J[a+60>>2]);Pa(c,94,J[a+60>>2],0,J[a+56>>2]);d=J[c+108>>2];J[(K[J[c>>2]+87|0]?73192:(J[c+104>>2]+P(d,20)|0)-40|0)+8>>2]=d;break a}if(J[a+64>>2]){break a}d=J[J[a+72>>2]+20>>2];if(d){d=J[d>>2]}else{d=0}f=J[a+52>>2];if(b){Na(c,165,f,d);sc(c,J[a+44>>2],-7);Na(c,80,J[a+52>>2],J[a+56>>2]);Na(c,75,0,J[a+52>>2]);break a}Pa(c,164,f,d,J[a+56>>2]);sc(c,J[a+44>>2],-7)}a=J[a+36>>2];continue}break}}function Ni(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Fa-16|0;Fa=g;H[d+22|0]=0;e=J[d+4>>2];h=H[c|0];a:{if((h|0)>=0){i=1;h=h&255;break a}i=Jd(c,g+12|0);h=J[g+12>>2]}j=h;while(1){if(!(b>>>0<j>>>0|i>>>0>=h>>>0)){f=c+i|0;k=H[f|0];b:{if((k|0)>=0){f=k&255;k=1;break b}k=Jd(f,g+8|0);f=J[g+8>>2]}H[e+18|0]=K[a+4|0];m=J[a+12>>2];J[e+24>>2]=0;J[e+20>>2]=m;J[e+8>>2]=0;Pg(c+j|0,f,e);i=i+k|0;e=e+40|0;j=(f>>>0>=128?f-12>>>1|0:K[f+34176|0])+j|0;l=l+1|0;if(L[d+20>>1]>(l&65535)>>>0){continue}}break}if(!(!(l&65535)|b>>>0>=j>>>0)){Rb(e-40|0)}I[d+20>>1]=l;Fa=g+16|0}function mI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=b<<2|1;e=pb(e,e>>31);if(e){h=(b|0)>0?b:0;b=e;while(1){if((f|0)!=(h|0)){d=fb(J[(f<<2)+c>>2]);g=Ia;d=!g&d>>>0>1114111|g?65533:d&2097151;a:{if(d>>>0<=127){H[b|0]=d;b=b+1|0;break a}if(d>>>0<=2047){H[b+1|0]=d&63|128;H[b|0]=d>>>6|192;b=b+2|0;break a}if(d>>>0<=65535){H[b+2|0]=d&63|128;H[b|0]=d>>>12|224;H[b+1|0]=d>>>6&63|128;b=b+3|0;break a}H[b+3|0]=d&63|128;H[b|0]=d>>>18|240;H[b+2|0]=d>>>6&63|128;H[b+1|0]=d>>>12&63|128;b=b+4|0}f=f+1|0;continue}break}H[b|0]=0;b=b-e|0;$f(a,e,b,b>>31,1);return}Qb(a)}function lG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=gc(16);if(!d){return 7}J[d>>2]=0;J[d+4>>2]=0;J[d+8>>2]=0;J[d+12>>2]=0;J[d+4>>2]=1;while(1){if(!((a|0)<=(h|0)|e)){e=J[(h<<2)+b>>2];g=ob(e);a:{b:{if((g|0)==19){if(!Cb(23747,e,19)){J[d+4>>2]=1;f=0;break a}if(!Cb(24356,e,19)){J[d+4>>2]=0;f=0;break a}if(Cb(23584,e,19)){break b}J[d+4>>2]=2;f=0;break a}f=1;if((g|0)<11){break a}}if(!Cb(21845,e,11)){f=uy(d,1,e+11|0,g-11|0);break a}f=1;if(Cb(21833,e,11)){break a}f=uy(d,0,e+11|0,g-11|0)}e=f;h=h+1|0;continue}break}if(e){ty(d);d=0}J[c>>2]=d;return e|0}function iJ(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Fa-16|0;Fa=e;f=J[J[a>>2]+20>>2];d=J[J[a+4>>2]+8>>2];a:{if((sb(J[c>>2])|0)>J[f+152>>2]){Bb(a,1457,-1);break a}b:{if((b|0)==3){b=Wa(J[c+8>>2]);J[e+8>>2]=b;if(!b){break a}if((Ov(b)|0)!=1){Bb(a,9317,-1);break a}b=kd(e+8|0);if((b|0)!=K[d|0]&K[d+1|0]!=(b|0)){break b}f=K[d|0]|K[d+1|0]<<8|(K[d+2|0]<<16|K[d+3|0]<<24);J[e+12>>2]=f;if((f&255)==(b|0)){H[e+12|0]=0}d=e+12|0;if((f>>>8&255)!=(b|0)){break b}H[e+13|0]=0;break b}b=K[d+2|0]}f=Wa(J[c>>2]);c=Wa(J[c+4>>2]);if(!c|!f){break a}pc(a,!Rh(f,c,d,b))}Fa=e+16|0}function so(a){var b=0,c=0,d=0;c=J[a>>2];b=J[a+116>>2];if(b){fi(b,L[a+146>>1]<<1);Sb(c,J[a+116>>2])}b=J[a+232>>2];while(1){if(b){d=J[b+24>>2];ry(c,J[b>>2],J[b+4>>2]);Za(c,b);b=d;continue}break}a:{if(!K[a+151|0]){break a}fi(J[a+100>>2],I[a+16>>1]);b=J[a+128>>2];if(b){Sb(c,b)}b=J[a+212>>2];if(!b){break a}Sb(c,b)}ry(c,J[a+104>>2],J[a+108>>2]);b=J[a+200>>2];if(b){Sb(c,b)}Ua(c,J[a+204>>2]);b=J[a+208>>2];while(1){if(b){d=J[b>>2];Za(c,b);b=d;continue}break}b:{if(J[c+528>>2]){break b}b=J[a+8>>2];J[J[a+4>>2]>>2]=b;if(!b){break b}J[b+4>>2]=J[a+4>>2]}Sb(c,a)}function Ok(a,b,c,d){var e=0,f=0,g=0,h=0;if(!J[d>>2]){e=J[a+64>>2]+(b<<1)|0;f=K[e|0]<<8|K[e+1|0];if(M[J[a+52>>2]+40>>2]<f+c>>>0){J[d>>2]=Ta(77242);return}g=K[a+9|0];h=J[a+56>>2];c=Vn(a,f,c&65535);if(c){J[d>>2]=c;return}c=L[a+24>>1]-1|0;I[a+24>>1]=c;if(!(c&65535)){b=g+h|0;H[b+7|0]=0;H[b+1|0]=0;H[b+2|0]=0;H[b+3|0]=0;H[b+4|0]=0;H[b+5|0]=J[J[a+52>>2]+40>>2]>>>8;H[b+6|0]=J[J[a+52>>2]+40>>2];J[a+20>>2]=(J[J[a+52>>2]+40>>2]-(K[a+9|0]+K[a+10|0]|0)|0)-8;return}Dc(e,e+2|0,(c&65535)-b<<1);b=g+h|0;H[b+3|0]=K[a+25|0];H[b+4|0]=K[a+24|0];J[a+20>>2]=J[a+20>>2]+2}}function zz(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(I[a+20>>1]>I[b+20>>1]&I[a+22>>1]>I[b+22>>1]){break a}b:{if(!(L[a+46>>1]|(J[a+32>>2]!=J[b+32>>2]|L[a+24>>1]>=L[b+24>>1]))){if(!L[b+46>>1]){break b}}c=L[b+46>>1];d=L[a+46>>1];if(c>>>0>d>>>0){break a}e=L[a+44>>1];f=e-d|0;d=L[b+44>>1];if((f|0)>=(d-c|0)){break a}while(1){if((e|0)>0){c=d;e=e-1|0;f=J[J[a+52>>2]+(e<<2)>>2];if(!f){continue}while(1){if((c|0)<=0){break a}c=c-1|0;if(J[J[b+52>>2]+(c<<2)>>2]!=(f|0)){continue}break}continue}break}if(!(K[a+40|0]&64)){break b}if(!(K[b+40|0]&64)){break a}}g=1}return g}function UI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=J[a>>2];c=2;a:{if(J[g+36>>2]){break a}c=1;if(L[b+6>>1]&1056){break a}b:{c=J[b+28>>2];if(!c){break b}while(1){if(J[c>>2]<=(d|0)){break b}e=c+(d<<4)|0;f=J[e+12>>2];if(!(!f|K[e+17|0]&3)){Zc(g,0,f)}d=d+1|0;continue}}c:{f=J[b+32>>2];if(!f){break c}c=0;while(1){if(J[f>>2]<=(c|0)){break c}d=0;h=f+(c<<6)|0;Zc(g,0,J[h+16>>2]);e=J[h+52>>2];d:{if(!(K[h+46|0]&4)){Eb(a,e);break d}while(1){if(J[e>>2]<=(d|0)){break d}Zc(g,0,J[(e+(d<<3)|0)+8>>2]);d=d+1|0;continue}}c=c+1|0;continue}}cr(a,b);c=0}return c|0}function Dl(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=Fa-240|0;Fa=g;J[g+236>>2]=c;J[g+232>>2]=b;J[g>>2]=a;l=!e;a:{b:{c:{d:{if((b|0)!=1){h=a;i=1;break d}h=a;i=1;if(c){break d}e=a;break c}while(1){j=(d<<2)+f|0;e=h-J[j>>2]|0;if((Vh(e,a)|0)<=0){e=h;break c}k=l^-1;l=1;e:{if(!((k|(d|0)<2)&1)){j=J[j-8>>2];k=h-4|0;if((Vh(k,e)|0)>=0){break e}if((Vh(k-j|0,e)|0)>=0){break e}}J[(i<<2)+g>>2]=e;b=Cw(b,c);El(g+232|0,b);i=i+1|0;d=b+d|0;h=e;c=J[g+236>>2];b=J[g+232>>2];if(c|(b|0)!=1){continue}break b}break}e=h;break b}if(!l){break a}}Bw(g,i);pp(e,d,f)}Fa=g+240|0}function xI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{e=L[J[c>>2]+16>>1];d=e&31;if((e&63)>>>0>=32){d=-1431655766>>>d|0}else{d=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}if(d&1){break a}e=J[J[a+4>>2]+8>>2]?-1:0;i=J[(J[J[a+12>>2]+104>>2]+P(J[a+16>>2],20)|0)-4>>2];j=(b|0)<=1?1:b;b=1;while(1){if((b|0)!=(j|0)){g=J[(b<<2)+c>>2];h=L[g+16>>1];d=h&31;if((h&63)>>>0>=32){d=-1431655766>>>d|0}else{d=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}if(d&1){break a}f=(zh(J[(f<<2)+c>>2],g,i)^e)<0?f:b;b=b+1|0;continue}break}ge(a,J[(f<<2)+c>>2])}}function eB(a,b,c){var d=0,e=0,f=0,g=0;a:{if(!(K[c+28|0]&8)){break a}f=J[a>>2];if(K[f+24|0]&4){break a}b:{d=J[J[(J[f+16>>2]+(b<<4)|0)+12>>2]+72>>2];if(!(!d|K[d+28|0]&128|K[d+43|0]==1)){if(L[d+34>>1]==2){break b}}J[a+12>>2]=523;J[a+36>>2]=J[a+36>>2]+1;return 0}d=J[a+128>>2];d=d?d:a;e=d+124|0;c:{while(1){e=J[e>>2];if(!e){break c}if(J[e+4>>2]!=(c|0)){continue}break}return J[e+12>>2]}e=Ib(f,16,0);dd(d,52,e);if(K[J[a>>2]+87|0]){break a}J[e>>2]=J[d+124>>2];J[d+124>>2]=e;J[e+8>>2]=b;J[e+4>>2]=c;a=J[d+44>>2];g=a+2|0;J[e+12>>2]=g;J[d+44>>2]=a+4}return g}function ND(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=Fa-32|0;Fa=e;d=fa(a|0,b|0)|0;a:{if((d|0)!=-8){a=qc(d);break a}d=Fa-32|0;Fa=d;c=ma(a|0,d+8|0)|0;if(c){J[18304]=c;c=0}else{c=1}Fa=d+32|0;if(!c){a=qc(-8);break a}c=0;while(1){d=c+e|0;H[d|0]=K[c+24880|0];f=(c|0)!=14;c=c+1|0;if(f){continue}break}b:{if(a){c=14;d=a;while(1){c=c+1|0;f=d>>>0>9;d=(d>>>0)/10|0;if(f){continue}break}H[c+e|0]=0;while(1){c=c-1|0;d=(a>>>0)/10|0;H[e+c|0]=P(d,246)+a|48;f=a>>>0>9;a=d;if(f){continue}break}break b}H[d|0]=48;H[e+15|0]=0}a=qc(ea(e|0,b|0)|0)}Fa=e+32|0;return a|0}function hl(a){var b=0,c=0;Rf(J[a+60>>2]);J[a+60>>2]=0;Fu(a);b=J[a+232>>2];a:{b:{if(b){Jo(b);break b}if(K[a+4|0]){break a}b=J[a+64>>2];c=J[b>>2];c:{d:{if(!c){break d}if(!(Ja[J[c+48>>2]](b)&2048)){break d}if((K[a+5|0]&5)==1){break c}}b=J[a+68>>2];c=J[b>>2];if(!c){break c}Ja[J[c+4>>2]](b)|0;J[b>>2]=0}if(!Fg(a,0)|K[a+17|0]!=6){break b}H[a+18|0]=5}H[a+17|0]=0}if(J[a+44>>2]){e:{if(!K[a+12|0]){Hg(a);H[a+19|0]=0;b=0;break e}b=!J[J[a+68>>2]>>2]}J[a+220>>2]=7;J[a+44>>2]=0;H[a+17|0]=b}J[a+80>>2]=0;J[a+84>>2]=0;H[a+20|0]=0;J[a+88>>2]=0;J[a+92>>2]=0}function ee(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-48|0;e=O[a>>3];f=K[a+4|0]|K[a+5|0]<<8|(K[a+6|0]<<16|K[a+7|0]<<24);z(0,(K[a|0]|K[a+1|0]<<8|(K[a+2|0]<<16|K[a+3|0]<<24))&-67108864);z(1,f|0);g=+B();O[d+40>>3]=e-g;C(+b);f=x(1)|0;z(0,x(0)&-67108864);z(1,f|0);e=+B();O[d+32>>3]=b-e;O[d+24>>3]=e*g;O[d+16>>3]=g*O[d+32>>3]+O[d+40>>3]*e;O[d+8>>3]=O[d+24>>3]+O[d+16>>3];O[d>>3]=O[d+40>>3]*O[d+32>>3]+(O[d+16>>3]+(O[d+24>>3]-O[d+8>>3]));O[d>>3]=O[d>>3]+(O[a>>3]*c+O[a+8>>3]*b);O[a>>3]=O[d+8>>3]+O[d>>3];O[a+8>>3]=O[d+8>>3]-O[a>>3];O[a+8>>3]=O[d>>3]+O[a+8>>3]}function Zt(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Fa-128|0;Fa=c;H[b|0]=0;d=72948;a:{while(1){b:{d=J[d>>2];c:{if(!d){break c}if(Ja[J[16625]](d,c+32|0)|(J[c+36>>2]&61440)!=16384){break c}if(!(Ja[J[16619]](d,3)|0)){break b}}if((e|0)==6){g=6410;break a}else{d=(e<<2)+66800|0;e=e+1|0;continue}}break}h=(a+b|0)-2|0;e=0;while(1){d:{se(8,c+32|0);H[h|0]=0;J[c+16>>2]=0;J[c>>2]=d;f=J[c+36>>2];J[c+8>>2]=J[c+32>>2];J[c+12>>2]=f;f=wd(a,b,18003,c);if(K[h|0]|e>>>0>10){break d}e=e+1|0;if(!(Ja[J[16619]](f,0)|0)){continue}break a}break}g=1}Fa=c+128|0;return g}function IH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{d=L[J[c>>2]+16>>1];b=d&31;if((d&63)>>>0>=32){b=-1431655766>>>b|0}else{b=((1<<b)-1&-1431655766)<<32-b|-1431655766>>>b}if(b&1){break a}a=wb(a,36);if(!a){break a}Wa(J[c>>2]);c=sb(J[c>>2]);d=J[a+24>>2];J[a+24>>2]=d-1;b=J[a+32>>2];b:{if(b){if((d|0)<2){break b}e=J[b>>2];Dc(b,b+4|0,(d<<2)-8|0);c=c+e|0;break b}c=J[a+28>>2]+c|0}b=J[a+16>>2];c:{if((b|0)<=(c|0)){J[a+16>>2]=0;break c}b=b-c|0;J[a+16>>2]=b;d=J[a+4>>2];Dc(d,c+d|0,b);if(J[a+16>>2]){break a}}J[a+12>>2]=0;Oa(J[a+32>>2]);J[a+32>>2]=0}}function rn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Fa-32|0;Fa=e;J[e+28>>2]=d;J[e+24>>2]=c;J[e+20>>2]=b;a:{while(1){if((h|0)==3){break a}i=J[(e+20|0)+(h<<2)>>2];if(!i){break a}k=J[i+4>>2];g=0;b:{while(1){if((g|0)==7){break b}c:{j=P(g,3);if(K[j+50257|0]==(k|0)){if(!tb(J[i>>2],K[j+50256|0]+50208|0,k)){break c}}g=g+1|0;continue}break}h=h+1|0;f=K[j+50258|0]|f;continue}break}f=f|128}if(f&128|((f&56)==32|(f&33)==33)){J[e+16>>2]=d;J[e>>2]=b;J[e+12>>2]=d?30595:30596;J[e+8>>2]=c;J[e+4>>2]=c?30595:30596;Ra(a,18964,e);f=1}Fa=e+32|0;return f}function ax(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;h=Fa-16|0;Fa=h;J[h+12>>2]=0;k=J[b+4>>2];Vd(b,d,h+12|0);g=J[h+12>>2];a:{if(g){break a}j=J[b>>2];g=Fj(j,J[b+4>>2],c,d);i=d-g|0;if((i|0)<=0){g=267;break a}Qa(j,c,d);J[b+4>>2]=d;b:{if(!k){b=J[a+4>>2];break b}b=hc(J[a>>2]+J[a+4>>2]|0,g,g>>31)+J[a+4>>2]|0;J[a+4>>2]=b}b=hc(J[a>>2]+b|0,i,0)+J[a+4>>2]|0;J[a+4>>2]=b;Qa(b+J[a>>2]|0,c+g|0,i);b=i+J[a+4>>2]|0;J[a+4>>2]=b;g=0;if(!e){break a}b=hc(b+J[a>>2]|0,f,f>>31)+J[a+4>>2]|0;J[a+4>>2]=b;Qa(b+J[a>>2]|0,e,f);J[a+4>>2]=f+J[a+4>>2]}Fa=h+16|0;return g}function Np(a,b){var c=0,d=0,e=0,f=0;a:while(1){if(!d){b:{c:{d:{c=H[a|0];if((c|0)==34|(c|0)==39){break d}d=a;if((c|0)==91){break c}if((c|0)==96){break d}if(c){break b}return 0}e=c&255;d=a;while(1){c=d;d=c+1|0;f=K[c+1|0];if(!f){continue a}if((e|0)!=(f|0)){continue}d=c+2|0;if(K[c+2|0]==(e|0)){continue}break}continue}while(1){e:{c=d;d=c+1|0;e=K[c+1|0];if((e|0)==93){break e}if(e){continue}}break}d=e?c+2|0:d;continue}if(Op(c)){while(1){c=H[d+1|0];d=d+1|0;if(Op(c)){continue}continue a}}else{a=a+1|0;d=0;continue}}break}J[b>>2]=d-a;return a}function MI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=J[a+24>>2];c=J[d>>2];a:{b:{switch(K[b|0]-167|0){case 0:case 2:if(J[b+28>>2]!=J[d+4>>2]){break a}e=L[c+52>>1];c=J[c+4>>2];a=0;c:{while(1){if((a|0)==(e|0)){break c}f=a<<1;a=a+1|0;if(L[c+f>>1]!=L[b+32>>1]){continue}break}return 0}H[d+9|0]=1;return 2;default:break b}}if(!(K[c+56|0]&16)){break a}e=J[d+4>>2];a=0;while(1){if(L[c+52>>1]<=a>>>0){break a}d:{if(L[J[c+4>>2]+(a<<1)>>1]==65534){if(!Zb(0,b,J[(J[c+40>>2]+(a<<4)|0)+8>>2],e)){break d}}a=a+1|0;continue}break}f=1;H[d+8|0]=1}return f|0}function _y(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Fa+-64|0;Fa=d;e=b;b=d+16|0;a:{if(kg(a,e,c,b)){break a}Aq(b);H[d+5|0]=45;H[d+8|0]=45;H[d+11|0]=0;b=J[d+28>>2];c=(b|0)/10|0;H[d+6|0]=((c|0)%10|0)+48;e=J[d+32>>2];f=(e|0)/10|0;H[d+9|0]=((f|0)%10|0)+48;H[d+7|0]=(b-P(c,10)|0)+48;H[d+10|0]=(e-P(f,10)|0)+48;c=J[d+24>>2];b=c>>31;b=(b^c)-b|0;H[d+2|0]=((b>>>0)/100>>>0)%10|48;H[d+1|0]=((b>>>0)/1e3>>>0)%10|48;e=(b>>>0)/10|0;H[d+3|0]=(e>>>0)%10|48;H[d+4|0]=b-P(e,10)|48;if((c|0)<0){H[d|0]=45;lb(a,d,11,-1);break a}lb(a,d|1,10,-1)}Fa=d- -64|0}function bv(a,b){var c=0,d=0,e=0;e=J[a+224>>2];c=J[18291];if(c){Ja[c|0]()}d=J[a+144>>2];while(1){if(d){c=J[d+16>>2];Oa(d);d=c;continue}break}H[a+4|0]=0;c=0;a:{if(!b){break a}c=0;if(K[b+33|0]&8){break a}c=av(a)?0:e}$u(J[a+232>>2],b,K[a+11|0],J[a+168>>2],c);J[a+232>>2]=0;Hg(a);b:{if(K[a+15|0]){hl(a);break b}if(J[J[a+68>>2]>>2]){Jj(a,_u(a))}Zu(a)}b=J[18292];if(b){Ja[b|0]()}c=J[a+68>>2];b=J[c>>2];if(b){Ja[J[b+4>>2]](c)|0;J[c>>2]=0}c=J[a+64>>2];b=J[c>>2];if(b){Ja[J[b+4>>2]](c)|0;J[c>>2]=0}ef(e);Ja[J[16480]](J[J[a+228>>2]+52>>2]);Oa(a)}function yA(a,b,c){var d=0,e=0;a:{if(!c){break a}d=ib(a,100,0);if(!d){break a}J[d>>2]=Ob(a,J[c>>2]);J[d+4>>2]=Ob(a,J[c+4>>2]);J[d+40>>2]=eb(a,J[c+40>>2],0);J[d+44>>2]=J[c+44>>2];J[d+8>>2]=kc(a,J[c+8>>2],0);J[d+12>>2]=kc(a,J[c+12>>2],0);H[d+16|0]=K[c+16|0];H[d+18|0]=K[c+18|0];H[d+17|0]=K[c+17|0];H[d+20|0]=K[c+20|0];J[d+56>>2]=J[c+56>>2];J[d+52>>2]=J[c+52>>2];J[d+80>>2]=J[c+80>>2];J[d+48>>2]=J[c+48>>2];H[d+96|0]=K[c+96|0];J[d+24>>2]=eb(a,J[c+24>>2],0);a=eb(a,J[c+28>>2],0);J[d+72>>2]=b;J[d+28>>2]=a;H[d+19|0]=K[c+19|0];e=d}return e}function ui(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;h=Fa-16|0;Fa=h;a:{if(J[b+8>>2]){break a}d=J[b+60>>2];if(!d){break a}e=J[a+44>>2]+1|0;J[a+44>>2]=e;J[b+8>>2]=e;f=rb(a);b:{if(yf(J[d+12>>2],h+12|0)){g=J[h+12>>2];Na(f,71,g,e);if(!g){Lb(f,c);break b}if((g|0)<0){break b}i=I[b+2>>1];c=Fd(g,0);if((i|0)<=(c|0)){break b}I[b+2>>1]=c;J[b+4>>2]=J[b+4>>2]|16384;break b}Xb(a,J[d+12>>2],e);Va(f,13,e);Na(f,17,e,c)}c=J[d+16>>2];if(!c){break a}g=b;d=J[a+44>>2];b=d+1|0;J[g+12>>2]=b;d=d+2|0;J[a+44>>2]=d;Xb(a,c,b);Va(f,13,b);Pa(f,160,e,d,b)}Fa=h+16|0}function ts(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=Fa-16|0;Fa=g;h=b?J[b>>2]:0;i=J[a>>2];a:{if(!c|!d){break a}b:{if(K[d|0]==138){break b}f=J[c>>2];e=Mc(d);if((f|0)==(e|0)){break b}J[g+4>>2]=e;J[g>>2]=f;Ra(a,5325,g);break a}f=0;while(1){e=J[c>>2];if((f|0)<(e|0)){e=xr(a,d,f,e);c:{if(!e){break c}b=Kb(a,b,e);if(!b){b=0;break c}e=(f<<3)+c|0;J[((J[b>>2]<<4)+b|0)-4>>2]=J[e+8>>2];J[e+8>>2]=0}f=f+1|0;continue}break}if(K[i+87|0]|(!b|K[d|0]!=138)){break a}h=J[((h<<4)+b|0)+8>>2];J[h+28>>2]=e;J[h+16>>2]=d;d=0}xs(a,d);ne(i,c);Fa=g+16|0;return b}function Rn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=c;while(1){if(!(J[a>>2]|(f|0)<=0)){d=J[a+16>>2];g=J[a+8>>2]-d|0;g=(f|0)<(g|0)?f:g;Qa(d+J[a+4>>2]|0,(c-f|0)+b|0,g);e=g+J[a+16>>2]|0;J[a+16>>2]=e;if(J[a+8>>2]==(e|0)){h=J[a+32>>2];d=J[a+12>>2];i=d+J[a+4>>2]|0;j=e-d|0;e=J[a+28>>2]+(d>>31)|0;k=d;d=J[a+24>>2]+d|0;e=k>>>0>d>>>0?e+1|0:e;J[a>>2]=Ja[J[J[h>>2]+12>>2]](h,i,j,d,e);J[a+12>>2]=0;J[a+16>>2]=0;d=J[a+8>>2];h=d;e=d+J[a+24>>2]|0;d=J[a+28>>2]+(d>>31)|0;J[a+24>>2]=e;J[a+28>>2]=e>>>0<h>>>0?d+1|0:d}f=f-g|0;continue}break}}function yw(a,b,c){var d=0,e=0;e=a;a:{b:{c:{d:{if((e^b)&3){break d}d=(c|0)!=0;e:{if(!(b&3)|!c){break e}while(1){d=K[b|0];H[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break e}if(c){continue}break}}if(!d){break b}if(!K[b|0]){break a}if(c>>>0<4){break d}while(1){d=J[b>>2];if((d^-1)&d-16843009&-2139062144){break c}J[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}}while(1){d=K[b|0];H[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}Sa(e,0,c);return a}function $v(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{e=L[a+16>>1];if(!(e&32)){b=O[a>>3];c=-2147483648;b:{if(b<-0x7ffffffffffffc00){break b}d=-1;c=2147483647;if(b>0x7ffffffffffffc00){break b}if(R(b)<0x8000000000000000){d=~~b>>>0;if(R(b)>=1){c=~~(b>0?T(V(b*2.3283064365386963e-10),4294967295):W((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0}else{c=0}break b}d=0;c=-2147483648}f=c+2147483647|0;g=d-1|0;if((((g|0)!=-1?f+1|0:f)|0)==-1&g>>>0>4294967293|+(d>>>0)+ +(c|0)*4294967296!=b){break a}J[a>>2]=d;J[a+4>>2]=c}I[a+16>>1]=e&62016|4}}function Nj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=Fa-16|0;Fa=h;g=J[b+8>>2];f=J[b+20>>2]+(a>>31)|0;i=J[b+12>>2];e=a+J[b+16>>2]|0;f=e>>>0<a>>>0?f+1|0:f;a:{if((i|0)==(f|0)&e>>>0>=g>>>0|f>>>0>i>>>0){if(ei(b,a)){break a}}J[h+12>>2]=d;g=J[b+4>>2]+J[b+16>>2]|0;e=Fa-32|0;Fa=e;if((a|0)>0){I[e+28>>1]=0;J[e+20>>2]=0;J[e+24>>2]=0;J[e+16>>2]=a;J[e+8>>2]=0;J[e+12>>2]=g;Lg(e+8|0,c,d);H[J[e+24>>2]+g|0]=0}Fa=e+32|0;a=J[b+20>>2];e=J[b+16>>2];c=ob(e+J[b+4>>2]|0);d=a+(c>>31)|0;a=c+e|0;d=a>>>0<e>>>0?d+1|0:d;J[b+16>>2]=a;J[b+20>>2]=d}Fa=h+16|0}function Vw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;while(1){if(a){c=J[a+20>>2];a:{if(!c){break a}c=J[c+28>>2];if(!c){break a}d=0;J[f+12>>2]=0;while(1){g=0;e=0;while(1){h=K[c|0];if(h&254|g){c=c+1|0;e=!g+e|0;g=h&128;continue}break}d=J[a+40>>2]+P(d,12)|0;J[d+4>>2]=J[d+4>>2]+e;J[d+8>>2]=J[d+8>>2]+((e|0)!=0);if(!K[c|0]){break a}e=c+1|0;c=H[c+1|0];b:{if((c|0)<0){c=lc(e,f+12|0);d=J[f+12>>2];break b}d=c&255;J[f+12>>2]=d;c=1}c=c+e|0;if((b|0)>(d|0)){continue}break}}Vw(J[a+12>>2],b);a=J[a+16>>2];continue}break}Fa=f+16|0}function Gl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=Fa-16|0;Fa=e;C(+b);g=x(1)|0;c=x(0)|0;d=g&2147483647;f=d+-1048576|0;a:{if((f|0)==2145386495|f>>>0<2145386495){h=c<<28;c=(d&15)<<28|c>>>4;d=(d>>>4|0)+1006632960|0;break a}if((d|0)==2146435072|d>>>0>2146435072){h=c<<28;c=(g&15)<<28|c>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}f=c;c=d?S(d):S(c)+32|0;Ud(e,f,d,0,0,c+49|0);i=J[e>>2];h=J[e+4>>2];f=15372-c<<16;c=J[e+8>>2];d=f|J[e+12>>2]^65536}J[a>>2]=i;J[a+4>>2]=h;J[a+8>>2]=c;J[a+12>>2]=g&-2147483648|d;Fa=e+16|0}function Av(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=(b|0)==12;while(1){if(!(J[a+20>>2]<=(j|0)|i)){a:{if(!k){i=0;if((b|0)!=(j|0)){break a}}l=g;g=J[(J[a+16>>2]+(j<<4)|0)+4>>2];h=0;b:{if(!g){break b}f=J[g+4>>2];i=J[g>>2];J[f+4>>2]=i;h=6;if(K[f+20|0]){break b}f=J[f>>2];g=J[f+232>>2];if(!g){h=0;if(K[f+5|0]!=5){break b}Rd(i,2416,0,0,0);g=J[f+232>>2];h=0;if(!g){break b}}h=zv(g,i,c,c?J[f+192>>2]:0,J[f+196>>2],K[f+11|0],J[f+168>>2],J[f+224>>2],d,e)}d=(h|0)==5;g=d?1:l;i=d?0:h;e=0;d=0}j=j+1|0;continue}break}return i?i:g?5:i}function sd(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0;k=Fa-80|0;Fa=k;l=Ib(J[a>>2],76,0);j=l?l:k+4|0;if(!b){b=jc(J[a>>2],180,0);b=Tc(J[a>>2],b)}J[j+28>>2]=b;H[j|0]=138;J[j+8>>2]=0;J[j+12>>2]=0;J[j+4>>2]=h;b=J[a+108>>2]+1|0;J[a+108>>2]=b;J[j+20>>2]=-1;J[j+24>>2]=-1;J[j+16>>2]=b;I[j+2>>1]=0;if(!c){c=ib(J[a>>2],72,0)}J[j+72>>2]=0;J[j+64>>2]=0;J[j+68>>2]=0;J[j+60>>2]=i;J[j+52>>2]=0;J[j+56>>2]=0;J[j+48>>2]=g;J[j+44>>2]=f;J[j+40>>2]=e;J[j+36>>2]=d;J[j+32>>2]=c;a=J[a>>2];if(K[a+87|0]){lt(a,j,(k+4|0)!=(j|0));l=0}Fa=k+80|0;return l}function rd(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;if(!(!K[J[(J[J[a>>2]+16>>2]+(b<<4)|0)+4>>2]+9|0]|(b|0)==1)){g=J[a+128>>2];a=g?g:a;g=J[a+116>>2];k=(g|0)>0?g:0;a:{while(1){if((f|0)!=(k|0)){h=J[a+120>>2];i=f<<4;j=h+i|0;if(!(J[j>>2]!=(b|0)|J[j+4>>2]!=(c|0))){a=h+i|0;H[a+8|0]=(K[a+8|0]|d)!=0;break a}f=f+1|0;continue}break}f=(g<<4)+16|0;f=Oi(J[a>>2],J[a+120>>2],f,f>>31);J[a+120>>2]=f;if(f){g=a;a=J[a+116>>2];J[g+116>>2]=a+1;a=f+(a<<4)|0;J[a+12>>2]=e;H[a+8|0]=d;J[a+4>>2]=c;J[a>>2]=b;break a}J[a+116>>2]=0;Db(J[a>>2])}}}function dy(a,b,c,d){var e=0,f=0,g=0;e=J[a+24>>2];f=J[a+28>>2];g=c+20|0;d=g>>>0<20?d+1|0:d;a:{if((f|0)>=(d|0)&e>>>0>=g>>>0|(d|0)<(f|0)){e=J[a+16>>2];break a}d=(c<<1)+20|0;f=d>>31;e=Bc(J[a+16>>2],d,f);if(!e){return 7}J[a+24>>2]=d;J[a+28>>2]=f;J[a+16>>2]=e}Qa(e,b,c);a=J[a+16>>2]+c|0;H[a|0]=0;H[a+1|0]=0;H[a+2|0]=0;H[a+3|0]=0;H[a+4|0]=0;H[a+5|0]=0;H[a+6|0]=0;H[a+7|0]=0;H[a+16|0]=0;H[a+17|0]=0;H[a+18|0]=0;H[a+19|0]=0;H[a+8|0]=0;H[a+9|0]=0;H[a+10|0]=0;H[a+11|0]=0;H[a+12|0]=0;H[a+13|0]=0;H[a+14|0]=0;H[a+15|0]=0;return 0}function VD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(J[d+60>>2]<=0){g=O[d+24>>3];e=J[d+32>>2];f=e+b|0;b=J[d+36>>2]+c|0;c=e>>>0>f>>>0?b+1|0:b;a:{if(!(+(f|0)>=g)){break a}b=J[d+16>>2];e=b-e|0;if(+(e|0)>=+(b>>>0)+ +J[d+20>>2]*4294967296-g){b=J[d+44>>2];e=J[d+40>>2]+1|0;b=e?b:b+1|0;J[d+40>>2]=e;J[d+44>>2]=b;if(!(J[d+48>>2]|J[d+52>>2])){b=J[a>>2];e=b;a=b+J[d>>2]|0;b=J[d+4>>2]+(b>>31)|0;J[d>>2]=a;J[d+4>>2]=a>>>0<e>>>0?b+1|0:b;break a}O[d+8>>3]=O[a>>3]+O[d+8>>3];break a}J[d+60>>2]=1}J[d+32>>2]=f;J[d+36>>2]=c}}function Rw(a){var b=0,c=0,d=0,e=0,f=0;b=Fa-48|0;Fa=b;a:{if(K[a+20|0]==11){c=(J[a+32>>2]+P(J[a+24>>2],24)|0)-8|0;d=J[c+4>>2];J[b>>2]=J[c>>2];J[b+4>>2]=d;Nj(30,a+40|0,18428,b);break a}J[b+44>>2]=0;c=J[a+8>>2];d=Wb(a+168|0,c,b+44|0)+(c+J[a+168>>2]|0)|0;b:{c=J[b+44>>2];if(!(!c|!(K[K[d|0]+31216|0]&2))){while(1){if((c|0)==(e|0)){break b}f=d+e|0;e=e+1|0;if(K[K[f|0]+31216|0]&6){continue}break}}J[b+20>>2]=d;J[b+16>>2]=c;Nj(c+4|0,a+40|0,29299,b+16|0);break a}J[b+36>>2]=d;J[b+32>>2]=c;Nj(c+2|0,a+40|0,5995,b+32|0)}Fa=b+48|0}function Hs(a,b,c){var d=0,e=0,f=0;f=Fa-16|0;Fa=f;d=J[a>>2];a:{if(ve(a)){break a}b:{if(!b){b=0;while(1){if(J[d+20>>2]<=(b|0)){break b}if((b|0)!=1){WA(a,b)}b=b+1|0;continue}}c:{if(J[c+4>>2]){break c}e=VA(d,b);if((e|0)<0){break c}WA(a,e);break b}e=0;b=Ef(a,b,c,f+12|0);if((b|0)<0){break b}e=J[c+4>>2]?J[J[d+16>>2]+(b<<4)>>2]:e;b=oc(d,J[f+12>>2]);if(!b){break b}c=$e(d,b,e);d:{if(c){UA(a,J[c+12>>2],c);break d}c=hf(a,0,b,e);if(!c){break d}UA(a,c,0)}Za(d,b)}if(K[d+96|0]){break a}a=rb(a);if(!a){break a}Hb(a,166)}Fa=f+16|0}function _I(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{switch(K[b|0]-167|0){case 0:case 2:break b;default:break a}}f=J[a+24>>2];c=J[f+4>>2];if(c){d=J[c>>2]}g=(d|0)>0?d:0;while(1){c:{if((e|0)==(g|0)){e=J[f+8>>2];c=J[f+12>>2];d=!!e&(c|0)>=0|(c|0)>0;e=d?e:0;g=d?c:0;d=2;while(1){if((e|0)==(h|0)&(g|0)==(i|0)){break c}c=h;h=c+1|0;i=h?i:i+1|0;if(J[J[f+16>>2]+(c<<2)>>2]!=J[b+28>>2]){continue}break}break a}d=1;j=e<<6;e=e+1|0;if(J[b+28>>2]!=J[(c+j|0)+48>>2]){continue}}break}I[a+20>>1]=L[a+20>>1]|d}return 0}function Fo(a,b,c){var d=0,e=0;d=J[c+4>>2];if(!J[d>>2]){d=J[c+4>>2];J[d+16>>2]=0;J[d+20>>2]=0;J[d>>2]=c;J[d+40>>2]=0;J[d+44>>2]=0;J[d+32>>2]=0;J[d+36>>2]=0;J[d+24>>2]=0;J[d+28>>2]=0;e=J[c>>2];H[d+48|0]=0;H[d+49|0]=0;H[d+50|0]=0;H[d+51|0]=0;H[d+52|0]=0;H[d+53|0]=0;H[d+54|0]=0;H[d+55|0]=0;J[d+8>>2]=d+48;J[d+4>>2]=e;I[d+28>>1]=1;J[d+24>>2]=b;J[d+12>>2]=a;return Fo(a,b,c)}b=J[a+20>>2];c=J[a+16>>2]+1|0;b=c?b:b+1|0;J[a+16>>2]=c;J[a+20>>2]=b;a=J[d+36>>2];b=J[d+32>>2]+1|0;a=b?a:a+1|0;J[d+32>>2]=b;J[d+36>>2]=a;return d}function rA(a,b,c,d,e){var f=0,g=0,h=0,i=0;h=(K[a+9|0]|K[a+10|0]<<8)&3;a:{if((h|0)!=2&(!e|(h|0)!=3)){break a}g=J[a+4>>2];a=0;while(1){i=a+g|0;f=K[i|0];if(!(!f|(f|0)==46)){a=a+1|0;continue}break}if(d){f=0;if(tb(g,d,a)|K[a+d|0]){break a}}d=i+1|0;a=0;while(1){g=a+d|0;f=K[g|0];if(!(!f|(f|0)==46)){a=a+1|0;continue}break}if(c){f=0;if(tb(d,c,a)|K[a+c|0]){break a}}f=1;b:{if(b){c:{switch(h-2|0){case 0:return!Xa(g+1|0,b);case 1:break c;default:break a}}if(aj(b)){break b}return 0}if((h|0)!=3){break a}}J[e>>2]=1}return f}function cr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Fa-48|0;Fa=c;e=J[b+64>>2];a:{if(!e){break a}d=J[a>>2];b=0;if(!(K[J[e+20>>2]+4|0]&64)){f=Ns(d,zA(J[d>>2],e))}while(1){if(J[e>>2]>(b|0)){g=P(b,24)+e|0;h=J[g+20>>2];J[c+40>>2]=0;J[c+44>>2]=0;J[c+32>>2]=0;J[c+36>>2]=0;J[c+24>>2]=0;J[c+28>>2]=0;J[c+16>>2]=0;J[c+20>>2]=0;J[c+12>>2]=d;if(f){ae(d,h,c+12|0);i=J[c+12>>2]}else{i=d}if(K[J[i>>2]+87|0]){break a}$b(a,h);ms(d,J[g+16>>2]);b=b+1|0;continue}break}if(!f|J[d+276>>2]!=(f|0)){break a}J[d+276>>2]=J[f+8>>2]}Fa=c+48|0}function iG(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;a:{b:{if(c-6>>>0<4294967294){break b}g=J[d+4>>2];h=ob(g);if((c|0)==5){if((h|0)!=4){break b}if(tb(9874,g,4)){break b}g=J[d+12>>2];h=ob(g);b=4}else{b=3}f=J[(b<<2)+d>>2];d=ob(f);c=fj(a,26025);if(c){break a}b=(d+h|0)+314|0;c=pb(b,0);if(!c){return 7}b=Sa(c,0,b);c=b+312|0;J[b+32>>2]=c;J[b+12>>2]=b+16;J[b+276>>2]=1;J[b+28>>2]=a;a=(c+h|0)+1|0;J[b+36>>2]=a;Qa(c,g,h);Qa(a,f,d);ci(J[J[b+12>>2]+20>>2]);J[e>>2]=b;return 0}Nd(f,8917,0);c=1}return c|0}function pG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=Fa-16|0;Fa=d;f=J[J[a+4>>2]+8>>2];e=Wa(J[c>>2]);g=sb(J[c>>2])+1|0;a:{b:{if((b|0)==2){h=Wx(a);b=J[c+4>>2];if(h|K[b+16|0]&64){if(!(!e|(sb(b)|0)!=4)){b=J[$c(J[c+4>>2])>>2];J[d+12>>2]=b;if((Mj(f,e,g,b)|0)!=(b|0)){break b}Bb(a,1150,-1);break b}Bb(a,12314,-1);break a}Bb(a,16042,-1);break a}if(e){b=Wl(f,e,g);J[d+12>>2]=b;if(b){break b}}J[d>>2]=e;b=a;a=ub(7781,d);Bb(b,a,-1);Oa(a);break a}if(!(Wx(a)|K[J[c>>2]+16|0]&64)){break a}he(a,d+12|0,4,-1)}Fa=d+16|0}function Fs(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0;h=Fa-48|0;Fa=h;j=J[a>>2];a:{if(ve(a)|J[a+36>>2]){break a}J[h+40>>2]=0;J[h+44>>2]=0;J[h+32>>2]=0;J[h+36>>2]=0;J[h+24>>2]=0;J[h+28>>2]=0;J[h+16>>2]=0;J[h+20>>2]=0;J[h+12>>2]=a;i=h+12|0;if(Iq(i,e)){break a}if(Iq(i,f)){break a}if(Iq(i,g)){break a}if(d){if(Tb(a,b,K[d|0]==117?J[d+8>>2]:0,0,0)){break a}}i=rb(a);d=ic(a,4);Xb(a,e,d);Xb(a,f,d+1|0);Xb(a,g,d+2|0);if(!i){break a}k=a;a=d+3|0;d=H[c|0];dk(k,0,a-d|0,a,d,c,0);Va(i,166,(b|0)==24)}_a(j,e);_a(j,f);_a(j,g);Fa=h+48|0}function mE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)==2){a:{if((Fb(J[c>>2])|0)!=5){if((Fb(J[c+4>>2])|0)!=5){break a}}Mb(a);return}b=Wa(J[c>>2]);e=fb(J[c+4>>2]);c=b;while(1){if(ze(c)){while(1){f=K[c+1|0];c=c+1|0;if((f&192)==128){continue}break}d=d+1|0;continue}break}d=d-e|0;d=(d|0)>0?d:0;while(1){if((d|0)>0){d=d-1|0;while(1){e=K[b+1|0];b=b+1|0;if((e&192)==128){continue}break}continue}break}c=gc((c-b|0)+1|0);if(!c){Qb(a);return}d=a;a=Sg(c,b);lb(d,a,-1,-1);Oa(a);return}Z(23662,17942,1113,17609);D()}function $x(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=Fa-16|0;Fa=i;h=J[d>>2];e=J[c>>2];J[i+12>>2]=0;k=e+h|0;f=e;while(1){g=0;while(1){a:{if(f>>>0>=k>>>0){break a}j=g;g=K[f|0];if(!(j|g&254)){break a}g=g&128;f=f+1|0;continue}break}b:{if(J[i+12>>2]==(a|0)){h=f-e|0;break b}h=(e-f|0)+h|0;if((h|0)<=0){e=f;break b}j=f+1|0;e=H[f+1|0];c:{if((e|0)<0){g=lc(j,i+12|0);break c}J[i+12>>2]=e&255;g=1}e=f;f=g+j|0;continue}break}d:{if(!b){break d}b=e+h|0;a=k-b|0;if((a|0)<=0){break d}Sa(b,0,a)}J[c>>2]=e;J[d>>2]=h;Fa=i+16|0}function tq(a){var b=0,c=0,d=0,e=0,f=0;c=Fa-128|0;Fa=c;b=J[a>>2];a=b;while(1){if(a){d=a;a=J[a+40>>2];J[d+16>>2]=a;continue}break}d=Sa(c,0,128);a:while(1){if(b){c=J[b+16>>2];a=0;J[b+16>>2]=0;while(1){if((a|0)!=31){e=(a<<2)+d|0;f=J[e>>2];if(f){b=Co(f,b);J[e>>2]=0;a=a+1|0;continue}else{J[e>>2]=b;b=c;continue a}}break}J[d+124>>2]=Co(J[d+124>>2],b);b=c;continue}break}b=J[d>>2];a=1;while(1){if((a|0)!=32){c=J[(a<<2)+d>>2];b:{if(!c){break b}if(!b){b=c;break b}b=Co(b,c)}a=a+1|0;continue}break}Fa=d+128|0;return b}function Wd(a){var b=0,c=0,d=0,e=0;while(1){b=a;if(b){a=J[b+12>>2];if(a){continue}a=J[b+16>>2];if(a){continue}}break}while(1){if(b){c=b;d=J[b+8>>2];a:{b=J[b+20>>2];if(!b){break a}Oa(J[b>>2]);_h(b);a=0;b=Sa(b,0,40);while(1){if(J[b+64>>2]<=(a|0)){break a}e=b+P(a,24)|0;Mp(J[e+92>>2]);J[e+92>>2]=0;a=a+1|0;continue}}Oa(J[c+40>>2]);Oa(c);b=0;if(!d){continue}b=d;if(J[b+12>>2]!=(c|0)){continue}a=J[b+16>>2];if(!a){continue}while(1){b=a;a=J[b+12>>2];if(a){continue}a=J[b+16>>2];if(a){continue}break}continue}break}}function Ft(a){var b=0,c=0,d=0,e=0,f=0,g=0;c=Fa-48|0;Fa=c;H[a+64|0]=1;b=J[J[a+84>>2]+24>>2];Sa(c+8|0,0,40);d=a+120|0;a:{if(!J[d>>2]){b=ct(b,d);if(b){break a}}b=Ct(a+72|0,a+40|0);if(b){break a}e=c+8|0;f=a+128|0;b=f;bt(J[a+120>>2],e,J[J[a+84>>2]+12>>2],J[b>>2],J[b+4>>2]);J[a+80>>2]=J[a+80>>2]+1;Tn(e,J[a+48>>2],J[a+52>>2]);d=J[a+40>>2];while(1){b=d;if(b){d=J[b+4>>2];g=c+8|0;e=J[b>>2];Tn(g,e,e>>31);Rn(g,b+8|0,J[b>>2]);if(J[a+44>>2]){continue}Oa(b);continue}break}J[a+40>>2]=0;b=at(c+8|0,f)}Fa=c+48|0;return b}function _z(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=Fa-16|0;Fa=j;while(1){c=c+1|0;if((c|0)<K[b+44|0]){h=P(c,96)+b|0;if(!J[h+812>>2]){continue}g=J[h+840>>2];if(L[g+46>>1]|(J[g>>2]&e|f&J[g+4>>2])){continue}i=h+760|0;J[h+772>>2]=d;a:{if(H[g+41|0]&1){g=xm(a,J[J[g+52>>2]>>2],i,0,0,vb(a));Na(J[a+8>>2],13,g,d);bb(J[a+8>>2],64,J[h+812>>2],d,g,1);break a}g=L[g+24>>1];i=Zz(a,i,0,0,j+12|0);k=J[j+12>>2];Wq(a,i,g,k);Ua(J[a>>2],k);bb(J[a+8>>2],64,J[h+812>>2],d,i,g)}J[h+812>>2]=0;J[h+772>>2]=0;continue}break}Fa=j+16|0}function Sq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;while(1){if(b){h=J[b+32>>2];d=We(a,J[b+28>>2]);c=Ia;d=We(a,J[b+40>>2])|d;c=Ia|c;d=We(a,J[b+48>>2])|d;c=Ia|c;d=Ve(a,J[b+36>>2])|d;c=Ia|c;e=e|(Ve(a,J[b+44>>2])|d);f=f|(Ia|c);g=0;a:{if(!h){break a}while(1){if(J[h>>2]<=(g|0)){break a}c=(g<<6)+h|0;e=Sq(a,J[c+28>>2])|e;f=f|Ia;d=K[c+45|0]|K[c+46|0]<<8;if(!(d&1024)){e=Ve(a,J[c+52>>2])|e;f=f|Ia;d=K[c+45|0]|K[c+46|0]<<8}if(d&4){e=We(a,J[c- -64>>2])|e;f=f|Ia}g=g+1|0;continue}}b=J[b+52>>2];continue}break}Ia=f;return e}function fB(a,b){var c=0,d=0,e=0;a:{b:{if(L[a+50>>1]!=L[b+50>>1]|L[a+52>>1]!=L[b+52>>1]|K[a+54|0]!=K[b+54|0]){break b}while(1){if(L[b+50>>1]>d>>>0){c=d<<1;e=L[c+J[b+4>>2]>>1];if((e|0)!=L[c+J[a+4>>2]>>1]){break a}if((e|0)==65534){e=0;c=d<<4;if(Zb(0,J[(c+J[b+40>>2]|0)+8>>2],J[(c+J[a+40>>2]|0)+8>>2],-1)){break b}}if(K[J[b+28>>2]+d|0]!=K[J[a+28>>2]+d|0]){break a}c=d<<2;d=d+1|0;e=0;if(!Ub(J[c+J[b+32>>2]>>2],J[c+J[a+32>>2]>>2])){continue}break b}break}e=!Zb(0,J[b+36>>2],J[a+36>>2],-1)}return e}return 0}function Wh(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<<b)-1&e)<<32-b|d>>>b}d=0;e=0;break a}if(!f){break a}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=d<<g;j=0}else{h=(1<<g)-1&i>>>32-g|e<<g;j=i<<g}i=b;b=f&31;if((f&63)>>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<<b)-1&c)<<32-b|i>>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<<d)-1&e)<<32-d|g>>>d}e=h}J[a>>2]=b;J[a+4>>2]=c;J[a+8>>2]=d;J[a+12>>2]=e}function Sd(a,b,c,d){var e=0,f=0;a:{e=J[a>>2];if(K[e+87|0]){if((d|0)==-11){break a}vl(e,d,c);return}f=J[a+104>>2];b=(b|0)<0?J[a+108>>2]-1|0:b;e=f+P(b,20)|0;if(!(!K[e+1|0]&(d|0)<0)){if(K[e+1|0]){J[e+16>>2]=0;H[e+1|0]=0}b:{if((d|0)<0){Sd(a,(e-J[a+104>>2]|0)/20|0,c,d);break b}if(!d){d=Ya(c)}a=yd(J[a>>2],c,d,0);H[e+1|0]=250;J[e+16>>2]=a}return}if((d|0)==-3){J[(P(b,20)+f|0)+16>>2]=c;H[e+1|0]=253;return}if(!c){break a}J[(P(b,20)+f|0)+16>>2]=c;H[e+1|0]=d;if((d|0)!=-11){break a}J[c+12>>2]=J[c+12>>2]+1}}function $r(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=J[b>>2];while(1){f=K[c+e|0];if(!(!f|!(K[f+31216|0]&6)&(f|0)!=95)){e=e+1|0;continue}break}a:{b:{if(K[c|0]-58>>>0>4294967285){break b}g=Fa-16|0;Fa=g;h=59;J[g+12>>2]=59;if((e|0)>=2){Jv(c,e,g+12|0);h=J[g+12>>2]}Fa=g+16|0;if(f|!e){break b}f=0;if((h|0)==59){break a}}H[a+d|0]=34;d=d+1|0;f=1}e=0;while(1){g=c+e|0;h=K[g|0];if(h){H[a+d|0]=h;h=d+1|0;if(K[g|0]!=34){d=h}else{H[a+h|0]=34;d=d+2|0}e=e+1|0;continue}break}if(f){H[a+d|0]=34;d=d+1|0}H[a+d|0]=0;J[b>>2]=d}function Zs(a,b){var c=0,d=0,e=0,f=0;e=Fa-32|0;Fa=e;c=J[a>>2];f=J[a+4>>2];d=J[a+44>>2];a:{b:{if(d){c=Gh(c+d|0,b);b=J[a+4>>2];d=c;c=J[a>>2]+c|0;b=d>>>0>c>>>0?b+1|0:b;J[a>>2]=c;J[a+4>>2]=b;break b}d=J[a+40>>2];c=nJ(c,f,d,d>>31);if(!(!c|(d-c|0)<9)){c=Gh(c+J[a+36>>2]|0,b);b=J[a+4>>2];d=c;c=J[a>>2]+c|0;b=d>>>0>c>>>0?b+1|0:b;J[a>>2]=c;J[a+4>>2]=b;break b}c=0;while(1){d=Pn(a,1,e+12|0);if(d){break a}d=e+16|0;f=H[J[e+12>>2]];H[d|c&15]=f;c=c+1|0;if((f|0)<0){continue}break}Gh(d,b)}d=0}Fa=e+32|0;return d}function Vq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=1;a:{if(K[J[a+4>>2]]){break a}d=0;if(K[b|0]!=167){break a}g=J[b+4>>2];if(g&(J[a+20>>2]|32)){break a}d=J[a+8>>2];i=(d|0)>0?d:0;d=1;while(1){if((e|0)==(i|0)){break a}h=J[a+24>>2];f=J[h+(e<<3)>>2];if(!((f|0)==(b|0)|J[f+28>>2]!=J[b+28>>2]|L[f+32>>1]!=L[b+32>>1])){if(c){if((mc(f)|0)==65){break a}h=J[a+24>>2];g=J[b+4>>2]}J[a+12>>2]=J[a+12>>2]+1;J[b+4>>2]=g&-8388641|32;J[b+12>>2]=eb(J[J[a>>2]>>2],J[(e<<3|4)+h>>2],0);break a}e=e+1|0;continue}}return d}function HE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}e=yb(J[c>>2]);J[18304]=0;b=Fa-16|0;Fa=b;C(+e);c=x(1)|0;x(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){d=1;if(c>>>0<1044816030){break a}d=sj(e,0);break a}d=e-e;if(c>>>0>=2146435072){break a}c=sp(e,b);d=O[b+8>>3];e=O[b>>3];b:{switch(c&3){case 0:d=sj(e,d);break a;case 1:d=-rj(e,d,1);break a;case 2:d=-sj(e,d);break a;default:break b}}d=rj(e,d,1)}Fa=b+16|0;Nb(a,d);return}Z(23800,17942,420,17629);D()}function nc(a,b,c,d){var e=0,f=0,g=0;f=Fa-16|0;Fa=f;J[f+12>>2]=0;a:{if(!c){break a}b:{if((b|0)!=155){break b}e=J[c>>2];if(!e){break b}if(Zf(e,f+12|0)){break a}}g=J[c+4>>2]+1|0}e=Ib(a,g+52|0,0);if(e){a=Sa(e,0,52);I[a+34>>1]=65535;H[a|0]=b;c:{if(!c){break c}if(!g){b=J[f+12>>2];J[a+8>>2]=b;J[a+4>>2]=b?276826112:545261568;break c}b=a+52|0;J[a+8>>2]=b;g=J[c+4>>2];if(g){Qa(b,J[c>>2],g);c=J[c+4>>2]}else{c=0}H[c+b|0]=0;if(!d|H[K[J[a+8>>2]]+31216|0]>=0){break c}_r(a)}J[a+24>>2]=1}Fa=f+16|0;return e}function KE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=Fa-16|0;Fa=d;if((b|0)==2){a:{b:{if((Fb(J[c>>2])|0)!=5){if((Fb(J[c+4>>2])|0)!=5){break b}}Mb(a);break a}b=Wa(J[c>>2]);e=Wa(J[c+4>>2]);c=d+8|0;Pw(b,c);Pw(e,d);b=d;while(1){if((g|0)!=4){i=(ze(c)|0)==(ze(b)|0);while(1){f=K[c+1|0];e=c+1|0;c=e;if((f&192)==128){continue}break}c=b;while(1){f=K[c+1|0];b=c+1|0;c=b;if((f&192)==128){continue}break}g=g+1|0;h=h+i|0;c=e;continue}break}pc(a,h)}Fa=d+16|0;return}Z(23662,17942,1680,17835);D()}function ou(a,b,c,d){var e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;J[f+12>>2]=0;a:{b:{if(!K[a+17|0]){break b}h=J[16608];g=b;while(1){e=g;g=e+1|0;if((g|0)==(Ld(a,g)|0)|(e|0)==((h>>>0)/M[a+36>>2]|0)){continue}break}if(M[a+48>>2]<g>>>0){break b}e=Vi(a,g,f+7|0,f+8|0);if(!(e|K[f+7|0]!=4)){if(J[f+8>>2]!=(b|0)){break b}e=101;break a}g=0;if(e){break a}}g=0;e=ld(a,b,f+12|0,!c<<1);if(e){break a}e=0;g=ab(J[J[f+12>>2]+56>>2])}J[d>>2]=g;a=J[f+12>>2];c:{if(c){J[c>>2]=a;break c}zb(a)}Fa=f+16|0;return(e|0)!=101?e:0}function GE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;b=Fa-16|0;Fa=b;C(+d);c=x(1)|0;x(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}d=rj(d,0,0);break a}if(c>>>0>=2146435072){d=d-d;break a}c=sp(d,b);d=O[b+8>>3];e=O[b>>3];b:{switch(c&3){case 0:d=rj(e,d,1);break a;case 1:d=sj(e,d);break a;case 2:d=-rj(e,d,1);break a;default:break b}}d=-sj(e,d)}Fa=b+16|0;Nb(a,d);return}Z(23800,17942,419,17700);D()}function Mu(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;h=J[a+12>>2];f=h;g=J[a+8>>2];j=(e|0)>=(f|0)&d>>>0>=g>>>0|(e|0)>(f|0);f=e+(c>>31)|0;i=c+d|0;f=i>>>0<d>>>0?f+1|0:f;a:{if(!((f|0)<=(h|0)&g>>>0>i>>>0|(f|0)<(h|0)|j)){f=J[a+4>>2];g=g-d|0;f=Ja[J[J[f>>2]+12>>2]](f,b,g,d,e)|0;if(f){break a}c=c-g|0;f=J[a+16>>2]&3;if(f){h=J[a+4>>2];f=Ja[J[J[h>>2]+20>>2]](h,f)|0}else{f=0}if(f|!c){break a}f=g;e=e+(f>>31)|0;g=d;d=d+f|0;e=g>>>0>d>>>0?e+1|0:e;b=b+f|0}a=J[a+4>>2];f=Ja[J[J[a>>2]+12>>2]](a,b,c,d,e)|0}return f}function ED(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Fa-16|0;Fa=e;J[e+12>>2]=0;d=-28;f=!b;c=J[18441];a:{if(c){g=e+12|0;while(1){if(J[c>>2]==(a|0)){break a}if(g){J[g>>2]=c}c=J[c+36>>2];if(c){continue}break}}c=0}b:{if(!c|f|J[c+4>>2]!=(b|0)){break b}d=J[e+12>>2];J[(d?d+36|0:73764)>>2]=J[c+36>>2];d=J[c+16>>2];if(!(d&32)){f=J[c+24>>2];d=ha(a|0,b|0,J[c+32>>2],d|0,J[c+12>>2],f|0,J[c+28>>2])|0;if(d){break b}}if(J[c+8>>2]){xe(J[c>>2])}d=0;if(K[c+16|0]&32){break b}xe(c)}Fa=e+16|0;return qc(d)|0}function vd(a,b,c,d,e){var f=0,g=0;g=Fa-16|0;Fa=g;a:{if(J[e>>2]){break a}if(!b){J[e>>2]=Ta(71149);break a}f=J[a>>2];a=Ld(a,b);f=Ja[J[f+220>>2]](f,a,g+12|0,0)|0;if(f){J[e>>2]=f;break a}f=J[g+12>>2];b:{if(K[J[f+8>>2]]){J[e>>2]=Ta(71162);break b}a=P((a^-1)+b|0,5);if((a|0)<0){J[e>>2]=Ta(71167);break b}a=a+J[f+4>>2]|0;if(K[a|0]==(c|0)){if((ab(a+1|0)|0)==(d|0)){break b}}b=Pb(f);J[e>>2]=b;if(b){break b}H[a|0]=c;H[a+4|0]=d;H[a+3|0]=d>>>8;H[a+2|0]=d>>>16;H[a+1|0]=d>>>24}ed(J[g+12>>2])}Fa=g+16|0}function ey(a){var b=0,c=0;c=J[a+48>>2];b=J[a+44>>2]-c|0;b=(b|0)>=4096?4096:b;c=Tv(J[a+52>>2],c+J[a+40>>2]|0,b,c);a:{if(c){break a}b=b+J[a+48>>2]|0;J[a+48>>2]=b;b=b+J[a+40>>2]|0;H[b|0]=0;H[b+1|0]=0;H[b+2|0]=0;H[b+3|0]=0;H[b+4|0]=0;H[b+5|0]=0;H[b+6|0]=0;H[b+7|0]=0;H[b+16|0]=0;H[b+17|0]=0;H[b+18|0]=0;H[b+19|0]=0;H[b+8|0]=0;H[b+9|0]=0;H[b+10|0]=0;H[b+11|0]=0;H[b+12|0]=0;H[b+13|0]=0;H[b+14|0]=0;H[b+15|0]=0;if(J[a+48>>2]!=J[a+44>>2]){break a}ul(J[a+52>>2]);J[a+48>>2]=0;J[a+52>>2]=0}return c}function aJ(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{g=J[b+32>>2];e=J[g>>2];if(!e){break a}c=J[a+24>>2];f=J[c+8>>2];b=J[c+12>>2];d=b+(e>>31)|0;a=e+f|0;d=a>>>0<e>>>0?d+1|0:d;J[c+8>>2]=a;J[c+12>>2]=d;d=_c(J[c>>2],J[c+16>>2],a<<2,d<<2|a>>>30);if(!d){J[c+8>>2]=0;J[c+12>>2]=0;i=2;break a}J[c+16>>2]=d;c=0;a=0;while(1){e=J[g>>2];h=e>>31;if((h|0)<=(a|0)&c>>>0>=e>>>0|(a|0)>(h|0)){break a}J[d+(f<<2)>>2]=J[(g+(c<<6)|0)+48>>2];f=f+1|0;b=f?b:b+1|0;c=c+1|0;a=c?a:a+1|0;continue}}return i|0}function Bt(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=Fa-16|0;Fa=j;e=J[c>>2];h=J[c+4>>2];i=oo(b);J[d>>2]=i;g=i?0:7;m=a+48|0;while(1){if(!((b|0)<=(k|0)|g)){f=J[i+12>>2]+P(k,56)|0;g=_s(a,f,m,e,h);a:{if(g){break a}e=j;J[e+8>>2]=0;J[e+12>>2]=0;g=Zs(f,e+8|0);l=J[f>>2];h=l+J[e+8>>2]|0;e=J[e+12>>2]+J[f+4>>2]|0;J[f+8>>2]=h;J[f+12>>2]=h>>>0<l>>>0?e+1|0:e;if(g){break a}g=Qn(f)}k=k+1|0;e=J[f+8>>2];h=J[f+12>>2];continue}break}if(g){Dg(i);J[d>>2]=0}J[c>>2]=e;J[c+4>>2]=h;Fa=j+16|0;return g}function Nz(a,b,c,d){var e=0,f=0;a:{if(K[b+4|0]&32){break a}if(mc(c)){break a}d=Qh(J[a>>2],d);if(J[d+12>>2]!=15?d:0){break a}d=0;e=J[a+8>>2];e=(e|0)>0?e:0;while(1){if((d|0)!=(e|0)){f=J[J[a+24>>2]+(d<<3)>>2];if(J[f+28>>2]==J[b+28>>2]&L[f+32>>1]==L[b+32>>1]){break a}d=d+1|0;continue}break}if((mc(b)|0)==65){J[a+16>>2]=1}d=J[a+8>>2]+1|0;J[a+8>>2]=d;d=Oi(J[J[a>>2]>>2],J[a+24>>2],d<<3,0);J[a+24>>2]=d;if(!d){J[a+8>>2]=0;return}e=d;d=J[a+8>>2]<<3;J[(e+d|0)-8>>2]=b;J[(d+J[a+24>>2]|0)-4>>2]=c}}function JF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{b:{c:{d:{e=J[a>>2];d=J[e+24>>2];switch(c-d|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}b=J[b>>2];Vc(b);I[b+16>>1]=1;mw(b,a,9016,0);return 0}Vb(b,J[a+32>>2],J[a+36>>2]);return 0}if(J[a+16>>2]){a=J[a+20>>2];Vb(b,a,a>>31);return 0}c=d;if(J[e+44>>2]){break a}pc(b,0);return 0}d=Ul(0,a);e:{if(d){break e}e=-1;d=0;a=J[a+12>>2];if(!(!a|!J[a+120>>2])){e=L[a+144>>1]-1|0}if((e|0)<=(c|0)){break e}ge(b,iw(a,c+1|0))}return d|0}function zr(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=Fa-16|0;Fa=g;i=J[a+8>>2];if(K[b+28|0]&128){l=ec(b)}b=b+8|0;j=-1;while(1){b=J[b>>2];if(b){a:{b:{if(e){if(!J[(k<<2)+e>>2]){break a}if((b|0)!=(l|0)){break b}break a}if((b|0)==(l|0)){break a}}m=d+k|0;if((m|0)==(f|0)){break a}j=Qm(a,b,c,0,1,g+12|0,h,j);Pa(i,140,m,j,L[b+((K[b+55|0]|K[b+56|0]<<8)&8?50:52)>>1]);h=J[i+108>>2];if((h|0)>0){I[(J[i+104>>2]+P(h,20)|0)-18>>1]=1}rr(a,J[g+12>>2]);h=b}b=b+20|0;k=k+1|0;continue}break}Fa=g+16|0}function ph(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-48|0;Fa=d;f=J[a>>2];e=7;a:{b:{if(K[f+87|0]){break b}if(J[J[a+4>>2]>>2]){break a}e=J[a+16>>2]&3;if(e){g=J[b+4>>2];b=J[b>>2];J[d+44>>2]=c;J[d+32>>2]=b;J[d+36>>2]=g;J[d+40>>2]=J[(e<<2)+34348>>2];b=hb(f,7753,d+32|0);J[J[a+4>>2]>>2]=b;e=1;break b}if(H[f+32|0]&1){e=Ta(140683);break b}b=J[b+4>>2];J[d+16>>2]=b?b:21802;b=hb(f,25264,d+16|0);if(!(!c|!K[c|0])){J[d+4>>2]=c;J[d>>2]=b;b=hb(f,8827,d)}J[J[a+4>>2]>>2]=b;e=Ta(140690)}J[a+12>>2]=e}Fa=d+48|0}function Ud(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(f&64){e=f+-64|0;f=b;d=e&31;if((e&63)>>>0>=32){e=f<<d;d=0}else{e=(1<<d)-1&f>>>32-d|c<<d;d=f<<d}b=0;c=0;break a}if(!f){break a}h=d;g=f&31;if((f&63)>>>0>=32){i=d<<g;h=0}else{i=(1<<g)-1&h>>>32-g|e<<g;h=h<<g}g=b;e=64-f|0;d=e&31;if((e&63)>>>0>=32){e=0;d=c>>>d|0}else{e=c>>>d|0;d=((1<<d)-1&c)<<32-d|g>>>d}d=h|d;e=e|i;h=b;g=f&31;if((f&63)>>>0>=32){i=b<<g;b=0}else{i=(1<<g)-1&h>>>32-g|c<<g;b=h<<g}c=i}J[a>>2]=b;J[a+4>>2]=c;J[a+8>>2]=d;J[a+12>>2]=e}function Oy(a,b){var c=0,d=0,e=0;a:{c=wb(a,0);b:{if(c){J[c>>2]=a;bc(c,93);if(K[c+25|0]){qf(c,0,0);return}if(K[J[a+4>>2]+8|0]&8){mq(c);if(b){if(K[c+24|0]){break a}Qg(J[c+4>>2]);return}a=J[c+16>>2];b=J[c+20>>2]-!a|0;a=a-1|0;J[c+16>>2]=a;J[c+20>>2]=b;return}d=J[c+16>>2];e=J[c+4>>2];if(b){lb(a,e,d,K[c+24|0]?-1:9);H[c+24|0]=1;break b}lb(a,e,d,-1);b=J[c+16>>2];d=J[c+20>>2]-!b|0;b=b-1|0;J[c+16>>2]=b;J[c+20>>2]=d;break b}lb(a,18435,2,0)}a=J[a>>2];H[a+19|0]=74;I[a+16>>1]=L[a+16>>1]|2048}}function Ny(a,b){var c=0,d=0,e=0;a:{c=wb(a,0);b:{if(c){bc(c,125);J[c>>2]=a;if(K[c+25|0]){qf(c,0,0);return}if(K[J[a+4>>2]+8|0]&8){mq(c);if(b){if(K[c+24|0]){break a}Qg(J[c+4>>2]);return}a=J[c+16>>2];b=J[c+20>>2]-!a|0;a=a-1|0;J[c+16>>2]=a;J[c+20>>2]=b;return}d=J[c+16>>2];e=J[c+4>>2];if(b){lb(a,e,d,K[c+24|0]?-1:9);H[c+24|0]=1;break b}lb(a,e,d,-1);b=J[c+16>>2];d=J[c+20>>2]-!b|0;b=b-1|0;J[c+16>>2]=b;J[c+20>>2]=d;break b}lb(a,1031,2,0)}a=J[a>>2];H[a+19|0]=74;I[a+16>>1]=L[a+16>>1]|2048}}function JG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;c=wb(a,0);if(c){e=J[c+16>>2];g=J[c+20>>2];f=J[c+4>>2];b=0;a=1;a:{while(1){if(!g&a>>>0>=e>>>0){break a}h=a+f|0;d=K[h|0];if((d|0)!=44|b|i){b:{c:{if((d|0)!=92){if((d|0)!=34){break c}b=!b;break b}a=a+1|0;break b}if(b){b=1;break b}b=d&223;i=(((b|0)==91)+i|0)-((b|0)==93)|0;b=0}a=a+1|0;continue}break}b=e-a|0;J[c+16>>2]=b;J[c+20>>2]=g-(a>>>0>e>>>0);Dc(f+1|0,h+1|0,b-1|0);H[J[c+16>>2]+f|0]=0;return}J[c+16>>2]=1;J[c+20>>2]=0}}function cj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=(c|0)==4?2:(c|0)==8?2:c;if(e-4>>>0<=4294967292){Nc(180882);return}a:{f=gf(a,e,b,0);if(!f|!J[f+12>>2]){break a}if(J[a+184>>2]){Zd(a,5,4128,0);return}Uf(a,0);if((K[f+4|0]&247)!=(e|0)){break a}j=Cc(a+432|0,b);while(1){if((h|0)==3){break a}g=P(h,20)+j|0;if(K[g+4|0]==K[f+4|0]){i=J[g+16>>2];if(i){Ja[i|0](J[g+8>>2])}J[g+12>>2]=0}h=h+1|0;continue}}b=gf(a,e,b,1);if(!b){return}J[b+16>>2]=0;J[b+8>>2]=0;J[b+12>>2]=d;H[b+4|0]=c&8|e;Lc(a,0)}function Pw(a,b){var c=0,d=0,e=0;a:{while(1){c=K[a+d|0];if(!c){break a}if((c|32)-97>>>0>=26){d=d+1|0;continue}break}H[b|0]=uw(c);c=1;while(1){b:{if((c|0)>3){break b}e=K[a+d|0];if(!e){break b}e=K[(e&127)+57424|0];if(e){H[b+c|0]=e+48;c=c+1|0}d=d+1|0;continue}break}a=(c|0)<=4?4:c;while(1){if((a|0)!=(c|0)){H[b+c|0]=48;c=c+1|0;continue}break}H[a+b|0]=0;return}H[b+4|0]=K[24570];a=K[24566]|K[24567]<<8|(K[24568]<<16|K[24569]<<24);H[b|0]=a;H[b+1|0]=a>>>8;H[b+2|0]=a>>>16;H[b+3|0]=a>>>24}function Yd(a,b,c){var d=0,e=0,f=0,g=0;e=J[a+12>>2];d=J[a+16>>2];if((e|0)>=(d|0)){e=J[a+24>>2];f=J[a>>2];g=J[J[f>>2]>>2];d=Xq(f,P(d,96));J[a+24>>2]=d;if(!d){if(c&1){_a(g,b)}J[a+24>>2]=e;return 0}Qa(d,e,P(J[a+12>>2],48));J[a+16>>2]=J[a+16>>2]<<1;e=J[a+12>>2]}f=1;g=e+1|0;J[a+12>>2]=g;d=J[a+24>>2];if(!(c&2)){J[a+20>>2]=g}g=d+P(e,48)|0;d=d+P(e,48)|0;if(!(!b|!(K[b+6|0]&8))){f=J[b+28>>2];f=Fd(f,f>>31)-270|0}I[d+8>>1]=f;J[g>>2]=Xc(b);J[d+4>>2]=a;I[d+10>>1]=c;Sa(d+12|0,0,36);return e}function Ak(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=Fa-16|0;Fa=e;if(!J[a+36>>2]){c=J[b+12>>2];if(c){d=J[c+24>>2]}else{d=0}J[e+12>>2]=d;c=J[b+16>>2];a:{if(!c){break a}c=J[c+24>>2];if((c|0)<=(d|0)){break a}J[e+12>>2]=c}f=J[b+20>>2];d=J[b+4>>2];b:{if(d&4096){bB(f,e+12|0);break b}if(!f){break b}Um(f,e+12|0);c=J[f>>2];c=(c|0)>0?c:0;while(1){if((c|0)!=(g|0)){h=J[J[(f+(g<<4)|0)+8>>2]+4>>2]|h;g=g+1|0;continue}break}J[b+4>>2]=h&4194824|d}d=b;b=J[e+12>>2]+1|0;J[d+24>>2]=b;sk(a,b)}Fa=e+16|0}function th(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-112|0;Fa=d;e=b|524288;f=c?c:420;g=(b&192)!=192;a:{b:{while(1){b=Ja[J[16613]](a,e,f)|0;if((b|0)<0){if(J[18304]==27){continue}break a}if(b>>>0>2){break b}if(!g){Ja[J[16661]](a)|0}Ja[J[16616]](b)|0;J[d+4>>2]=b;J[d>>2]=a;Ac(28,17178,d);if((Ja[J[16613]](11620,0,c)|0)>=0){continue}break}b=-1;break a}if(!c){break a}if(Ja[J[16628]](b,d+16|0)|((J[d+20>>2]&511)==(c|0)|(J[d+40>>2]|J[d+44>>2]))){break a}Ja[J[16655]](b,c)|0}Fa=d+112|0;return b}function Ku(a,b,c,d,e){var f=0,g=0,h=0,i=0;a:{if((K[a+84|0]|K[a+85|0]<<8|(K[a+86|0]<<16|K[a+87|0]<<24))!=(K[e+8|0]|K[e+9|0]<<8|(K[e+10|0]<<16|K[e+11|0]<<24))|(K[a+88|0]|K[a+89|0]<<8|(K[a+90|0]<<16|K[a+91|0]<<24))!=(K[e+12|0]|K[e+13|0]<<8|(K[e+14|0]<<16|K[e+15|0]<<24))){break a}g=ab(e);if(!g){break a}h=!K[a+65|0];f=a+76|0;Of(h,e,8,f,f);Of(h,d,J[a+36>>2],f,f);if(J[a+76>>2]!=(ab(e+16|0)|0)){break a}if(J[a+80>>2]!=(ab(e+20|0)|0)){break a}J[b>>2]=g;J[c>>2]=ab(e+4|0);i=1}return i}function mf(a){var b=0,c=0,d=0;c=J[a+4>>2];J[c+4>>2]=J[a>>2];Pp(a,0,0);a:{b:{if(!K[a+9|0]){break b}b=J[c+68>>2];J[c+68>>2]=b-1;if((b|0)>1){break a}b=J[18290];if((b|0)==(c|0)){d=73160}else{while(1){d=b;if(!b){break b}b=J[b+72>>2];if((b|0)!=(c|0)){continue}break}d=d+72|0}J[d>>2]=J[c+72>>2]}bv(J[c>>2],J[a>>2]);b=J[c+56>>2];c:{if(!b){break c}d=J[c+52>>2];if(!d){break c}Ja[b|0](d)}Ua(0,J[c+52>>2]);Uo(c);Oa(c)}b=J[a+24>>2];d=J[a+28>>2];if(d){J[d+24>>2]=b}if(b){J[b+28>>2]=d}Oa(a)}function Jv(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=K[a|0];e=((P(K[K[(a+b|0)-1|0]+30832|0],3)^K[d+30832|0]<<2^b)%127|0)+34912|0;g=(b|0)<=2?2:b;h=d&223;a:{while(1){d=K[e|0];if(!d){break a}b:{c:{if(K[d+32448|0]!=(b|0)){break c}f=L[(d<<1)+32144>>1]+31472|0;if(K[f|0]!=(h|0)){break c}e=2;if(K[f+1|0]!=(K[a+1|0]&223)){break c}while(1){if((e|0)==(g|0)){break b}i=a+e|0;j=e+f|0;e=e+1|0;if(K[j|0]==(K[i|0]&223)){continue}break}}e=d+35200|0;continue}break}J[c>>2]=K[d+35040|0]}return b}function br(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Fa-32|0;Fa=d;h=J[c+12>>2];e=J[a>>2];g=J[e+120>>2];I[d+28>>1]=0;J[d+24>>2]=0;J[d+20>>2]=g;J[d+8>>2]=e;J[d+12>>2]=0;J[d+16>>2]=0;a:{if(!J[c+40>>2]){while(1){if(L[c+50>>1]<=f>>>0){break a}g=J[J[h+4>>2]+P(I[J[c+4>>2]+(f<<1)>>1],12)>>2];if(f){nb(d+8|0,30579,2)}e=d+8|0;Qd(e,J[h>>2]);nb(e,24900,1);Qd(e,g);f=f+1|0;continue}}J[d>>2]=J[c>>2];gb(d+8|0,28240,d)}f=Ed(d+8|0);jh(a,((K[c+55|0]|K[c+56|0]<<8)&3)==2?1555:2067,b,f,-6,2);Fa=d+32|0}function pk(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(J[a+36>>2]){break a}f=L[b+52>>1];c=J[a>>2];b:{if(K[b+55|0]&8){e=c;c=L[b+50>>1];c=xf(e,c,f-c|0);break b}c=xf(c,f,0)}if(!c){break a}while(1){if((d|0)!=(f|0)){g=d<<2;e=J[g+J[b+32>>2]>>2];if((e|0)==33312){e=0}else{e=Ai(a,e)}J[(c+g|0)+20>>2]=e;H[J[c+16>>2]+d|0]=K[J[b+28>>2]+d|0];d=d+1|0;continue}break}if(!J[a+36>>2]){return c}d=K[b+55|0]|K[b+56|0]<<8;if(!(d&512)){d=d|512;H[b+55|0]=d;H[b+56|0]=d>>>8;J[a+12>>2]=513}Si(c)}return 0}function jp(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{d=L[c+16>>1];switch(K[(d&63)+31120|0]-1|0){case 2:break b;case 3:break c;case 1:break d;case 0:break e;default:break a}}return xb(a,b,J[c>>2],J[c+4>>2])}if(d&8){e=O[c>>3]}else{e=+M[c>>2]+ +J[c+4>>2]*4294967296}return gw(a,b,e)}if(d&1024){c=J[c>>2];b=b-1|0;d=we(a,b);if(!d){mp(J[a+100>>2]+P(b,40)|0,c)}return d}return _f(a,b,J[c+8>>2],J[c+12>>2],-1)}d=J[c+12>>2];return kp(a,b,J[c+8>>2],d,d>>31,-1,K[c+18|0])}return we(a,b-1|0)}function Tg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=J[18291];if(c){Ja[c|0]()}ue(a);d=H[a+24|0]&1?!K[a+177|0]:d;g=!d;c=0;while(1){if((c|0)<J[a+20>>2]){e=J[(J[a+16>>2]+(c<<4)|0)+4>>2];if(e){h=K[e+8|0];Pp(e,b,g);f=(h|0)==2?1:f}c=c+1|0;continue}break}Fv(a);b=J[18292];if(b){Ja[b|0]()}if(d){Uf(a,0);sf(a)}J[a+512>>2]=0;J[a+516>>2]=0;J[a+520>>2]=0;J[a+524>>2]=0;c=J[a+36>>2]&-3;J[a+32>>2]=J[a+32>>2]&-524289;J[a+36>>2]=c;b=J[a+240>>2];if(!(!b|!(K[a+85|0]?f:1))){Ja[b|0](J[a+236>>2])}}function NA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=Fa-16|0;Fa=e;f=J[a+8>>2];a:{if(K[b+5|0]&8){a=J[b+8>>2];Na(f,71,c?0-a|0:a,d);break a}b:{g=J[b+8>>2];h=Qf(g,e+8|0);if(!((h|0)==2|!((c|0)!=0|(h|0)!=3))){i=J[e+8>>2];j=J[e+12>>2];if(!c|(i|(j|0)!=-2147483648)){break b}}if(!tb(g,1604,2)){J[e+4>>2]=b;J[e>>2]=c?24903:30620;Ra(a,19139,e);break a}mr(f,g,c,d);break a}if(c){a=(h|0)==3;J[e+8>>2]=a?0:0-i|0;J[e+12>>2]=a?-2147483648:0-(j+((i|0)!=0)|0)|0}kr(f,72,d,e+8|0,-13)}Fa=e+16|0}function Dx(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;b=0;a:{if(K[a+237|0]!=2){break a}J[f>>2]=J[a+20>>2];g=ub(3585,f);b=7;if(!g){break a}c=J[a+12>>2];d=J[a+16>>2];b=Fa-32|0;Fa=b;J[b+28>>2]=0;ue(c);e=Wo(c,b+28|0);if(!e){d=tc(c,g,d);h=!d|K[d+43|0]==2?h:1}d=J[b+28>>2];if(!((e|0)!=0|h)){Ua(c,d);J[b+20>>2]=0;J[b+16>>2]=g;d=hb(c,6415,b+16|0);J[b+28>>2]=d;e=1}J[b>>2]=d;Zd(c,e,d?8863:0,b);Ua(c,J[b+28>>2]);c=bd(c,e);Fa=b+32|0;Oa(g);H[a+237|0]=!c;b=0}Fa=f+16|0;return b}function Bl(a,b){var c=0,d=0,e=0;c=Fa-32|0;J[c+24>>2]=0;J[c+28>>2]=0;J[c+16>>2]=0;J[c+20>>2]=0;J[c+8>>2]=0;J[c+12>>2]=0;J[c>>2]=0;J[c+4>>2]=0;d=K[b|0];if(!d){return 0}if(!K[b+1|0]){b=a;while(1){c=b;b=c+1|0;if(K[c|0]==(d|0)){continue}break}return c-a|0}while(1){e=c+(d>>>3&28)|0;J[e>>2]=J[e>>2]|1<<d;d=K[b+1|0];b=b+1|0;if(d){continue}break}b=a;d=K[b|0];a:{if(!d){break a}while(1){if(!(J[c+(d>>>3&28)>>2]>>>d&1)){break a}d=K[b+1|0];b=b+1|0;if(d){continue}break}}return b-a|0}function Ib(a,b,c){var d=0;a:{b:{c:{if(!c&L[a+308>>1]<b>>>0|c){if(!J[a+304>>2]){J[a+324>>2]=J[a+324>>2]+1;break c}if(!K[a+87|0]){break c}break b}d:{if(!c&b>>>0>128|c){break d}d=J[a+344>>2];if(d){J[a+344>>2]=J[d>>2];break a}d=J[a+340>>2];if(!d){break d}J[a+340>>2]=J[d>>2];break a}d=J[a+336>>2];if(d){J[a+336>>2]=J[d>>2];break a}d=J[a+332>>2];if(d){J[a+332>>2]=J[d>>2];break a}J[a+328>>2]=J[a+328>>2]+1}d=Yb(b,c);if(!d){Db(a)}}return d}J[a+320>>2]=J[a+320>>2]+1;return d}function Qj(a,b){var c=0,d=0,e=0;c=Fa+-64|0;Fa=c;a:{b:{switch(K[(L[b+16>>1]&63)+31120|0]-1|0){case 4:ad(a,11625,4);break a;case 1:O[c>>3]=yb(b);Nj(100,a,12570,c);break a;case 0:of(a,Wa(b),sb(b));break a;case 2:d=Wa(b);e=sb(b);if(!(!(K[b+17|0]&8)|K[b+19|0]!=74)){of(a,d,e);break a}fm(a,d,e);break a;default:break b}}if(Pj(b)){Sa(c+16|0,0,48);J[c+8>>2]=$c(b);J[c+12>>2]=sb(b);Zg(c+8|0,0,a);break a}if(K[a+25|0]){break a}Bb(J[a>>2],5355,-1);H[a+25|0]=4;ig(a)}Fa=c- -64|0}function Gs(a,b,c){var d=0,e=0,f=0;f=Fa-16|0;Fa=f;d=J[a>>2];a:{if(ve(a)){break a}if(!b){YA(a,0);break a}if(!(J[c>>2]?c:0)){e=oc(J[a>>2],b);if(!e){break a}if(gf(d,K[d+84|0],e,0)){YA(a,e);Za(d,e);break a}Za(d,e)}e=Ef(a,b,c,f+12|0);if((e|0)<0){break a}b=oc(d,J[f+12>>2]);if(!b){break a}c=J[c+4>>2]?J[J[d+16>>2]+(e<<4)>>2]:0;e=tc(d,b,c);if(e){XA(a,e,0);Za(d,b);break a}c=$e(d,b,c);Za(d,b);if(c){fd(a,0,Ab(d,J[J[c+12>>2]+60>>2]));kn(a,c,-1);break a}Ra(a,15261,0)}Fa=f+16|0}function Dw(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==K[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}d=b&255;if(!((d|0)==K[a|0]|c>>>0<4)){d=P(d,16843009);while(1){e=d^J[a>>2];if((e^-1)&e-16843009&-2139062144){break b}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}b=b&255;while(1){if((b|0)==K[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function ex(a,b,c,d){var e=0,f=0,g=0,h=0;a=Oe(a,b);if(a){b=0;while(1){g=K[a+b|0];if((g-48&255)>>>0<=9){g=g&15;f=lJ(f,e,10,0)+g|0;e=Ia;e=f>>>0<g>>>0?e+1|0:e;b=b+1|0;continue}break}J[c>>2]=f;J[c+4>>2]=e;c=1;g=0;while(1){f=K[a+b|0];if((f|0)!=32){if((f|0)==45){c=-1;g=-1;b=b+1|0}f=0;e=0;while(1){h=K[a+b|0];if((h-48&255)>>>0<=9){h=h&15;f=lJ(f,e,10,0)+h|0;e=Ia;e=f>>>0<h>>>0?e+1|0:e;b=b+1|0;continue}break}J[d>>2]=lJ(f,e,c,g);J[d+4>>2]=Ia}else{b=b+1|0;continue}break}}}function Yi(a,b){var c=0,d=0,e=0;c=J[a+12>>2];a:{if(!(b&1)){break a}if(J[c+8>>2]==(a|0)){J[c+8>>2]=J[a+44>>2]}d=J[a+44>>2];b:{c:{e=J[a+40>>2];if(!e){J[c+4>>2]=d;if(!d){break c}break b}J[e+44>>2]=d;if(d){break b}J[c>>2]=e;break a}H[c+41|0]=2;J[c>>2]=0;break a}J[d+40>>2]=e}d:{if(!(b&2)){break d}J[a+44>>2]=0;b=J[c>>2];J[a+40>>2]=b;e:{if(b){J[b+44>>2]=a;break e}J[c+4>>2]=a;if(!K[c+40|0]){break e}H[c+41|0]=1}J[c>>2]=a;if(J[c+8>>2]|K[a+28|0]&8){break d}J[c+8>>2]=a}}function fh(a,b){var c=0,d=0,e=0;c=J[b+16>>2];if(!c){e=J[b+12>>2];c=0;d=L[b+52>>1]+1|0;c=d?c:1;c=Yb(d,c);J[b+16>>2]=c;a:{if(c){a=0;while(1){if(L[b+52>>1]>a>>>0){c=L[J[b+4>>2]+(a<<1)>>1];d=c<<16>>16;b:{if((d|0)>=0){c=K[(J[e+4>>2]+P(c,12)|0)+5|0];break b}c=68;if((d|0)==-1){break b}c=mc(J[(J[b+40>>2]+(a<<4)|0)+8>>2])}c=c<<24>>24;c=(c|0)<=65?65:c;H[J[b+16>>2]+a|0]=c>>>0>=67?67:c;a=a+1|0;continue}break}H[J[b+16>>2]+a|0]=0;c=J[b+16>>2];break a}Db(a);c=0}}return c}function ut(a,b,c,d){var e=0,f=0,g=0;e=Fa-80|0;Fa=e;a:{if(K[a+18|0]==K[c+4|0]){g=Ja[J[c+12>>2]](J[c+8>>2],J[a+12>>2],J[a+8>>2],J[b+12>>2],J[b+8>>2])|0;break a}f=J[a+20>>2];J[e+64>>2]=0;J[e+60>>2]=f;I[e+56>>1]=1;J[e+24>>2]=0;J[e+20>>2]=f;I[e+16>>1]=1;f=e+40|0;Cg(f,a,16384);Cg(e,b,16384);a=Fl(f,K[c+4|0]);b=Fl(e,K[c+4|0]);b:{if(!(b?a:0)){if(!d){break b}H[d|0]=7;break b}g=Ja[J[c+12>>2]](J[c+8>>2],J[e+52>>2],a,J[e+12>>2],b)|0}uh(e+40|0);uh(e)}Fa=e+80|0;return g}function rF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;b=Fa-16|0;Fa=b;J[b>>2]=0;J[b+4>>2]=0;d=b+12|0;i=Ll(J[c>>2],a,J[c+4>>2],d);f=J[J[a+20>>2]+64>>2];if(J[b+12>>2]){Ej(d,b);j=J[b+12>>2];k=J[b+4>>2];l=J[b>>2]}a=(f|0)>0?f:0;while(1){if(!(!g&(a|0)==(e|0))){d=J[c+8>>2];J[c+8>>2]=d+1;d=J[c+24>>2]+P(d,24)|0;J[d+8>>2]=l;J[d+12>>2]=k;J[d>>2]=j;h=f+(e^-1)|0;J[d+16>>2]=h;J[d+20>>2]=h>>31;e=e+1|0;g=e?g:g+1|0;continue}break}Fa=b+16|0;return i|0}function zC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Fa-16|0;Fa=e;d=J[a+4>>2];a:{b:{if((b|0)!=36){a=12;if((b|0)!=12){break a}b=J[d+24>>2];a=J[d+4>>2];J[e+8>>2]=J[d>>2];J[e+12>>2]=a;J[e>>2]=b;J[c>>2]=ub(25520,e);break b}g=J[c+4>>2];f=J[d+4>>2];b=J[c>>2];a=J[d>>2];c:{if((g|0)>=(f|0)&b>>>0>=a>>>0|(f|0)<(g|0)){a=b;f=g;break c}if((g|0)>0|(g|0)>=0){break c}a=J[d+16>>2];f=J[d+20>>2]}J[d+16>>2]=a;J[d+20>>2]=f;J[c>>2]=a;J[c+4>>2]=f}a=0}Fa=e+16|0;return a|0}function rf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=Fa-16|0;J[e+12>>2]=c;while(1){j=K[b+1|0]-48|0;c=K[b|0]-48|0;g=(c&255)+a|0;k=L[(H[b+2|0]<<1)+51610>>1];f=K[b+3|0];d=0;a:{while(1){if(c&255){h=K[a|0];if(h-58>>>0<4294967286){break a}c=c-1|0;a=a+1|0;d=((h<<24>>24)+P(d,10)|0)-48|0;continue}break}if(j<<24>>24>(d|0)|(d|0)>(k|0)|(K[g|0]!=(f|0)?f:0)){break a}a=J[e+12>>2];J[e+12>>2]=a+4;J[J[a>>2]>>2]=d;b=b+4|0;i=i+1|0;a=g+1|0;if(f){continue}}break}return i}function Yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=Fa-32|0;Fa=c;a:{if(!b){break a}f=J[a+24>>2];J[a+24>>2]=f&-134254609;d=J[a>>2];J[c+28>>2]=a;J[c+8>>2]=75;J[c+4>>2]=d;J[c+16>>2]=0;J[c+12>>2]=f&524288?0:76;e=J[d+228>>2]+J[b+24>>2]|0;J[d+228>>2]=e;g=1;if(sk(d,e)){break a}Hm(c+4|0,b);d=J[c+4>>2];J[d+228>>2]=J[d+228>>2]-J[b+24>>2];e=b;h=J[b+4>>2];b=J[a+24>>2];J[e+4>>2]=h|b&32784;J[a+24>>2]=b|f&134254608;if(J[a+20>>2]>0){break a}g=J[d+36>>2]>0}Fa=c+32|0;return g}function Lo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=J[a+20>>2];if(M[a+16>>2]>b>>>0&(e|0)>=(c|0)|(c|0)<(e|0)){a:{b:{if(!(b|c)){e=a+12|0;break b}e=a+12|0;f=J[a+4>>2];d=f>>31;g=f;h=d;while(1){e=J[e>>2];if(e){i=b>>>0>g>>>0&(c|0)>=(d|0)|(c|0)>(d|0);d=d+h|0;g=f+g|0;d=f>>>0>g>>>0?d+1|0:d;if(i){continue}}break}d=e;if(d){break b}d=0;break a}Mo(J[e>>2]);J[e>>2]=0}J[a+16>>2]=b;J[a+20>>2]=c;J[a+32>>2]=0;J[a+36>>2]=0;J[a+40>>2]=0;J[a+24>>2]=d}return 0}function tF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;d=Fa-48|0;Fa=d;J[d+32>>2]=b;J[d+44>>2]=0;J[d+36>>2]=c;J[d+40>>2]=c;f=ub(22604,d+32|0);if(f){g=Rd(J[a+12>>2],f,0,0,d+44|0);Oa(f);a:{b:{if((g&255)==11){a=K[a+236|0];J[d+8>>2]=c;J[d+4>>2]=b;J[d>>2]=a?4:3;a=ub(6358,d);break b}if(!g){break a}a=K[a+236|0];J[d+20>>2]=b;J[d+24>>2]=c;J[d+28>>2]=J[d+44>>2];J[d+16>>2]=a?4:3;a=ub(7689,d+16|0)}J[e>>2]=a}Oa(J[d+44>>2]);a=0}else{a=7}Fa=d+48|0;return a|0}function or(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;f=Fa-160|0;Fa=f;J[f>>2]=0;i=J[a>>2];h=f+56|0;Sa(h,0,52);j=f+4|0;Sa(j,0,52);k=f+108|0;Sa(k,0,52);g=eb(i,J[b+12>>2],0);if(!K[i+87|0]){H[f+108|0]=44;J[f+68>>2]=g;H[f+56|0]=57;J[f+124>>2]=j;J[f+120>>2]=h;b=J[b+20>>2];h=J[b+8>>2];J[f+16>>2]=g;H[f+4|0]=55;J[f+72>>2]=h;J[f+20>>2]=J[b+24>>2];RA(g,pr(a,g,f));a:{if(d){Ja[d|0](a,k,c,e);break a}J[g+4>>2]=J[g+4>>2]|1;Ge(a,f+108|0,c)}mb(a,J[f>>2])}_a(i,g);Fa=f+160|0}function PB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;h=Fa-16|0;Fa=h;i=K[c|0];k=K[e|0];g=H[c+1|0];J[h+12>>2]=g&255;if((g|0)<0){Jd(c+1|0,h+12|0)}j=H[e+1|0];g=j&255;J[h+8>>2]=g;if((j|0)<0){Jd(e+1|0,h+8|0);g=J[h+8>>2]}j=J[J[a+12>>2]+28>>2];l=c+i|0;i=J[h+12>>2];k=Cb(l,e+k|0,(((g|0)>(i|0)?i:g)-13|0)/2|0);g=k?k:i-g|0;a:{if(!g){g=0;if(L[j+6>>1]<2){break a}g=$s(a,b,c,d,e,f);break a}g=K[J[j+16>>2]]?0-g|0:g}Fa=h+16|0;return g|0}function wI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;c=J[c>>2];a:{b=wb(a,40);b:{if(!b){break b}e=L[b+16>>1];f=L[c+16>>1];d=f&31;if((f&63)>>>0>=32){d=-1431655766>>>d|0}else{d=((1<<d)-1&-1431655766)<<32-d|-1431655766>>>d}if(d&1){if(!e){break b}break a}if(e){d=J[J[a+4>>2]+8>>2];e=zh(b,c,J[(J[J[a+12>>2]+104>>2]+P(J[a+16>>2],20)|0)-4>>2]);if(!(d?(e|0)>=0:(e|0)<=0)){mj(b,c);return}break a}J[b+20>>2]=J[J[a>>2]+20>>2];mj(b,c)}return}H[a+25|0]=1;J[a+20>>2]=-1}function wk(a,b){var c=0,d=0,e=0,f=0;e=Fa-16|0;Fa=e;d=J[a>>2];if(J[a+256>>2]){Ra(a,9385,0)}H[a+159|0]=1;c=ib(d,144,0);a:{if(!c){kb(d,b);break a}J[a+144>>2]=c;J[c+4>>2]=b;J[c>>2]=a;dd(a,45,c);if(K[d+87|0]){break a}J[e>>2]=a;f=wd(40,c+104|0,9946,e);H[c+18|0]=1;I[c+16>>1]=662;J[c+8>>2]=f;a=J[J[d+16>>2]+28>>2];J[c+68>>2]=b;b=c+8|0;J[c+48>>2]=b;H[c+44|0]=150;J[c+36>>2]=c+44;J[c+32>>2]=a;J[c+28>>2]=a;if((jd(a+40|0,f,b)|0)!=(b|0)){break a}Db(d)}Fa=e+16|0}function Dy(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=J[a+52>>2];b=c<<1;d=b>>>0<=256?256:b;a:{if(!c){break a}b=J[18291];if(!b){break a}Ja[b|0]()}e=od(d<<2,0);b:{if(!J[a+52>>2]){break b}b=J[18292];if(!b){break b}Ja[b|0]()}if(e){h=J[a+52>>2];while(1){b=J[a+56>>2];if((f|0)!=(h|0)){c=J[b+(f<<2)>>2];while(1){if(c){b=J[c+16>>2];g=(M[c+8>>2]%(d>>>0)<<2)+e|0;J[c+16>>2]=J[g>>2];J[g>>2]=c;c=b;continue}break}f=f+1|0;continue}break}Oa(b);J[a+52>>2]=d;J[a+56>>2]=e}}function CE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}e=yb(J[c>>2]);J[18304]=0;b=a;C(.5);a=x(1)|0;g=x(0)|0;C(+e);c=x(1)|0;x(0)|0;z(0,g|0);z(1,a&2147483647|c&-2147483648);f=+B();d=R(e);C(+d);a=x(1)|0;x(0)|0;a:{if(a>>>0<=1082535489){d=qj(d);if(a>>>0<=1072693247){if(a>>>0<1045430272){break a}e=f*(d+d-d*d/(d+1));break a}e=f*(d+d/(d+1));break a}e=Iw(d,f+f)}Nb(b,e);return}Z(23800,17942,438,17764);D()}function jv(a,b){var c=0,d=0,e=0;c=Fa-48|0;Fa=c;J[c+32>>2]=1;J[c+36>>2]=0;J[c+24>>2]=128;J[c+28>>2]=0;J[c+16>>2]=1;e=J[b+12>>2];J[c>>2]=c+16;d=3850;a:{if(Ja[J[16634]](e,5,c)|0){break a}d=5;b:{c:{switch(L[c+16>>1]-1|0){case 0:break a;case 1:break c;default:break b}}if(K[b+22|0]){H[b+23|0]=1;d=1288;break a}d=Zi(a,1,128,1);if(d){break a}if(!nv(J[b+12>>2],3,0)){break b}d=4618;Dd(4618,13187,J[b+8>>2],42591);break a}d=Zi(a,0,128,1)}Fa=c+48|0;return d}function xu(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=J[d>>2];l=J[e>>2];while(1){h=(c|0)<=(g|0);if(!(h&(i|0)>=(l|0))){a:{b:{if(h){break b}if((i|0)<(l|0)){if(M[(L[(g<<1)+b>>1]<<2)+a>>2]>=M[(L[(i<<1)+k>>1]<<2)+a>>2]){break b}}h=(g<<1)+b|0;g=g+1|0;break a}h=(i<<1)+k|0;i=i+1|0}h=L[h>>1];m=J[(h<<2)+a>>2];I[(j<<1)+f>>1]=h;j=j+1|0;if((c|0)<=(g|0)){continue}g=(J[(L[(g<<1)+b>>1]<<2)+a>>2]==(m|0))+g|0;continue}break}J[d>>2]=b;J[e>>2]=j;Qa(b,f,j<<1)}function nu(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=Fa-16|0;Fa=c;e=J[a+4>>2];f=J[a+52>>2];a:{b:{if(K[a|0]){J[c+12>>2]=0;break b}b=Kh(a);J[c+12>>2]=b;if(b){break a}}h=L[a+24>>1];b=0;while(1){if((b|0)!=(h|0)){d=J[a+64>>2]+(b<<1)|0;d=J[a+56>>2]+(L[a+26>>1]&(K[d|0]<<8|K[d+1|0]))|0;g=c+12|0;Ti(a,a,d,g);if(!K[a+8|0]){vd(f,ab(d),5,e,g)}b=b+1|0;continue}break}if(!K[a+8|0]){vd(f,ab((J[a+56>>2]+K[a+9|0]|0)+8|0),5,e,c+12|0)}b=J[c+12>>2]}Fa=c+16|0;return b}function Ij(a){var b=0,c=0,d=0;d=Fa-16|0;Fa=d;a:{b:{c:{while(1){if(b){break c}if(J[a+260>>2]>(c|0)){b=Jp(a,J[a+288>>2],c,-1);b=(b|0)!=101?b:0;c=c+1|0;continue}break}if(!J[a+52>>2]|(!K[a+237|0]|J[a+48>>2]!=255)){break b}c=0;J[d+12>>2]=0;b=Gb(a,22,d+12|0,0);if(b){break c}b=J[d+12>>2];xb(b,1,2,0);d:{switch(qb(b)-100|0){case 0:c=Ad(b,0);c=(c|0)==1?8:c;case 1:J[a+48>>2]=c;break;default:break d}}b=jb(b)}if(b){break a}}Sl(a);b=0}Fa=d+16|0;return b}function Fw(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=K[a|0];if(!c|(c|0)==(d|0)){break a}a=a+1|0;if(a&3){continue}break}}c=J[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=P(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=J[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}d=b&255;while(1){b=a;c=K[a|0];if(c){a=a+1|0;if((c|0)!=(d|0)){continue}}break}return b}return ob(a)+a|0}return a}function vi(a,b,c){var d=0,e=0,f=0;f=(b|0)<0;while(1){a:{b:{c:{if(a){d=J[a+4>>2];if(f){break c}if(!(d&1)|J[a+36>>2]!=(b|0)){break a}d=d&-4|2;break b}return}d=d&-4}J[a+4>>2]=d}d:{e=K[a|0];if((e|0)!=172){if((e|0)!=167|c|J[a+28>>2]!=(b|0)){break d}J[a+4>>2]=d&-2097153;break d}d=0;e=J[a+20>>2];if(!e){break d}while(1){if(J[e>>2]<=(d|0)){break d}vi(J[((d<<4)+e|0)+8>>2],b,c);d=d+1|0;e=J[a+20>>2];continue}}vi(J[a+12>>2],b,c);a=J[a+16>>2];continue}}function yG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=P(J[18279],52)+68|0;d=od(d,d>>31);if(d){if(J[18279]){J[d+80>>2]=10;e=d+68|0}else{e=73060}if(!L[e+34>>1]){I[e+34>>1]=1;f=e+20|0;J[e+48>>2]=f;J[e+44>>2]=f}J[d+12>>2]=b;J[d+8>>2]=a;J[d>>2]=e;J[d+20>>2]=(c|0)!=0;J[d+16>>2]=(a+b|0)+32;Dy(d);a:{if(c){J[d+24>>2]=10;a=J[e+8>>2];J[e+8>>2]=a+10;J[e+12>>2]=J[e+4>>2]-a;a=e+16|0;break a}a=d+40|0}J[d+4>>2]=a;if(J[d+52>>2]){return d|0}Cy(d)}return 0}function qu(a){var b=0,c=0;if(K[a+69|0]){J[a+56>>2]=Yk(a);J[a+60>>2]=Ia;return 0}b=Sh(a);J[a+56>>2]=b;J[a+60>>2]=0;b=b+17|0;c=b>>>0<17?1:c;c=Yb(b,c);if(!c){return 7}b=wo(a,0,J[a+56>>2],c);if(!b){b=J[a+56>>2]+c|0;H[b|0]=0;H[b+1|0]=0;H[b+2|0]=0;H[b+3|0]=0;H[b+4|0]=0;H[b+5|0]=0;H[b+6|0]=0;H[b+7|0]=0;H[b+16|0]=0;H[b+8|0]=0;H[b+9|0]=0;H[b+10|0]=0;H[b+11|0]=0;H[b+12|0]=0;H[b+13|0]=0;H[b+14|0]=0;H[b+15|0]=0;J[a+16>>2]=c;return 0}Oa(c);return b}function Xf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=J[a+108>>2];a:{if(J[a+112>>2]<(d+b|0)){if(Vv(a)){break a}d=J[a+108>>2]}i=(b|0)>0?b:0;f=J[a+104>>2]+P(d,20)|0;d=f;while(1){if((g|0)!=(i|0)){h=K[c|0];H[d|0]=h;J[d+4>>2]=H[c+1|0];e=H[c+2|0];J[d+8>>2]=e;if(!(!(H[h+35360|0]&1)|(e|0)<=0)){J[d+8>>2]=e+J[a+108>>2]}e=H[c+3|0];J[d+16>>2]=0;H[d+1|0]=0;J[d+12>>2]=e;I[d+2>>1]=0;d=d+20|0;c=c+4|0;g=g+1|0;continue}break}J[a+108>>2]=J[a+108>>2]+b}return f}function nd(a,b,c,d){var e=0;e=J[a+4>>2];if(M[a+8>>2]<(e+c|0)+9>>>0){if(!Oj(a,(J[a+4>>2]+c|0)+9|0)){nd(a,b,c,d)}return}e=e+J[a>>2]|0;a:{if(c>>>0<=11){H[e|0]=c<<4|b;b=1;break a}if(c>>>0<=255){H[e+1|0]=c;H[e|0]=b|192;b=2;break a}if(c>>>0<=65535){H[e+2|0]=c;H[e+1|0]=c>>>8;H[e|0]=b|208;b=3;break a}H[e+4|0]=c;H[e+3|0]=c>>>8;H[e+2|0]=c>>>16;H[e+1|0]=c>>>24;H[e|0]=b|224;b=5}b=b+J[a+4>>2]|0;J[a+4>>2]=b;if(d){J[a+4>>2]=b+c;Qa(b+J[a>>2]|0,d,c)}}function fn(a,b,c){var d=0,e=0,f=0;d=rb(a);f=vb(a);Na(d,71,0,f);a:{if((c|0)>=3){e=vb(a);$a(d,117,0,e,0,30620,-1);Pa(d,57,e,J[d+108>>2]+2|0,b);e=J[d+108>>2];if((e|0)<=0){break a}I[(J[d+104>>2]+P(e,20)|0)-18>>1]=83;break a}Na(d,13,b,J[d+108>>2]+2|0);e=J[d+108>>2]}c=c<<2;Pa(d,J[c+50176>>2],f,e+2|0,b);b=J[d+108>>2];if((b|0)>0){I[(J[d+104>>2]+P(b,20)|0)-18>>1]=67}b=J[a+128>>2];H[(b?b:a)+21|0]=1;Na(d,70,1,2);sc(d,J[c+50144>>2],-1);mb(a,f)}function lA(a,b,c){var d=0,e=0,f=0;d=Fa-48|0;Fa=d;e=J[b+28>>2];J[d+40>>2]=0;J[d+44>>2]=0;J[d+32>>2]=0;J[d+36>>2]=0;J[d+24>>2]=0;J[d+28>>2]=0;J[d+12>>2]=a;b=J[b+32>>2];J[d+36>>2]=524417;J[d+20>>2]=e;J[d+16>>2]=b;a=J[a>>2];b=K[a+91|0];H[a+91|0]=1;f=Yc(d+12|0,c);H[a+91|0]=b;b=0;a:{b:{if(f){break b}while(1){if(J[e>>2]<=(b|0)){break b}f=b<<4;a=b+1|0;b=a;if(Zb(0,J[(e+f|0)+8>>2],c,-1)>>>0>1){continue}break}break a}a=0}Fa=d+48|0;return a}function vz(a,b){var c=0,d=0,e=0;d=1;a:{if((b|0)==65){break a}b:{while(1){c:{d:{c=K[a|0];switch(c-173|0){case 3:break c;case 0:case 1:break d;default:break b}}e=(c|0)==173?1:e;a=J[a+12>>2];continue}break}c=K[a+2|0]}e:{f:{g:{switch(c-153|0){default:if((c|0)==117){break f}d=0;if((c|0)!=167|(b|0)<67){break a}return L[a+32>>1]>>>15|0;case 2:return(b|0)>66;case 1:break e;case 0:break g}}return(b|0)>66}return!e&(b|0)==66}d=!e}return d}function zo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Fa-16|0;Fa=d;c=J[a+232>>2];a:{b:{c:{if(!(!c|I[c+40>>1]<0)){c=J[c+72>>2];if(c){break c}}e=J[a+64>>2];c=J[e>>2];if(!c){c=0;break b}J[d+8>>2]=0;J[d+12>>2]=0;c=Ja[J[c+24>>2]](e,d+8|0)|0;if(c){break a}c=J[a+168>>2];e=J[d+8>>2];g=c+e|0;h=J[a+172>>2];f=h+J[d+12>>2]|0;f=e>>>0>g>>>0?f+1|0:f;c=mJ(g-1|0,f-!g|0,c,h)}if(M[a+160>>2]>=c>>>0){break b}J[a+160>>2]=c}J[b>>2]=c;c=0}Fa=d+16|0;return c}function lE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=Wa(J[c>>2]);b=ob(d);e=gc(b+1|0);if(!e){Qb(a);return}b=b+e|0;H[b|0]=0;g=b-1|0;a:while(1){b=d;if(ze(b)){while(1){c=1;f=K[b+1|0];b=b+1|0;if((f&192)==128){continue}break}while(1){f=b-c|0;if(f>>>0<d>>>0){d=b;continue a}else{H[g|0]=K[f|0];c=c+1|0;g=g-1|0;continue}}}break}lb(a,e,-1,-1);Oa(e);return}Z(17902,17942,1323,17803);D()}function Vk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=J[a>>2];d=J[a+4>>2];a:{b:{if((c|0)>0|(c|0)>=0){if(!e&(d|0)<=0|(d|0)<0){break b}i=1;f=d^2147483647;if((c|0)<=(f|0)&b>>>0<=(e^-1)>>>0|(c|0)<(f|0)){break b}break a}if((d|0)>0|(d|0)>=0){break b}i=1;g=1-e|0;h=b+1|0;f=h?c:c+1|0;h=g>>>0>h>>>0;g=-2147483648-(d+(e>>>0>1)|0)|0;if(h&(g|0)>=(f|0)|(f|0)<(g|0)){break a}}c=c+d|0;b=b+e|0;c=b>>>0<e>>>0?c+1|0:c;J[a>>2]=b;J[a+4>>2]=c;i=0}return i}function FF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=Fa-16|0;Fa=d;b=J[a+12>>2];e=J[b+40>>2];f=J[b+44>>2];b=Ij(a);a:{if(b){break a}b=0;if(M[a+52>>2]<5){break a}c=J[a+48>>2];if(!c|(c|0)==255){break a}c=0;J[d+12>>2]=0;b=Gb(a,36,d+12|0,0);if(!b){b=J[d+12>>2];if((qb(b)|0)==100){c=Ad(b,0)}b=jb(b)}c=P(J[a+52>>2],c);c=((c|0)/2|0)+c|0;if((c|0)<65){break a}b=Ex(a,c,J[a+48>>2])}Se(a);a=J[a+12>>2];J[a+40>>2]=e;J[a+44>>2]=f;Fa=d+16|0;return b|0}function RH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=wb(a,40);e=Ng(J[c>>2]);if(!(!d|(e|0)==5)){a=J[d+24>>2];b=J[d+28>>2]-!a|0;a=a-1|0;J[d+24>>2]=a;J[d+28>>2]=b;if(!K[d+32|0]){a=fb(J[c>>2]);b=J[d+16>>2];c=J[d+20>>2]-(Ia+(a>>>0>b>>>0)|0)|0;a=b-a|0;J[d+16>>2]=a;J[d+20>>2]=c;return}b=J[c>>2];if((e|0)==1){a=fb(b);c=(a|0)!=0;b=Ia;if(c|(b|0)!=-2147483648){pm(d,0-a|0,0-(b+c|0)|0);return}pm(d,-1,2147483647);gi(d,1);return}gi(d,-yb(b))}}function zi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Fa+-64|0;Fa=e;f=J[a>>2];h=J[a+248>>2];a:{if(!h){break a}g=J[h+4>>2]+P(I[h+34>>1],12)|0;i=g-12|0;if(!tk(b,K[f+177|0]?K[f+176|0]==1?4:5:4,0)){J[e>>2]=J[i>>2];Ra(a,2999,e);break a}if(K[g-2|0]&96){Ra(a,11071,0);break a}g=e+12|0;Sa(g,0,52);H[e+12|0]=181;c=qn(f,c,d);J[e+24>>2]=b;J[e+20>>2]=c;J[e+16>>2]=8192;d=eb(f,g,1);Ua(f,c);pn(a,h,i,d)}if(K[a+220|0]>=2){nn(a,b)}_a(f,b);Fa=e- -64|0}function ps(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=J[a>>2];if((c|0)<2){break a}e=a+8|0;b=c;while(1){f=b-1|0;d=K[((b<<6)+e|0)-92|0];H[((f<<6)+e|0)+36|0]=d;g=d|g;d=b>>>0>2;b=f;if(d){continue}break}H[a+44|0]=0;if(!(g&16)){break a}while(1){b:{b=c;if((b|0)<2){b=1;break b}c=b-1|0;if(!(K[((c<<6)+a|0)+44|0]&16)){continue}}break}b=b-2|0;while(1){c=(b<<6)+a|0;H[c+44|0]=K[c+44|0]|64;c=(b|0)>0;b=b-1|0;if(c){continue}break}}}function _c(a,b,c,d){var e=0;if(!b){return Ib(a,c,d)}a:{b:{if(M[a+356>>2]<=b>>>0){break b}if(M[a+348>>2]<=b>>>0){if(!d&c>>>0>=129|d){break b}break a}if(M[a+352>>2]>b>>>0){break b}if(!d&L[a+310>>1]>=c>>>0){break a}}c:{d:{if(K[a+87|0]){break d}if(!(M[a+360>>2]<=b>>>0|M[a+352>>2]>b>>>0)){c=Ib(a,c,d);if(!c){break d}c=Qa(c,b,M[a+348>>2]<=b>>>0?128:L[a+310>>1]);Ua(a,b);b=c;break c}e=Gd(b,c,d);if(e){break d}Db(a);e=0}b=e}}return b}function js(a,b,c,d){var e=0,f=0,g=0;f=Fa-16|0;Fa=f;e=J[a>>2];g=J[a+248>>2];a:{if(!(H[J[J[(J[e+16>>2]+(K[e+176|0]<<4)|0)+4>>2]+4>>2]+24|0]&1|(!g|K[a+220|0]==1))){e=Kb(a,J[g+16>>2],b);J[g+16>>2]=e;if(J[a+84>>2]){vg(a,e,a+80|0,1);break a}while(1){b=K[c+1|0];c=c+1|0;if(H[b+31216|0]&1){continue}break}while(1){b=d;d=b-1|0;if(H[K[d|0]+31216|0]&1){continue}break}J[f+8>>2]=c;J[f+12>>2]=b-c;vg(a,e,f+8|0,1);break a}_a(e,b)}Fa=f+16|0}function Cz(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{if(b&64){break a}e=J[J[c>>2]>>2];while(1){if(K[d|0]==44){if(!Cz(a,b,c,J[d+12>>2])){break a}d=J[d+16>>2];continue}break}g=K[J[e>>2]+34|0]&128?0:e;h=b&32;b=J[c+24>>2];e=0;while(1){if(J[c+12>>2]<=(e|0)){break a}b:{f=J[b>>2];c:{if(H[f+4|0]&1){if(J[f+36>>2]==(a|0)){break c}break b}if(h){break b}}if(!Mm(g,f,d,a)|K[b+10|0]&128){break b}i=1;break a}b=b+48|0;e=e+1|0;continue}}return i}function nE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)==2){a:{if((Fb(J[c>>2])|0)!=5){if((Fb(J[c+4>>2])|0)!=5){break a}}Mb(a);return}b=Wa(J[c>>2]);c=fb(J[c+4>>2]);e=(c|0)>0?c:0;c=b;while(1){if(!(!ze(c)|(d|0)==(e|0))){d=d+1|0;while(1){f=K[c+1|0];c=c+1|0;if((f&192)==128){continue}break}continue}break}c=c-b|0;d=gc(c+1|0);if(!d){Qb(a);return}b=yw(d,b,c);H[b+c|0]=0;lb(a,b,-1,-1);Oa(b);return}Z(23662,17942,1073,17619);D()}function rm(a,b){var c=0,d=0,e=0,f=0,g=0;d=Fa-16|0;Fa=d;f=J[a>>2];g=Ob(f,J[b+12>>2]);a:{b:{c:{e=Bd(a,0,0,0);if(e){c=J[J[b+4>>2]+20>>2];J[e+16>>2]=g;if((c|0)!=J[J[f+16>>2]+28>>2]){J[e+8>>2]=c}c=J[b+16>>2];if(!c){c=e;break a}c=oh(f,c,0);b=0;if(!c){break b}if(J[c>>2]<2|K[a+220|0]>1){break c}b=sd(a,0,c,0,0,0,0,2048,0);J[d+8>>2]=0;J[d+12>>2]=0;b=Je(a,0,0,0,d+8|0,b,0);break b}Ua(f,g);break a}b=c}c=rs(a,e,b)}Fa=d+16|0;return c}function qA(a,b,c,d,e){var f=0,g=0;f=Fa+-64|0;Fa=f;g=J[a>>2];c=eb(g,J[((c<<4)+b|0)+8>>2],0);a:{if(K[g+87|0]){_a(g,c);break a}if((e|0)>0){J[f+24>>2]=0;J[f+28>>2]=0;J[f+16>>2]=0;J[f+20>>2]=0;J[f+8>>2]=0;J[f+12>>2]=0;J[f+32>>2]=e;J[f+12>>2]=84;Eb(f+8|0,c)}if(K[d|0]==113){c=li(a,c,J[d+8>>2])}b=f+8|0;Qa(b,c,52);c=Qa(c,d,52);b=Qa(d,b,52);b:{if(!(H[b+7|0]&1)){break b}d=J[b+44>>2];if(!d){break b}J[d+72>>2]=b}fk(a,c)}Fa=f- -64|0}function bu(a,b,c){var d=0,e=0;d=L[a+16>>1];a:{if(d&1){break a}b:{c:{switch(b-65|0){case 0:if(!(d&16)){re(a,66,c);b=L[a+16>>1];if(!(b&2)){break a}I[a+16>>1]=b&62016|16;break b}I[a+16>>1]=d&62032;break b;case 2:vt(a);break b;case 3:Ah(a);break b;case 4:cu(a);break b;default:break c}}I[a+16>>1]=d>>>3&2|d;re(a,66,c);I[a+16>>1]=L[a+16>>1]&64451;if((c|0)!=1){J[a+12>>2]=J[a+12>>2]&-2}e=Kd(a,c);if(e){break a}lw(a)}e=0}return e}function vB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(J[b+4>>2]&81920){break a}c=J[b+40>>2];if(!c){break a}d=I[b+34>>1];e=J[a>>2];a=J[e>>2];b:{if(K[b|0]!=168){if(J[(J[c+20>>2]+(d<<4)|0)+4>>2]!=(b|0)|J[c+24>>2]<=(d|0)){break a}b=eb(a,b,0);if(!b){break a}J[(J[c+20>>2]+(d<<4)|0)+4>>2]=b;break b}if(J[J[c+32>>2]+P(d,24)>>2]!=(b|0)|J[c+36>>2]<=(d|0)){break a}b=eb(a,b,0);if(!b){break a}J[J[c+32>>2]+P(d,24)>>2]=b}fk(e,b)}return 0}function Hr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=J[b+20>>2];a:{if(H[g+7|0]&1){break a}while(1){j=(c|0)>(d|0)?c:d;while(1){e=c;if((e|0)==(j|0)){break a}c=e+1|0;h=(e<<6)+a|0;e=h;f=J[e+28>>2];if(!f|K[e+45|0]&32){continue}i=J[e+16>>2];if(!i){continue}e=J[J[e+24>>2]+60>>2];if((e|0)!=J[J[b+16>>2]+60>>2]){continue}if(Ub(i,J[b+8>>2])|!e&J[g+16>>2]!=J[f+16>>2]){continue}break}if(H[f+7|0]&1){continue}break}k=h+8|0}return k}function BC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=J[a+8>>2];c=0;a:{if((e|0)>=(b|0)){break a}d=J[a+4>>2];if((b|0)>=2){c=8;if(K[d+36|0]&4){break a}}b:{c:{switch(b-1|0){case 0:c=5;if(J[d+44>>2]>0){break a}J[d+40>>2]=J[d+40>>2]+1;break b;case 1:case 2:if((e|0)!=1){break b}c=5;if(J[d+44>>2]>0){break a}J[d+44>>2]=1;break b;default:break c}}c=5;if(J[d+40>>2]>1){break a}if((e|0)!=1){break b}J[d+44>>2]=1}J[a+8>>2]=b;c=0}return c|0}function pE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if((b|0)!=2){break a}if((Fb(J[c>>2])|0)==5){break a}g=fb(J[c+4>>2]);b=Ia;h=b;if((b|0)<0){Bb(a,9065,-1);return}f=sb(J[c>>2]);d=gc(P(g,f)+1|0);b=gc(f+1|0);if(!(b?d:0)){Qb(a);if(d){Oa(d)}if(!b){break a}Oa(b);return}c=Sg(b,Wa(J[c>>2]));while(1){b=i;if((e|0)!=(g|0)|(h|0)!=(b|0)){Sg(d+P(e,f)|0,c);e=e+1|0;i=e?b:b+1|0;continue}break}lb(a,d,-1,-1);Oa(d);Oa(c)}}function at(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(J[a>>2]){break a}d=J[a+4>>2];if(!d){break a}c=J[a+12>>2];e=J[a+16>>2];if((c|0)>=(e|0)){break a}f=J[a+32>>2];g=c+d|0;e=e-c|0;d=J[a+28>>2]+(c>>31)|0;h=c;c=J[a+24>>2]+c|0;d=h>>>0>c>>>0?d+1|0:d;J[a>>2]=Ja[J[J[f>>2]+12>>2]](f,g,e,c,d)}c=J[a+16>>2];e=c;d=c+J[a+24>>2]|0;c=J[a+28>>2]+(c>>31)|0;J[b>>2]=d;J[b+4>>2]=d>>>0<e>>>0?c+1|0:c;Oa(J[a+4>>2]);b=J[a>>2];Sa(a,0,40);return b}function YG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if((b|0)<=0){break a}d=jg(a,J[c>>2],(b|0)!=1);if(!d){break a}f=1;b:{c:{d:{while(1){if((b|0)==(f|0)){break d}e=Wa(J[(f<<2)+c>>2]);if(!e){break b}if(K[e|0]!=36){break c}if(!K[e+1|0]){break b}J[d+40>>2]=0;H[d+39|0]=1;f=f+1|0;g=Ce(d,0,e+1|0,0);if(g>>>0<4294967293|(g|0)==-2){continue}break}if((g|0)==-3){break c}Bb(a,19961,-1);break b}xq(a,d);break b}Rj(a,e)}Wc(d)}}function Tv(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=b;a:{if(!a){a=Nc(102068);break a}g=J[a+20>>2];b=1;b:{if((c|d)<0){break b}e=J[a>>2];j=e;f=e>>31;e=0;h=c+d|0;e=h>>>0<c>>>0?1:e;if(j>>>0<h>>>0&(e|0)>=(f|0)|(e|0)>(f|0)){break b}e=J[a+16>>2];if(!e){b=4;break b}f=J[a+12>>2];b=J[f+8>>2];J[J[b+4>>2]+4>>2]=J[b>>2];b=4;c=Sv(f,J[a+4>>2]+d|0,c,i);if((c|0)==4){kf(e);J[a+16>>2]=0;break b}J[e+36>>2]=c;b=c}Lc(g,b);a=bd(g,b)}return a}function Lx(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=Fa-16|0;Fa=d;J[d+12>>2]=0;c=Ij(a);a:{if(c){break a}c=Gb(a,27,d+12|0,0);if(c){break a}e=J[d+12>>2];Uc(e,1,J[a+288>>2]);Uc(e,2,J[a+260>>2]);b:while(1){if((qb(e)|0)==100){c=0;g=Ad(e,0);while(1){if(J[a+260>>2]<=(c|0)|f){continue b}f=Jp(a,g,c,-2);c=c+1|0;if((f|0)!=101){continue}f=0;h=1;continue}}break}c=(i=f,j=jb(e),k=f,k?i:j)}Se(a);Fa=d+16|0;return b?c?c:h?101:c:c}function kk(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(J[a+124>>2]){c=a+124|0;h=J[a>>2];f=J[a+8>>2];while(1){a:{c=J[c>>2];if(!c){break a}e=J[c+12>>2];b=J[h+16>>2];d=J[c+8>>2];g=vb(a);Pa(f,55,e+2|0,J[f+108>>2]+7|0,e);Cd(a,0,J[c+8>>2],J[J[(b+(d<<4)|0)+12>>2]+72>>2],113);b=Xf(f,5,50288);if(!b){break a}d=e+1|0;J[b+72>>2]=d;J[b+68>>2]=g;J[b+52>>2]=g;J[b+44>>2]=e-1;J[b+28>>2]=d;J[b+4>>2]=d;I[b+62>>1]=8;mb(a,g);continue}break}}}function ar(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=(c<<6)+b|0;g=K[e+44|0];a:{if(g&64){break a}h=J[a+4>>2];d=h&1;b:{if(g&8){if(!d){break a}if(J[a+36>>2]==J[e+48>>2]){break b}break a}if(d){break a}}c:{if(!(h&3)|!(K[b+44|0]&64)){break c}d=0;f=(c|0)>0?c:0;while(1){if((d|0)==(f|0)){break c}e=(d<<6)+b|0;if(J[a+36>>2]==J[e+48>>2]){f=0;if(K[e+44|0]&64){break a}}else{d=d+1|0;continue}break}}f=tk(a,3,J[((c<<6)+b|0)+48>>2])}return f}function sF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=Fa-16|0;Fa=d;g=J[c+16>>2];f=g+P(b,40)|0;J[f>>2]=J[J[a+20>>2]+64>>2];e=a;a=d+12|0;c=Ll(J[c>>2],e,J[c+4>>2],a);e=J[d+12>>2];a:{if(!e){break a}J[d>>2]=0;J[d+4>>2]=0;J[f+4>>2]=e;Ej(a,d);f=J[d>>2];a=J[d+4>>2];e=a;if((a|0)<0){c=267;break a}a=P(b,40)+g|0;b=J[d+12>>2];J[a+32>>2]=b;J[a+16>>2]=b;J[a+24>>2]=f;J[a+28>>2]=e;J[a+8>>2]=f;J[a+12>>2]=e}Fa=d+16|0;return c|0}function Sg(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){c=K[b|0];break b}if(b&3){while(1){c=K[b|0];H[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=J[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){J[d>>2]=c;c=J[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}H[d|0]=c;if(!(c&255)){break a}while(1){c=K[b+1|0];H[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function Oo(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=Fa-16|0;Fa=e;d=el(a,b+33>>>12|0,e+4|0);a:{if(d){break a}f=b-J[e+12>>2]|0;b:{if((f|0)!=1){b=J[e+8>>2];break b}b=J[e+8>>2];Sa(b,0,(J[e+4>>2]-b|0)+16384|0)}g=((f<<2)+b|0)-4|0;if(J[g>>2]){Ko(a)}d=P(c,383);a=J[e+4>>2];b=f;c:{while(1){d=d&8191;h=a+(d<<1)|0;if(L[h>>1]){if(!b){break c}d=d+1|0;b=b-1|0;continue}break}J[g>>2]=c;I[h>>1]=f;d=0;break a}d=Ta(65818)}Fa=e+16|0;return d}function Fh(a,b){var c=0,d=0,e=0,f=0;f=K[a+9|0];e=J[a+56>>2];d=J[a+52>>2];if(K[d+24|0]&12){Sa(e+f|0,0,J[d+40>>2]-f|0)}c=e+f|0;H[c|0]=b;H[c+7|0]=0;H[c+1|0]=0;H[c+2|0]=0;H[c+3|0]=0;H[c+4|0]=0;H[c+5|0]=J[d+40>>2]>>>8;H[c+6|0]=J[d+40>>2];c=f+(b&8?8:12)|0;J[a+20>>2]=J[d+40>>2]-c&65535;zu(a,b);I[a+18>>1]=c;b=J[d+36>>2];J[a+64>>2]=c+e;J[a+68>>2]=K[a+10|0]+e;H[a+12|0]=0;I[a+24>>1]=0;H[a|0]=1;J[a+60>>2]=b+e;I[a+26>>1]=b-1}function Qz(a,b,c,d,e){var f=0,g=0;f=73192;g=J[a+8>>2];if(!K[J[g>>2]+87|0]){f=J[g+104>>2]+P(b,20)|0}a:{if(K[J[a>>2]+87|0]){break a}a=J[g+108>>2];a=(a|0)>(b|0)?a:b;while(1){if((a|0)==(b|0)){break a}b:{if(J[f+4>>2]!=(c|0)){break b}g=K[f|0];if((g|0)!=135){if((g|0)!=94){break b}H[f|0]=80;I[f+2>>1]=2;g=J[f+8>>2];J[f+8>>2]=J[f+12>>2];J[f+12>>2]=0;J[f+4>>2]=d+g;break b}J[f+4>>2]=e;H[f|0]=126}f=f+20|0;b=b+1|0;continue}}}function Hj(a,b,c){var d=0,e=0,f=0,g=0;d=J[a>>2];a:{b:{if(!d){d=pb(140,0);if(!d){return 7}J[d+8>>2]=100;J[d>>2]=0;e=d+40|0;J[d+4>>2]=e;break b}e=J[d+8>>2];f=J[d>>2];if((e|0)>=(f+11|0)){e=J[d+4>>2];break b}g=e<<1;f=g>>31;e=g+40|0;f=e>>>0<40?f+1|0:f;d=Bc(d,e,f);if(!d){Oa(J[a>>2]);d=0;b=7;break a}J[d+8>>2]=g;e=d+40|0;J[d+4>>2]=e;f=J[d>>2]}b=hc(e+f|0,b,c)+J[d>>2]|0;J[d>>2]=b;H[b+J[d+4>>2]|0]=0;b=0}J[a>>2]=d;return b}function yi(a,b,c,d,e){var f=0,g=0;f=Fa-112|0;Fa=f;J[f+36>>2]=0;J[f+28>>2]=0;J[f+32>>2]=0;J[f+20>>2]=0;J[f+24>>2]=0;J[f+12>>2]=0;J[f+16>>2]=0;Sa(f+40|0,0,72);if(b){J[f+40>>2]=1;g=J[b>>2];J[f+88>>2]=-1;J[f- -64>>2]=b;J[f+56>>2]=g;c=J[b+60>>2]==J[J[J[a>>2]+16>>2]+28>>2]?c:c|262144}J[f+4>>2]=a;J[f+28>>2]=c|65536;J[f+8>>2]=f+40;a=f+4|0;b=1;a:{if(Yc(a,d)){break a}b=0;if(!e){break a}b=He(a,e)}a=b;Fa=f+112|0;return a}function Ke(a,b,c){var d=0,e=0,f=0;e=J[c+4>>2];d=Ib(J[a>>2],e+53|0,0);a:{if(!d){break a}J[d+4>>2]=8388608;H[d|0]=b;J[d+40>>2]=0;J[d+12>>2]=0;J[d+16>>2]=0;J[d+44>>2]=0;J[d+48>>2]=0;J[d+20>>2]=0;I[d+32>>1]=0;J[d+28>>2]=0;H[d+1|0]=0;H[d+2|0]=0;b=d+52|0;J[d+8>>2]=b;f=b;b=J[c>>2];H[Qa(f,b,e)+e|0]=0;J[d+36>>2]=b-J[a+244>>2];if(H[K[J[d+8>>2]]+31216|0]<0){_r(d)}J[d+24>>2]=1;if(K[a+220|0]<2){break a}qe(a,d,c)}return d}function yc(a,b){var c=0,d=0,e=0;if(b){d=b+8|0;while(1){if(J[b>>2]>(e|0)){c=J[d+4>>2];if(c){Sb(a,c)}c=J[d+8>>2];if(c){Sb(a,c)}c=J[d+12>>2];if(c){Sb(a,c)}c=K[d+37|0]|K[d+38|0]<<8;if(c&2){Ua(a,J[d+56>>2]);c=K[d+37|0]|K[d+38|0]<<8}if(c&4){kb(a,J[d+56>>2])}xd(a,J[d+16>>2]);c=J[d+20>>2];if(c){ac(a,c)}c=J[d+44>>2];a:{if(K[d+38|0]&4){ne(a,c);break a}if(!c){break a}ce(a,c)}d=d- -64|0;e=e+1|0;continue}break}Sb(a,b)}}function Dk(a,b,c,d){var e=0,f=0,g=0,h=0;f=Fa-16|0;Fa=f;e=J[a>>2];a:{if(!K[65785]|((J[e+32>>2]&268435457)==1|K[e+178|0]&2)){break a}b:{if(K[e+177|0]){g=c;c=J[e+180>>2];c:{if(Ub(g,J[c>>2])){break c}if(Ub(b,J[c+4>>2])){break c}if(!Ub(d,J[c+8>>2])){break a}}Ra(a,30620,0);break b}d:{if(!K[a+18|0]){if(!tb(b,18298,7)){break d}}if(!mh(e)){break a}if(!yn(e,b)){break a}}J[f>>2]=b;Ra(a,8110,f)}h=1}Fa=f+16|0;return h}function we(a,b){var c=0,d=0,e=0;d=Fa-16|0;Fa=d;a:{if(bs(a)){c=Nc(91436);break a}if(K[a+151|0]!=1){Lc(J[a>>2],Nc(91440));J[d>>2]=J[a+200>>2];Ac(21,18355,d);c=Nc(91444);break a}if(I[a+16>>1]>>>0<=b>>>0){c=25;Lc(J[a>>2],25);break a}c=J[a+100>>2]+P(b,40)|0;Vc(c);I[c+16>>1]=1;c=0;J[J[a>>2]+64>>2]=0;e=J[a+228>>2];if(!e|!((b>>>0>30?-2147483648:1<<b)&e)){break a}I[a+152>>1]=L[a+152>>1]&65532|1}Fa=d+16|0;return c}function sE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){a:{switch(Fb(J[c>>2])-1|0){case 0:Vb(a,fb(J[c>>2]),Ia);return;case 4:Mb(a);return;default:break a}}d=W(yb(J[c>>2]));b:{if(R(d)<0x8000000000000000){c=~~d>>>0;if(R(d)>=1){b=~~(d>0?T(V(d*2.3283064365386963e-10),4294967295):W((d-+(~~d>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break b}c=0;b=-2147483648}Vb(a,c,b);return}Z(23800,17942,620,17726);D()}function rE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){a:{switch(Fb(J[c>>2])-1|0){case 0:Vb(a,fb(J[c>>2]),Ia);return;case 4:Mb(a);return;default:break a}}d=V(yb(J[c>>2]));b:{if(R(d)<0x8000000000000000){c=~~d>>>0;if(R(d)>=1){b=~~(d>0?T(V(d*2.3283064365386963e-10),4294967295):W((d-+(~~d>>>0>>>0))*2.3283064365386963e-10))>>>0}else{b=0}break b}c=0;b=-2147483648}Vb(a,c,b);return}Z(23800,17942,645,17637);D()}function oi(a,b,c,d){var e=0,f=0,g=0;a:{if(!(K[b+43|0]|!(K[J[a>>2]+33|0]&64))){b:{if(!c){f=1;if(tg(b)){break a}g=J[b+48>>2]!=0;break b}e=b+48|0;f=1;while(1){e=J[e>>2];if(e){if(rz(b,e,c,d)){g=1;f=Ub(J[b>>2],J[e+8>>2])?f:2}e=e+4|0;continue}break}e=tg(b);while(1){if(!e){break b}c:{if(!Mq(b,e,c,d)){break c}g=1;if(!K[e+26|0]|K[J[a>>2]+36|0]&8){break c}return 2}e=J[e+12>>2];continue}}if(g){break a}}f=0}return f}function mu(a){var b=0,c=0,d=0;b=J[a>>2];lu(b);J[b+104>>2]=J[a+8>>2];J[b+108>>2]=J[a+52>>2];J[b+88>>2]=J[a+12>>2];J[b+20>>2]=J[a+56>>2];J[b+96>>2]=J[a+16>>2];J[b+24>>2]=J[a+44>>2];c=J[a+36>>2];d=J[b>>2];J[d+40>>2]=J[a+32>>2];J[d+44>>2]=c;c=J[a+76>>2];J[b+40>>2]=J[a+72>>2];J[b+44>>2]=c;c=J[a+84>>2];J[d+104>>2]=J[a+80>>2];J[d+108>>2]=c;Wk(d,b+236|0,-1,0);J[b+236>>2]=J[a+40>>2];J[a+40>>2]=0;return J[a+48>>2]}function an(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Fa-16|0;Fa=g;a:{if(!c){break a}e=J[a>>2];if(K[e+87|0]|K[a+220|0]>1){break a}f=J[c>>2];if((f|0)>J[e+128>>2]){J[g>>2]=d;Ra(a,13241,g);i=1;break a}e=c+8|0;j=J[b+28>>2];b=0;while(1){if((b|0)>=(f|0)){break a}h=L[e+12>>1];if(h){f=J[j>>2];if((f|0)<(h|0)){i=1;fr(a,d,b+1|0,f,0);break a}qA(a,j,h-1|0,J[e>>2],0);f=J[c>>2]}e=e+16|0;b=b+1|0;continue}}Fa=g+16|0;return i}function Wi(a){var b=0,c=0;a:{b:{if(J[18281]<(a|0)){break b}b=J[18287];if(!b){break b}J[18287]=J[b>>2];c=J[18288];J[18288]=c-1;J[18289]=(c|0)<=J[18283];if(M[18189]<a>>>0){J[18189]=a}a=J[18173]+1|0;J[18173]=a;if(a>>>0<=M[18183]){break a}J[18183]=a;break a}b=Yb(a,a>>31);if(b){c=Ja[J[16455]](b)|0;if(M[18189]<a>>>0){J[18189]=a}a=J[18174]+c|0;J[18174]=a;if(a>>>0>M[18184]){J[18184]=a}}else{b=0}return b}return b}function zg(a,b){var c=0;c=H[a+68|0];if((c|0)>=19){return Ta(75453)}I[a+50>>1]=0;H[a+1|0]=K[a+1|0]&249;I[((c<<1)+a|0)+72>>1]=L[a+70>>1];J[((c<<2)+a|0)+120>>2]=J[a+116>>2];H[a+68|0]=c+1;I[a+70>>1]=0;b=Ji(J[a+20>>2],b,a+116|0,K[a+2|0]);a:{if(!b){c=J[a+116>>2];if(L[c+24>>1]){b=0;if(K[c+1|0]==K[a+69|0]){break a}}zb(c);b=Ta(75467)}c=K[a+68|0]-1|0;H[a+68|0]=c;J[a+116>>2]=J[((c<<24>>24<<2)+a|0)+120>>2]}return b}function Wr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=J[J[J[a>>2]+16>>2]+28>>2];a=e+48|0;c=J[b+56>>2];while(1){f=c;a:{b:{while(1){a=J[a>>2];if(!a){break a}c=J[a+8>>2];g=J[c+24>>2];h=J[b+60>>2];c:{if((g|0)!=(h|0)){break c}d=J[c+4>>2];if(!d){break c}if(Xa(d,J[b>>2])){break c}if(K[c+10|0]|(e|0)!=(g|0)){break b}}if(K[c+8|0]!=150){continue}break}d=J[b>>2];J[c+24>>2]=h;J[c+4>>2]=d}J[c+32>>2]=f;continue}break}return f}function BF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-16|0;Fa=d;a:{if(Nl(a,12827,J[c>>2],d+12|0)){break a}b=J[J[d+12>>2]>>2];c=Rd(J[b+12>>2],23510,0,0,0);b:{if(c){break b}c=Lx(b,1);if(!(c?(c|0)!=101:0)){e=Rd(J[b+12>>2],23542,0,0,0);c=e?e:c;break b}Rd(J[b+12>>2],23525,0,0,0);Rd(J[b+12>>2],23542,0,0,0)}Se(b);c:{if((c|0)!=101){if(c){break c}lb(a,15234,-1,0);break a}lb(a,11817,-1,0);break a}Td(a,c)}Fa=d+16|0}function WF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=gc(132);if(!d){return 7}d=Sa(d,0,132);a:{if((a|0)<2){a=1;while(1){if((a|0)==128){break a}H[(a+d|0)+4|0]=0-(a-58>>>0<4294967286&(a&95)-91>>>0<4294967270);a=a+1|0;continue}}a=ob(J[b+4>>2]);f=(a|0)>0?a:0;a=0;while(1){if((a|0)==(f|0)){break a}e=H[J[b+4>>2]+a|0];if((e|0)>=0){H[(d+(e&255)|0)+4|0]=1;a=a+1|0;continue}break}Oa(d);return 1}J[c>>2]=d;return 0}function jn(a,b){var c=0,d=0,e=0,f=0;e=Fa-16|0;Fa=e;a:{b:{if(J[a>>2]<2){break b}d=J[a+72>>2];if(!d){break b}a=Ja[d|0](a,b)|0;break a}a=Ja[J[a+64>>2]](a,e+8|0)|0;c=O[e+8>>3]*864e5;c:{if(R(c)<0x8000000000000000){f=~~c>>>0;if(R(c)>=1){d=~~(c>0?T(V(c*2.3283064365386963e-10),4294967295):W((c-+(~~c>>>0>>>0))*2.3283064365386963e-10))>>>0}else{d=0}break c}d=-2147483648}J[b>>2]=f;J[b+4>>2]=d}Fa=e+16|0;return a}function Xe(a){var b=0,c=0,d=0;a:{while(1){b:{c:{b=K[a|0];switch(b-173|0){case 3:break b;case 0:case 1:break c;default:break a}}a=J[a+12>>2];continue}break}b=K[a+2|0]}d:{if((b|0)==117|b-153>>>0<3){break d}if((b|0)==167){c=1;if(K[a+6|0]&32){break d}b=J[a+44>>2];if(!b){break d}c=0;a=I[a+32>>1];if((a|0)<0){break d}d=J[b+4>>2];if(!d|(a|0)>=I[b+34>>1]){break d}return!(K[(P(a,12)+d|0)+4|0]&15)}c=1}return c}
function du(a){var b=0,c=0,d=0;b=L[a+16>>1]&45;if(!b){c=Fa-16|0;Fa=c;a:{b:{if(K[a+17|0]&4){b=0;if(ie(a)){break b}}d=Hd(J[a+8>>2],a,J[a+12>>2],K[a+18|0]);c:{if((d|0)<=0){b=8;if(d){break a}if((Yf(J[a+8>>2],c+8|0,J[a+12>>2],K[a+18|0])|0)<=1){break c}break a}b=8;if((d|0)!=1){break a}if(Yf(J[a+8>>2],c+8|0,J[a+12>>2],K[a+18|0])){break a}}d=J[c+12>>2];b=J[c+8>>2]}J[a>>2]=b;J[a+4>>2]=d;b=4}Fa=c+16|0}return b}function yk(a,b){var c=0,d=0,e=0,f=0,g=0;d=Fa-16|0;Fa=d;a:{if(!J[b+52>>2]){break a}g=1;e=b;b:{c:{while(1){c=e;J[c+56>>2]=f;J[c+4>>2]=J[c+4>>2]|256;e=J[c+52>>2];if(!e){break b}g=g+1|0;f=18646;if(J[e+48>>2]){break c}f=c;if(!J[e+60>>2]){continue}break}f=18872}J[d+4>>2]=qi(K[c|0]);J[d>>2]=f;Ra(a,13655,d)}if(K[b+5|0]&4){break a}b=J[J[a>>2]+136>>2];if((b|0)<=0|(b|0)>=(g|0)){break a}Ra(a,18930,0)}Fa=d+16|0}function kE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}b=Wa(J[c>>2]);f=Jl(b);if(!f){break a}d=1;g=f;while(1){h=K[b|0];if(h){c=1;b=b+1|0;e=h<<24>>24;if((e|0)==32|(e|0)==9){d=h}else{c=0;b:{if((d|0)==1){d=uw(e);break b}d=e-65>>>0<26?e|32:e}}H[g|0]=d;g=g+1|0;d=c;continue}break}H[g|0]=0;lb(a,f,-1,-1);Oa(f);return}Z(23800,17942,724,17671);D()}Qb(a)}function bC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=H[b|0];d=c&255;a:{if((c|0)>=0){e=b;break a}d=d&127;c=0;while(1){f=c+1|0;e=f+b|0;g=H[e|0];d=g&127|d<<7;if(c>>>0>6){break a}c=f;if((g|0)<0){continue}break}}c=e+1|0;f=L[a+14>>1];b:{if(f>>>0>=d>>>0){a=c+(d-b|0)|0;a=a>>>0<=4?4:a;break b}e=L[a+16>>1];a=((d-e>>>0)%(J[J[a+52>>2]+40>>2]-4>>>0)|0)+e|0;a=((c-b&65535)+(a>>>0>f>>>0?e:a)|0)+4|0}return a&65535}function Mq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=J[b+20>>2];i=(e|0)>0?e:0;while(1){if((g|0)==(i|0)){return 0}e=0;f=I[a+34>>1];j=(f|0)>0?f:0;f=J[((g<<3)+b|0)+40>>2];a:{while(1){if((e|0)!=(j|0)){b:{if((!d|I[a+32>>1]!=(e|0))&J[(e<<2)+c>>2]<0){break b}h=J[a+4>>2];if(f){if(Xa(J[P(e,12)+h>>2],f)){break b}break a}if(H[(P(e,12)+h|0)+10|0]&1){break a}}e=e+1|0;continue}break}g=g+1|0;continue}break}return 1}function Jk(a,b,c,d,e){var f=0,g=0,h=0;f=J[c+28>>2];g=f-d|0;a:{b:{if((g|0)<=0){c=(e|0)>0?e:0;while(1){if((c|0)==(h|0)){break b}d=b+h|0;if(!K[d|0]){h=h+1|0;continue}break}f=Pb(J[a+72>>2]);if(f){break a}Sa(d,0,e-h|0);return 0}c:{if((e|0)<=(g|0)){g=e;break c}f=Jk(a,b+g|0,c,f,e-g|0);if(f){break a}}f=0;if(!Cb(b,J[c+16>>2]+d|0,g)){break a}f=Pb(J[a+72>>2]);if(f){break a}Dc(b,J[c+16>>2]+d|0,g)}f=0}return f}function GC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=J[a+4>>2];a:{if(!J[b+52>>2]){break a}a=0;d=J[18263];f=(d|0)>0?d:0;e=J[18264];while(1){if((a|0)==(f|0)){break a}c=a<<2;a=a+1|0;c=e+c|0;if(J[c>>2]!=(b|0)){continue}break}if(J[b+48>>2]!=1){break a}a=d-1|0;J[18263]=a;J[c>>2]=J[(a<<2)+e>>2];if(a){break a}Oa(e);J[18264]=0}a=J[b+48>>2];J[b+48>>2]=a-1;if((a|0)<=1){if(H[b+36|0]&1){Oa(J[b+24>>2])}Oa(b)}return 0}function wi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;g=Fa-16|0;Fa=g;a:{if(!c){break a}i=b?J[b>>2]:i;while(1){if(J[c>>2]<=(f|0)){break a}e=J[a>>2];j=(f<<4)+c|0;h=eb(e,J[j+8>>2],0);if(!K[e+87|0]){b:{if(!d){break b}e=Xc(h);if(!yf(e,g+12|0)){break b}H[e|0]=121;J[e+8>>2]=0;J[e+4>>2]=J[e+4>>2]&-805308417}b=Kb(a,b,h);if(b){H[((f+i<<4)+b|0)+16|0]=K[j+16|0]}f=f+1|0;continue}break}_a(e,h)}Fa=g+16|0;return b}function Tr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{h=J[a>>2];g=J[b+48>>2];if(g){c=J[g>>2]}else{c=0}f=xf(h,c+1|0,1);if(!f){break a}i=(c|0)>0?c:0;while(1){if((e|0)==(i|0)){break a}c=(e<<4)+g|0;d=J[c+8>>2];b:{if(K[d+5|0]&2){d=hd(a,d);break b}j=d;d=ok(a,b,L[c+20>>1]-1|0);if(!d){d=J[h+8>>2]}J[c+8>>2]=li(a,j,J[d>>2])}J[((e<<2)+f|0)+20>>2]=d;H[J[f+16>>2]+e|0]=K[c+16|0];e=e+1|0;continue}}return f}function Pj(a){var b=0,c=0,d=0,e=0,f=0;c=Fa+-64|0;Fa=c;d=L[a+16>>1];b=d&31;if((d&63)>>>0>=32){e=65536>>>b|0}else{e=((1<<b)-1&65536)<<32-b|65537>>>b}a:{if(!(e&1)){break a}b=$c(a);a=sb(a);if(!b|(a|0)<=0){break a}d=K[b|0]&15;if(d>>>0>12){break a}Sa(c+12|0,0,48);J[c+8>>2]=a;J[c+4>>2]=b;b=Wb(c+4|0,0,c+60|0);if(!b){break a}e=a;a=J[c+60>>2];if((e|0)!=(a+b|0)){break a}f=!a|d>>>0>2}Fa=c- -64|0;return f}function Jc(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-16|0;Fa=d;Vs(a);e=J[a+16>>2];a:{if(!e){break a}J[a+16>>2]=e-1;J[a+20>>2]=J[a+20>>2]+1;J[d+12>>2]=c;c=a+48|0;if(J[a- -64>>2]){nb(c,30619,1)}e=J[a+32>>2];if(e){f=J[a+40>>2];g=J[a+36>>2];J[d+8>>2]=J[a+44>>2];J[d>>2]=g;J[d+4>>2]=f;gb(c,e,d)}Lg(c,b,J[d+12>>2]);if(K[a+68|0]!=7){break a}J[a+16>>2]=0;J[a+24>>2]=7;if(J[a+20>>2]){break a}J[a+20>>2]=1}Fa=d+16|0}function Qf(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(!(K[a|0]!=48|(K[a+1|0]|32)!=120)){c=2;while(1){d=c;c=c+1|0;e=K[a+d|0];if((e|0)==48){continue}break}c=d;while(1){if(K[e+31216|0]&8){g=g<<4|f>>>28;f=(e<<1<<24>>24>>>7&9)+e&15|f<<4;c=c+1|0;e=K[c+a|0];continue}break}J[b>>2]=f;J[b+4>>2]=g;b=2;if((c-d|0)>16){break a}return K[a+c|0]!=0}d=a;a=Bl(a,23134)&1073741823;b=Yf(d,b,(K[d+a|0]!=0)+a|0,1)}return b}function Mz(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=Fa-16|0;Fa=f;g=J[J[a>>2]>>2];h=J[g>>2];J[f+12>>2]=0;a:{b:{c:{if(!yf(c,f+12|0)){break c}i=J[f+12>>2];if((i|0)<0){break c}c=jc(h,155,0);if(!c){break a}J[c+8>>2]=i;J[c+4>>2]=J[c+4>>2]|2048;break b}c=jc(h,176,0);if(!c){break a}J[c+28>>2]=b}b=db(g,46,0,c);if(!b){break a}b=Yd(a,b,3);a=J[a+24>>2]+P(b,48)|0;H[a+15|0]=e;I[a+12>>1]=64;J[a+20>>2]=d}Fa=f+16|0}function Hm(a,b){var c=0,d=0;a:{b:{while(1){c=b;b=Ja[J[a+4>>2]](a,b)|0;if(b){return b&2}if(K[c+6|0]&129){break b}c:{b=J[c+12>>2];if(!b){break c}if(!Hm(a,b)){break c}return 2}b=J[c+16>>2];if(b){continue}break}d=J[c+20>>2];b=J[c+4>>2];if(b&4096){b=2;if(!$b(a,d)){break b}break a}if(d){b=2;if(dc(a,d)){break a}b=J[c+4>>2]}if(!(b&16777216)){break b}b=2;if(FA(a,J[c+44>>2],1)){break a}}b=0}return b}function HA(a,b,c,d){var e=0;e=1;a:{if(!b|!c|K[b+16|0]!=K[c+16|0]|(K[b+17|0]!=K[c+17|0]|K[b+18|0]!=K[c+18|0])){break a}if(K[b+20|0]!=K[c+20|0]){break a}if(Zb(a,J[b+24>>2],J[c+24>>2],-1)){break a}if(Zb(a,J[b+28>>2],J[c+28>>2],-1)){break a}e=Bf(J[b+8>>2],J[c+8>>2],-1);if(e){break a}e=Bf(J[b+12>>2],J[c+12>>2],-1);if(e){break a}if(d){e=Zb(a,J[b+40>>2],J[c+40>>2],-1);if(e){break a}}e=0}return e}function vl(a,b,c){a:{b:{c:{switch(b+16|0){case 1:vo(a,J[c+4>>2]);break a;case 2:case 3:case 4:case 10:if(!c){break b}break a;case 8:if(J[a+528>>2]){break b}Si(c);return;case 9:vo(a,c);return;case 6:if(!J[a+528>>2]){Pc(c);return}if(J[c+24>>2]){Ua(a,J[c+32>>2])}break a;case 5:if(J[a+528>>2]){break b}Kf(c);return;case 0:break c;default:break b}}if(J[a+528>>2]){break b}xd(a,c)}return}Sb(a,c)}function sJ(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;e=f&31;if(f>>>0>=32){f=-1>>>e|0}else{d=-1>>>e|0;f=d|(1<<e)-1<<32-e}f=f&a;d=b&d;e=g&31;if(g>>>0>=32){d=f<<e;g=0}else{d=(1<<e)-1&f>>>32-e|d<<e;g=f<<e}f=d;e=0-c&63;d=e&31;if(e>>>0>=32){d=-1<<d;c=0}else{c=-1<<d;d=c|(1<<d)-1&-1>>>32-d}a=c&a;b=b&d;d=e&31;if(e>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<<d)-1&b)<<32-d|a>>>d}a=a|g;Ia=c|f;return a}
function Ep(a,b){var c=0;c=1;a:{b:{c:{d:{e:{f:{g:{switch(b-108|0){case 2:case 4:break b;case 1:case 3:case 5:case 6:break c;case 0:case 7:break f;default:break g}}switch(b-97|0){case 2:break b;case 1:break e;case 0:break f;default:break d}}return J[a+4>>2]}return P(J[a+8>>2],(J[a+4>>2]+31|0)/32|0)}if((b|0)==121){break a}}c=P(P(J[a+4>>2],J[a+8>>2]),3)}return c}return P(J[a+8>>2],J[a+4>>2])}function pA(a,b,c,d){var e=0,f=0,g=0,h=0;e=Fa-48|0;Fa=e;g=J[a>>2];a:{if(K[g+177|0]){break a}h=J[J[g+16>>2]+(d<<4)>>2];f=Ja[J[g+364>>2]](J[g+368>>2],20,b,c,h,J[a+260>>2])|0;if((f|0)==1){J[e+36>>2]=c;J[e+32>>2]=b;f=ub(6437,e+32|0);if(!(!d&J[g+20>>2]<3)){J[e+20>>2]=f;J[e+16>>2]=h;f=ub(1034,e+16|0)}J[e>>2]=f;Ra(a,15506,e);J[a+12>>2]=23;f=1;break a}if(!(f&-3)){break a}tA(a)}Fa=e+48|0;return f}function xq(a,b){var c=0;c=Fa-128|0;Fa=c;a:{if(K[b+35|0]){Qb(a);break a}if(K[J[a+4>>2]+8|0]&8){if(!(K[b+38|0]|!J[b+8>>2])){he(a,J[b>>2],J[b+4>>2],5);J[b+8>>2]=0;break a}he(a,J[b>>2],J[b+4>>2],-1);break a}J[c>>2]=a;I[c+24>>1]=1;J[c+16>>2]=0;J[c+20>>2]=0;J[c+8>>2]=100;J[c+12>>2]=0;J[c+4>>2]=c+26;J[b+40>>2]=0;Zg(b,0,c);qf(c,b,a);a=J[a>>2];H[a+19|0]=74;I[a+16>>1]=L[a+16>>1]|2048}Fa=c+128|0}function Dn(a,b,c,d,e,f,g){var h=0;a:{b:{if((c|0)==85&(e|0)==88){break b}c:{if((c|0)!=86){break c}switch(e-85|0){case 0:case 3:break b;default:break c}}h=ib(J[a>>2],100,0);if(!h){break a}H[h+18|0]=e;H[h+17|0]=c;H[h+16|0]=b?b:89;if(!g){g=J[J[a>>2]+80>>2]<<30>>31&66}H[h+19|0]=!b;H[h+20|0]=g;J[h+28>>2]=SA(a,f);J[h+24>>2]=SA(a,d);return h}Ra(a,10758,0)}_a(J[a>>2],f);_a(J[a>>2],d);return 0}function Ps(a,b,c){var d=0,e=0,f=0;e=Fa-16|0;Fa=e;d=J[b+4>>2];a:{if(!d){break a}f=J[a>>2];c=TA(a,c,d);if(!c){break a}b:{d=13365;c:{if(J[b+8>>2]){break c}if(J[c+12>>2]){d=13290;if(J[b+12>>2]){break c}}if(K[c+19|0]){break b}d=10770}J[e+4>>2]=J[b+4>>2];J[e>>2]=d;Ra(a,7540,e);break a}J[b+8>>2]=kc(f,J[c+8>>2],0);a=J[c+12>>2];if(a){J[b+12>>2]=kc(f,a,0)}Ua(f,J[b+4>>2]);J[b+4>>2]=0}Fa=e+16|0}function hw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=-1;h=-1;a:{if(ke()){break a}g=J[18196];h=J[18197];if((b|0)<0){break a}c=J[18198];d=J[18199];e=(d|0)<=(b|0)&a>>>0>c>>>0|(b|0)>(d|0);f=!(a|b);i=f?c:e?c:a;f=f?d:e?d:b;e=a;a=d;if((a|0)>0){c=1}else{c=!!c&(a|0)>=0}a=c?i:e;J[18196]=a;b=c?f:b;J[18197]=b;c=J[18172];J[18200]=((b|0)<=0&a>>>0<=c>>>0|(b|0)<0)&(!!a&(b|0)>=0|(b|0)>0)}Ia=h;return g}function dx(a,b,c,d,e,f){var g=0,h=0;g=Fa-16|0;Fa=g;J[g+8>>2]=0;h=Wl(d,e,f);J[g+12>>2]=h;if(h){J[a+272>>2]=(J[a+272>>2]-(J[h>>2]+f|0)|0)-20}a:{b:{if(!lx(g+12|0,J[a+280>>2],J[a+284>>2],b,b>>31,c,c>>31,g+8|0)){break b}b=J[g+12>>2];if((Mj(d,e,f,b)|0)!=(b|0)){break b}Oa(b);e=7;break a}e=J[g+8>>2];if(e){break a}J[a+272>>2]=(J[a+272>>2]+(J[J[g+12>>2]>>2]+f|0)|0)+20;e=0}Fa=g+16|0;return e}function _t(a,b){var c=0,d=0,e=0,f=0,g=0;e=J[b+12>>2];b=e+J[b+16>>2]|0;g=(b|0)<(e|0)?e:b;while(1){if((e|0)!=(g|0)){b=P(e,40)+a|0;f=L[b+16>>1];a:{if(f&36){c=c+J[b+4>>2]|0;f=d;d=d+J[b>>2]|0;c=f>>>0>d>>>0?c+1|0:c;break a}if(f&8){b=fb(b);c=c+Ia|0;f=d;d=b+d|0;c=f>>>0>d>>>0?c+1|0:c;break a}b=f&18;if(!b){break a}b=b+4093|0;d=b+d|0;c=b>>>0>d>>>0?c+1|0:c}e=e+1|0;continue}break}Ia=c;return d}function yp(a){var b=0,c=0,d=0,e=0;a:{b=wb(a,0);if(!b){break a}c=J[b+56>>2];if(!c){break a}J[b+60>>2]=0;Nw(c,432,b);Mw(J[b+56>>2]);xe(J[b+56>>2]);if(!(J[b+48>>2]|J[b+52>>2])){c=J[b>>2];d=J[b+4>>2];e=J[b+40>>2];b=J[b+44>>2];if(!b&(e|0)==1){Vb(a,c,d);return}Nb(a,(+(c>>>0)+ +(d|0)*4294967296)/(+(e>>>0)+ +(b|0)*4294967296));return}Nb(a,O[b+8>>3]/(+M[b+40>>2]+ +J[b+44>>2]*4294967296))}}function gr(a){var b=0,c=0,d=0;b=I[a+32>>1];a=J[a+44>>2];if(!(!(K[a+28|0]&96)|!(K[(J[a+4>>2]+P(b,12)|0)+10|0]&96))){a=I[a+34>>1];b=a>>31;c=a&31;if((a&63)>>>0>=32){d=-1<<c;c=0}else{d=(1<<c)-1&-1>>>32-c;c=-1<<c;d=d|c}c=c^-1;d=d^-1;a=a>>>0>63&(b|0)>=0|(b|0)>0;b=a?-1:c;Ia=a?-1:d;return b}b=(b|0)>=63?63:b;a=b&31;if((b&63)>>>0>=32){b=1<<a;a=0}else{c=1<<a;b=c-1&1>>>32-a;a=c}Ia=b;return a}function ME(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}e=yb(J[c>>2]);J[18304]=0;b=a;d=R(e);C(+e);a=x(1)|0;x(0)|0;c=a>>>20&2047;a:{if(c>>>0>=1049){d=zj(d)+.6931471805599453;break a}if(c>>>0>=1024){d=zj(d+d+1/(d+Y(e*e+1)));break a}if(c>>>0<997){break a}f=d;d=e*e;d=up(f+d/(Y(d+1)+1))}Nb(b,(a|0)<0?-d:d);return}Z(23800,17942,402,17763);D()}function Jg(a,b){var c=0,d=0;c=Fa+-64|0;Fa=c;a:{if((L[a+18>>1]&3)==1){b=0;d=J[a+8>>2];if(K[d+29|0]){break a}J[c+48>>2]=510;J[c+52>>2]=0;J[c+32>>2]=1;b=J[16608]+2|0;J[c+40>>2]=b;J[c+44>>2]=b>>31;a=J[a+12>>2];J[c>>2]=c+32;b=Ja[J[16634]](a,6,c)|0;if((b|0)<0){break a}H[d+29|0]=1;J[d+24>>2]=J[d+24>>2]+1;break a}a=J[a+12>>2];J[c+16>>2]=b;b=Ja[J[16634]](a,6,c+16|0)|0}Fa=c- -64|0;return b}function Fr(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=b+4|0;f=c+8|0;while(1){if((i|0)<J[c>>2]){a:{if((d|0)==(i|0)){break a}e=J[f+40>>2];b:{if(K[f+37|0]&64){g=J[(e<<2)+h>>2];if(g){break b}}g=J[a+40>>2];J[a+40>>2]=g+1;J[(e<<2)+h>>2]=g;g=J[(J[f+40>>2]<<2)+h>>2]}J[f+40>>2]=g;e=f+20|0;while(1){e=J[e>>2];if(!e){break a}Fr(a,b,J[e+32>>2],-1);e=e+52|0;continue}}f=f- -64|0;i=i+1|0;continue}break}}function By(a,b){var c=0,d=0,e=0,f=0;c=J[a+52>>2];d=J[a+36>>2];a:{if(c>>>0>d-b>>>0){f=(d>>>0)%(c>>>0)|0;d=(b>>>0)%(c>>>0)|0;break a}d=c>>>1|0;f=d-1|0}while(1){e=J[a+56>>2]+(d<<2)|0;while(1){c=J[e>>2];if(c){if(M[c+8>>2]>=b>>>0){J[a+48>>2]=J[a+48>>2]-1;J[e>>2]=J[c+16>>2];if(J[c+24>>2]){$l(c)}iq(c)}else{e=c+16|0}continue}break}if((d|0)!=(f|0)){d=(d+1>>>0)%M[a+52>>2]|0;continue}break}}function Qw(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=Fa-16|0;Fa=c;b=J[a+56>>2];a:{if(J[a+4>>2]|(!K[a+21|0]|b>>>0<2)){break a}g=J[a+44>>2];i=g+1|0;h=a+168|0;while(1){b=b-1|0;d=g+b|0;e=K[d|0];b:{if((e|0)!=91&(e|0)!=46){break b}H[d|0]=0;f=Ce(h,0,i,0);H[d|0]=e;if(f>>>0>=4294967293){break b}if((Wb(h,f,c+12|0)+f|0)==J[a+8>>2]){break a}}if(b>>>0>=2){continue}break}b=1}Fa=c+16|0;return b}function iu(a,b){var c=0,d=0,e=0;Dg(J[b+20>>2]);J[b+20>>2]=0;while(1){if(K[b+67|0]>e>>>0){c=P(e,80)+b|0;Ua(a,J[c+88>>2]);uo(0,J[c+96>>2]);d=J[c+120>>2];if(d){Ch(d)}d=J[c+136>>2];if(d){Ch(d)}Sa(c+72|0,0,80);J[c+84>>2]=b;e=e+1|0;continue}break}if(!J[b+44>>2]){uo(0,J[b+40>>2])}H[b+64|0]=0;J[b+40>>2]=0;J[b+56>>2]=0;J[b+8>>2]=0;J[b+48>>2]=0;J[b+52>>2]=0;Ua(a,J[b+32>>2]);J[b+32>>2]=0}function cC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=K[a+10|0]+b|0;d=H[f|0];e=d&255;a:{if((d|0)>=0){g=f;break a}e=e&127;d=0;while(1){h=d+1|0;g=h+f|0;i=H[g|0];e=i&127|e<<7;if(d>>>0>6){break a}d=h;if((i|0)<0){continue}break}}J[c+12>>2]=e;J[c>>2]=e;J[c+4>>2]=0;d=g+1|0;J[c+8>>2]=d;if(L[a+14>>1]>=e>>>0){I[c+16>>1]=e;a=(d-b|0)+e|0;I[c+18>>1]=a&65532?a:4;return}yu(a,b,c)}function aC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=H[b+4|0];d=c&255;e=4;a:{if((c|0)>=0){break a}d=d&127;c=4;while(1){e=c+1|0;f=H[e+b|0];d=f&127|d<<7;if(c>>>0>10){break a}c=e;if((f|0)<0){continue}break}}e=(b+e|0)+1|0;f=L[a+14>>1];if(f>>>0>=d>>>0){a=e+(d-b|0)|0}else{c=L[a+16>>1];a=((d-c>>>0)%(J[J[a+52>>2]+40>>2]-4>>>0)|0)+c|0;a=((e-b&65535)+(a>>>0>f>>>0?c:a)|0)+4|0}return a&65535}function Yp(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{if(!(J[c>>2]|!b)){if(J[b>>2]==5){f=J[b+20>>2];d=J[f+64>>2];if(!d){break a}g=(d|0)>0?d:0;while(1){b:{h=b;if((e|0)!=(g|0)){if(J[(P(e,24)+f|0)+88>>2]){break b}b=e}else{b=g}H[h+34|0]=(b|0)==(d|0);break a}e=e+1|0;continue}}Yp(a,J[b+12>>2],c);Yp(a,J[b+16>>2],c);H[b+34|0]=K[J[b+12>>2]+34|0]?K[J[b+16>>2]+34|0]!=0:0}return}J[c>>2]=tx(a,1,f)}function on(a,b,c){var d=0,e=0,f=0;d=J[a>>2];e=J[d+32>>2];f=J[d+36>>2];J[d+32>>2]=e&-69|64;J[d+36>>2]=f;ae(a,b,0);J[d+32>>2]=e;J[d+36>>2]=f;a:{if(J[a+36>>2]){break a}while(1){e=b;b=J[b+52>>2];if(b){continue}break}b=ib(d,64,0);if(!b){break a}I[b+38>>1]=200;J[b>>2]=0;J[b+24>>2]=1;Em(a,J[e+28>>2],b+34|0,b+4|0);ir(a,b,e,c);I[b+32>>1]=65535;if(!K[d+87|0]){return b}xd(d,b)}return 0}function Fd(a,b){var c=0,d=0;a:{b:{if(!b&a>>>0>7|b){c=40;while(1)if(!b&a>>>0<256){while(1){if(!b&a>>>0<16){break b}d=b;b=b>>>1|0;a=(d&1)<<31|a>>>1;c=c+10|0;continue}}else{a=(b&15)<<28|a>>>4;b=b>>>4|0;c=c+40|0;continue}}d=0;if(!b&a>>>0<2){break a}c=40;while(1){if(!b&a>>>0>7|b){break b}b=b<<1|a>>>31;a=a<<1;c=c-10|0;continue}}d=(L[((a&7)<<1)+56624>>1]+c|0)-10|0}return d<<16>>16}function iv(a){var b=0,c=0,d=0;b=J[J[a+8>>2]+40>>2];if(!(!b|J[b+28>>2])){c=Ja[J[16688]]()|0;d=(c|0)<32768?1:c>>>15|0;c=0;while(1){if(c>>>0<L[b+20>>1]){a:{if(J[b+12>>2]>=0){Ja[J[16682]](J[J[b+24>>2]+(c<<2)>>2],J[b+16>>2])|0;break a}Oa(J[J[b+24>>2]+(c<<2)>>2])}c=c+d|0;continue}break}Oa(J[b+24>>2]);c=J[b+12>>2];if((c|0)>=0){Gf(a,c,42521);J[b+12>>2]=-1}J[J[b>>2]+40>>2]=0;Oa(b)}}function ZA(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;e=Fa-32|0;Fa=e;h=d?-1:3934208;while(1){if(b){a:{if(!J[b+16>>2]){break a}f=J[b+4>>2];if(!(f&262144?d:1)){break a}g=1854;g=J[b+24>>2]?g:J[b+20>>2]?18296:8864;i=J[b+32>>2];J[e+16>>2]=H[b|0];J[e+20>>2]=f&h^2097152;J[e+8>>2]=g;J[e+4>>2]=c;J[e>>2]=i;J[e+12>>2]=J[((f&3)<<2)+50592>>2];oe(a,1,12128,e)}b=J[b+12>>2];continue}break}Fa=e+32|0}function Ag(a,b,c,d){var e=0,f=0,g=0;e=Fa-48|0;Fa=e;f=Vi(J[a>>2],b,e+47|0,e+40|0);a:{if(f){b:{if((f|0)!=3082&(f|0)!=7){break b}J[a+16>>2]=0;J[a+24>>2]=7;if(J[a+20>>2]){break b}J[a+20>>2]=1}J[e>>2]=b;Jc(a,1878,e);break a}f=K[e+47|0];g=J[e+40>>2];if((f|0)==(c|0)&(g|0)==(d|0)){break a}J[e+32>>2]=g;J[e+28>>2]=f;J[e+24>>2]=d;J[e+20>>2]=c;J[e+16>>2]=b;Jc(a,24964,e+16|0)}Fa=e+48|0}function WG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=jg(a,J[c>>2],0);if(d){e=1;a:{b:{if((b|0)!=2){break b}c=Wa(J[c+4>>2]);if(!c){break a}b=Ce(d,0,K[c|0]!=36?20913:c+1|0,0);if(b>>>0<4294967293){f=b;break b}e=0;c:{d:{switch(b+3|0){case 0:Rj(a,c);break c;case 1:break b;default:break d}}Bb(a,19961,-1)}}if((K[J[d>>2]+f|0]&15)==11){g=Sy(d,f)}if(!e){break a}Vb(a,g,0)}Wc(d)}}function Te(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if((c|0)!=(e|0)){f=e-c|0;j=f;g=0-(c>>>0>e>>>0)|0;h=J[a+8>>2];i=J[a+4>>2];f=f+i|0;g=i>>>0>f>>>0?g+1|0:g;if((g|0)>0){h=1}else{h=f>>>0>h>>>0&(g|0)>=0}if(h){Oj(a,f);if(K[a+35|0]){break a}i=J[a+4>>2]}f=J[a>>2];c=b+c|0;Dc((f+b|0)+e|0,c+f|0,i-c|0);J[a+4>>2]=j+J[a+4>>2];J[a+40>>2]=j+J[a+40>>2]}if(!d|!e){break a}Qa(J[a>>2]+b|0,d,e)}}function RB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Fa-4128|0;Fa=a;J[a+4124>>2]=0;J[a+4108>>2]=0;J[a+4112>>2]=0;J[a+4120>>2]=c;J[a+4116>>2]=d;a:{if(K[b|0]!=47){if(!(Ja[J[16622]](a,4096)|0)){b=Dd(de(44682),14846,b,44682);break a}Sn(a+4108|0,a)}Sn(a+4108|0,b);b=J[a+4124>>2];H[b+d|0]=0;if(!(!J[a+4108>>2]&(b|0)>=2)){b=de(44688);break a}b=(J[a+4112>>2]!=0)<<9}Fa=a+4128|0;return b|0}function hj(a){var b=0,c=0,d=0;c=Fa-16|0;Fa=c;J[c+12>>2]=0;a:{if(K[a|0]==4){b=J[a+4>>2];break a}H[a|0]=1;d=J[16508];if(d){b=10;if(Ja[d|0](410)|0){break a}}b=pt(a,J[a+16>>2],J[a+56>>2],J[a+60>>2],0,c+12|0);if(b){break a}Oa(J[a+16>>2]);J[a+16>>2]=0;b:{b=J[c+12>>2];if(b){J[a+4>>2]=b;break b}if(J[a+4>>2]){break b}b=0;break a}b=0;if(K[a|0]){break a}H[a|0]=2}Fa=c+16|0;return b}function fl(a,b){var c=0,d=0;a:{b=b-1|0;if(b>>>0>=M[a>>2]){break a}while(1){c=J[a+8>>2];if(c){d=c;c=(b>>>0)/(c>>>0)|0;b=b-P(d,c)|0;a=J[((c<<2)+a|0)+12>>2];if(a){continue}break a}break}if(M[a>>2]<=4e3){return K[((b>>>3|0)+a|0)+12|0]>>>(b&7)&1}a=a+12|0;c=b+1|0;while(1){b=(b>>>0)%125|0;d=J[a+(b<<2)>>2];if(!d){break a}b=b+1|0;if((c|0)!=(d|0)){continue}break}return 1}return 0}function es(a,b,c){var d=0;if(L[b+52>>1]<(c|0)){d=P(c,9);a=ib(a,d,d>>31);if(!a){return 7}a=Qa(a,J[b+32>>2],L[b+52>>1]<<2);J[b+32>>2]=a;a=Qa(a+(c<<2)|0,J[b+8>>2],(L[b+50>>1]<<1)+2|0);J[b+8>>2]=a;d=c<<1;a=Qa(a+d|0,J[b+4>>2],L[b+52>>1]<<1);J[b+4>>2]=a;a=Qa(a+d|0,J[b+28>>2],L[b+52>>1]);I[b+52>>1]=c;J[b+28>>2]=a;a=K[b+55|0]|K[b+56|0]<<8|16;H[b+55|0]=a;H[b+56|0]=a>>>8}return 0}function OC(){var a=0,b=0;b=I[32662];a:{if(!b){J[18304]=28;a=-1;break a}b:{c:{if((b|0)>-2){break c}a=200809;d:{switch((b&255)-1|0){case 1:a=131072;break a;case 2:a=32768;break a;case 3:a=65536;break a;case 4:case 10:a=2147483647;break a;case 5:case 6:a=1;break a;case 7:case 8:a=qa()>>>16|0;break a;case 0:break b;case 9:break d;default:break c}}a=0;break a}a=b}}return a|0}function KB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a=Fa-16|0;Fa=a;c=(b|0)/1e6|0;J[a>>2]=c;J[a+4>>2]=c>>31;J[a+8>>2]=P(b-P(c,1e6)|0,1e3);d=28;a:{if(!a){break a}e=J[a+8>>2];if(e>>>0>999999999){break a}c=J[a>>2];f=J[a+4>>2];if((f|0)<0){break a}g=(+(c>>>0)+ +(f|0)*4294967296)*1e3+ +(e|0)/1e6;h=+$();while(1){if(+$()-h<g){continue}break}d=0}qc(0-d|0);Fa=a+16|0;return b|0}function gg(a,b,c){var d=0;a=a+8|0;a:{while(1){a=J[a>>2];if(!a){break a}if(!((!b|J[a+64>>2]==(b|0))&(a|0)!=(c|0))){a=a+24|0;continue}break}b:{while(1){c:{if((a|0)==(c|0)|(J[a+64>>2]!=(b|0)?b:0)){break c}d:{switch(K[a|0]){case 0:case 2:d=ru(a);if(!d){break c}break b;default:break d}}Eh(a)}a=J[a+24>>2];if(a){continue}break}d=0}return d}if(c){H[c+1|0]=K[c+1|0]&223}return 0}function dt(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-16|0;Fa=d;J[d+12>>2]=0;J[d+8>>2]=0;e=d+12|0;a:{while(1){f=c+8|0;b:{while(1){if((Ja[J[a+40>>2]](a,d+8|0,b+8|0,J[b>>2],f,J[c>>2])|0)>0){break b}J[e>>2]=b;g=b;e=b+4|0;b=J[b+4>>2];if(b){continue}break}J[g+4>>2]=c;break a}J[e>>2]=c;g=J[c+4>>2];J[d+8>>2]=0;f=c;e=c+4|0;c=g;if(c){continue}break}J[f+4>>2]=b}Fa=d+16|0;return J[d+12>>2]}function Kz(a,b,c,d,e,f){var g=0;if(e){nb(a,30460,5)}if((c|0)>=2){nb(a,27659,1)}e=0;g=(c|0)>0?c:0;while(1){if((e|0)!=(g|0)){if(e){nb(a,24905,1)}Qd(a,Tq(b,d+e|0));e=e+1|0;continue}break}a:{if((c|0)>=2){nb(a,27638,1);nb(a,f,1);nb(a,27659,1);break a}nb(a,f,1)}e=0;while(1){if((e|0)!=(g|0)){if(e){nb(a,24905,1)}nb(a,21802,1);e=e+1|0;continue}break}if((c|0)>=2){nb(a,27638,1)}}function rI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{c:{d:{b=J[c>>2];switch(K[(L[b+16>>1]&63)+31120|0]-1|0){case 2:break c;case 0:case 1:case 3:break d;default:break b}}pc(a,sb(b));return}b=Wa(b);if(!b){break a}c=b;e:while(1){d=K[c|0];if(d){c=c+1|0;if(d>>>0<192){continue}while(1){if((K[c|0]&192)!=128){continue e}b=b+1|0;c=c+1|0;continue}}break}pc(a,c-b|0);return}Mb(a)}}function Ju(a,b){var c=0,d=0,e=0,f=0;c=Fa-112|0;Fa=c;d=c+56|0;e=J[J[a+32>>2]>>2];Qa(d,e,48);dl(a);f=c+8|0;Qa(f,e+48|0,48);e=1;a:{if(Cb(d,f,48)|!K[c+68|0]){break a}Of(1,d,40,0,c+104|0);if(J[c+104>>2]!=J[c+96>>2]|J[c+108>>2]!=J[c+100>>2]){break a}e=0;f=a+52|0;if(!Cb(f,d,48)){break a}J[b>>2]=1;Qa(f,d,48);b=a;a=L[a+66>>1];J[b+36>>2]=(a<<16|a)&130560}Fa=c+112|0;return e}function ZC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Fa-48|0;Fa=c;f=1;d=J[a+8>>2];e=0;a:{if(K[d+28|0]>1){break a}f=0;e=0;if(K[d+29|0]){break a}J[c+32>>2]=1;J[c+36>>2]=0;J[c+16>>2]=1;d=J[16608]+1|0;J[c+24>>2]=d;J[c+28>>2]=d>>31;d=J[a+12>>2];J[c>>2]=c+16;if(Ja[J[16634]](d,5,c)|0){J[a+20>>2]=J[18304];e=3594;break a}f=L[c+16>>1]!=2;e=0}d=e;J[b>>2]=f;Fa=c+48|0;return d|0}function Eq(a,b){var c=0,d=0;Eb(a,J[b+12>>2]);b=b+28|0;while(1){c=J[b>>2];if(c){$b(a,J[c+8>>2]);Eb(a,J[c+20>>2]);dc(a,J[c+24>>2]);b=J[c+32>>2];if(b){dc(a,J[b>>2]);dc(a,J[b+8>>2]);Eb(a,J[b+12>>2]);Eb(a,J[b+4>>2])}b=0;a:{d=J[c+16>>2];if(!d){break a}while(1){if(J[d>>2]<=(b|0)){break a}$b(a,J[((b<<6)+d|0)+28>>2]);b=b+1|0;d=J[c+16>>2];continue}}b=c+40|0;continue}break}}function Ut(a){var b=0,c=0,d=0,e=0,f=0;b=Fa-160|0;Fa=b;d=Sa(b,0,160);while(1){if(a){b=J[a+8>>2];c=0;J[a+8>>2]=0;while(1){e=(c<<2)+d|0;f=J[e>>2];if(f){a=qo(f,a);J[e>>2]=0;c=c+1|0;continue}break}J[e>>2]=a;a=b;continue}break}a=J[d>>2];c=1;while(1){if((c|0)!=40){b=J[(c<<2)+d>>2];a:{if(!b){break a}if(!a){a=b;break a}a=qo(a,b)}c=c+1|0;continue}break}Fa=d+160|0;return a}function FC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=J[a+4>>2];a=f;i=J[a>>2];g=J[a+4>>2];a=(c>>31)+e|0;h=c+d|0;a=h>>>0<d>>>0?a+1|0:a;a:{if(i>>>0<h>>>0&(a|0)>=(g|0)|(a|0)>(g|0)){c=Sa(b,0,c);g=J[f+4>>2];a=J[f>>2];b=522;if((e|0)>=(g|0)&d>>>0>=a>>>0|(e|0)>(g|0)){break a}Qa(c,J[f+24>>2]+d|0,a-d|0);return 522}Qa(b,J[f+24>>2]+d|0,c);b=0}return b|0}function qI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{b:{c:{d:{b=J[c>>2];switch(K[(L[b+16>>1]&63)+31120|0]-1|0){case 2:break b;case 0:case 1:break c;case 3:break d;default:break a}}pc(a,sb(b));return}c=K[J[J[a>>2]+20>>2]+84|0];d=sb(b);e=a;b=c>>>0>1;c=d;a=(1<<b)-1&c>>>32-b|c>>31<<b;Vb(e,c<<b,a);return}if(K[b+18|0]<=1){pc(a,sb(b));return}pc(a,Aw(b,2));return}Mb(a)}function oB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=Fa+-64|0;Fa=e;a:{if(K[b|0]==44){break a}d=1;f=J[a+24>>2];if(!gA(J[a>>2],b,J[f+40>>2])|(J[b+4>>2]&536870913)==536870912|J[b+40>>2]){break a}c=jc(J[J[a>>2]>>2],155,24095);if(!c){break a}d=J[f+36>>2];g=e+12|0;Qa(g,c,52);c=Qa(c,b,52);Qa(b,g,52);J[f+36>>2]=Od(J[a>>2],d,c);d=1;I[a+20>>1]=1}Fa=e- -64|0;return d|0}function bG(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{switch(c|0){case 0:lb(b,J[a+56>>2],J[a+60>>2],-1);break a;case 1:a=J[a+112>>2];if(a){pc(b,a-1|0);break a}lb(b,24938,-1,0);break a;case 2:a=J[a+120>>2]+(J[a+112>>2]<<4)|0;Vb(b,J[a>>2],J[a+4>>2]);break a;case 3:a=J[a+120>>2]+(J[a+112>>2]<<4)|0;Vb(b,J[a+8>>2],J[a+12>>2]);break a;default:break b}}pc(b,J[a+96>>2])}return 0}function bB(a,b){var c=0;while(1){if(a){c=J[a+36>>2];a:{if(!c){break a}c=J[c+24>>2];if((c|0)<=J[b>>2]){break a}J[b>>2]=c}c=J[a+44>>2];b:{if(!c){break b}c=J[c+24>>2];if((c|0)<=J[b>>2]){break b}J[b>>2]=c}c=J[a+60>>2];c:{if(!c){break c}c=J[c+24>>2];if((c|0)<=J[b>>2]){break c}J[b>>2]=c}Um(J[a+28>>2],b);Um(J[a+40>>2],b);Um(J[a+48>>2],b);a=J[a+52>>2];continue}break}}function Rl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+10|0;e=a;while(1){a:{if(!h&f>>>0>63|h){e=m;break a}i=0;i=b>>>0>e>>>0?K[e|0]:i;e=e+1|0;j=i&127;d=f&31;if((f&63)>>>0>=32){l=j<<d;d=0}else{l=(1<<d)-1&j>>>32-d;d=j<<d}d=d+k|0;g=g+l|0;g=d>>>0<k>>>0?g+1|0:g;k=d;f=f+7|0;h=f>>>0<7?h+1|0:h;if(i>>>0>127){continue}}break}J[c>>2]=k;J[c+4>>2]=g;return e-a|0}function Es(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=Fa-16|0;Fa=d;e=J[a>>2];f=Ab(e,J[b+20>>2]);c=Lt(b);a:{if(c){g=(f|0)==1;h=J[c>>2];c=J[J[e+16>>2]+(f<<4)>>2];if(Tb(a,g?14:16,J[b>>2],h,c)){break a}if(Tb(a,9,g?9192:9211,0,c)){break a}}c=rb(a);if(!c){break a}e=J[J[e+16>>2]+(f<<4)>>2];J[d+4>>2]=J[b>>2];J[d>>2]=e;fc(a,28020,d);Df(a,f);$a(c,154,f,0,0,J[b>>2],0)}Fa=d+16|0}function OG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=jg(a,J[c>>2],0);if(d){a:{b:{c:{if((b|0)!=2){break c}b=Wa(J[c+4>>2]);if(!b){break a}if(K[b|0]!=36){break b}e=Ce(d,0,b+1|0,0);if(e>>>0<4294967293){break c}d:{switch(e+3|0){case 1:break a;case 0:break b;default:break d}}Bb(a,19961,-1);break a}lb(a,J[((K[J[d>>2]+e|0]&15)<<2)+52576>>2],-1,0);break a}Rj(a,b)}Wc(d)}}function fc(a,b,c){var d=0,e=0,f=0,g=0;e=Fa-80|0;Fa=e;a:{if(J[a+36>>2]|K[a+220|0]){break a}d=J[a>>2];f=J[d+24>>2];J[e+76>>2]=c;b=dh(d,b,c);if(!b){if(!K[d+87|0]){J[a+12>>2]=18}J[a+36>>2]=J[a+36>>2]+1;break a}H[a+18|0]=K[a+18|0]+1;c=a+208|0;g=Qa(e,c,76);c=Sa(c,0,76);J[d+24>>2]=J[d+24>>2]|2;ej(a,b);J[d+24>>2]=f;Za(d,b);Qa(c,g,76);H[a+18|0]=K[a+18|0]-1}Fa=e+80|0}function At(a,b,c){var d=0;a:{b:{d=J[16508];if(!d){break b}if(!(Ja[d|0](100)|0)){break b}J[c>>2]=0;break a}d=c;c=od(64,0);J[d>>2]=c;if(!c){break a}J[c>>2]=a;J[c+4>>2]=b;d=c;b=J[a+12>>2];c=J[b+8>>2]+9|0;b=J[b+4>>2]/2|0;b=(b|0)<(c|0)?c:b;J[d+16>>2]=b;c=J[a+76>>2]+(b>>31)|0;d=J[a+72>>2]+b|0;c=b>>>0>d>>>0?c+1|0:c;J[a+72>>2]=d;J[a+76>>2]=c;return 0}Dg(b);return 7}function ze(a){var b=0,c=0,d=0;c=a+1|0;a:{b:{c:{d:{e:{b=K[a|0];d=K[b+57552|0];switch(d-1|0){case 0:break b;case 1:break c;case 2:break d;case 3:break e;default:break a}}return 65533}c=a+2|0;b=K[a+1|0]+(b<<6)|0}b=K[c|0]+(b<<6)|0;c=c+1|0}a=K[c|0]+(b<<6)|0;b=d<<2;a=a-J[b+57808>>2]|0;b=(a&-2)==65534?65533:a&J[b+57824>>2]?(a&-2048)==55296?65533:a:65533}return b}function Vv(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=J[a+112>>2];b=c>>31;g=b<<1|c>>>31;a:{d=!(b|c);c=d?51:c<<1;e=J[a+12>>2];f=J[e>>2];b=J[f+140>>2];h=c>>>0>b>>>0;d=d?0:g;b=b>>31;b:{if(h&(d|0)>=(b|0)|(b|0)<(d|0)){Db(f);break b}b=_c(f,J[a+104>>2],lJ(c,d,20,0),Ia);if(b){break a}}return 7}c=ff(J[e>>2],b);J[e+48>>2]=c;J[a+104>>2]=b;J[a+112>>2]=(c>>>0)/20;return 0}function lw(a){var b=0,c=0;a:{b=L[a+16>>1];if((b&25090)!=2|K[a+18|0]!=1){break a}c=J[a+8>>2];if(!c){break a}b:{c:{if(b&4096){b=J[a+36>>2];if((b|0)==1){c=Ja[J[16455]](c)|0;b=J[a+12>>2];if(c>>>0>=b+1>>>0){b=b+J[a+8>>2]|0;break c}b=J[a+36>>2]}if((b|0)==9){break b}break a}b=J[a+12>>2];if((b|0)>=J[a+24>>2]){break a}b=b+c|0}H[b|0]=0}I[a+16>>1]=L[a+16>>1]|512}}function Zu(a){var b=0,c=0;a:{b:{switch(K[a+17|0]){default:b=J[18291];if(b){Ja[b|0]()}Qp(a);b=J[18292];if(!b){break a}Ja[b|0]();break a;case 1:if(K[a+4|0]){break a}Kj(a,0,0);break a;case 0:break a;case 6:break b}}if(!J[J[a+68>>2]>>2]|K[a+5|0]!=4){break a}b=J[a+44>>2];J[a+44>>2]=0;c=K[a+18|0];H[a+17|0]=0;H[a+18|0]=4;Eo(a,1);H[a+18|0]=c;J[a+44>>2]=b}hl(a)}function Kb(a,b,c){var d=0;if(!b){return Tc(J[a>>2],c)}d=J[b>>2];if((d|0)>=J[b+4>>2]){d=J[a>>2];a=J[b+4>>2];J[b+4>>2]=a<<1;a=_c(d,b,a<<5|8,0);a:{if(!a){kb(d,b);_a(d,c);break a}b=J[a>>2];J[a>>2]=b+1;b=a+(b<<4)|0;J[b+20>>2]=0;J[b+12>>2]=0;J[b+16>>2]=0;J[b+8>>2]=c}return a}J[b>>2]=d+1;a=(d<<4)+b|0;J[a+20>>2]=0;J[a+12>>2]=0;J[a+16>>2]=0;J[a+8>>2]=c;return b}function Fp(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=Fa-16|0;Fa=d;e=J[a>>2];J[d+12>>2]=e;a:{if(!e){break a}g=J[b+4>>2];f=g;e=J[b>>2];J[d>>2]=e;J[d+4>>2]=f;g=c;h=c>>31;while(1){c=J[d+12>>2];b:{if(e>>>0<g>>>0&(f|0)<=(h|0)|(f|0)<(h|0)){if(K[c|0]>=2){break b}e=-1;f=-1;c=0}J[b>>2]=e;J[b+4>>2]=f;J[a>>2]=c;break a}Ej(d+12|0,d);e=J[d>>2];f=J[d+4>>2];continue}}Fa=d+16|0}function SH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;a:{b=wb(a,0);if(!b){break a}c=J[b+24>>2];d=J[b+28>>2];if((d|0)<0){c=1}else{c=!c&(d|0)<=0}if(c){break a}if(K[b+32|0]){if(K[b+33|0]){Bb(a,1677,-1);return}e=O[b>>3];f=O[b+8>>3];C(+f);b=x(1)|0;c=x(0)|0;if(!((b&2146435072)==2146435072&(b&1048575|c)!=0)){Nb(a,f+e);return}Nb(a,e);return}Vb(a,J[b+16>>2],J[b+20>>2])}}function DE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;b=a;e=R(d);C(+e);a=x(1)|0;x(0)|0;a:{if(a>>>0<=1072049729){d=1;if(a>>>0<1045430272){break a}d=qj(e);e=d+1;d=d*d/(e+e)+1;break a}if(a>>>0<=1082535489){d=wp(e);d=(d+1/d)*.5;break a}d=Iw(e,1)}Nb(b,d);return}Z(23800,17942,446,17754);D()}function Bd(a,b,c,d){var e=0;e=J[a>>2];a:{b:{c:{if(!b){a=Ib(e,72,0);if(a){break c}break a}a=$m(a,b,1,J[b>>2]);if(a){b=J[a>>2]-1|0;break b}yc(e,b);break a}J[a>>2]=1;J[a+4>>2]=1;Sa(a+8|0,0,64);J[a+48>>2]=-1;b=0}if(!(!d|!J[d>>2])){b=(b<<6)+a|0;J[b+16>>2]=oc(e,d);J[b+12>>2]=oc(e,c);return a}c=oc(e,c);b=(b<<6)+a|0;J[b+12>>2]=0;J[b+16>>2]=c;return a}return 0}function zx(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=!c;a:{b:while(1){if(!a){break a}c=J[a+4>>2];J[c+4>>2]=J[a>>2];c=c+8|0;while(1){d=J[c>>2];if(d){c:{if(!(H[d+1|0]&1|e)){d:{switch(K[d|0]){case 0:case 2:break d;default:break c}}c=ru(d);if(!c){break c}e=1;f=g?f:c;b=c;g=1;continue b}Xk(d);J[d+4>>2]=b;H[d|0]=4}Eh(d);c=d+24|0;continue}break}break}h=g?f:0}return h}function _m(a,b,c){var d=0,e=0;a:{if(!b){break a}while(1){ah(a,J[b+28>>2]);ah(a,J[b+40>>2]);ah(a,J[b+48>>2]);J[b+44>>2]=ch(a,J[b+44>>2]);J[b+36>>2]=ch(a,J[b+36>>2]);d=J[b+32>>2];e=d+8|0;d=J[d>>2];while(1){if((d|0)>0){_m(a,J[e+20>>2],1);if(K[e+37|0]&4){ah(a,J[e+56>>2])}e=e- -64|0;d=d-1|0;continue}break}if(!c){break a}b=J[b+52>>2];if(b){continue}break}}}function pj(a){var b=0,c=0,d=0;a:{if(!a){break a}c=gc(40);if(!c){break a}b=Sa(c,0,40);c=J[a+16>>2];J[b+16>>2]=c;d=J[a+12>>2];J[b+8>>2]=J[a+8>>2];J[b+12>>2]=d;d=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=d;J[b+20>>2]=0;a=c&61439;I[b+16>>1]=a;b:{if(c&18){I[b+16>>1]=c&36863|16384;if(!ag(b)){break b}Pc(b);return 0}if(!(a&1)){break b}I[b+16>>1]=c&58861}}return b}function PH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b=wb(a,0);if(!b){break a}e=J[b+24>>2];d=J[b+28>>2];if(!e&(d|0)<=0|(d|0)<0){break a}b:{if(K[b+32|0]){f=O[b>>3];c=O[b+8>>3];C(+c);b=x(1)|0;c=f+(g=c,h=!(x(0)|b&1048575)?c:-0,i=(b&2146435072)!=2146435072,i?g:h);break b}c=+M[b+16>>2]+ +J[b+20>>2]*4294967296}Nb(a,c/(+(e>>>0)+ +(d|0)*4294967296))}}function BB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a=0;a:{b:{if(!b){while(1){if((a|0)==29){break b}c=P(a,12);b=J[c+66456>>2];if(b){J[c+66452>>2]=b}a=a+1|0;continue}}e=12;while(1){if((a|0)==29){break a}d=P(a,12);if(Kc(b,J[d+66448>>2])){a=a+1|0;continue}else{b=d+66456|0;a=J[b>>2];if(!a){a=J[d+66452>>2];J[b>>2]=a}J[d+66452>>2]=c?c:a}break}}e=0}return e|0}function qo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=Fa-16|0;c=f;a:{b:while(1){g=J[a>>2];d=J[a+4>>2];while(1){e=J[b+4>>2];h=J[b>>2];if((d|0)<=(e|0)&g>>>0<=h>>>0|(d|0)<(e|0)){if(g>>>0<h>>>0&(d|0)<=(e|0)|(d|0)<(e|0)){J[c+8>>2]=a;c=a}a=J[a+8>>2];if(a){continue b}break a}J[c+8>>2]=b;c=b;b=J[b+8>>2];if(b){continue}break}break}b=a}J[c+8>>2]=b;return J[f+8>>2]}
function cb(a,b){var c=0,d=0,e=0,f=0;e=b^-1;b=J[a+12>>2];if((J[b+56>>2]+J[b+60>>2]|0)<0){c=b;f=J[b+56>>2];d=10-f|0;b=d<<2;b=Oi(J[c>>2],J[c+64>>2],b,0);J[c+64>>2]=b;a:{if(!b){J[c+60>>2]=0;break a}if(!((f|0)>-90|(J[c+60>>2]/100|0)>=((d>>>0)/100|0))){Fm(c);b=J[c+64>>2]}J[c+60>>2]=d;J[(e<<2)+b>>2]=J[a+108>>2]}return}J[J[b+64>>2]+(e<<2)>>2]=J[a+108>>2]}function hm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=J[a+12>>2];c=hg(a,0);f=K[a+35|0];a:{b:{if(!(f|(c|0)<=0)){while(1){d=c;c=d+1|0;g=d+e|0;h=K[g|0];if(K[h+52272|0]){continue}break}if(h){d=dm(g)+d|0;if(K[e+d|0]){if(!b){break b}Bb(b,19961,-1);break b}H[a+37|0]=1}c=0;if((d|0)>0){break a}}if(!b){break b}if(f){Qb(b);break b}Bb(b,19961,-1)}pf(a);c=1}return c}function oI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Fa-48|0;Fa=d;a:{if((b|0)<=0){break a}e=J[J[a>>2]+20>>2];f=Wa(J[c>>2]);if(!f){break a}J[d+40>>2]=0;J[d+44>>2]=c+4;J[d+36>>2]=b-1;b=J[e+120>>2];I[d+32>>1]=512;J[d+28>>2]=0;J[d+24>>2]=b;J[d+12>>2]=e;J[d+16>>2]=0;J[d+20>>2]=0;J[d>>2]=d+36;b=d+12|0;gb(b,f,d);c=J[d+28>>2];lb(a,Ed(b),c,5)}Fa=d+48|0}function jD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if((a|0)>(d|0)){break a}a=J[18291];if(a){Ja[a|0]()}a=Fa-16|0;Fa=a;d=12;b:{c:{if(!c|!K[c|0]){break c}d=xg(b,c);if((d|0)>=0){break c}J[a>>2]=c;c=1;Zd(b,1,8152,a);break b}J[b+456>>2]=0;c=Av(b,d,0,0,0);Lc(b,c)}bd(b,c);if(!J[b+184>>2]){J[b+296>>2]=0}Fa=a+16|0;a=J[18292];if(!a){break a}Ja[a|0]()}return 0}function gt(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(J[c>>2]){break a}h=J[b+4>>2];d=J[a+56>>2];e=d+K[a+9|0]|0;f=K[e+5|0]<<8|K[e+6|0];g=J[b+56>>2];i=d+f|0;d=J[a+52>>2];Qa(f+g|0,i,J[d+40>>2]-f|0);Qa(((h|0)==1?100:0)+g|0,e,L[a+18>>1]+(L[a+24>>1]<<1)|0);H[b|0]=0;a=Kh(b);b:{if(a){break b}a=If(b);if(a){break b}if(!K[d+17|0]){break a}a=nu(b)}J[c>>2]=a}}function ae(a,b,c){var d=0;d=Fa-32|0;Fa=d;a:{if(K[J[a>>2]+87|0]|K[b+4|0]&128){break a}J[d+8>>2]=65;J[d+4>>2]=a;if(K[a+22|0]){J[d+16>>2]=0;J[d+12>>2]=66;$b(d+4|0,b)}I[d+24>>1]=0;J[d+16>>2]=41;J[d+12>>2]=67;$b(d+4|0,b);if(J[a+36>>2]){break a}oA(a,b,c);if(J[a+36>>2]){break a}J[d+16>>2]=68;J[d+12>>2]=46;J[d+8>>2]=65;J[d+4>>2]=a;$b(d+4|0,b)}Fa=d+32|0}function Hp(a,b,c,d,e,f,g,h,i,j,k,l,m,n){var o=0,p=0;o=Fa-32|0;Fa=o;p=Gb(a,11,o+28|0,0);a:{if(p){break a}a=J[o+28>>2];xb(a,1,b,c);Uc(a,2,d);xb(a,3,e,f);xb(a,4,g,h);b:{if(!(k|l)){xb(a,5,i,j);break b}J[o+8>>2]=k;J[o+12>>2]=l;J[o>>2]=i;J[o+4>>2]=j;b=ub(14942,o);if(!b){p=7;break a}fw(a,5,b,-1,1)}_f(a,6,m,n,0);qb(a);p=jb(a);we(a,5)}Fa=o+32|0;return p}function Dp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;g=Fa-16|0;Fa=g;f=J[b>>2];a:{if(!f){a=wx(a,b);if(a){break a}f=J[b>>2]}a=267;b=Id(f,0);f=Pe(f,0);if(!f){break a}i=b+f|0;j=Rl(f,i,g+8|0);k=(j|0)>(b|0);b=J[g+8>>2];h=J[g+12>>2];if(k|(!b&(h|0)<=0|(h|0)<0)){break a}J[c>>2]=b;J[c+4>>2]=h;if(d){J[d>>2]=f+j}a=0;if(!e){break a}J[e>>2]=i}Fa=g+16|0;return a}function OF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=Fa-48|0;Fa=b;J[b+44>>2]=0;e=J[a+12>>2];f=J[a+40>>2];c=J[a+16>>2];d=J[a+20>>2];J[b+40>>2]=d;J[b+36>>2]=c;J[b+28>>2]=d;J[b+24>>2]=c;J[b+20>>2]=d;J[b+16>>2]=c;J[b+32>>2]=f?24902:30620;J[b+12>>2]=d;J[b+8>>2]=c;J[b+4>>2]=d;J[b>>2]=c;Ae(b+44|0,e,22659,b);c=J[b+44>>2];if(!c){_p(a)}Fa=b+48|0;return c|0}function Dh(a,b){var c=0,d=0,e=0,f=0,g=0;e=J[a+12>>2];d=Ja[J[16476]](J[e+52>>2],b,0)|0;if(d){g=J[d+4>>2];c=g;f=J[c+36>>2];d=J[c+32>>2]+1|0;f=d?f:f+1|0;J[c+32>>2]=d;J[c+36>>2]=f;c=J[e+20>>2];d=J[e+16>>2]+1|0;c=d?c:c+1|0;J[e+16>>2]=d;J[e+20>>2]=c;bl(g)}Ja[J[16478]](J[e+52>>2],J[a>>2],J[a+24>>2],b);J[a+24>>2]=b;if((L[a+28>>1]&10)==10){Yi(a,3)}}function gn(a,b,c){var d=0,e=0;d=Fa-32|0;Fa=d;a=Xc(a);e=0;a:{if(!a){break a}e=K[a|0];b:{if((e|0)!=51){while(1){if((e|0)!=44){break b}e=1;if(gn(J[a+12>>2],b,c)){break a}a=J[a+16>>2];e=K[a|0];continue}}a=J[a+12>>2]}J[d+28>>2]=b;J[d+12>>2]=0;J[d+16>>2]=0;J[d+8>>2]=71;I[d+24>>1]=0;I[d+26>>1]=(c|0)!=0;Eb(d+4|0,a);e=L[d+24>>1]}Fa=d+32|0;return e}function Wj(a,b){var c=0,d=0,e=0;c=K[a+8|0];a:{if(!c){break a}e=J[a+4>>2];J[e+4>>2]=J[a>>2];if((c|0)==2){c=J[e>>2];d=J[c+44>>2];b:{if(!d){J[c+108>>2]=J[c+108>>2]+1;if(!(!K[c+4|0]|K[c+17|0]!=2|K[c+5|0]!=1)){H[c+17|0]=1;break b}d=Jj(c,Kj(c,K[c+20|0],1))}if(b){break b}if(d){break a}}J[a+20>>2]=J[a+20>>2]-1;H[e+20|0]=1;hy(e)}cy(a);d=0}return d}function xj(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}z(0,0);z(1,b+1023<<20);return a*+B()}function eu(a,b){var c=0,d=0,e=0;c=Fa-80|0;Fa=c;J[c+68>>2]=0;J[c+72>>2]=0;J[c+76>>2]=0;J[c+60>>2]=0;J[c+64>>2]=0;d=c+8|0;Sa(d,0,40);I[c+24>>1]=1;e=J[a+20>>2];J[c+56>>2]=a;J[c+28>>2]=e;J[c+48>>2]=d;J[c+52>>2]=b;H[c+72|0]=K[e+84|0];Ja[J[b+20>>2]](c+48|0);if(J[a+24>>2]>0){Za(J[a+20>>2],J[a+32>>2])}Qa(a,c+8|0,40);Fa=c+80|0;return J[c+68>>2]}function hz(a,b){var c=0,d=0,e=0,f=0;d=J[a+4>>2];I[d+24>>1]=L[d+24>>1]&65503|((b|0)==1)<<5;c=tf(a,0,0);a:{if(c){break a}e=J[J[d+12>>2]+56>>2];f=K[e+18|0];if((f|0)==(b&255)){c=0;if(K[e+19|0]==(f|0)){break a}}c=tf(a,2,0);if(c){break a}c=Pb(J[J[d+12>>2]+72>>2]);if(c){break a}H[e+19|0]=b;H[e+18|0]=b;c=0}I[d+24>>1]=L[d+24>>1]&65503;return c}function eF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;d=J[a>>2];Cp(a);c=1;a:{if((b|0)!=1){break a}c=Wa(J[e>>2]);e=sb(J[e>>2]);b=e+1|0;b=pb(b,b>>31);J[a+4>>2]=b;if(!b){return 7}if((e|0)>0){Qa(b,c,e);b=J[a+4>>2]}H[b+e|0]=0;c=Ja[J[J[d+12>>2]+12>>2]](J[d+16>>2],J[a+4>>2],e,a+8|0)|0;if(c){break a}J[J[a+8>>2]>>2]=J[d+16>>2];c=Uw(a)}return c|0}function bp(a,b,c){var d=0,e=0;d=Fa-16|0;Fa=d;e=J[a+404>>2];a:{b:{if(!e){b=Nc(155411);break b}J[d+12>>2]=c;c:{switch(b-1|0){case 0:a=J[d+12>>2];J[d+12>>2]=a+4;H[J[e>>2]+16|0]=J[a>>2];break a;case 1:H[J[e>>2]+18|0]=0;break a;case 2:H[J[e>>2]+18|0]=2;break a;case 3:H[J[e>>2]+17|0]=1;break a;default:break c}}b=Nc(155433)}Lc(a,b)}Fa=d+16|0}function Wo(a,b){var c=0,d=0,e=0;c=J[J[a+16>>2]+12>>2];H[a+84|0]=K[c+77|0];e=J[a+24>>2];a:{if(!(H[c+78|0]&1)){d=Vo(a,0,b,0);if(d){break a}}e=e&1;c=J[a+20>>2];while(1){if((c|0)>=2){c=c-1|0;if(H[J[(J[a+16>>2]+(c<<4)|0)+12>>2]+78|0]&1){continue}d=Vo(a,c,b,0);if(!d){continue}break a}break}d=0;if(e){break a}J[a+24>>2]=J[a+24>>2]&-2}return d}function ID(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Fa;f=c;e=4096;d=c-(a?16:4096)|0;Fa=d;c=d;a:{b:{if(!a){break b}c=a;e=b;if(b){break b}J[18304]=28;a=0;break a}a=0;b=qc(za(c|0,e|0)|0);if((b|0)<0){break a}if(!(K[c|0]==47?b:0)){J[18304]=44;break a}a=c;if((d|0)!=(a|0)){break a}a=ob(d)+1|0;b=ye(a);if(b){a=Qa(b,d,a)}else{a=0}}Fa=f;return a|0}function lt(a,b,c){var d=0,e=0;e=!c;while(1){c=b;if(c){b=J[c+52>>2];kb(a,J[c+28>>2]);yc(a,J[c+32>>2]);_a(a,J[c+36>>2]);kb(a,J[c+40>>2]);_a(a,J[c+44>>2]);kb(a,J[c+48>>2]);_a(a,J[c+60>>2]);d=J[c+64>>2];if(d){Kk(a,d)}d=J[c+72>>2];if(d){Wn(a,d)}while(1){d=J[c+68>>2];if(d){Xn(d);continue}break}d=e;e=0;if(d){continue}Sb(a,c);continue}break}}function gf(a,b,c,d){var e=0,f=0,g=0;a:{if(c){b:{f=a+432|0;e=Cc(f,c);if(!(e|!d)){g=Ya(c);e=ib(a,g+61|0,0);d=0;if(!e){break a}H[e+4|0]=1;H[e+44|0]=3;d=e+60|0;J[e+40>>2]=d;H[e+24|0]=2;J[e+20>>2]=d;J[e>>2]=d;c=jd(f,Qa(d,c,g+1|0),e);if(!c){break b}Db(a);Za(a,c);return 0}if(e){break b}return 0}return(P(b,20)+e|0)-20|0}d=J[a+8>>2]}return d}function Ul(a,b){var c=0,d=0,e=0;if(!K[b+7|0]){return 0}c=Nx(b);a:{b:{if(c){break b}d=J[b>>2];J[d+56>>2]=J[d+56>>2]+1;xb(J[b+12>>2],1,J[b+32>>2],J[b+36>>2]);H[b+7|0]=0;c=qb(J[b+12>>2]);J[d+56>>2]=J[d+56>>2]-1;if((c|0)==100){break a}c=jb(J[b+12>>2]);if(c){break b}if(J[J[b>>2]+40>>2]){break a}H[b+6|0]=1;c=267}if(a){Td(a,c)}e=c}return e}function eD(a){a=a|0;var b=0,c=0,d=0;b=J[a+8>>2];wt(a);qv(a,0);c=J[a+8>>2];a:{b:{if(J[b+24>>2]){b=J[a+28>>2];J[b+8>>2]=J[c+32>>2];J[c+32>>2]=b;J[a+28>>2]=0;J[a+12>>2]=-1;break b}if(!c){break a}}b=J[c+36>>2]-1|0;J[c+36>>2]=b;if(b){break a}pv(a);b=J[c+48>>2];d=J[c+44>>2];J[(b?b+44|0:73044)>>2]=d;if(d){J[d+48>>2]=b}Oa(c)}To(a);return 0}function XG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-128|0;Fa=d;J[d>>2]=a;I[d+24>>1]=1;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=100;J[d+12>>2]=0;J[d+4>>2]=d+26;bc(d,91);b=(b|0)>0?b:0;while(1){if((b|0)!=(e|0)){jm(d);Qj(d,J[(e<<2)+c>>2]);e=e+1|0;continue}break}bc(d,93);qf(d,0,0);a=J[a>>2];H[a+19|0]=74;I[a+16>>1]=L[a+16>>1]|2048;Fa=d+128|0}function zA(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}f=ib(a,P(J[b>>2],24)+12|0,0);if(!f){break a}c=J[b>>2];J[f>>2]=c;while(1){if((c|0)<=(e|0)){a=f}else{d=P(e,24);c=d+f|0;d=b+d|0;J[c+20>>2]=Pd(a,J[d+20>>2],0);J[c+16>>2]=kc(a,J[d+16>>2],0);J[c+12>>2]=Ob(a,J[d+12>>2]);H[c+32|0]=K[d+32|0];e=e+1|0;c=J[b>>2];continue}break}e=a}return e}function dq(a){var b=0,c=0,d=0,e=0,f=0,g=0;if(a>>>0<=127){return(J[(a>>>3&536870908)+54656>>2]^-1)>>>a&1}if(a>>>0<=4194303){g=a<<10|1023;b=405;while(1){if((b|0)>=(d|0)){c=(b+d|0)/2|0;e=M[(c<<2)+53024>>2]>g>>>0;d=e?d:c+1|0;b=e?c-1|0:b;f=e?f:c;continue}break}b=a;a=J[(f<<2)+53024>>2];a=b>>>0>=(a>>>10|0)+(a&1023)>>>0}else{a=1}return a}function $g(a,b,c,d){var e=0;e=J[a>>2];a=J[a+4>>2];H[a+22|0]=c;J[a+4>>2]=e;e=8;a:{if(K[a+24|0]&2){break a}e=J[a+36>>2]-J[a+40>>2]|0;c=(c|0)<(e|0)?e:c;if(!(b+131071&b|b-512>>>0>65024)){J[a+36>>2]=(b|0)==512?(c|0)>32?1024:b:b;Uo(a)}e=Nh(J[a>>2],a+36|0,c);J[a+40>>2]=J[a+36>>2]-(c&65535);if(!d){break a}I[a+24>>1]=L[a+24>>1]|2}return e}function Qi(a,b){var c=0,d=0;a:{b:{if(b){c=J[a>>2];d=J[c+520>>2];b=J[c+524>>2]+J[c+516>>2]|0;c=J[c+512>>2];d=c+d|0;b=d>>>0<c>>>0?b+1|0:b;if(!!d&(b|0)>=0|(b|0)>0){break b}break a}b=J[a+64>>2];c=J[a+68>>2];if((c|0)<0){b=1}else{b=!b&(c|0)<=0}if(b){break a}}H[a+148|0]=2;J[a+36>>2]=787;Fc(a,15981,0);return H[a+150|0]>=0?1:787}return 0}function FI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=J[J[a>>2]+20>>2];b=fb(J[c>>2]);e=fb(J[c+4>>2]);f=b;b=(b<<3)+48|0;b=ib(d,b,b>>31);if(!b){Qb(a);return}J[b>>2]=d;d=fb(J[c+8>>2]);J[b+16>>2]=0;J[b+20>>2]=0;J[b+8>>2]=d;J[b+12>>2]=Ia;c=fb(J[c+12>>2]);J[b+40>>2]=b+48;H[b+36|0]=0;J[b+32>>2]=e;J[b+28>>2]=f;J[b+24>>2]=c;he(a,b,48,91)}function Ar(a,b){var c=0,d=0,e=0,f=0;c=Fa-16|0;Fa=c;jn(J[a>>2],c+8|0);d=J[c+8>>2];e=J[b+136>>2];d=lJ(d-e|0,J[c+12>>2]-(J[b+140>>2]+(d>>>0<e>>>0)|0)|0,1e6,0);J[c>>2]=d;e=Ia;J[c+4>>2]=e;f=J[a+220>>2];if(f){Ja[f|0](J[a+224>>2],J[b+200>>2],d,e)}if(K[a+94|0]&2){Ja[J[a+212>>2]](2,J[a+216>>2],b,c)|0}J[b+136>>2]=0;J[b+140>>2]=0;Fa=c+16|0}function oD(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(J[a+44>>2]){break a}d=K[a+21|0];if(d&3|K[b+28|0]&8?d:0){break a}J[a+212>>2]=J[a+212>>2]+1;J[b+16>>2]=0;b:{c:{if(J[a+232>>2]){c=km(b);if(c){break b}c=My(a,b,0,0);break c}if(!(!(K[b+28|0]&8)&K[a+17|0]!=3)){c=zy(a,1);if(c){break b}}c=vy(a,b)}if(c){break b}Ro(b);c=0}c=Jj(a,c)}return c|0}function XA(a,b,c){var d=0,e=0,f=0;a:{if(K[b+43|0]==1){break a}d=b+8|0;while(1){e=J[d>>2];if(!e){break a}b:{c:{if(!c){break c}f=L[e+52>>1];d=0;while(1){if((d|0)==(f|0)){break b}if(I[J[e+4>>2]+(d<<1)>>1]>=0){if(!Xa(J[J[e+32>>2]+(d<<2)>>2],c)){break c}}d=d+1|0;continue}}fd(a,0,Ab(J[a>>2],J[b+60>>2]));kn(a,e,-1)}d=e+20|0;continue}}}function Su(a,b,c){var d=0,e=0,f=0;e=Fa-16|0;Fa=e;d=J[18291];if(d){Ja[d|0]()}d=J[a+8>>2];d=Ja[J[J[d>>2]+24>>2]](d,e+8|0)|0;a:{if(d){break a}d=0;f=J[e+12>>2];if(M[e+8>>2]<=b>>>0&(c|0)>=(f|0)|(c|0)>(f|0)){break a}d=J[a+8>>2];d=Ja[J[J[d>>2]+16>>2]](d,b,c)|0}b=J[18292];if(b){Ja[b|0]()}if(d){J[e>>2]=J[a+108>>2];Ac(d,8016,e)}Fa=e+16|0}function NE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;C(+d);b=x(1)|0;x(0)|0;b=b>>>20&2047;a:{if(b>>>0<=1023){d=d+-1;d=up(d+Y(d*d+(d+d)));break a}if(b>>>0<=1048){d=zj(d+d+-1/(Y(d*d+-1)+d));break a}d=zj(d)+.6931471805599453}Nb(a,d);return}Z(23800,17942,394,17753);D()}function fi(a,b){var c=0;a:{if(!a|!b){break a}b=P(b,40)+a|0;c=J[a+20>>2];if(!J[c+528>>2]){while(1){b:{c:{if(K[a+17|0]&144){Vc(a);break c}if(!J[a+24>>2]){break b}Sb(c,J[a+32>>2]);J[a+24>>2]=0}I[a+16>>1]=0}a=a+40|0;if(b>>>0>a>>>0){continue}break a}}while(1){if(J[a+24>>2]){Ua(c,J[a+32>>2])}a=a+40|0;if(b>>>0>a>>>0){continue}break}}}function DF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=Fa-32|0;Fa=a;J[a+28>>2]=111;J[a+20>>2]=112;J[a+24>>2]=10120;J[a+16>>2]=12827;J[a+12>>2]=113;J[a+8>>2]=4196;J[a+4>>2]=114;J[a>>2]=3415;e=0;b=0;while(1){a:{if((b|0)!=4){f=(b<<3)+a|0;if(Kc(c,J[f>>2])){break a}J[d>>2]=J[f+4>>2];e=1}Fa=a+32|0;return e|0}b=b+1|0;continue}}function Nx(a){var b=0,c=0,d=0,e=0;e=Fa-16|0;Fa=e;a:{if(J[a+12>>2]){break a}c=a+12|0;b=J[a>>2];d=J[b+220>>2];b:{if(d){J[c>>2]=d;J[b+220>>2]=0;break b}J[e>>2]=J[b+224>>2];d=ub(21686,e);if(!d){c=7;break a}J[b+56>>2]=J[b+56>>2]+1;c=cp(J[b+12>>2],d,1,c);J[b+56>>2]=J[b+56>>2]-1;Oa(d);if(c){break a}}H[a+8|0]=1;c=0}Fa=e+16|0;return c}function cg(a,b,c){var d=0,e=0,f=0,g=0;if((c|0)<0){c=ob(b)}f=J[a>>2];g=J[a+8>>2];d=J[a+4>>2];if((g|0)<=((d+c|0)+1|0)){e=(c>>31)+(g>>31)|0;d=c+g|0;e=d>>>0<g>>>0?e+1|0:e;d=d+100|0;e=d>>>0<100?e+1|0:e;f=Bc(f,d,e);if(!f){return 7}J[a+8>>2]=d;J[a>>2]=f;d=J[a+4>>2]}Qa(d+f|0,b,c);b=J[a+4>>2]+c|0;J[a+4>>2]=b;H[b+J[a>>2]|0]=0;return 0}function ji(a){var b=0,c=0,d=0;c=J[a>>2];b=J[a+120>>2];if(b){Sb(c,b)}while(1){b=J[a+140>>2];if(b){J[a+140>>2]=J[b>>2];Ja[J[b+8>>2]](c,J[b+4>>2]);Sb(c,b);continue}break}b=J[a+64>>2];if(b){Sb(c,b)}b=J[a+68>>2];if(b){Vf(c,b)}d=J[c+304>>2];b=K[a+24|0];J[c+304>>2]=d-b;I[c+308>>1]=(b|0)==(d|0)?L[c+310>>1]:0;J[c+264>>2]=J[a+196>>2]}function Wm(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=-1;a:{if(K[f+43|0]==2){break a}i=c?129:128;h=0;j=d<<2;while(1){if(!b){break a}b:{c:{if(!(K[b+9|0]&e)|K[b+8|0]!=(i|0)){break c}if(!Lq(J[b+16>>2],c)){break c}d=-1;if(K[b+10|0]){break b}d=qz(a,b,f,g);if(!d){break c}d=J[(d+j|0)+16>>2]|h;break b}d=h}h=d;b=J[b+32>>2];continue}}return h}function Vi(a,b,c,d){var e=0,f=0,g=0;e=Fa-16|0;Fa=e;f=J[a>>2];g=Ld(a,b);a=Ja[J[f+220>>2]](f,g,e+12|0,0)|0;a:{if(a){break a}a=J[e+12>>2];b=P((g^-1)+b|0,5);b:{if((b|0)<0){ed(a);b=71212;break b}b=b+J[a+4>>2]|0;H[c|0]=K[b|0];if(d){J[d>>2]=ab(b+1|0)}ed(a);a=0;b=71220;if((K[c|0]-6&255)>>>0>250){break a}}a=Ta(b)}Fa=e+16|0;return a}function rp(a,b,c,d){var e=0;a:{b:{c:{if(!((d|0)!=4096|(a|0)<0)){if(K[b|0]){break c}a=ca(a|0,c|0)|0;break a}d:{if((a|0)!=-100){e=K[b|0];if(!d&(e|0)==47){break d}if((d|0)!=256|(e|0)!=47){break c}break b}if((d|0)==256){break b}if(d){break c}}a=Da(b|0,c|0)|0;break a}a=Ba(a|0,b|0,c|0,d|0)|0;break a}a=Ca(b|0,c|0)|0}return qc(a)}function ds(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;d=L[a+52>>1];g=J[a+12>>2];while(1){if((d|0)>0){d=d-1|0;b=I[J[a+4>>2]+(d<<1)>>1];if((b|0)<0|b>>>0>62|L[(J[g+4>>2]+P(b&65535,12)|0)+10>>1]&32){continue}h=c;c=b&31;if((b&63)>>>0>=32){b=1<<c;e=0}else{e=1<<c;b=e-1&1>>>32-c}c=h|e;f=b|f;continue}break}J[a+64>>2]=c^-1;J[a+68>>2]=f^-1}function LE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}e=yb(J[c>>2]);J[18304]=0;b=a;d=R(e);C(+e);a=x(1)|0;x(0)|0;c=a>>>20&2047;a:{b:{if(c>>>0<=1021){if(c>>>0<991){break a}e=d+d;d=e+d*e/(1-d);break b}d=d/(1-d);d=d+d}d=up(d)*.5}Nb(b,(a|0)<0?-d:d);return}Z(23800,17942,410,17773);D()}function Vr(a,b){var c=0,d=0,e=0,f=0;d=J[b>>2];e=(d|0)>0?d:0;d=0;a:{while(1){if((d|0)==(e|0)){break a}b:{c=(d<<6)+b|0;c:{if((c+8|0)==(a|0)){break c}if(J[a+16>>2]==J[c+24>>2]){if(!Ub(J[a+12>>2],J[c+20>>2])){break b}}c=J[c+28>>2];if(!c|!(K[c+5|0]&8)){break c}if(Vr(a,J[c+32>>2])){break b}}d=d+1|0;continue}break}f=1}return f}function jw(a,b){var c=0,d=0,e=0,f=0;e=ke();if(!e){c=a;a:{if(!a){break a}a=J[18192];if((c|0)==(a|0)){a=72768}else{if(!a){break a}while(1){d=a;a=J[a+12>>2];f=(c|0)!=(a|0);if(f?a:0){continue}break}if(f){break a}a=d+12|0}J[a>>2]=J[c+12>>2]}d=72768;a=J[18192];if(!(!a|b)){d=a+12|0;a=J[a+12>>2]}J[c+12>>2]=a;J[d>>2]=c}return e}function lq(a){var b=0,c=0,d=0;if(a){c=J[a+4>>2];b=ab(J[a+20>>2]+112|0)+1|0;b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);H[c+24|0]=b;H[c+25|0]=b>>>8;d=b>>>16|0;H[c+26|0]=d;H[c+27|0]=b>>>24;c=J[a+4>>2];H[c+92|0]=b;H[c+93|0]=b>>>8;H[c+94|0]=d;H[c+95|0]=b>>>24;a=J[a+4>>2];H[a+96|0]=0;H[a+97|0]=46;H[a+98|0]=118;H[a+99|0]=136}}function fE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;if((b|0)==1){a=wb(a,24);if((Ng(J[c>>2])|0)!=5){b=J[a+20>>2];e=J[a+16>>2]+1|0;b=e?b:b+1|0;J[a+16>>2]=e;J[a+20>>2]=b;f=yb(J[c>>2]);d=O[a>>3];g=f-d;d=d+g/(+M[a+16>>2]+ +J[a+20>>2]*4294967296);O[a>>3]=d;O[a+8>>3]=g*(f-d)+O[a+8>>3]}return}Z(23800,17942,1395,9914);D()}function dk(a,b,c,d,e,f,g){var h=0,i=0;i=J[a+8>>2];h=(e<<2)+28|0;h=Ib(J[a>>2],h,h>>31);if(!h){vo(J[a>>2],f);return}H[h+26|0]=e;J[h+20>>2]=0;J[h+12>>2]=0;J[h+4>>2]=f;J[h>>2]=0;J[h+16>>2]=J[i+108>>2];$a(i,g?65:66,b,c,d,h,-15);b=J[i+108>>2];if((b|0)>0){I[(J[i+104>>2]+P(b,20)|0)-18>>1]=g&46}b=J[a+128>>2];H[(b?b:a)+21|0]=1}function Dr(a,b,c,d){var e=0,f=0,g=0,h=0;e=Fa-32|0;Fa=e;f=J[a>>2];g=Ab(f,J[b+60>>2]);h=eb(f,c,0);c=Bd(a,0,0,0);if(c){J[c+16>>2]=Ob(f,J[b>>2]);J[c+12>>2]=Ob(f,J[J[f+16>>2]+(g<<4)>>2])}b=sd(a,0,c,h,0,0,0,131072,0);J[e+20>>2]=0;J[e+24>>2]=0;J[e+12>>2]=0;J[e+16>>2]=0;J[e+8>>2]=d;H[e+4|0]=12;Gc(a,b,e+4|0);ac(f,b);Fa=e+32|0}function Sr(a,b){var c=0,d=0;while(1){a:{b:{if(!b|J[a+20>>2]&J[b+4>>2]){break b}c=K[b|0];if((c|0)==44){break a}if((c|0)!=53){break b}c=J[b+12>>2];d=J[b+16>>2];c:{if(K[d|0]!=167){break c}if(!be(c)){break c}Nz(a,d,c,b)}if(K[c|0]!=167){break b}if(!be(d)){break b}Nz(a,c,d,b)}return}Sr(a,J[b+16>>2]);b=J[b+12>>2];continue}}function xF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Fa-16|0;Fa=c;a:{if(K[a+240|0]){break a}if(J[J[a+264>>2]+8>>2]>0){d=J[a+16>>2];e=J[a+20>>2];J[c+8>>2]=e;J[c+4>>2]=e;J[c>>2]=d;e=ub(27457,c);if(!e){d=7;break a}H[a+240|0]=1;d=Rd(J[a+12>>2],e,0,0,0);H[a+240|0]=0;Oa(e);if(d){break a}}J[a+256>>2]=b+1;d=0}Fa=c+16|0;return d|0}function Vy(a,b){var c=0,d=0;H[a+41|0]=1;O[a+32>>3]=b;if(!(!(b>=0)|!(b<5373484.5))){H[a+40|0]=1;b=b*864e5+.5;a:{if(R(b)<0x8000000000000000){d=~~b>>>0;if(R(b)>=1){c=~~(b>0?T(V(b*2.3283064365386963e-10),4294967295):W((b-+(~~b>>>0>>>0))*2.3283064365386963e-10))>>>0}else{c=0}break a}c=-2147483648}J[a>>2]=d;J[a+4>>2]=c}}function Vj(a,b,c,d,e){var f=0,g=0,h=0;wm(a,c);if(!d){return 7}if(tb(d,30438,7)){return Ta(116493)}if(e){b=1}else{b=xg(c,b)}H[c+176|0]=b;I[a+156>>1]=1;J[a>>2]=c;H[a+220|0]=2;d=(f=7,g=ej(a,d),h=K[c+87|0],h?f:g);a:{if(d){break a}d=0;if(J[a+256>>2]|(J[a+248>>2]|J[a+252>>2])){break a}d=Ta(116504)}H[c+176|0]=0;return d}function PC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Fa-544|0;Fa=d;J[d>>2]=a;c=wd(512,d+16|0,8863,d);a=ob(c);a:{while(1){if((a|0)>0){e=a+c|0;a=a-1|0;if(K[e|0]!=47){continue}break a}break}if(K[c|0]!=47){H[c|0]=46}e=c+1|0}a=0;H[e|0]=0;e=b;b=th(c,0,0);J[e>>2]=b;if((b|0)<0){a=Dd(de(41716),1122,c,41716)}Fa=d+544|0;return a|0}function Ym(a,b){var c=0,d=0,e=0,f=0;d=J[a+128>>2];a=d?d:a;d=J[a+224>>2];e=(d|0)>0?d:0;a:{while(1){if((c|0)!=(e|0)){f=c<<2;c=c+1|0;if(J[J[a+272>>2]+f>>2]!=(b|0)){continue}break a}break}c=(d<<2)+4|0;c=Gd(J[a+272>>2],c,c>>31);if(c){J[a+272>>2]=c;d=a;a=J[a+224>>2];J[d+224>>2]=a+1;J[c+(a<<2)>>2]=b;return}Db(J[a>>2])}}function Jm(a){var b=0,c=0,d=0,e=0,f=0;b=K[a|0];a:{if((b-43&255)>>>0>1){break a}c=Jm(J[a+16>>2]);b:{d=Jm(J[a+12>>2]);e=J[d+4>>2];if((e&268435457)!=268435456){f=J[c+4>>2];if((f&536870913)!=536870912){break b}}return(b|0)==44?c:d}if((e&536870913)!=536870912&(f&268435457)!=268435456){break a}a=(b|0)==44?d:c}return a}function rw(a,b){var c=0;c=L[a+16>>1];a:{b:{if(c&18){if(c&1024){c=0;if(ie(a)){break a}c=L[a+16>>1]}I[a+16>>1]=c|2;c=b&247;if((c|0)!=K[a+18|0]){Kd(a,c)}if(!(!(b&8)|!(H[a+8|0]&1))){c=0;if(ag(a)){break a}}if((L[a+16>>1]&514)!=2){break b}qw(a);break b}Bh(a,b,0)}c=0;if(K[a+18|0]!=(b&247)){break a}c=J[a+8>>2]}return c}function ln(a){var b=0,c=0,d=0;d=J[a+36>>2];b=J[a>>2];a:{if(J[a+124>>2]){H[b+88|0]=K[b+88|0]+1;c=J[18291];if(c){Ja[c|0]()}c=J[b+288>>2];if(!c){c=ng(b);J[b+288>>2]=c}ym(c,J[a+124>>2],-1);a=J[18292];if(a){Ja[a|0]()}H[b+88|0]=K[b+88|0]-1;break a}a=J[b+288>>2];if(!a){break a}Rb(a)}J[b+68>>2]=-1;J[b+64>>2]=d;return d}function TB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fa-16|0;Fa=d;a=0;a:{if((Ja[J[16661]](b)|0)==-1){a=5898;if(J[18304]==44){break a}a=2570;Dd(2570,11863,b,44507);break a}if(!(c&1)){break a}if(Ja[J[16664]](b,d+12|0)|0){break a}if(qp(J[d+12>>2])){Dd(1290,17572,b,44517);a=1290}Gf(0,J[d+12>>2],44519)}Fa=d+16|0;return a|0}function rt(a,b,c,d){var e=0,f=0,g=0,h=0;a=J[a+116>>2];b=J[a+64>>2]+(b<<1)|0;b=J[a+68>>2]+(L[a+26>>1]&(K[b+1|0]|K[b|0]<<8))|0;e=b+1|0;f=K[b|0];if(f>>>0<=K[a+11|0]){return Ja[d|0](f,e,c)|0}g=99;e=H[e|0];a:{if((e|0)<0){break a}h=L[a+14>>1];a=f<<7&16256|e&255;if(h>>>0<a>>>0){break a}g=Ja[d|0](a,b+2|0,c)|0}return g}function pe(a,b,c,d){var e=0,f=0,g=0;f=Fa-16|0;Fa=f;g=J[a>>2];e=nc(g,172,c,1);a:{if(!e){kb(g,b);break a}J[e+36>>2]=J[c>>2]-J[a+244>>2];if(!(K[a+18|0]|(!b|J[b>>2]<=J[J[a>>2]+144>>2]))){J[f>>2]=c;Ra(a,18998,f)}J[e+20>>2]=b;J[e+4>>2]=J[e+4>>2]|8;Ak(a,e);if((d|0)!=1){break a}J[e+4>>2]=J[e+4>>2]|4}Fa=f+16|0;return e}function Wu(a,b){var c=0,d=0;c=J[J[a+32>>2]>>2];J[a+112>>2]=J[a+112>>2]+1;J[a+68>>2]=0;d=ab(a+84|0);J[a+88>>2]=b;b=d+1|0;H[a+87|0]=b;H[a+86|0]=b>>>8;H[a+85|0]=b>>>16;H[a+84|0]=b>>>24;No(a);J[c+96>>2]=0;J[c+128>>2]=0;J[c+104>>2]=0;b=c+96|0;a=2;while(1){if((a|0)!=5){J[(b+(a<<2)|0)+4>>2]=-1;a=a+1|0;continue}break}}function ot(a,b){var c=0,d=0,e=0,f=0,g=0;f=b;a:{while(1){c=K[a+e|0];if(c-58>>>0>=4294967286){b=c<<24>>24;d=lJ(d,g,10,0);c=b+d|0;b=Ia+(b>>31)|0;b=c>>>0<d>>>0?b+1|0:b;d=c-48|0;c=b-(c>>>0<48)|0;g=c;if((c|0)==1&(d|0)!=0|c>>>0>1){a=0;b=0;break a}else{e=e+1|0;continue}}break}a=!c&(e|0)!=0;b=a?d:0}J[f>>2]=b;return a}function bh(a,b){var c=0,d=0;while(1){a:{c=L[b+10>>1];if(c&4|(H[J[b>>2]+4|0]&1?0:J[a>>2])|(J[b+40>>2]&J[a+88>>2]|J[b+44>>2]&J[a+92>>2])){break a}I[b+10>>1]=c|(d?c&1024?512:4:4);c=J[b+16>>2];if((c|0)<0){break a}b=J[J[b+4>>2]+24>>2]+P(c,48)|0;c=K[b+14|0]-1|0;H[b+14|0]=c;if(c&255){break a}d=d+1|0;continue}break}}function TC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=J[a+36>>2];a:{if(!d){break a}e=J[d>>2];c=e+32|0;while(1){g=c;f=J[c>>2];c=f+4|0;if((d|0)!=(f|0)){continue}break}J[g>>2]=J[d+4>>2];Oa(d);J[a+36>>2]=0;c=J[e+28>>2]-1|0;J[e+28>>2]=c;if(c){break a}if(!(!b|J[e+12>>2]<0)){Ja[J[16661]](J[e+8>>2])|0}iv(a)}return 0}function Fu(a){var b=0,c=0,d=0;while(1){if((b|0)<J[a+104>>2]){Rf(J[(J[a+100>>2]+P(b,48)|0)+16>>2]);b=b+1|0;continue}break}c=J[a+72>>2];b=J[c>>2];a:{b:{if(K[a+4|0]){d=33112;if((b|0)==33112){break b}break a}d=b;if(!b){break a}}Ja[J[d+4>>2]](c)|0;J[c>>2]=0}Oa(J[a+100>>2]);J[a+56>>2]=0;J[a+100>>2]=0;J[a+104>>2]=0}function pp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=Fa-240|0;Fa=f;J[f>>2]=a;g=1;a:{if((b|0)<2){break a}d=a;while(1){d=d-4|0;h=b-2|0;e=d-J[(h<<2)+c>>2]|0;if((Vh(a,e)|0)>=0){if((Vh(a,d)|0)>=0){break a}}i=e;e=(Vh(e,d)|0)>=0;d=e?i:d;J[(g<<2)+f>>2]=d;g=g+1|0;b=e?b-1|0:h;if((b|0)>1){continue}break}}Bw(f,g);Fa=f+240|0}function Ra(a,b,c){var d=0,e=0;e=Fa-16|0;Fa=e;d=J[a>>2];J[d+68>>2]=-2;J[e+12>>2]=c;b=dh(d,b,c);if(J[d+68>>2]<=-2){J[d+68>>2]=-1}a:{if(K[d+91|0]){Ua(d,b);if(!K[d+87|0]){break a}J[a+12>>2]=7;J[a+36>>2]=J[a+36>>2]+1;break a}J[a+36>>2]=J[a+36>>2]+1;Ua(d,J[a+4>>2]);J[a+276>>2]=0;J[a+12>>2]=1;J[a+4>>2]=b}Fa=e+16|0}function hI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=$c(J[c>>2]);c=sb(J[c>>2]);b=c>>31<<1|c>>>31;b=_g(a,c<<1|1,b);if(b){g=(c|0)>0?c:0;c=b;while(1){if((e|0)!=(g|0)){f=K[d|0];H[c+1|0]=K[(f&15)+51776|0];H[c|0]=K[(f>>>4|0)+51776|0];d=d+1|0;e=e+1|0;c=c+2|0;continue}break}H[c|0]=0;c=c-b|0;$f(a,b,c,c>>31,1)}}function Eu(a,b){var c=0,d=0;if(J[a+52>>2]){c=J[a>>2];while(1){d=c;if(d){c=J[d+40>>2];if(M[d+24>>2]<=b>>>0){continue}Ro(d);continue}break}a:{if(b){break a}if(!(J[a+16>>2]|J[a+20>>2])){b=0;break a}b=0;c=Ja[J[16476]](J[a+52>>2],1,0)|0;if(!c){break a}Sa(J[c>>2],0,J[a+32>>2]);b=1}Ja[J[16479]](J[a+52>>2],b+1|0)}}function vE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)==1){a:{switch(Fb(J[c>>2])-1|0){case 0:b=a;a=fb(J[c>>2]);c=Ia;d=(a|c)!=0;f=d?-1:0;d=d?-1:0;a=!!a&(c|0)>=0|(c|0)>0;Vb(b,a?1:f,a?0:d);return;case 4:Mb(a);return;default:break a}}e=yb(J[c>>2]);Nb(a,e>0?1:e<0?-1:0);return}Z(23800,17942,590,17708);D()}function Bo(a,b,c){var d=0,e=0;a:{if(!K[a+9|0]){break a}b:{e=J[a+4>>2];if(K[e+24|0]&64?J[e+80>>2]!=(a|0):0){break b}d=e+76|0;while(1){d=J[d>>2];if(!d){break a}if(!(J[d>>2]==(a|0)|J[d+4>>2]!=(b|0)|K[d+8|0]==(c|0))){if((c|0)!=2){break b}I[e+24>>1]=L[e+24>>1]|128;break b}d=d+12|0;continue}}return 262}return 0}function gj(a,b){var c=0;if((b|0)>=0){c=b<<4;b=J[a+16>>2];c=J[(c+b|0)+12>>2];I[c+78>>1]=L[c+78>>1]|8;b=J[b+28>>2];I[b+78>>1]=L[b+78>>1]|8;J[a+24>>2]=J[a+24>>2]&-17}a:{if(J[a+56>>2]){break a}b=0;while(1){if(J[a+20>>2]<=(b|0)){break a}c=J[(J[a+16>>2]+(b<<4)|0)+12>>2];if(K[c+78|0]&8){Tj(c)}b=b+1|0;continue}}}function Ji(a,b,c,d){var e=0,f=0;f=Fa-16|0;Fa=f;a:{if(M[a+48>>2]<b>>>0){J[c>>2]=0;d=Ta(72456);break a}e=J[a>>2];d=Ja[J[e+220>>2]](e,b,f+12|0,d)|0;if(d){J[c>>2]=0;break a}b:{d=J[f+12>>2];e=J[d+8>>2];if(K[e|0]){break b}yo(d,b,a);d=Kh(e);if(!d){break b}Lf(e);J[c>>2]=0;break a}J[c>>2]=e;d=0}Fa=f+16|0;return d}function Fm(a){var b=0,c=0,d=0;b=J[a>>2];if(J[b+296>>2]){J[a+12>>2]=9;J[a+36>>2]=J[a+36>>2]+1}c=J[b+372>>2];a:{if(!c){break a}b:{if(J[a+12>>2]==9){break b}d=J[a+112>>2]+1|0;J[a+112>>2]=d;if(M[b+380>>2]>d>>>0){break a}if(!(Ja[c|0](J[b+376>>2])|0)){break b}J[a+12>>2]=9;J[a+36>>2]=J[a+36>>2]+1}J[a+112>>2]=0}}function lI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{c:{b=J[c>>2];switch(K[(L[b+16>>1]&63)+31120|0]-1|0){case 4:break b;case 0:break c;default:break a}}b=fb(b);c=Ia;if((c|0)<0){if(!b&(c|0)==-2147483648){Bb(a,1677,-1);return}c=0-(((b|0)!=0)+c|0)|0;b=0-b|0}Vb(a,b,c);return}Mb(a);return}d=yb(b);Nb(a,d<0?-d:d)}function tG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=J[a+52>>2];c=J[a+56>>2]+((c>>>0)%(e>>>0)<<2)|0;while(1){g=c;f=J[c>>2];c=f+16|0;if((b|0)!=(f|0)){continue}break}J[g>>2]=J[b+16>>2];J[b+8>>2]=d;c=J[a+56>>2]+((d>>>0)%(e>>>0)<<2)|0;J[b+16>>2]=J[c>>2];J[c>>2]=b;if(M[a+36>>2]<d>>>0){J[a+36>>2]=d}}function LA(a,b,c,d,e,f){var g=0;a:{b:{c:{d:{g=K[b|0];switch(g-176|0){case 1:break b;case 0:break d;default:break c}}J[e>>2]=pg(b,c);return J[b+28>>2]+c|0}a=0;if((g|0)!=138){break a}J[e>>2]=J[(J[J[b+20>>2]+28>>2]+(c<<4)|0)+8>>2];return c+d|0}b=J[(J[b+20>>2]+(c<<4)|0)+8>>2];J[e>>2]=b;a=Ec(a,b,f)}return a}function Bw(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=4;f=Fa-256|0;Fa=f;if((b|0)>=2){h=(b<<2)+a|0;J[h>>2]=f;while(1){e=c>>>0>=256?256:c;Qa(J[h>>2],J[a>>2],e);d=0;while(1){g=(d<<2)+a|0;d=d+1|0;Qa(J[g>>2],J[(d<<2)+a>>2],e);J[g>>2]=J[g>>2]+e;if((b|0)!=(d|0)){continue}break}c=c-e|0;if(c){continue}break}}Fa=f+256|0}function xr(a,b,c,d){var e=0;a:{e=K[b|0];b:{c:{if((e|0)!=177){if((e|0)!=138){break c}a=db(a,178,0,0);e=0;if(!a){break b}I[a+32>>1]=c;J[a+28>>2]=d;J[a+12>>2]=b;J[a+4>>2]=J[a+4>>2]|131072;return a}c=J[b+20>>2]+(c<<4)|0;b=J[c+8>>2];if(K[a+220|0]>=2){break a}}e=eb(J[a>>2],b,0)}return e}J[c+8>>2]=0;return b}function Qp(a){var b=0,c=0,d=0,e=0,f=0;b=K[a+17|0];if((b|0)==6){return}if(b>>>0>=2){a:{if(J[a+232>>2]){b=Gu(a,2,-1);c=(d=b,e=Kj(a,K[a+20|0],0),f=b,f?d:e);break a}if(!(J[J[a+68>>2]>>2]?(b|0)!=2:0)){c=Kj(a,0,0);if(K[a+15|0]|b>>>0<3){break a}J[a+220>>2]=6;H[a+17|0]=6;J[a+44>>2]=4;return}c=Eo(a,0)}Jj(a,c)}}function Pl(a,b){var c=0,d=0,e=0,f=0;d=Fa-16|0;Fa=d;f=J[a>>2];c=K[f|0];a:{if(c>>>0>=2){b:{if(c<<24>>24<0){e=lc(f,d+12|0);c=J[d+12>>2];break b}e=1}J[a>>2]=f+e;a=J[b+4>>2]+(c>>31)|0;e=c;c=J[b>>2]+c|0;a=e>>>0>c>>>0?a+1|0:a;J[b>>2]=c-2;J[b+4>>2]=a-(c>>>0<2);break a}J[b>>2]=-1;J[b+4>>2]=2147483647}Fa=d+16|0}function IG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=wb(a,128);if(b){a:{b:{if(!J[b+4>>2]){J[b>>2]=a;I[b+24>>1]=1;J[b+16>>2]=0;J[b+20>>2]=0;J[b+8>>2]=100;J[b+12>>2]=0;J[b+4>>2]=b+26;d=123;break b}d=44;if(!J[b+20>>2]&M[b+16>>2]<2){break a}}bc(b,d)}J[b>>2]=a;a=Wa(J[c>>2]);fm(b,a,Ya(a));bc(b,58);Qj(b,J[c+4>>2])}}function Xd(a){a=a|0;var b=0,c=0;while(1){b=a;a=a+1|0;if(Wg(b)){continue}break}a:{if(!K[b|0]){break a}while(1){a=b;b=a+1|0;if(Re(a)){continue}break}if(!K[a|0]){break a}while(1){b=a;a=a+1|0;if(Wg(b)){continue}break}if(!K[b|0]){break a}while(1){a=b;b=a+1|0;if(Re(a)){continue}break}c=K[a|0]!=0}return c|0}function Wp(a,b,c,d,e){var f=0,g=0;f=J[a+280>>2];g=J[a+284>>2];a:{b:{if(!(d>>>0<f>>>0&(e|0)<=(g|0)|(e|0)<(g|0)|!J[a+292>>2]&((d|0)==(f|0)&(e|0)==(g|0))|J[a+288>>2]!=(c|0))){if(J[a+272>>2]<=J[a+268>>2]){break b}}f=Ij(a);if(f){break a}}J[a+292>>2]=b;J[a+288>>2]=c;J[a+280>>2]=d;J[a+284>>2]=e;f=0}return f}function fg(a,b,c,d,e){var f=0,g=0;f=Fa-16|0;Fa=f;g=J[a>>2];J[f+12>>2]=0;d=Ja[J[g+12>>2]](a,c,d,f+12|0)|0;c=J[f+12>>2];a:{if(d){break a}J[c>>2]=a;c=J[f+12>>2];b:{if(J[g>>2]<=0){break b}d=Ja[J[g+24>>2]](c,b)|0;c=J[f+12>>2];if(!d){break b}Ja[J[g+16>>2]](c)|0;c=0;break a}d=0}J[e>>2]=c;Fa=f+16|0;return d}function iF(a,b){a=a|0;b=b|0;var c=0,d=0;a=0;c=J[b>>2];d=(c|0)>0?c:0;a:{while(1){if((a|0)!=(d|0)){c=J[b+4>>2]+P(a,12)|0;if(!(!K[c+5|0]|J[c>>2]|K[c+4|0]!=2)){J[b+20>>2]=1;a=J[b+16>>2]+(a<<3)|0;H[a+4|0]=1;J[a>>2]=1;J[b+40>>2]=0;J[b+44>>2]=1072693248;break a}a=a+1|0;continue}break}J[b+20>>2]=0}return 0}function my(a,b,c,d){var e=0,f=0,g=0,h=0;h=J[b+4>>2];a:{while(1){if(!(J[b+36>>2]|J[b+4>>2]<=(g|0))){f=J[J[b>>2]+(g<<2)>>2];while(1){e=gy(a,f);if(e){break a}b:{if(!c){e=0;break b}e=fy(f,c,d);if((e|0)<0){continue}}break}if(!(!e|!K[f+4|0])){aq(f)}g=g+1|0;continue}break}$h(J[b>>2],h,h,106);e=0}return e}function wl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if((b|0)<0){break a}c=L[a+152>>1]>>>2&3;if(c){if(((c|0)==1?8:4)>>>0<=b>>>0){break a}d=J[((c<<3)+b<<2)+34576>>2];break a}if(L[a+144>>1]<=b>>>0){break a}e=J[a>>2];c=K[e+87|0];d=Wa(J[a+116>>2]+P(b,40)|0);if(K[e+87|0]<=c>>>0){break a}Zq(e);d=0}return d|0}function vk(a,b,c,d,e,f,g){var h=0,i=0,j=0;J[f>>2]=0;if(!(Rv(a)?b:0)){return Nc(141491)}ue(a);while(1){a:{h=Pv(a,b,c,d,e,f,g);if(!h|K[a+87|0]){break a}i=j;if((h|0)!=17){if((h|0)!=513){break a}j=i+1|0;if((i|0)<25){continue}break a}gj(a,-1);j=1;if(!i){continue}}break}b=bd(a,h);J[a+456>>2]=0;return b}function oe(a,b,c,d){var e=0,f=0;f=Fa-16|0;Fa=f;J[f+12>>2]=d;d=0;while(1){e=K[c+d|0];a:{if((e|0)!=105){if((e|0)!=115){if(!e){Na(a,84,b,d)}Fa=f+16|0;return}e=J[f+12>>2];J[f+12>>2]=e+4;e=J[e>>2];$a(a,e?117:75,0,b+d|0,0,e,0);break a}e=J[f+12>>2];J[f+12>>2]=e+4;Na(a,71,J[e>>2],b+d|0)}d=d+1|0;continue}}function bb(a,b,c,d,e,f){var g=0;g=J[a+108>>2];if((g|0)>=J[a+112>>2]){b=Pa(a,b,c,d,e);if(!K[J[a>>2]+87|0]){a=J[a+104>>2]+P(b,20)|0;J[a+16>>2]=f;H[a+1|0]=253}return b}J[a+108>>2]=g+1;a=J[a+104>>2]+P(g,20)|0;J[a+16>>2]=f;J[a+12>>2]=e;J[a+8>>2]=d;J[a+4>>2]=c;I[a+2>>1]=0;H[a|0]=b;H[a+1|0]=253;return g}function Aw(a,b){var c=0,d=0;a:{d=L[a+16>>1];b:{if(!(d&2)){break b}c=K[a+18|0];if((c|0)==(b|0)){break a}if((b|0)==1){break b}if((c|0)!=1){break a}}c:{if(d&16){b=J[a+12>>2];c=b;if(!(d&1024)){break c}return b+J[a>>2]|0}c=0;if(d&1){break c}if(rw(a,b)){c=J[a+12>>2]}else{c=0}}return c}return J[a+12>>2]}function yf(a,b){var c=0,d=0;c=Fa-16|0;Fa=c;a:{b:{while(1){if(!a){break a}if(K[a+5|0]&8){J[b>>2]=J[a+8>>2];break b}c:{switch(K[a|0]-173|0){case 1:a=J[a+12>>2];continue;case 0:break c;default:break a}}break}J[c+12>>2]=0;if(!yf(J[a+12>>2],c+12|0)){break a}J[b>>2]=0-J[c+12>>2]}d=1}Fa=c+16|0;return d}function wA(a,b){var c=0,d=0;a:{if(!a){break a}d=a+68|0;b:{c=J[a+68>>2];c:{if(!c){J[b+36>>2]=0;break c}if(HA(0,c,b,0)){break b}c=J[a+68>>2];J[b+36>>2]=c;if(!c){break c}J[c+32>>2]=b+36}J[a+68>>2]=b;J[b+32>>2]=d;return}if(!Bf(J[b+8>>2],J[J[a+68>>2]+8>>2],-1)){break a}J[a+4>>2]=J[a+4>>2]|33554432}}function aD(a,b){a=a|0;b=b|0;var c=0;b=Fa-16|0;Fa=b;a:{if(qp(J[a+12>>2])){J[a+20>>2]=J[18304];c=1034;Dd(1034,17567,J[a+32>>2],41757);break a}if(!(K[a+18|0]&8)){break a}if(!(Ja[J[16664]](J[a+32>>2],b+12|0)|0)){qp(J[b+12>>2]);Gf(a,J[b+12>>2],41771)}I[a+18>>1]=L[a+18>>1]&65527}Fa=b+16|0;return c|0}function Zp(a){var b=0,c=0;if(K[a+8|0]){b=J[a>>2];if(!J[b+220>>2]){c=b;b=J[a+12>>2];J[c+220>>2]=b;jb(b);J[a+12>>2]=0}H[a+8|0]=0}Rc(J[a+12>>2]);c=J[a+28>>2];while(1){if(c){b=J[c+8>>2];Oa(J[c+12>>2]);Oa(c);c=b;continue}break}J[a+28>>2]=0;Oa(J[a+44>>2]);yx(J[a+92>>2]);Wd(J[a+16>>2]);Sa(a+4|0,0,92)}function Pz(a){var b=0,c=0,d=0;d=Fa-16|0;Fa=d;b=J[a>>2];a:{if(J[J[b+16>>2]+20>>2]|K[a+219|0]){break a}b:{c=bj(J[b>>2],0,b,d+12|0,0,542);c:{if(c){Ra(a,5485,0);J[a+12>>2]=c;break c}a=J[d+12>>2];J[J[b+16>>2]+20>>2]=a;if(($g(a,J[b+100>>2],0,0)|0)!=7){break b}Db(b)}c=1;break a}c=0}Fa=d+16|0;return c}function ob(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!K[b|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(K[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=J[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){b=c;c=b+1|0;if(K[b|0]){continue}break}}return b-a|0}function Vs(a){var b=0,c=0,d=0;b=J[a+76>>2];if(J[b+296>>2]){J[a+24>>2]=9;J[a+16>>2]=0;J[a+20>>2]=J[a+20>>2]+1}c=J[b+372>>2];a:{if(!c){break a}d=J[a+28>>2]+1|0;J[a+28>>2]=d;if((d>>>0)%M[b+380>>2]|0){break a}if(!(Ja[c|0](J[b+376>>2])|0)){break a}J[a+24>>2]=9;J[a+16>>2]=0;J[a+20>>2]=J[a+20>>2]+1}}function mt(a){var b=0,c=0,d=0,e=0;b=L[a+50>>1];b=b>>>0>=5?5:b;d=J[a+8>>2];e=J[a+12>>2];c=I[e+38>>1];if((c|0)<=98){I[e+38>>1]=99;c=99}I[d>>1]=J[a+36>>2]?c-10|0:c;Qa(d+2|0,34364,b<<1);while(1){c=L[a+50>>1];if(b>>>0<c>>>0){b=b+1|0;I[(b<<1)+d>>1]=23;continue}break}if(K[a+54|0]){I[(c<<1)+d>>1]=0}}function bc(a,b){var c=0,d=0,e=0;c=J[a+20>>2];d=J[a+12>>2];e=J[a+16>>2];if((c|0)==(d|0)&e>>>0>=M[a+8>>2]|c>>>0>d>>>0){if(!ei(a,1)){e=J[a+20>>2];c=J[a+16>>2];d=c+1|0;e=d?e:e+1|0;J[a+16>>2]=d;J[a+20>>2]=e;H[c+J[a+4>>2]|0]=b}return}d=e+1|0;c=d?c:c+1|0;J[a+16>>2]=d;J[a+20>>2]=c;H[e+J[a+4>>2]|0]=b}function Yx(a){var b=0,c=0;while(1){b=a;a=a+1|0;if(Wg(b)){continue}break}a:{if(!K[b|0]){break a}while(1){a=b;b=a+1|0;if(Re(a)){continue}break}if(!K[a|0]){break a}while(1){b=a;a=a+1|0;if(Wg(b)){continue}break}if(!K[b|0]){return 1}while(1){a=b;b=a+1|0;if(Re(a)){continue}break}c=!K[a|0]}return c}function Oh(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{h=J[a+8>>2];e=b>>31;d=e;f=J[a+16>>2];g=f+b|0;d=g>>>0<f>>>0?d+1|0:d;if((d|0)>0){d=1}else{d=h>>>0<=g>>>0&(d|0)>=0}if(d){b=kl(a,b,e);if((b|0)<=0){break a}}while(1){if((b|0)<=0){break a}d=J[a+16>>2];J[a+16>>2]=d+1;H[J[a+4>>2]+d|0]=c;b=b-1|0;continue}}}function cH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fa-48|0;Fa=d;a:{if(kg(a,b,c,d)){break a}vc(d);b=J[d>>2];c=J[d+4>>2];if(K[d+47|0]){Nb(a,(+(b-1045635584>>>0)+ +(c-((b>>>0<1045635584)+49096|0)|0)*4294967296)/1e3);break a}b=mJ(b,c,1e3,0);Vb(a,b-413362496|0,Ia-((b>>>0<413362496)+49|0)|0)}Fa=d+48|0}function Wy(a,b){var c=0,d=0,e=0;a:{b:{c=J[a+12>>2];e=J[c+56>>2];d=J[c+60>>2];if(!(e|d)){if(jn(J[J[J[a>>2]+20>>2]>>2],c+56|0)){break b}d=J[c+60>>2];e=J[c+56>>2]}J[b>>2]=e;J[b+4>>2]=d;if(!e&(d|0)<=0|(d|0)<0){break a}H[b+40|0]=1;return 0}J[c+56>>2]=0;J[c+60>>2]=0;J[b>>2]=0;J[b+4>>2]=0}return 1}function Ko(a){var b=0,c=0,d=0,e=0;b=Fa-16|0;Fa=b;c=J[a+68>>2];a:{if(!c){break a}if(el(a,c+33>>>12|0,b+4|0)){break a}c=J[a+68>>2]-J[b+12>>2]|0;d=J[b+4>>2];a=0;while(1){if((a|0)!=8192){e=(a<<1)+d|0;if((c|0)<L[e>>1]){I[e>>1]=0}a=a+1|0;continue}break}a=J[b+8>>2]+(c<<2)|0;Sa(a,0,d-a|0)}Fa=b+16|0}function qr(a,b,c,d){var e=0,f=0,g=0;g=J[a+36>>2];f=J[a+8>>2];e=J[a+52>>2];if((e|0)<=0){e=0}else{e=Pa(f,20,e-1|0,0,d)}bk(a,Hc(b,c),d);if(H[c+5|0]>=66){$a(f,96,d,1,0,c+5|0,1)}if(e){c=J[f+108>>2];J[(K[J[f>>2]+87|0]?73192:J[f+104>>2]+P(e,20)|0)+8>>2]=c}if(J[a+36>>2]>(g|0)){J[J[a>>2]+68>>2]=-1}}function ci(a){var b=0,c=0,d=0,e=0,f=0;b=K[a|0];if(!(!((b|0)==34|(b|0)==39|(b|0)==96)&(b|0)!=91)){d=(b|0)==91?93:b;b=1;while(1){a:{f=a+b|0;e=K[f|0];if(!e){break a}b:{if((d|0)==(e|0)){if(K[f+1|0]!=(d|0)){break a}H[a+c|0]=d;b=b+2|0;break b}H[a+c|0]=e;b=b+1|0}c=c+1|0;continue}break}H[a+c|0]=0}}function Wq(a,b,c,d){var e=0,f=0;a:{if(!d){break a}f=J[a+8>>2];e=c>>31&c;while(1){b:{if((c|0)>0){if(H[d|0]<=65){break b}e=c}a=e;c:{while(1){c=a;if((c|0)>=2){a=c-1|0;if(H[d+a|0]<66){continue}break c}break}c=1;if((e|0)<=0){break a}}$a(f,96,b,c,0,d,c);break a}d=d+1|0;b=b+1|0;c=c-1|0;continue}}}function Wk(a,b,c,d){var e=0,f=0,g=0;g=(c|0)<0;while(1){e=J[b>>2];if(e){a:{b:{if(g){break b}if(J[e>>2]!=(c|0)){break a}f=J[e+4>>2];if((f|0)<0){break a}if(f>>>0>31){break b}if(d>>>f&1){break a}}f=J[e+12>>2];if(f){Ja[f|0](J[e+8>>2])}J[b>>2]=J[e+16>>2];Za(a,e);continue}b=e+16|0;continue}break}}function nB(a,b){a=a|0;b=b|0;var c=0,d=0;a=0;d=J[b+40>>2];a:{if(!d){break a}c=K[b|0]-168|0;if(1<<c&2051?c>>>0<=11:0){break a}c=I[b+34>>1];if((c|0)>=J[d+24>>2]){break a}a=J[d+20>>2];H[b|0]=169;a=a+(c<<4)|0;J[b+28>>2]=J[a+8>>2];I[b+32>>1]=L[a+12>>1];J[b+4>>2]=J[b+4>>2]&-532993;a=1}return a|0}function kr(a,b,c,d,e){var f=0,g=0;f=Ib(J[a>>2],8,0);if(f){g=K[d|0]|K[d+1|0]<<8|(K[d+2|0]<<16|K[d+3|0]<<24);d=K[d+4|0]|K[d+5|0]<<8|(K[d+6|0]<<16|K[d+7|0]<<24);H[f|0]=g;H[f+1|0]=g>>>8;H[f+2|0]=g>>>16;H[f+3|0]=g>>>24;H[f+4|0]=d;H[f+5|0]=d>>>8;H[f+6|0]=d>>>16;H[f+7|0]=d>>>24}$a(a,b,0,c,0,f,e)}function JA(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=J[b+12>>2];c=Mc(f);e=K[b+5|0]&16?J[b+20>>2]:e;b=c+1|0;d=id(J[a>>2],b,b>>31);if(d){b=0;g=(c|0)>0?c:0;while(1){if((b|0)!=(g|0)){a=mc(pg(f,b));h=b+d|0;if(e){a=qg(J[(J[e+28>>2]+(b<<4)|0)+8>>2],a)}H[h|0]=a;b=b+1|0;continue}break}H[c+d|0]=0}return d}function _n(a,b,c){var d=0,e=0;d=Fa-16|0;Fa=d;c=lh(a,c,-1,d+12|0,0);if(!c){e=J[d+12>>2];while(1){c=qb(e);if((c|0)==100){c=Oe(e,0);if(!c){continue}if(bg(c,20357,3)){if(bg(c,19251,3)){continue}}c=_n(a,b,c);if(!c){continue}}break}c=(c|0)!=101?c:0;if(c){Hf(b,a,Wf(a))}Rc(e)}Fa=d+16|0;return c}function KC(a,b){a=a|0;b=b|0;var c=0,d=0;c=J[a+24>>2];if(K[a+16|0]){H[a+16|0]=b;a=Fa-32|0;Fa=a;qc(na(-100,c|0,0,0)|0);Fa=a+32|0;return 0}c=Ja[J[16667]](c,511)|0;a:{if((c|0)<0){c=5;b=J[18304];if((b|0)==20){break a}d=jl(b);if((d|0)==5){break a}J[a+20>>2]=b;return d|0}H[a+16|0]=b}return c|0}function xy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=Be(b<<3,0);if(!d){e=1;break a}Oa(J[a+16>>2]);J[a+12>>2]=b;J[a+16>>2]=d;c=J[a+8>>2];J[a+8>>2]=0;f=K[a|0]==1?100:101;g=b-1|0;while(1){if(!c){break a}h=Ja[f|0](J[c+12>>2],J[c+16>>2])|0;b=J[c>>2];wy(a,((g&h)<<3)+d|0,c);c=b;continue}}return e}function xA(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}d=Ib(a,(J[b>>2]<<3)+8|0,0);if(!d){break a}c=J[b>>2];J[d>>2]=c;H[d+4|0]=K[b+4|0];while(1){if((c|0)<=(e|0)){a=d}else{c=e<<3;f=c+d|0;c=b+c|0;J[f+8>>2]=Ob(a,J[c+8>>2]);J[f+12>>2]=J[c+12>>2];e=e+1|0;c=J[b>>2];continue}break}e=a}return e}function Gx(a,b,c){var d=0,e=0;e=Fa-16|0;Fa=e;if(!J[a>>2]){d=J[b+24>>2];d=pb(lJ(d,d>>31,10,0),Ia);a:{if(!d){c=7;break a}jx(J[b+24>>2],c,d,e+12|0);c=Gb(b,20,e+8|0,0);if(c){Oa(d);break a}c=J[e+8>>2];xb(c,1,J[b+280>>2],J[b+284>>2]);_f(c,2,d,J[e+12>>2],1);qb(c);c=jb(c)}J[a>>2]=c}Fa=e+16|0}function vw(a){var b=0,c=0;b=R(a);C(+b);c=x(1)|0;x(0)|0;a:{if(c>>>0>=1071748075){if(c>>>0>=1077149697){b=-0/b+1;break a}b=1-2/(qj(b+b)+2);break a}if(c>>>0>=1070618799){b=qj(b+b);b=b/(b+2);break a}if(c>>>0<1048576){break a}b=qj(b*-2);b=-b/(b+2)}C(+a);c=x(1)|0;x(0)|0;return(c|0)<0?-b:b}function nx(a,b,c,d,e){a:{b:{if(J[b+44>>2]==(c|0)){mx(a,b,e);J[d+16>>2]=J[b+28>>2];J[d+20>>2]=J[b+32>>2];a=J[b+20>>2];J[d+8>>2]=J[b+16>>2];J[d+12>>2]=a;break b}b=J[(P(c,24)+b|0)+92>>2];if(b){b=px(a,b,d+8|0,d+16|0,d+20|0);if(J[d+16>>2]){break a}H[e|0]=1;return b}J[d>>2]=1}b=0}return b}function gh(a,b,c){var d=0,e=0;while(1){if(a){J[a+36>>2]=b;J[a+4>>2]=J[a+4>>2]|c;a:{if(K[a|0]!=172){break a}d=0;e=J[a+20>>2];if(!e){break a}while(1){if(J[e>>2]<=(d|0)){break a}gh(J[((d<<4)+e|0)+8>>2],b,c);d=d+1|0;e=J[a+20>>2];continue}}gh(J[a+12>>2],b,c);a=J[a+16>>2];continue}break}}function by(a,b){var c=0;c=Fa-16|0;Fa=c;a:{if(!(!K[a+239|0]|!J[b+56>>2])){a=0;J[b+84>>2]=0;J[b+88>>2]=0;J[b+92>>2]=0;Xl(0,J[b+72>>2],J[b+76>>2],b+80|0,b+88|0,b+84|0,c+15|0);break a}a=Zl(b,J[b+72>>2],10);if(a){break a}J[b+80>>2]=uc(J[b+72>>2],b+88|0)+J[b+72>>2];a=0}Fa=c+16|0;return a}function Xj(a,b,c){var d=0,e=0,f=0;e=J[a+4>>2];J[e+4>>2]=J[a>>2];a=J[e+12>>2];d=J[a+56>>2];f=Pb(J[a+72>>2]);a:{if(f){break a}a=(b<<2)+d|0;d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);H[a+36|0]=d;H[a+37|0]=d>>>8;H[a+38|0]=d>>>16;H[a+39|0]=d>>>24;if((b|0)!=7){break a}H[e+18|0]=c}return f}function WI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=J[b+4>>2];if(c&128){break a}J[b+4>>2]=c|128;c=J[b+32>>2];b=c+8|0;f=J[a>>2];a=0;while(1){if(J[c>>2]<=(a|0)){break a}d=J[b+16>>2];b:{if(!(K[d+29|0]&64)){break b}e=J[b+20>>2];if(!e){break b}ir(f,d,e,64)}b=b- -64|0;a=a+1|0;continue}}}function Mg(a,b,c){var d=0,e=0,f=0,g=0;e=Fa-16|0;Fa=e;g=J[b+44>>2];f=(g<<2)+8|0;d=J[a>>2];if(J[d+128>>2]<=(g+3|0)){J[e>>2]=J[b>>2];Ra(a,6622,e)}a=_c(d,J[b+48>>2],f,0);a:{if(!a){Ua(d,c);break a}f=J[b+44>>2];d=f+1|0;J[b+44>>2]=d;J[a+(f<<2)>>2]=c;J[a+(d<<2)>>2]=0;J[b+48>>2]=a}Fa=e+16|0}function Db(a){var b=0;a:{if(K[a+87|0]|K[a+88|0]){break a}H[a+87|0]=1;if(J[a+196>>2]>0){J[a+296>>2]=1}I[a+308>>1]=0;J[a+304>>2]=J[a+304>>2]+1;b=J[a+264>>2];if(!b){break a}Ra(b,1150,0);a=J[a+264>>2];while(1){J[a+12>>2]=7;a=J[a+196>>2];if(!a){break a}J[a+36>>2]=J[a+36>>2]+1;continue}}}function $h(a,b,c,d){var e=0,f=0,g=0,h=0;g=b-1|0;c=c-((b|0)==(c|0))|0;while(1){f=c-1|0;b=f;a:{if((c|0)>0){while(1){if((b|0)>=(g|0)){break a}c=(b<<2)+a|0;b=b+1|0;e=(b<<2)+a|0;if((Ja[d|0](J[c>>2],J[e>>2])|0)<0){break a}h=J[e>>2];J[e>>2]=J[c>>2];J[c>>2]=h;continue}}return}c=f;continue}}function xC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=e;a=J[a+4>>2];e=J[a+4>>2];c=c+(d>>31)|0;d=b+d|0;c=d>>>0<b>>>0?c+1|0:c;f=0;a:{if(d>>>0>M[a>>2]&(c|0)>=(e|0)|(c|0)>(e|0)){break a}f=0;if(K[a+36|0]&2){break a}J[a+32>>2]=J[a+32>>2]+1;f=J[a+24>>2]+b|0}J[g>>2]=f;return 0}function ms(a,b){var c=0,d=0,e=0;c=Fa-32|0;Fa=c;a:{if(!b){break a}J[c+28>>2]=0;J[c+20>>2]=0;J[c+24>>2]=0;J[c+12>>2]=0;J[c+16>>2]=0;J[c+8>>2]=61;J[c+4>>2]=a;dc(c+4|0,b);while(1){if(J[b>>2]<=(d|0)){break a}e=(d<<4)+b|0;if(!(K[e+17|0]&3)){Zc(a,0,J[e+12>>2])}d=d+1|0;continue}}Fa=c+32|0}function of(a,b,c){var d=0,e=0,f=0,g=0;if(c){d=J[a+20>>2];e=J[a+12>>2];f=J[a+16>>2];g=c+f|0;d=g>>>0<c>>>0?d+1|0:d;if((e|0)==(d|0)&M[a+8>>2]<=g>>>0|d>>>0>e>>>0){Fy(a,b,c);return}Qa(J[a+4>>2]+f|0,b,c);b=J[a+20>>2];d=c;c=c+J[a+16>>2]|0;b=d>>>0>c>>>0?b+1|0:b;J[a+16>>2]=c;J[a+20>>2]=b}}function jI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Wa(J[c>>2]);b=sb(J[c>>2]);a:{if(!e){break a}c=b>>31;d=b+1|0;c=d?c:c+1|0;d=_g(a,d,c);if(!d){break a}c=0;g=(b|0)>0?b:0;while(1){if((c|0)!=(g|0)){f=K[c+e|0];H[c+d|0]=f&(K[f+31216|0]^-1|223);c=c+1|0;continue}break}lb(a,d,b,1)}}function EH(a,b){a=a|0;b=b|0;var c=0,d=0;c=J[a+24>>2];d=K[b|0];a:{if((d|0)!=167){if((d|0)!=77|J[c+8>>2]!=I[b+32>>1]){break a}a=J[a>>2];if(J[a+132>>2]!=J[c+12>>2]){break a}Qc(a,c,b);break a}if(K[b+7|0]&3|J[c+8>>2]!=I[b+32>>1]|J[c+12>>2]!=J[b+44>>2]){break a}Qc(J[a>>2],c,b)}return 0}function Ck(a,b){var c=0,d=0,e=0,f=0;d=Fa-16|0;Fa=d;a:{if(!b){break a}c=J[b>>2];e=(c|0)>0?c:0;c=0;while(1){if((c|0)==(e|0)){break a}if(!(K[((c<<4)+b|0)+17|0]&32)){c=c+1|0;continue}break}b=K[((c<<4)+b|0)+16|0];J[d>>2]=b?(b|0)==3?18802:18808:18802;Ra(a,7327,d);f=1}Fa=d+16|0;return f}function cD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;while(1){f=ov(a,d,e,b,c);g=(f|0)>=(c|0);if(!(g|(f|0)<=0)){b=b+f|0;c=c-f|0;d=d+f|0;e=d>>>0<f>>>0?e+1|0:e;continue}break}b=0;a:{if(g){break a}if((f|0)<0){b=778;if(J[a+20>>2]!=51){break a}}J[a+20>>2]=0;b=13}return b|0}function Gw(a){var b=0,c=0,d=0,e=0;b=Fw(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(K[d+a|0]){break a}b=J[18429];if(!b){break a}c=J[b>>2];if(!c){break a}while(1){b:{if(!bg(a,c,d)){c=c+d|0;if(K[c|0]==61){break b}}c=J[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function wt(a){var b=0,c=0;b=Fa-112|0;Fa=b;a:{if(K[a+18|0]&128){break a}c=6949;b:{if(Ja[J[16628]](J[a+12>>2],b+16|0)|0){break b}c=7962;c:{switch(J[b+24>>2]){default:c=8356;break b;case 0:break b;case 1:break c}}c=7934;if(!lv(a)){break a}}J[b>>2]=J[a+32>>2];Ac(28,c,b)}Fa=b+112|0}function bD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=J[a+12>>2];d=J[a+40>>2];if((d|0)>0){b=b+d|0;c=b>>>0<d>>>0?c+1|0:c;e=b-1|0;f=c-!b|0;c=nJ(e,f,d,0);b=e-c|0;c=f-(Ia+(c>>>0>e>>>0)|0)|0}if(!nv(g,b,c)){return 0}J[a+20>>2]=J[18304];Dd(1546,13187,J[a+32>>2],41802);return 1546}function qB(a,b){a=a|0;b=b|0;var c=0,d=0;a=J[a+24>>2];a:{b:{if(!J[a+16>>2]){break b}c=K[b|0]-45|0;if(c>>>0>12){break b}d=1;if(!(1<<c&7937)){break b}Vq(a,J[b+12>>2],0);if(K[J[a+4>>2]]){break a}if((mc(J[b+12>>2])|0)==66){break b}Vq(a,J[b+16>>2],0)}d=Vq(a,b,J[a+16>>2])}return d|0}function ct(a,b){var c=0,d=0,e=0;c=Fa-16|0;Fa=c;e=J[16508];a:{if(e){d=3338;if(Ja[e|0](202)|0){break a}}d=ju(J[a>>2],0,b,4126,c+12|0);J[c+12>>2]=d;if(d){break a}J[c>>2]=0;J[c+4>>2]=0;a=J[b>>2];b=J[a>>2];if(!b){d=0;break a}Ja[J[b+40>>2]](a,18,c)|0;d=J[c+12>>2]}Fa=c+16|0;return d}function Ti(a,b,c,d){var e=0,f=0;e=Fa-32|0;Fa=e;a:{if(J[d>>2]){break a}Ja[J[a+80>>2]](a,c,e+8|0);f=L[e+24>>1];if(f>>>0>=M[e+20>>2]){break a}b=J[b+60>>2];if(!(b>>>0<=c>>>0|b>>>0>=c+f>>>0)){J[d>>2]=Ta(71660);break a}vd(J[a+52>>2],ab((L[e+26>>1]+c|0)-4|0),3,J[a+4>>2],d)}Fa=e+32|0}function De(a,b){var c=0,d=0;if(J[a+8>>2]!=(b|0)){c=J[a+4>>2];d=(c|0)<=1?1:c;c=1;while(1){if((c|0)==(d|0)){Ia=0;return 0}if(J[((c<<2)+a|0)+8>>2]==(b|0)){b=c&31;if((c&63)>>>0>=32){a=1<<b;b=0}else{c=1<<b;a=c-1&1>>>32-b;b=c}}else{c=c+1|0;continue}break}}else{a=0;b=1}Ia=a;return b}function Jd(a,b){var c=0,d=0,e=0;d=Fa-16|0;Fa=d;e=H[a+1|0];c=e&255;a:{if((e|0)>=0){a=c|(K[a|0]&127)<<7;c=2;break a}e=H[a+2|0];if((e|0)>=0){a=e&255|(c<<7&16256|(K[a|0]&127)<<14);c=3;break a}c=Gh(a,d+8|0);a=J[d+12>>2];a=(a|0)==1|a>>>0>1?-1:J[d+8>>2]}J[b>>2]=a;Fa=d+16|0;return c}function tv(a,b,c){var d=0,e=0;a:{if(K[a|0]-58>>>0>=4294967286){c=Me(a);break a}e=Ya(a);while(1){if((d|0)==8){break a}b:{if(K[d+50561|0]!=(e|0)){break b}if(tb(K[d+50553|0]+50528|0,a,e)|((d|-8)>>>0>4294967293?b:0)){break b}c=K[d+50569|0];break a}d=d+1|0;continue}}return c&255}function nF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=Fa-16|0;Fa=e;d=J[c+4>>2];g=P(d,b);b=0;while(1){if(!((b|0)>=(d|0)|f)){d=e+12|0;f=Ll(J[c>>2],a,b,d);if(J[e+12>>2]){d=Ww(d)}else{d=0}J[J[c+28>>2]+P(b+g|0,12)>>2]=d;b=b+1|0;d=J[c+4>>2];continue}break}Fa=e+16|0;return f|0}function le(a,b,c,d){var e=0,f=0,g=0;e=Fa-16|0;Fa=e;f=b;b=J[a>>2];a:{if(f>>>0<=b>>>0){J[a>>2]=0;break a}J[a>>2]=uc(b,e+8|0)+J[a>>2];a=J[e+8>>2];f=c?0-a|0:a;b=f+J[d>>2]|0;g=(a|0)!=0;a=J[e+12>>2];a=J[d+4>>2]+(c?0-(g+a|0)|0:a)|0;J[d>>2]=b;J[d+4>>2]=b>>>0<f>>>0?a+1|0:a}Fa=e+16|0}function er(a,b,c,d,e,f,g){var h=0,i=0,j=0;while(1){a:{b:{if((b|0)>(c|0)){break b}i=J[((b<<6)+a|0)+24>>2];h=Cn(i,d);if((h|0)<0){break a}if(g){if(K[(J[i+4>>2]+P(h,12)|0)+10|0]&2){break a}}j=1;if(!e){break b}ak(((b<<6)+a|0)+8|0,h);J[e>>2]=b;J[f>>2]=h}return j}b=b+1|0;continue}}function ws(a,b,c){var d=0,e=0;a:{if(c){d=J[a>>2];if(!b){break a}e=J[b+20>>2];if(!(J[e>>2]?e:0)){dd(a,44,c);return}if(!(!(H[b+7|0]&1)|K[J[b+44>>2]+16|0]==166)){cB(a,b);break a}a=nc(d,145,0,0);if(!a){break a}J[a+20>>2]=c;J[b+12>>2]=a;J[a+4>>2]=J[a+4>>2]|131072}return}Vf(d,c)}function ad(a,b,c){var d=0,e=0,f=0,g=0;d=J[a+20>>2];e=J[a+12>>2];f=J[a+16>>2];g=c+f|0;d=g>>>0<c>>>0?d+1|0:d;if((e|0)==(d|0)&M[a+8>>2]<=g>>>0|d>>>0>e>>>0){Fy(a,b,c);return}Qa(J[a+4>>2]+f|0,b,c);b=J[a+20>>2];d=c;c=c+J[a+16>>2]|0;b=d>>>0>c>>>0?b+1|0:b;J[a+16>>2]=c;J[a+20>>2]=b}function Cs(a,b,c){var d=0,e=0,f=0,g=0;e=Fa-16|0;Fa=e;f=rb(a);a:{if(!f|J[a+36>>2]){break a}if(b){d=Ef(a,b,b,e+12|0);if((d|0)<0|(d|0)==1){break a}}b:{if(!c){break b}if(yi(a,0,0,c,0)){break b}g=J[a+44>>2]+1|0;J[a+44>>2]=g;Xb(a,c,g)}Na(f,5,d,g);fe(f,d)}_a(J[a>>2],c);Fa=e+16|0}function vs(a,b,c,d){if(!b){_a(a,c);_a(a,d);return}if(d){J[b+16>>2]=d;J[b+4>>2]=J[b+4>>2]|J[d+4>>2]&4194824;d=J[d+24>>2]+1|0}else{d=1}a=d;J[b+24>>2]=a;a:{if(!c){break a}J[b+12>>2]=c;J[b+4>>2]=J[b+4>>2]|J[c+4>>2]&4194824;a=J[c+24>>2];if((d|0)>(a|0)){break a}J[b+24>>2]=a+1}}function oj(a,b){var c=0,d=0,e=0,f=0;f=(b|0)>0?b:0;b=0;while(1){if((b|0)!=(f|0)){d=P(b,40)+a|0;c=J[d+32>>2];e=(Ya(c)+H[c|0]|0)%23|0;c=Bv(e,c);a:{if(c){J[d+12>>2]=J[c+12>>2];c=c+12|0;break a}J[d+12>>2]=0;c=(e<<2)+72952|0;J[d+36>>2]=J[c>>2]}J[c>>2]=d;b=b+1|0;continue}break}}function Ie(a,b,c,d){var e=0,f=0,g=0;a:{e=J[b>>2];f=xf(J[a>>2],e-c|0,d+1|0);if(!f){break a}e=(c|0)<(e|0)?e:c;d=((c<<4)+b|0)+8|0;b=c;while(1){if((b|0)==(e|0)){break a}g=b-c|0;J[((g<<2)+f|0)+20>>2]=uf(a,J[d>>2]);H[J[f+16>>2]+g|0]=K[d+8|0];d=d+16|0;b=b+1|0;continue}}return f}function lc(a,b){var c=0,d=0,e=0;c=H[a+1|0];d=K[a|0]&127|(c&255)<<7;e=2;a:{if((c|0)>=0){break a}c=H[a+2|0];d=d&16383|(c&255)<<14;e=3;if((c|0)>=0){break a}c=H[a+3|0];d=d&2097151|(c&255)<<21;e=4;if((c|0)>=0){break a}d=d&268435455|(K[a+4|0]&7)<<28;e=5}a=e;J[b>>2]=d;return a}function OI(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=J[a+24>>2];a:{while(1){if(J[f>>2]>(d|0)){c=J[((d<<4)+f|0)+8>>2];if(Zb(0,b,c,-1)>>>0<=1){c=uf(J[a>>2],c);e=1;if(!c|J[c+12>>2]==15){break a}}d=d+1|0;continue}break}if(K[b+5|0]&16){I[a+20>>1]=0;return 2}e=GA(a,b)}return e|0}function Kq(a,b,c,d){var e=0,f=0,g=0;f=J[a>>2];e=jc(f,176,0);if(e){if(!(L[b+32>>1]==(d&65535)|(d|0)<0)){g=J[b+4>>2];J[e+28>>2]=(wc(b,d)+c|0)+1;c=P(d,12)+g|0;H[e+1|0]=K[c+5|0];b=a;a=Sf(c);if(!a){a=J[J[f+8>>2]>>2]}return li(b,e,a)}H[e+1|0]=68;J[e+28>>2]=c}else{e=0}return e}function wr(a,b,c){var d=0,e=0,f=0,g=0;d=Fa-32|0;Fa=d;f=a;e=I[c+32>>1];a:{if((e|0)>=0){a=J[a>>2];g=J[c>>2];J[d+4>>2]=J[J[c+4>>2]+P(e&65535,12)>>2];J[d>>2]=g;c=hb(a,6437,d);a=1555;break a}e=J[a>>2];J[d+16>>2]=J[c>>2];c=hb(e,15004,d+16|0);a=2579}jh(f,a,b,c,-6,2);Fa=d+32|0}function SE(a){a=a|0;var b=0,c=0,d=0;while(1){if((b|0)==40){while(1){if((c|0)!=6){b=c<<4;ol(a,J[b+57328>>2],1,1,0,0,J[b+57336>>2],J[b+57340>>2]);c=c+1|0;continue}break}}else{d=P(b,12);ol(a,J[d+56848>>2],H[d+56852|0],1,0,J[d+56856>>2],0,0);b=b+1|0;continue}break}return 0}function Jy(a,b,c){b=Sa(b,0,56);J[b+16>>2]=J[a+16>>2];if(!K[c|0]){J[b>>2]=J[a+52>>2];J[b+4>>2]=J[a+44>>2];return 0}J[b+4>>2]=1;J[b>>2]=(K[c|0]==46)+52528;H[b+39|0]=K[a+39|0];J[b+44>>2]=J[a+44>>2];J[b+52>>2]=J[a+52>>2];c=Ce(b,0,c,0);H[a+35|0]=K[a+35|0]|K[b+35|0];return c}function pn(a,b,c,d){var e=0,f=0,g=0;e=L[c+8>>1];f=J[b+52>>2];a:{b:{if(!(!e|!f)){g=J[f>>2];if((g|0)<(e|0)){break b}b=J[a>>2];a=f+8|0;_a(b,J[(a+(e<<4)|0)-16>>2]);J[(a+(L[c+8>>1]<<4)|0)-16>>2]=d;return}e=1;if(!f){break a}g=J[f>>2]}e=g+1|0}I[c+8>>1]=e;J[b+52>>2]=Kb(a,f,d)}function pr(a,b,c){var d=0,e=0;d=Mc(b);if((d|0)==1){return Ec(a,b,c)}J[c>>2]=0;a:{if(K[b|0]==138){c=ek(a,b);break a}c=J[a+44>>2];J[a+44>>2]=c+d;d=(d|0)>0?d:0;c=c+1|0;while(1){if((d|0)==(e|0)){break a}gk(a,J[(J[b+20>>2]+(e<<4)|0)+8>>2],c+e|0);e=e+1|0;continue}}return c}function ku(a){var b=0,c=0,d=0,e=0;a:{d=J[a+160>>2];if(!d){break a}a=J[a>>2];c=J[a+20>>2];c=(c|0)>0?c:0;e=J[a+16>>2];while(1){if((b|0)==(c|0)){break a}b:{if(!(d>>>b&1)|(b|0)==1){break b}a=J[((b<<4)+e|0)+4>>2];if(!a){break b}J[J[a+4>>2]+4>>2]=J[a>>2]}b=b+1|0;continue}}}function kG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=gc(28);if(!a){return 7}J[a>>2]=0;J[a+4>>2]=0;J[a+24>>2]=0;J[a+16>>2]=0;J[a+20>>2]=0;J[a+8>>2]=0;J[a+12>>2]=0;J[a+4>>2]=b;a:{if(!b){J[a+4>>2]=30620;break a}if((c|0)<0){J[a+8>>2]=ob(b);break a}J[a+8>>2]=c}J[d>>2]=a;return 0}function Wv(a,b,c,d,e){var f=0,g=0;if(c){g=Ya(b);f=Yb(g+25|0,0);if(!f){Db(a);return 0}b=Qa(f+24|0,b,g+1|0);J[f+20>>2]=0;J[f+16>>2]=e;J[f+12>>2]=d;J[f>>2]=c;J[f+4>>2]=b;J[f+8>>2]=1}b=jd(a+388|0,b,f);if(b){if((b|0)==(f|0)){Db(a);Za(a,f);return 0}Bp(a,b);Ap(a,b)}return f}function Bs(a,b,c,d){var e=0,f=0,g=0;e=Fa+-64|0;Fa=e;f=J[J[J[a>>2]+16>>2]+(b<<4)>>2];b=1;while(1){if((b|0)!=5){J[e+16>>2]=b;g=wd(24,e+32|0,16669,e+16|0);if(tc(J[a>>2],g,f)){J[e+12>>2]=d;J[e+8>>2]=c;J[e+4>>2]=g;J[e>>2]=f;fc(a,19581,e)}b=b+1|0;continue}break}Fa=e- -64|0}function zB(a,b){a=a|0;b=b|0;var c=0;c=-1;a:{if(!b){break a}a=0;while(1){c=28;if((a|0)==28){break a}if(Kc(b,J[P(a,12)+66448>>2])){a=a+1|0;continue}break}c=a}a=c;while(1){if((a|0)==28){return 0}a=a+1|0;if(!J[P(a,12)+66452>>2]){continue}break}return J[P(a,12)+66448>>2]}function ez(a,b,c){var d=0,e=0,f=0;d=c+-1048576|0;a:{if(!b&(d|0)==-2097152|d>>>0<4292870144){d=nJ(b,c,16384,0);f=c;c=Ia;O[a>>3]=+(b-d>>>0)+ +(f-(c+(b>>>0<d>>>0)|0)|0)*4294967296;e=+(d>>>0)+ +(c|0)*4294967296;break a}O[a>>3]=+(b>>>0)+ +(c|0)*4294967296;e=0}O[a+8>>3]=e}function Is(a,b,c){var d=0,e=0,f=0;a:{if(K[b+43|0]!=1){break a}d=J[b>>2];e=Ya(d);if(tb(c,d,e)){break a}c=c+e|0;if(K[c|0]!=95){break a}a=Cc(a+388|0,J[J[b+48>>2]>>2]);if(!a){break a}a=J[a>>2];if(J[a>>2]<3){break a}a=J[a+92>>2];if(!a){break a}f=Ja[a|0](c+1|0)|0}return f}function In(a,b){var c=0,d=0;a:{c=J[b+4>>2];if(!c){break a}while(1){if((d|0)<I[b+34>>1]){Ua(a,J[c>>2]);c=c+12|0;d=d+1|0;continue}break}Sb(a,J[b+4>>2]);if(!K[b+43|0]){kb(a,J[b+52>>2])}if(J[a+528>>2]){break a}I[b+34>>1]=0;J[b+4>>2]=0;if(K[b+43|0]){break a}J[b+52>>2]=0}}function rj(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-f*e)-b+e*.16666666666666632)}function cn(a,b,c,d){var e=0;a:{if(J[a+36>>2]|b-1>>>0>1){break a}a=J[a+8>>2];$d(a,d);e=d+1|0;if(K[(K[J[a>>2]+87|0]?73192:J[a+104>>2]+P(e,20)|0)|0]==188){$d(a,e)}if((b|0)!=2){break a}b=73192;b=K[J[a>>2]+87|0]?b:J[a+104>>2]+P(d,20)|0;J[b+8>>2]=c;J[b+4>>2]=1;H[b|0]=75}}function Vt(a){var b=0,c=0,d=0;c=J[a+20>>2];Vc(a);b=Ib(c,32,0);if(!b){return 7}d=ff(c,b);J[b+20>>2]=0;J[b+8>>2]=0;J[b+12>>2]=0;J[b+4>>2]=c;J[b>>2]=0;J[b+28>>2]=0;I[b+26>>1]=1;J[b+16>>2]=b+32;I[b+24>>1]=d+1048544>>>4;J[a+36>>2]=30;I[a+16>>1]=4112;J[a+8>>2]=b;return 0}function Nk(a,b){var c=0,d=0;c=J[a+4>>2];J[c+4>>2]=J[a>>2];a=J[J[c>>2]+228>>2];a:{if(!b){b=J[a+28>>2];break a}if((b|0)<0){c=b>>31<<10|b>>>22;b=b<<10;d=0-b|0;c=0-(c+((b|0)!=0)|0)|0;b=J[a+36>>2]+J[a+32>>2]|0;b=mJ(d,c,b,b>>31)}J[a+28>>2]=b}a=gl(a);return(a|0)>(b|0)?a:b}function OH(a,b,c){a=a|0;b=b|0;c=c|0;a=wb(a,8);a:{if(b){c=L[J[c>>2]+16>>1];b=c&31;if((c&63)>>>0>=32){b=1431655765>>>b|0}else{b=((1<<b)-1&1431655765)<<32-b|1431655765>>>b}if(!(b&1)){break a}}if(!a){break a}b=J[a+4>>2];c=J[a>>2]+1|0;b=c?b:b+1|0;J[a>>2]=c;J[a+4>>2]=b}}function Lr(a,b){var c=0,d=0,e=0;J[b+24>>2]=J[b+24>>2]|131072;while(1){if(J[a+36>>2]>(d|0)){c=J[J[a+32>>2]+P(d,24)>>2];qk(b,J[c+20>>2]);e=J[c+12>>2];if(e){qk(b,J[e+20>>2])}if(H[c+7|0]&1){dn(b,J[J[c+44>>2]+40>>2])}d=d+1|0;continue}break}J[b+24>>2]=J[b+24>>2]&-131073}function dv(a,b){var c=0,d=0,e=0,f=0;if(K[a+12|0]){d=1}else{d=b&7;c=(d|0)==4;e=d>>>0>2;d=(d|0)==1}H[a+9|0]=c;H[a+8|0]=e;H[a+7|0]=d;c=0;a:{if(d){break a}c=3;if(b&8){break a}c=2}H[a+10|0]=c;H[a+21|0]=!(b&32)|K[a+21|0]&254;f=a;a=c<<2;H[f+11|0]=(b&16?d?a:12:a)|(e?c:0)}function Ys(a,b,c){var d=0,e=0;d=J[a+12>>2];a:{if(d){e=(On(b)>>>0)%M[a>>2]|0;d=d+(e<<3)|0;a=d+4|0;break a}d=a+4|0;a=a+8|0}a=J[a>>2];d=J[d>>2];if(c){J[c>>2]=e}while(1){b:{if(!d){a=73176;break b}if(!Xa(J[a+12>>2],b)){break b}d=d-1|0;a=J[a>>2];continue}break}return a}function fu(a,b){var c=0,d=0,e=0,f=0,g=0;c=J[a+408>>2];if(c){J[a+408>>2]=0;while(1){if((d|0)<J[a+384>>2]){e=J[(d<<2)+c>>2];f=J[e+8>>2];a:{if(!f){break a}g=J[J[f>>2]+b>>2];if(!g){break a}Ja[g|0](f)|0}J[e+20>>2]=0;Kf(e);d=d+1|0;continue}break}Za(a,c);J[a+384>>2]=0}}function MG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=wb(a,128);if(b){a:{b:{if(!J[b+4>>2]){J[b>>2]=a;I[b+24>>1]=1;J[b+16>>2]=0;J[b+20>>2]=0;J[b+8>>2]=100;J[b+12>>2]=0;J[b+4>>2]=b+26;d=91;break b}d=44;if(!J[b+20>>2]&M[b+16>>2]<2){break a}}bc(b,d)}J[b>>2]=a;Qj(b,J[c>>2])}}function yt(a){var b=0,c=0,d=0,e=0,f=0;c=-1;d=-1;a:{if(K[a|0]){break a}b=J[a+116>>2];if(!K[b+8|0]){break a}f=H[a+68|0];c=L[b+24>>1];d=0;b=0;while(1){e=b&255;if((e|0)>=(f|0)){break a}b=b+1|0;c=lJ(c,d,L[J[((e<<2)+a|0)+120>>2]+24>>1],0);d=Ia;continue}}Ia=d;return c}function sy(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=dq(b);c=J[a+8>>2];a:{if((c|0)<=0){break a}c=c-1|0;g=J[a+12>>2];a=0;while(1){if((a|0)>(c|0)){break a}e=(a+c|0)/2|0;d=J[(e<<2)+g>>2];if((b|0)!=(d|0)){d=(b|0)>(d|0);c=d?c:e-1|0;a=d?e+1|0:a;continue}break}h=1}return f^h}function iI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=Wa(J[c>>2]);b=sb(J[c>>2]);a:{if(!e){break a}c=b>>31;d=b+1|0;c=d?c:c+1|0;d=_g(a,d,c);if(!d){break a}c=0;f=(b|0)>0?b:0;while(1){if((c|0)!=(f|0)){H[c+d|0]=K[K[c+e|0]+30832|0];c=c+1|0;continue}break}lb(a,d,b,1)}}function MH(a,b,c){a=a|0;b=b|0;c=c|0;a=wb(a,8);a:{if(b){c=L[J[c>>2]+16>>1];b=c&31;if((c&63)>>>0>=32){b=1431655765>>>b|0}else{b=((1<<b)-1&1431655765)<<32-b|1431655765>>>b}if(!(b&1)){break a}}if(!a){break a}b=J[a>>2];c=J[a+4>>2]-!b|0;b=b-1|0;J[a>>2]=b;J[a+4>>2]=c}}function rk(a,b){var c=0,d=0,e=0,f=0;a:{if(!b){break a}c=b+8|0;e=J[b>>2];while(1){if((e|0)<=(f|0)){break a}b:{if(J[c+40>>2]>=0){break b}d=J[a+40>>2];J[a+40>>2]=d+1;J[c+40>>2]=d;d=J[c+20>>2];if(!d){break b}rk(a,J[d+32>>2]);e=J[b>>2]}c=c- -64|0;f=f+1|0;continue}}}function SB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Fa-96|0;Fa=a;a:{if(!c){if(Ja[J[16625]](b,a)|0){b=0}else{b=J[a+24>>2];c=J[a+28>>2];if((c|0)>0){b=1}else{b=!!b&(c|0)>=0}b=b|(J[a+4>>2]&61440)!=32768}J[d>>2]=b;break a}J[d>>2]=!(Ja[J[16619]](b,6)|0)}Fa=a+96|0;return 0}function wn(a,b,c){var d=0,e=0,f=0;e=J[a>>2];a:{b:{if(!b){d=ib(e,16,0);if(d){break b}break a}d=_c(e,b,(J[b>>2]<<3)+16|0,0);if(d){break b}ne(e,b);break a}b=J[d>>2];J[d>>2]=b+1;f=(b<<3)+d|0;b=oc(e,c);J[f+8>>2]=b;if(!(!b|K[a+220|0]<2)){qe(a,b,c)}return d}return 0}function wc(a,b){var c=0,d=0,e=0;a:{if(!(J[a+28>>2]&32)|(b|0)<0){break a}e=J[a+4>>2];while(1){if((b|0)!=(c|0)){d=((L[(P(c,12)+e|0)+10>>1]^-1)>>>5&1)+d|0;c=c+1|0;continue}break}if(!(K[(P(b,12)+e|0)+10|0]&32)){b=d;break a}b=L[a+36>>1]+(b-d|0)|0}return b<<16>>16}function Xr(a,b,c,d){var e=0,f=0,g=0,h=0;f=(b<<2)+7&-8;e=b<<1;g=e+2|0;h=(f+((g+(b+e|0)|0)+7&-8)|0)+72|0;c=c+h|0;a=ib(a,c,c>>31);if(a){I[a+52>>1]=b;c=a+72|0;J[a+32>>2]=c;I[a+50>>1]=b-1;b=c+f|0;J[a+8>>2]=b;b=b+g|0;J[a+4>>2]=b;J[a+28>>2]=b+e;J[d>>2]=a+h}return a}function QH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=a;a=wb(a,0);b=0;a:{if(!a){break a}if(K[a+32|0]){d=O[a>>3];b=O[a+8>>3];C(+b);a=x(1)|0;b=d+(e=b,f=!(x(0)|a&1048575)?b:-0,g=(a&2146435072)!=2146435072,g?e:f);break a}b=+M[a+16>>2]+ +J[a+20>>2]*4294967296}Nb(c,b)}function Bf(a,b,c){var d=0,e=0,f=0;a:{if(!(a|b)){break a}d=1;if(!a|!b|J[a>>2]!=J[b>>2]){break a}while(1){if(J[a>>2]<=(e|0)){return 0}d=e<<4;f=d+a|0;d=b+d|0;if(K[f+16|0]!=K[d+16|0]){return 1}e=e+1|0;d=Zb(0,J[f+8>>2],J[d+8>>2],c);if(!d){continue}break}}return d}function Ax(a){var b=0,c=0,d=0,e=0,f=0;b=(ob(a)<<1)+3|0;c=pb(b,b>>31);if(c){H[c|0]=34;b=c;while(1){a:{f=a+e|0;d=K[f|0];b:{if((d|0)!=34){if(!d){break a}b=b+1|0;break b}H[b+1|0]=34;d=K[f|0];b=b+2|0}H[b|0]=d;e=e+1|0;continue}break}H[b+1|0]=34;H[b+2|0]=0}return c}function Wz(a,b,c){var d=0,e=0;while(1){if(K[a|0]==44){Wz(J[a+12>>2],b,c);a=J[a+16>>2];continue}break}d=J[c+24>>2];while(1){if((e|0)<J[c+12>>2]){a:{if(K[d+10|0]&4){break a}if(Zb(0,J[d>>2],a,b)){break a}I[d+10>>1]=L[d+10>>1]|4}d=d+48|0;e=e+1|0;continue}break}}function AI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;c=Wa(J[c>>2]);if(c){b=a;d=c+(tb(c,18314,7)?0:7)|0;c=Ya(d);a=0;while(1){a:{b:{if((a|0)!=42){e=J[(a<<2)+56640>>2];if(tb(d,e,c)|K[K[c+e|0]+31216|0]&70){break b}a=1}else{a=0}break a}a=a+1|0;continue}break}pc(b,a)}}function qH(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=wb(a,24);if(b){c=J[b+12>>2];f=c;d=J[b+8>>2];J[b>>2]=d;J[b+4>>2]=c;c=a;a=J[b+16>>2];b=J[b+20>>2];if((b|0)>=0&a>>>0>=2|(b|0)>0){e=(+(d>>>0)+ +(f|0)*4294967296)/(+(a-1>>>0)+ +(b-!a|0)*4294967296)}else{e=0}Nb(c,e)}}function mq(a){var b=0,c=0;b=Fa+-64|0;Fa=b;c=b+8|0;Sa(c,0,56);wq(a);J[b+20>>2]=J[a+4>>2];J[b+28>>2]=J[a+16>>2];J[b+24>>2]=J[J[J[a>>2]>>2]+20>>2];hg(c,0);c=J[b+8>>2];a:{if(K[b+43|0]){Ua(J[b+24>>2],c);Qb(J[a>>2]);break a}he(J[a>>2],c,J[b+12>>2],5)}Fa=b- -64|0}function Az(a,b){var c=0,d=0;a:{c=J[b+40>>2];if(!(c&17408)){break a}b:{if(!(!(c&1024)|!(H[b+28|0]&1))){c=b+32|0;Oa(J[c>>2]);H[b+28|0]=K[b+28|0]&254;break b}if(!(c&16384)){break a}c=b+32|0;d=J[c>>2];if(!d){break a}Ua(a,J[d+16>>2]);Za(a,J[b+32>>2])}J[c>>2]=0}}function yB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=Fa-16|0;Fa=c;d=J[a+24>>2];if(!K[d+36|0]){J[b+4>>2]=J[b+4>>2]|1073741824}a=0;a:{if(K[b|0]!=156){break a}e=J[d>>2];if(K[J[e>>2]+177|0]){H[b|0]=121;break a}J[c>>2]=J[d+44>>2];Ra(e,5798,c);a=2}Fa=c+16|0;return a|0}function Xs(a,b,c){var d=0,e=0;a:{b:{if(!b){break b}e=J[b>>2];d=e?J[b+4>>2]:0;J[b+4>>2]=c;J[b>>2]=e+1;if(!d){break b}J[c>>2]=d;b=J[d+4>>2];J[c+4>>2]=b;J[(b?b:a+8|0)>>2]=c;a=d+4|0;break a}b=J[a+8>>2];J[c>>2]=b;if(b){J[b+4>>2]=c}J[c+4>>2]=0;a=a+8|0}J[a>>2]=c}function FA(a,b,c){var d=0;a:{while(1){if(!b){return 0}d=2;if(dc(a,J[b+12>>2])){break a}if(dc(a,J[b+8>>2])){break a}if(Eb(a,J[b+40>>2])){break a}if(Eb(a,J[b+24>>2])){break a}d=Eb(a,J[b+28>>2]);if(!(d|c)){b=J[b+36>>2];continue}break}d=((d|0)!=0)<<1}return d}function CH(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(L[b+6>>1]&1056){a=1}else{c=J[b+32>>2];if(!c){return 2}e=J[a+24>>2];while(1){if(J[c>>2]>(d|0)){f=(d<<6)+c|0;if(J[f+24>>2]==J[e+12>>2]){Qc(J[a>>2],e,J[f+16>>2])}d=d+1|0;continue}break}cr(a,b);a=0}return a|0}function uj(a){return(a*(a*(a*(a*(a*3479331075960212e-20+.0007915349942898145)+-.04005553450067941)+.20121253213486293)+-.3255658186224009)+.16666666666666666)*a/(a*(a*(a*(a*.07703815055590194+-.6882839716054533)+2.0209457602335057)+-2.403394911734414)+1)}function mj(a,b){var c=0,d=0,e=0;if(K[a+17|0]&144){yl(a)}d=J[b+16>>2];J[a+16>>2]=d;c=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=c;c=J[b+12>>2];J[a+8>>2]=J[b+8>>2];J[a+12>>2]=c;c=d&-4097;I[a+16>>1]=c;if(!(!(d&18)|K[b+17|0]&32)){I[a+16>>1]=c|16384;e=ag(a)}return e}function iB(){var a=0,b=0,c=0;a=Fa-16|0;Fa=a;a:{if(ya(a+12|0,a+8|0)|0){break a}b=ye((J[a+12>>2]<<2)+4|0);J[18429]=b;if(!b){break a}b=ye(J[a+8>>2]);if(b){c=J[18429];J[c+(J[a+12>>2]<<2)>>2]=0;if(!(xa(c|0,b|0)|0)){break a}}J[18429]=0}Fa=a+16|0;J[18442]=73804}function hn(a,b,c,d,e,f){var g=0,h=0;g=Fa-48|0;Fa=g;J[g+40>>2]=0;J[g+32>>2]=0;J[g+36>>2]=0;J[g+16>>2]=0;h=J[f>>2];J[g+12>>2]=e;J[g+4>>2]=c;J[g>>2]=b;J[g+8>>2]=h;J[g+28>>2]=69;J[g+24>>2]=70;J[g+20>>2]=a;J[g+44>>2]=g;dc(g+20|0,d);J[f>>2]=J[g+8>>2];Fa=g+48|0}function Ed(a){var b=0;a:{b=J[a+4>>2];if(!b){break a}H[b+J[a+16>>2]|0]=0;if(!J[a+12>>2]|K[a+21|0]&4){break a}b=id(J[a>>2],J[a+16>>2]+1|0,0);b:{if(b){Qa(b,J[a+4>>2],J[a+16>>2]+1|0);H[a+21|0]=K[a+21|0]|4;break b}Jh(a,7)}J[a+4>>2]=b;return b}return J[a+4>>2]}function oo(a){var b=0,c=0;b=2;while(1){c=b;b=b<<1;if((a|0)>(c|0)){continue}break}a=0;b=J[16508];a:{if(b){if(Ja[b|0](100)|0){break a}}b=P(c,60)+16|0;b=od(b,b>>31);if(!b){break a}J[b+4>>2]=0;J[b>>2]=c;a=b+16|0;J[b+12>>2]=a;J[b+8>>2]=a+P(c,56);a=b}return a}function kd(a){var b=0,c=0,d=0;b=J[a>>2];d=b+1|0;J[a>>2]=d;b=K[b|0];if(b>>>0>=192){c=K[b+33056|0];while(1){if((K[d|0]&192)==128){b=d+1|0;J[a>>2]=b;c=K[d|0]&63|c<<6;d=b;continue}break}b=(c&-2)==65534?65533:c>>>0<128?65533:(c&-2048)==55296?65533:c}return b}function jA(a,b){var c=0,d=0,e=0;d=Fa-16|0;Fa=d;c=J[b+16>>2]+8|0;e=J[b+56>>2];a:{b:{while(1){c=J[c>>2];if(c){if(!Xa(J[c>>2],e)){break b}c=c+20|0;continue}break}J[d+4>>2]=0;J[d>>2]=e;Ra(a,7503,d);H[a+17|0]=1;a=1;break a}J[b+60>>2]=c;a=0}Fa=d+16|0;return a}function Xt(a){var b=0,c=0;b=J[a+384>>2];if(!((b|0)%5|0)){c=b>>31<<2|b>>>30;b=(b<<2)+20|0;c=b>>>0<20?c+1|0:c;b=_c(a,J[a+408>>2],b,c);if(!b){return 7}c=b+(J[a+384>>2]<<2)|0;J[c>>2]=0;J[c+4>>2]=0;J[c+16>>2]=0;J[c+8>>2]=0;J[c+12>>2]=0;J[a+408>>2]=b}return 0}function Uq(a,b,c,d){var e=0;a:{if(!(K[a+12|0]&130)|J[a+20>>2]!=J[b+40>>2]){break a}if(K[b+36|0]&88){if(!Rq(a,b)){break a}}if(J[a+32>>2]&c|d&J[a+36>>2]){break a}c=J[a+24>>2];if((c|0)<0){break a}e=Ez(J[a>>2],H[(J[J[b+16>>2]+4>>2]+P(c,12)|0)+5|0])}return e}function ce(a,b){var c=0;a:{if(K[b+6|0]&129){break a}c=J[b+12>>2];if(!(!c|K[b|0]==178)){ce(a,c)}c=J[b+16>>2];if(c){ce(a,c);break a}c=J[b+20>>2];if(K[b+5|0]&16){ac(a,c);break a}kb(a,c);if(!(H[b+7|0]&1)){break a}Mk(a,J[b+44>>2])}if(!(K[b+7|0]&8)){Sb(a,b)}}function Ts(a,b,c){var d=0,e=0,f=0;a=Ib(a,((c|0)/2|0)+1|0,0);if(a){e=c-1|0;c=0;while(1){if((c|0)<(e|0)){d=K[(c|1)+b|0];f=(d<<1<<24>>24>>>7&9)+d&15;d=K[b+c|0];H[a+(c>>>1|0)|0]=f|(d<<1<<24>>24>>>7&9)+d<<4;c=c+2|0;continue}break}H[a+(c>>>1|0)|0]=0}return a}function ZF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=J[b+40>>2];a:{b:{d=J[a+40>>2];if(d){if(c){break b}c=-1}else{c=c?0:-1}c=c+!d|0;break a}d=J[a+60>>2];e=J[b+60>>2];c=d-e|0;d=Cb(J[a+64>>2],J[b+64>>2],(c|0)<0?d:e);c=d?d:c}if(!c){c=J[b>>2]-J[a>>2]|0}return c|0}function QC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-16|0;Fa=d;J[d>>2]=c;c=Fa-16|0;Fa=c;a:{if(!(b&64)){e=0;if((b&4259840)!=4259840){break a}}J[c+12>>2]=d+4;e=J[d>>2]}J[c>>2]=e;J[c+4>>2]=0;a=qc(va(-100,a|0,b|32768,c|0)|0);Fa=c+16|0;Fa=d+16|0;return a|0}function kp(a,b,c,d,e,f,g){var h=0;h=b-1|0;b=we(a,h);a:{if(!b){b=0;if(!c){break a}h=J[a+100>>2]+P(h,40)|0;f=cd(h,c,d,e,g,f);if(!(f|!g)){f=Kd(h,K[J[a>>2]+84|0])}if(!f){break a}Lc(J[a>>2],f);return bd(J[a>>2],f)}if(f+1>>>0<2){break a}Ja[f|0](c)}return b}function gi(a,b){var c=0,d=0;c=Fa-32|0;O[c+24>>3]=b;O[c+16>>3]=O[a>>3];O[c+8>>3]=O[c+16>>3]+O[c+24>>3];d=O[a+8>>3];if(R(O[c+16>>3])>R(O[c+24>>3])){b=O[c+16>>3]-O[c+8>>3]+O[c+24>>3]}else{b=O[c+24>>3]-O[c+8>>3]+O[c+16>>3]}O[a+8>>3]=d+b;O[a>>3]=O[c+8>>3]}function Jz(a){var b=0,c=0,d=0;b=J[a+12>>2];if((b|0)>0){c=J[J[J[a>>2]>>2]>>2];a=J[a+24>>2];d=(a+P(b,48)|0)-48|0;while(1){b=L[a+10>>1];if(b&1){_a(c,J[a>>2]);b=L[a+10>>1]}if(b&48){b=J[a+24>>2];Jz(b);Ua(c,b)}b=(a|0)!=(d|0);a=a+48|0;if(b){continue}break}}}function Jb(a,b,c,d){var e=0,f=0;e=J[a>>2];while(1){f=K[b|0];if(f){if(K[e|0]!=(f|0)){return 0}else{b=b+1|0;e=e+1|0;continue}}break}a:{if(d){if(!(Ja[d|0](e)|0)){break a}}while(1){b=K[c|0];if(b){e=e-1|0;H[e|0]=b;c=c+1|0;continue}break}J[a>>2]=e}return 1}function As(a,b,c){var d=0,e=0,f=0;d=Fa-16|0;Fa=d;e=rb(a);f=vb(a);if((b|0)<=1){Ra(a,18248,0)}Pa(e,144,b,f,c);e=J[a+128>>2];H[(e?e:a)+21|0]=1;c=J[J[J[a>>2]+16>>2]+(c<<4)>>2];J[d+12>>2]=f;J[d+8>>2]=f;J[d+4>>2]=b;J[d>>2]=c;fc(a,16801,d);mb(a,f);Fa=d+16|0}function uk(a,b,c,d){var e=0,f=0;e=(b|0)>0?b:0;f=L[J[c+4>>2]+(d<<1)>>1];b=0;while(1){a:{if((b|0)!=(e|0)){if(L[J[a+4>>2]+(b<<1)>>1]!=(f|0)){break a}if(Xa(J[J[a+32>>2]+(b<<2)>>2],J[J[c+32>>2]+(d<<2)>>2])){break a}a=1}else{a=0}return a}b=b+1|0;continue}}function Co(a,b){var c=0,d=0,e=0;d=Fa-48|0;c=d;a:{b:while(1){e=J[a+24>>2];while(1){if(M[b+24>>2]>e>>>0){J[c+16>>2]=a;c=a;a=J[a+16>>2];if(a){continue b}break a}J[c+16>>2]=b;c=b;b=J[b+16>>2];if(b){continue}break}break}b=a}J[c+16>>2]=b;return J[d+16>>2]}function ip(a,b){var c=0,d=0,e=0,f=0;d=-1;e=-1;a:{if(ke()){break a}d=J[18198];e=J[18199];if((b|0)<0){break a}J[18198]=a;J[18199]=b;c=J[18197];f=J[18196];if(((c|0)<=(b|0)&f>>>0<=a>>>0|(b|0)>(c|0))&(c|f)!=0){break a}J[18196]=a;J[18197]=b}Ia=e;return d}function Za(a,b){a:{if(!a){break a}b:{if(M[a+356>>2]<=b>>>0){break b}if(M[a+348>>2]<=b>>>0){J[b>>2]=J[a+344>>2];J[a+344>>2]=b;return}if(M[a+352>>2]>b>>>0){break b}J[b>>2]=J[a+336>>2];J[a+336>>2]=b;return}if(!J[a+528>>2]){break a}rv(a,b);return}Oa(b)}function mA(a,b){var c=0,d=0,e=0,f=0;a:{if(K[b|0]!=59){break a}c=J[a>>2];c=(c|0)>0?c:0;e=J[b+8>>2];b=0;while(1){if((b|0)==(c|0)){break a}b:{d=(b<<4)+a|0;if(K[d+17|0]&3){break b}if(Ub(J[d+12>>2],e)){break b}f=b+1|0;break a}b=b+1|0;continue}}return f}function Rx(a,b,c){var d=0,e=0;d=c;e=Ld(a,b)+(c-b|0)|0;c=M[a+40>>2]/5|0;c=b-(d+((e+c>>>0)/(c>>>0)|0)|0)|0;d=(M[16608]/M[a+36>>2]|0)+1|0;c=c-(d>>>0<b>>>0&c>>>0<d>>>0)|0;while(1){b=c;c=b-1|0;if((Ld(a,b)|0)==(b|0)|(b|0)==(d|0)){continue}break}return b}function lD(a,b){a=a|0;b=b|0;var c=0,d=0;a:{d=J[a+500>>2];b:{if((b|0)<=11){c=K[b+52864|0];b=K[b+52852|0];break b}c=P(b,100)-872|0;b=100}if((d|0)>=(b+c|0)){break a}b=d-c|0;if((b|0)>0){break a}return 0}a=J[a>>2];Ja[J[a+60>>2]](a,P(b,1e3))|0;return 1}function _p(a){a=a|0;var b=0;Rc(J[a+220>>2]);while(1){if((b|0)!=40){Rc(J[((b<<2)+a|0)+60>>2]);b=b+1|0;continue}break}Oa(J[a+248>>2]);Oa(J[a+224>>2]);Oa(J[a+228>>2]);Oa(J[a+40>>2]);Oa(J[a+44>>2]);b=J[a+36>>2];Ja[J[J[b>>2]+8>>2]](b)|0;Oa(a);return 0}function $j(a,b,c,d){var e=0;a:{b:{if(!b){break b}if(!Ee(b)){break b}if(K[b+5|0]&16){Pa(J[a+8>>2],80,ek(a,b),c,d-1|0);return}d=(d|0)>0?d:0;b=J[b+20>>2];while(1){if((d|0)==(e|0)){break a}Xb(a,J[(b+(e<<4)|0)+8>>2],c+e|0);e=e+1|0;continue}}Xb(a,b,c)}}function oH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=wb(a,24);if(b){a:{if(J[b>>2]|J[b+4>>2]){break a}c=fb(J[c>>2]);J[b+8>>2]=c;d=Ia;J[b+12>>2]=d;if(!!c&(d|0)>=0|(d|0)>0){break a}Bb(a,9487,-1)}a=J[b+4>>2];c=J[b>>2]+1|0;a=c?a:a+1|0;J[b>>2]=c;J[b+4>>2]=a}}function Nn(a,b){var c=0,d=0,e=0,f=0,g=0;c=Fa-32|0;Fa=c;a:{if(M[a+12>>2]<=b-1>>>0){J[c+16>>2]=b;Jc(a,1945,c+16|0);d=1;break a}d=1;e=1<<(b&7);f=J[a+8>>2]+(b>>>3|0)|0;g=K[f|0];if(e&g){J[c>>2]=b;Jc(a,1990,c);break a}H[f|0]=e|g;d=0}Fa=c+32|0;return d}function yy(a,b,c,d){var e=0,f=0;a:{e=J[a+16>>2];if(!e){break a}f=K[a|0]==1?102:103;d=(d<<3)+e|0;a=d+4|0;d=J[d>>2];while(1){if(!d){break a}a=J[a>>2];if(!a){break a}d=d-1|0;if(Ja[f|0](J[a+12>>2],J[a+16>>2],b,c)|0){continue}break}return a}return 0}function xw(a){var b=0,c=0;c=Fa-16|0;Fa=c;C(+a);b=x(1)|0;x(0)|0;b=b&2147483647;a:{if(b>>>0<=1072243195){if(b>>>0<1044381696){break a}a=ww(a,0,0);break a}if(b>>>0>=2146435072){a=a-a;break a}b=sp(a,c);a=ww(O[c>>3],O[c+8>>3],b&1)}Fa=c+16|0;return a}function wb(a,b){a=a|0;b=b|0;var c=0;c=J[a+8>>2];if(I[c+16>>1]>=0){c=J[a+8>>2];a:{if((b|0)<=0){Rb(c);J[c+8>>2]=0;a=0;break a}Uh(c,b);I[c+16>>1]=32768;J[c>>2]=J[a+4>>2];a=J[c+8>>2];if(a){Sa(a,0,b);a=J[c+8>>2]}else{a=0}}return a|0}return J[c+8>>2]}function tt(a,b,c,d){var e=0;I[d+16>>1]=1;e=J[a+20>>2];e=lJ(J[e+48>>2],0,J[e+36>>2],0);if(!Ia&e>>>0<b+c>>>0){return Ta(83548)}e=Uh(d,c+1|0);if(!e){e=wo(a,b,c,J[d+8>>2]);if(!e){H[J[d+8>>2]+c|0]=0;J[d+12>>2]=c;I[d+16>>1]=16;return 0}Vc(d)}return e}function tb(a,b,c){var d=0;if(!a){return b?-1:0}if(!b){return 1}while(1){if((c|0)<=0){return 0}a:{d=K[a|0];if(!d){d=0;break a}d=K[d+30832|0];if((d|0)!=K[K[b|0]+30832|0]){break a}c=c-1|0;b=b+1|0;a=a+1|0;continue}break}return d-K[K[b|0]+30832|0]|0}function sf(a){var b=0,c=0;ue(a);while(1){if((c|0)<J[a+20>>2]){b=J[(J[a+16>>2]+(c<<4)|0)+12>>2];a:{if(!b){break a}if(!J[a+56>>2]){Tj(b);break a}I[b+78>>1]=L[b+78>>1]|8}c=c+1|0;continue}break}J[a+24>>2]=J[a+24>>2]&-18;lm(a);if(!J[a+56>>2]){zq(a)}}function nh(a,b){var c=0,d=0,e=0;e=b+8|0;c=_e(a,0,e);d=J[b+24>>2];if(d){xd(J[a>>2],d)}J[b+24>>2]=c;d=K[b+45|0]|K[b+46|0]<<8|512;H[b+45|0]=d;H[b+46|0]=d>>>8;if(c){J[c+24>>2]=J[c+24>>2]+1;if(!(K[b+45|0]&2)){return c}a=jA(a,e)?0:c}else{a=0}return a}function jf(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=K[a|0];if(H[b+31216|0]>=0){break a}b=(b|0)==91?93:b;c=1;while(1){b:{d=K[a+c|0];if((b|0)==(d|0)){d=b;c=c+1|0;if((b|0)!=K[c+a|0]){break b}}H[a+e|0]=d;c=c+1|0;e=e+1|0;continue}break}H[a+e|0]=0}}function YF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=!J[a+80>>2]-!J[b+80>>2]|0;if(!c){c=J[b+88>>2];f=J[a+88>>2];d=J[a+92>>2];e=J[b+92>>2];if((c|0)==(f|0)&(d|0)==(e|0)){return J[b>>2]-J[a>>2]|0}c=(d|0)<=(e|0)&c>>>0>f>>>0|(d|0)<(e|0)?1:-1}return c|0}function XF(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=!J[a+80>>2]-!J[b+80>>2]|0;if(!c){c=J[b+88>>2];f=J[a+88>>2];d=J[a+92>>2];e=J[b+92>>2];if((c|0)==(f|0)&(d|0)==(e|0)){return J[b>>2]-J[a>>2]|0}c=c>>>0<f>>>0&(d|0)>=(e|0)|(d|0)>(e|0)?1:-1}return c|0}function Qs(a){var b=0,c=0,d=0,e=0,f=0;a:{c=J[a+4>>2];if(c>>>0<2){break a}d=J[a>>2];if(H[K[d|0]+31216|0]>=0){break a}e=c-1|0;b=1;while(1){if((b|0)!=(e|0)){f=b+d|0;b=b+1|0;if(H[K[f|0]+31216|0]>=0){continue}break a}break}J[a>>2]=d+1;J[a+4>>2]=c-2}}function cF(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{switch(c|0){case 0:lb(b,J[a+4>>2],-1,-1);break a;case 1:lb(b,J[a+16>>2],J[a+20>>2],-1);break a;case 2:pc(b,J[a+24>>2]);break a;case 3:pc(b,J[a+28>>2]);break a;default:break b}}pc(b,J[a+32>>2])}return 0}function An(a,b,c,d,e){var f=0,g=0,h=0;a:{if(J[a+36>>2]){break a}h=J[a>>2];f=ib(h,J[c+4>>2]+49|0,0);if(!f){break a}g=Qa(f+48|0,J[c>>2],J[c+4>>2]);jf(g);H[f|0]=b;J[f+12>>2]=g;J[f+36>>2]=Ds(h,d,e);if(K[a+220|0]>=2){qe(a,J[f+12>>2],c)}g=f}return g}function $D(a){a=a|0;var b=0,c=0;a:{b=wb(a,0);if(!b){break a}c=J[b+56>>2];if(!c){break a}Nw(c,431,b);Mw(J[b+56>>2]);xe(J[b+56>>2]);if(J[b+40>>2]!=1|J[b+44>>2]){break a}if(!(J[b+48>>2]|J[b+52>>2])){Vb(a,J[b>>2],J[b+4>>2]);return}Nb(a,O[b+8>>3])}}function Ej(a,b){var c=0,d=0,e=0,f=0;e=Fa-16|0;Fa=e;d=J[a>>2];c=H[d|0];a:{if((c|0)<0){c=lc(d,e+12|0);f=J[e+12>>2];break a}f=c&255;c=1}J[a>>2]=c+d;a=f-2|0;c=a;d=a+J[b>>2]|0;a=J[b+4>>2]+(a>>31)|0;J[b>>2]=d;J[b+4>>2]=c>>>0>d>>>0?a+1|0:a;Fa=e+16|0}function xG(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(J[a+20>>2]){c=J[a+28>>2];d=J[a>>2];e=J[d+4>>2];f=(c-e|0)+2147418112|0;b=b>>>0>f>>>0?f:b;c=(b-c|0)+e|0;J[d+4>>2]=c;J[d+12>>2]=(c-J[d+8>>2]|0)+10;J[a+32>>2]=(P(b,9)>>>0)/10;J[a+28>>2]=b;kq(a)}}function Zi(a,b,c,d){var e=0,f=0;e=Fa-48|0;Fa=e;a=J[J[J[a+8>>2]+40>>2]+12>>2];if((a|0)>=0){I[e+16>>1]=b;J[e+32>>2]=d;J[e+36>>2]=d>>31;J[e+24>>2]=c;J[e+28>>2]=c>>31;J[e>>2]=e+16;I[e+18>>1]=0;f=(Ja[J[16634]](a,6,e)|0)==-1?5:0}Fa=e+48|0;return f}function Pa(a,b,c,d,e){var f=0;f=J[a+108>>2];if((f|0)>=J[a+112>>2]){if(Vv(a)){a=1}else{a=Pa(a,b,c,d,e)}return a}J[a+108>>2]=f+1;a=J[a+104>>2]+P(f,20)|0;J[a+16>>2]=0;J[a+12>>2]=e;J[a+8>>2]=d;J[a+4>>2]=c;I[a+2>>1]=0;H[a|0]=b;H[a+1|0]=0;return f}function to(a,b,c){var d=0,e=0;a:{if(!a|K[a+8|0]!=2){break a}d=J[a+4>>2];J[d+4>>2]=J[a>>2];if((b|0)==2){e=gg(d,0,0);if(e){break a}}e=Gu(J[d>>2],b,c);if(e){break a}if(!(!(K[d+24|0]&16)|(c|0)>=0)){J[d+48>>2]=0}e=Nq(d);ox(d,J[d+12>>2])}return e}function sj(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function re(a,b,c){a:{if((b|0)>=67){c=L[a+16>>1];if(c&4){break a}if(!(c&40)){if(!(c&2)){break a}ij(a,1);return}if(b>>>0>69){break a}$v(a);return}if((b|0)!=66){break a}b=L[a+16>>1];if(!(b&2|!(b&44))){Bh(a,c,1);b=L[a+16>>1]}I[a+16>>1]=b&65491}}function nq(a,b,c){var d=0,e=0,f=0;e=1;d=K[a|0];a:{if(d>>>0<192){break a}b=(b|0)>=4?4:b;e=(b|0)<=1?1:b;d=K[d+33056|0];b=1;while(1){if((b|0)==(e|0)){break a}f=K[a+b|0];if((f&192)==128){d=f&63|d<<6;b=b+1|0;continue}break}e=b}J[c>>2]=d;return e}function VH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=fb(J[c>>2]);c=Ia;d=!!b&(c|0)>=0|(c|0)>0;b=d?b:0;c=d?c:0;e=J[a>>2];f=J[J[e+20>>2]+120>>2];d=f>>31;a:{if((c|0)==(d|0)&b>>>0>f>>>0|c>>>0>d>>>0){Rg(a);b=18;break a}mp(e,b);b=0}if(b){Td(a,b)}}function Ez(a,b){var c=0,d=0;c=mc(J[a+12>>2]);a:{d=J[a+16>>2];if(d){c=qg(d,c);break a}if(K[a+5|0]&16){c=qg(J[J[J[a+20>>2]+28>>2]+8>>2],c);break a}if(c){break a}return 1}if((c|0)>=66){if((c|0)==66){return(b|0)==66}a=(b|0)>66}else{a=1}return a}function Tb(a,b,c,d,e){var f=0,g=0,h=0;g=J[a>>2];h=J[g+364>>2];a:{if(K[a+220|0]|(!h|K[g+177|0])){break a}f=Ja[h|0](J[g+368>>2],b,c,d,e,J[a+260>>2])|0;b:{if((f|0)==1){Ra(a,15219,0);J[a+12>>2]=23;break b}if(!(f&-3)){break a}tA(a)}f=1}return f}function Fq(a,b){var c=0,d=0;c=J[a+64>>2];d=J[c>>2];a:{b:{if(!d){break b}b=Ja[J[d+40>>2]](c,21,b)|0;if((b|0)==12){break b}if(b){break a}}b=0;if(K[a+7|0]){break a}c=K[a+10|0];if(!c){break a}a=J[a+64>>2];b=Ja[J[J[a>>2]+20>>2]](a,c)|0}return b}function pz(a,b,c,d,e,f){var g=0;g=rb(a);c=qz(a,b,c,e);a:{if(!c){break a}b=!(J[b>>2]?K[J[a>>2]+33|0]&32:1);e=a;a=J[a+44>>2]+1|0;J[e+44>>2]=a;$a(g,48,d,f,a,J[c+8>>2],-4);a=J[g+108>>2];if((a|0)<=0){break a}I[(J[g+104>>2]+P(a,20)|0)-18>>1]=b}}function _d(a,b){a:{if((a|0)>=(b|0)){if((b+49|0)<(a|0)){break a}if((b+31|0)<(a|0)){a=a+1|0;break a}a=K[(a-b|0)+50032|0]+a|0;break a}if((a+49|0)<(b|0)){a=b;break a}if((a+31|0)<(b|0)){a=b+1|0;break a}a=K[(b-a|0)+50032|0]+b|0}return a<<16>>16}function $C(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=Fa-96|0;Fa=c;a:{if(Ja[J[16628]](J[a+12>>2],c)|0){J[a+20>>2]=J[18304];e=1802;break a}a=J[c+24>>2];f=a;d=(a|0)!=1;a=J[c+28>>2];d=d|(a|0)!=0;J[b>>2]=d?f:0;J[b+4>>2]=d?a:0}Fa=c+96|0;return e|0}function un(a,b,c){var d=0,e=0,f=0;a:{if(!b){break a}d=J[c+4>>2];if(!d){break a}e=J[b>>2]-1|0;f=1;if(!(!J[c>>2]&(d|0)==1)){J[((e<<6)+b|0)- -64>>2]=oc(J[a>>2],c);f=2}a=(e<<6)+b|0;b=a+45|0;a=K[a+45|0]|K[a+46|0]<<8|f;H[b|0]=a;H[b+1|0]=a>>>8}}function WA(a,b){var c=0,d=0,e=0,f=0;c=J[(J[J[a>>2]+16>>2]+(b<<4)|0)+12>>2];fd(a,0,b);d=J[a+40>>2];J[a+40>>2]=d+3;Hq(a,b,d,0,0);c=c+16|0;e=J[a+44>>2]+1|0;f=J[a+40>>2];while(1){c=J[c>>2];if(c){jz(a,J[c+8>>2],0,d,e,f);continue}break}iz(a,b)}function Pp(a,b,c){var d=0,e=0;e=Fa-16|0;Fa=e;d=J[a+4>>2];J[d+4>>2]=J[a>>2];a:{if(!b){c=0;b=gg(d,0,0);if(!b){break a}}zx(a,b,c)}if(K[a+8|0]==2){Qp(J[d>>2]);if(!ld(d,1,e+12|0,0)){b=J[e+12>>2];ox(d,b);Gj(b)}H[d+20|0]=1;hy(d)}cy(a);Fa=e+16|0}function lr(a){var b=0,c=0;b=J[a>>2];if(K[a+151|0]==2){Aj(a)}a:{if(J[a+32>>2]<0){break a}if(J[b+288>>2]|J[a+124>>2]){ln(a);break a}J[b+64>>2]=J[a+36>>2]}c=J[a+124>>2];if(c){Za(b,c);J[a+124>>2]=0}J[a+120>>2]=0;return J[b+72>>2]&J[a+36>>2]}function Sj(a){var b=0,c=0,d=0;c=Fa-16|0;Fa=c;b=1;d=J[J[a+12>>2]+104>>2]+P(J[a+16>>2],20)|0;if(K[d|0]==65){b=L[d+2>>1];J[c>>2]=J[J[a+4>>2]+32>>2];J[c+4>>2]=b&4?2727:b&8?11093:1551;b=a;a=ub(6718,c);Bb(b,a,-1);Oa(a);b=0}Fa=c+16|0;return b}function Ef(a,b,c,d){var e=0,f=0;e=Fa-16|0;Fa=e;f=J[a>>2];a:{if(J[c+4>>2]){if(K[f+177|0]){Ra(a,13536,0);c=-1;break a}J[d>>2]=c;c=VA(f,b);if((c|0)>=0){break a}J[e>>2]=b;Ra(a,19032,e);c=-1;break a}c=K[f+176|0];J[d>>2]=b}Fa=e+16|0;return c}function tE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){a:{switch(Fb(J[c>>2])-1|0){case 0:b=fb(J[c>>2]);c=Ia;Vb(a,lJ(b,c,b,c),Ia);return;case 4:Mb(a);return;default:break a}}d=yb(J[c>>2]);Nb(a,d*d);return}Z(23800,17942,514,17824);D()}function ql(a){var b=0,c=0,d=0,e=0;c=Fa-16|0;Fa=c;d=J[a>>2];e=59;while(1){d=jj(d,c+12|0)+d|0;b=J[c+12>>2];if((b|0)==183){continue}break}if(!(b-117>>>0<2|b-164>>>0<2|(b|0)==59)){e=L[(b<<1)+36960>>1]==59?59:b}J[a>>2]=d;Fa=c+16|0;return e}function Yy(a){var b=0,c=0;if(!K[a+43|0]){vc(a);H[a+43|0]=1;H[a+41|0]=0;b=J[a+4>>2];c=J[a>>2]+432e5|0;b=c>>>0<432e5?b+1|0:b;b=nJ(c,b,864e5,0);J[a+20>>2]=(b|0)/36e5;c=(b|0)/6e4|0;J[a+24>>2]=(c<<16>>16)%60;O[a+32>>3]=+(b-P(c,6e4)|0)/1e3}}function Yj(a,b,c){var d=0,e=0,f=0,g=0;a:{d=J[a+4>>2];e=J[d+12>>2];if(!e){break a}f=rb(J[a>>2]);a=0;g=J[d+76>>2];d=J[d+8>>2];if(d){d=J[d>>2]}else{d=0}d=g+d|0;while(1){if(J[e>>2]<=(a|0)){break a}Pa(f,94,b,a+d|0,a+c|0);a=a+1|0;continue}}}function yb(a){var b=0;b=L[a+16>>1];if(b&8){return O[a>>3]}if(b&36){return+M[a>>2]+ +J[a+4>>2]*4294967296}if(!(b&18)){return 0}b=Fa-16|0;Fa=b;J[b+8>>2]=0;J[b+12>>2]=0;Hd(J[a+8>>2],b+8|0,J[a+12>>2],K[a+18|0]);Fa=b+16|0;return O[b+8>>3]}function Pt(a,b,c){var d=0,e=0,f=0;d=Qt(a);if(d){J[d+8>>2]=0;J[d>>2]=b;J[d+4>>2]=c;e=J[a+12>>2];a:{if(e){f=J[e+4>>2];if((f|0)>=(c|0)&M[e>>2]>=b>>>0|(c|0)<(f|0)){I[a+26>>1]=L[a+26>>1]&65534}J[e+8>>2]=d;break a}J[a+8>>2]=d}J[a+12>>2]=d}}function _q(a,b,c,d,e,f,g){var h=0,i=0,j=0;h=Fa-96|0;Fa=h;j=f&130;f=zm(h,a,b,c,f,g);while(1){a:{b:{if(f){a=J[f+32>>2];b=J[f+36>>2];if(d&a|e&b){break a}if(!(L[f+12>>1]&j)|(a|b)){break b}i=f}Fa=h+96|0;return i}i=i?i:f}f=ki(h);continue}}function Io(a,b){var c=0,d=0;a:{if(!(!K[a+50|0]&K[a+43|0]!=2)){while(1){if((c|0)<J[a+24>>2]){d=c<<2;Oa(J[d+J[a+32>>2]>>2]);J[J[a+32>>2]+d>>2]=0;c=c+1|0;continue}break}if(K[a+43|0]==2){break a}}a=J[a+4>>2];Ja[J[J[a>>2]+64>>2]](a,b)|0}}function kq(a){var b=0,c=0;b=J[a>>2];while(1){a:{if(M[b+16>>2]<=M[b+4>>2]){break a}c=J[b+48>>2];if(L[c+14>>1]){break a}jq($l(c),1);continue}break}b:{if(J[a+48>>2]){break b}b=J[a+64>>2];if(!b){break b}Oa(b);J[a+60>>2]=0;J[a+64>>2]=0}}function ie(a){var b=0,c=0;b=J[a>>2]+J[a+12>>2]|0;a:{if((b|0)<=0){b=1;if(!(K[a+16|0]&16)){break a}}c=7;if(ih(a,b,1)){break a}c=0;Sa(J[a+8>>2]+J[a+12>>2]|0,0,J[a>>2]);J[a+12>>2]=J[a+12>>2]+J[a>>2];I[a+16>>1]=L[a+16>>1]&63999}return c}function xg(a,b){var c=0,d=0;if(!b){return-1}c=J[a+20>>2]-1|0;d=(c|0)>=-1?-1:c;a=J[a+16>>2]+(c<<4)|0;while(1){a:{if((c|0)>=0){if(!Ub(J[a>>2],b)){return c}if(c){break a}if(Xa(11276,b)){break a}d=0}return d}a=a-16|0;c=c-1|0;continue}}function ko(a,b,c,d,e){var f=0;H[a+11|0]=0;f=J[a+4>>2]+8|0;while(1){f=J[f>>2];if(f){a:{if(!(K[f+1|0]&16)){break a}H[a+11|0]=1;if(!e&(J[f+32>>2]!=(c|0)|(d|0)!=J[f+36>>2])|J[f+64>>2]!=(b|0)){break a}H[f|0]=1}f=f+24|0;continue}break}}function av(a){var b=0,c=0,d=0;b=Fa-16|0;Fa=b;J[b+12>>2]=0;a:{if(K[a+12|0]|!J[a+28>>2]){break a}a=J[a+64>>2];c=J[a>>2];if(!c){break a}a=Ja[J[c+40>>2]](a,20,b+12|0)|0;if((a|0)==12){break a}d=a?a:J[b+12>>2]?1032:a}Fa=b+16|0;return d}function Nl(a,b,c,d){var e=0,f=0;e=Fa-16|0;Fa=e;a:{if((L[c+16>>1]&4031)!=2561|K[c+19|0]!=112){break a}if(Kc(J[c>>2],9016)){break a}f=J[c+8>>2]}J[d>>2]=f;d=0;if(!f){J[e>>2]=b;b=a;a=ub(6556,e);Bb(b,a,-1);Oa(a);d=1}Fa=e+16|0;return d}function Mn(a,b){var c=0,d=0,e=0,f=0;c=J[a>>2]+1|0;J[a>>2]=c;J[(c<<2)+a>>2]=b;while(1){a:{if(c>>>0<2){break a}b=c>>>1|0;d=(b<<2)+a|0;e=J[d>>2];c=(c<<2)+a|0;f=J[c>>2];if(e>>>0<=f>>>0){break a}J[d>>2]=f;J[c>>2]=e;c=b;continue}break}}function AC(a,b){a=a|0;b=b|0;var c=0,d=0;d=J[a+8>>2];if((d|0)>(b|0)){c=J[a+4>>2];a:{if((b|0)==1){if((d|0)<2){break a}J[c+44>>2]=J[c+44>>2]-1;break a}if((d|0)>=2){J[c+44>>2]=J[c+44>>2]-1}J[c+40>>2]=J[c+40>>2]-1}J[a+8>>2]=b}return 0}function vA(a){var b=0,c=0,d=0;while(1){b=uA(a,1)&4095;a:{if(K[a+5|0]&8){break a}c=J[a+8>>2];if(!c){break a}b=((ob(c)&1073741823)+b|0)+1|0}b=b+7&-8;c=J[a+12>>2];if(c){b=vA(c)+b|0}d=b+d|0;a=J[a+16>>2];if(a){continue}break}return d}function Lm(a,b,c,d,e,f,g,h,i){a:{if(J[a+36>>2]){break a}b:{if(i){i=Tf(a,c,b);break b}i=Tf(a,b,c)}b=qg(b,mc(c));$a(J[a+8>>2],d,f,g,e,i,-2);a=J[a+8>>2];c=J[a+108>>2];if((c|0)<=0){break a}I[(J[a+104>>2]+P(c,20)|0)-18>>1]=(b|h)&255}}function Ac(a,b,c){var d=0,e=0;d=Fa-256|0;Fa=d;if(J[16503]){J[d+12>>2]=c;I[d+252>>1]=0;J[d+244>>2]=0;J[d+248>>2]=0;J[d+240>>2]=210;J[d+232>>2]=0;J[d+236>>2]=d+16;e=d+232|0;Lg(e,b,c);b=J[16503];Ja[b|0](J[16504],a,Ed(e))}Fa=d+256|0}function Ql(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;j=J[a>>2];a:{if(!(J[d>>2]?b:0)){h=f;g=J[c>>2];i=J[c+4>>2];b=e;break a}h=J[c+4>>2];g=e;i=f;b=J[c>>2]}J[a>>2]=hc(j,b-g|0,h-(i+(b>>>0<g>>>0)|0)|0)+J[a>>2];J[c>>2]=e;J[c+4>>2]=f;J[d>>2]=1}function QG(a,b,c){a=a|0;b=b|0;c=c|0;b=Fa-128|0;Fa=b;I[b+24>>1]=1;J[b+16>>2]=0;J[b+20>>2]=0;J[b+8>>2]=100;J[b+12>>2]=0;J[b+4>>2]=b+26;J[b>>2]=a;Qj(b,J[c>>2]);qf(b,0,0);a=J[a>>2];H[a+19|0]=74;I[a+16>>1]=L[a+16>>1]|2048;Fa=b+128|0}function _x(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=gc(28);if(!e){return 7}J[e+4>>2]=b;a=0;a:{if(!b){break a}a=c;if((a|0)>=0){break a}a=ob(b)}J[e+12>>2]=0;J[e+16>>2]=0;J[e+8>>2]=a;J[e+20>>2]=0;J[e+24>>2]=0;J[d>>2]=e;return 0}function cs(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=L[a+52>>1];g=J[J[a+12>>2]+4>>2];while(1){if((b|0)!=(f|0)){c=1;d=I[J[a+4>>2]+(b<<1)>>1];if((d|0)>=0){c=K[(P(d&65535,12)+g|0)+6|0]}b=b+1|0;e=c+e|0;continue}break}I[a+48>>1]=Fd(e<<2,0)}function Qc(a,b,c){var d=0;a:{if(!c){break a}d=a+280|0;while(1){a=J[d>>2];if(!a){break a}if(J[a>>2]==(c|0)){if(b){J[d>>2]=J[a+12>>2];J[a+12>>2]=J[b>>2];J[b>>2]=a;J[b+4>>2]=J[b+4>>2]+1}return a}else{d=a+12|0;continue}}}return 0}function Cg(a,b,c){var d=0;if(K[a+17|0]&144){yl(a);Cg(a,b,c);return}d=J[b+4>>2];J[a>>2]=J[b>>2];J[a+4>>2]=d;J[a+16>>2]=J[b+16>>2];d=J[b+12>>2];J[a+8>>2]=J[b+8>>2];J[a+12>>2]=d;if(!(K[b+17|0]&32)){I[a+16>>1]=L[a+16>>1]&36863|c}}function ev(a,b){var c=0,d=0,e=0,f=0,g=0;if(J[a+32>>2]){c=Ja[J[16473]](b,J[a+36>>2]+48|0,K[a+40|0])|0;if(!c){return 7}f=c,g=gl(a),e=J[16474],Ja[e](f|0,g|0);d=J[a+52>>2];if(d){Ja[J[16480]](d)}J[a+32>>2]=b;J[a+52>>2]=c}return 0}function cx(a){var b=0,c=0,d=0,e=0;c=1;a:{if(J[a+4>>2]){break a}c=0;b=J[a+20>>2];e=(b|0)>0?b:0;b=0;while(1){if((b|0)==(e|0)){break a}d=J[(J[a+16>>2]+(b<<4)|0)+4>>2];if(!d|!J[d+16>>2]){b=b+1|0;continue}else{c=1}break}}return c}function Yw(a){var b=0,c=0,d=0,e=0;c=Fa-16|0;Fa=c;a:{if(!a){b=1;break a}d=J[a+8>>2];e=uc(d,c+8|0);b=J[c+8>>2];b:{if(!J[c+12>>2]&b>>>0<2){d=0;b=1;break b}J[a+12>>2]=(J[a+12>>2]+b|0)-2;d=d+e|0;b=0}J[a+8>>2]=d}Fa=c+16|0;return b}function Rt(a){var b=0,c=0,d=0,e=0;b=Fa-16|0;Fa=b;e=J[a+8>>2];J[a+8>>2]=0;J[a+12>>2]=0;d=1;while(1){c=e;if(c){J[b+12>>2]=J[c+8>>2];J[c+12>>2]=a;J[c+8>>2]=Ln(b+12|0,d);d=d+1|0;e=J[b+12>>2];a=c;continue}break}Fa=b+16|0;return a}function Mm(a,b,c,d){var e=0,f=0;f=1;a:{if(!Zb(a,b,c,d)){break a}e=K[c|0];if((e|0)==43){if(Mm(a,b,J[c+12>>2],d)){break a}if(Mm(a,b,J[c+16>>2],d)){break a}e=K[c|0]}if((e|0)==51){if(Gm(a,b,J[c+12>>2],d,0)){break a}}f=0}return f}function no(a,b){var c=0;if(!(K[a|0]|!(K[a+1|0]&8))){J[b>>2]=0;return 0}c=Jf(a);a:{b:{if((c|0)!=16){if(c){break b}J[b>>2]=0;b=ht(a);c=K[a+1|0];if(!b){H[a+1|0]=c|8;b=0;break a}H[a+1|0]=c&247;break a}J[b>>2]=1;c=0}b=c}return b}function mJ(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0<e>>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=oJ(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Ia=(g^Ia)-((a>>>0<f>>>0)+g|0)|0;return b}function ii(a,b,c){var d=0,e=0;d=0;a:{if(L[b+48>>1]>=(c|0)){break a}c=c+7&-8;e=Ib(a,c<<2,0);d=7;if(!e){break a}d=Qa(e,J[b+52>>2],L[b+48>>1]<<2);e=J[b+52>>2];if((e|0)!=(b+60|0)){Za(a,e)}I[b+48>>1]=c;J[b+52>>2]=d;d=0}return d}function kh(a,b,c,d){var e=0;$a(a,149,b,0,0,c,-6);b=J[a+108>>2];if((b|0)>0){I[(J[a+104>>2]+P(b,20)|0)-18>>1]=d}while(1){if((e|0)<J[J[a>>2]+20>>2]){fe(a,e);e=e+1|0;continue}break}a=J[a+12>>2];b=J[a+128>>2];H[(b?b:a)+21|0]=1}function il(a){var b=0,c=0,d=0;b=J[a+12>>2];c=J[b+16>>2];d=J[b+20>>2]-!c|0;c=c-1|0;J[b+16>>2]=c;J[b+20>>2]=d;b=J[a+32>>2];c=J[a+36>>2]-!b|0;b=b-1|0;J[a+32>>2]=b;J[a+36>>2]=c;if(!(b|c)){if(H[a+28|0]&1){fv(a);return}Yi(a,3)}}function Yt(a,b){var c=0,d=0,e=0,f=0,g=0;d=b+52|0;b=J[d>>2];J[d>>2]=0;while(1){if(b){c=J[b>>2];a:{if((c|0)==(a|0)){e=0;g=b;f=d;break a}e=J[c+412>>2];f=c+412|0}c=J[b+24>>2];J[f>>2]=b;J[b+24>>2]=e;b=c;continue}break}return g}function Sb(a,b){a:{if(M[a+356>>2]<=b>>>0){break a}if(M[a+348>>2]<=b>>>0){J[b>>2]=J[a+344>>2];J[a+344>>2]=b;return}if(M[a+352>>2]>b>>>0){break a}J[b>>2]=J[a+336>>2];J[a+336>>2]=b;return}if(J[a+528>>2]){rv(a,b);return}Oa(b)}function Ry(a,b){var c=0;if(!K[a+12|0]){return 1}if(!(!b|!J[J[a+64>>2]>>2])){b=0;a=J[a+228>>2];c=gl(a);while(1){a=J[a>>2];if(a){a=a+40|0;b=b+1|0;continue}break}if(!c){return 0}c=(mJ(lJ(b,0,100,0),Ia,c,c>>31)|0)>24}return c}function Gk(a,b){var c=0,d=0,e=0;c=Fa-16|0;Fa=c;d=J[b>>2];a:{b:{if(!tb(d,18298,7)){break b}e=J[b+28>>2];if(e&32768){break b}b=0;if(!(e&4096)){break a}if(!mh(J[a>>2])){break a}}J[c>>2]=d;Ra(a,15752,c);b=1}Fa=c+16|0;return b}function Cq(a,b,c,d,e){var f=0,g=0,h=0;f=Fa-32|0;Fa=f;c=Wa(c);d=Wa(d);g=J[e>>2];h=K[b|0];J[f+16>>2]=J[e+4>>2];J[f+12>>2]=b;J[f+4>>2]=d;J[f>>2]=c;J[f+8>>2]=h?30595:30620;b=a;a=hb(g,7666,f);Bb(b,a,-1);Ua(J[e>>2],a);Fa=f+32|0}function wy(a,b,c){var d=0,e=0;d=J[b+4>>2];a:{if(d){J[c>>2]=d;e=J[d+4>>2];J[c+4>>2]=e;J[(e?e:a+8|0)>>2]=c;a=d+4|0;break a}d=J[a+8>>2];J[c>>2]=d;if(d){J[d+4>>2]=c}J[c+4>>2]=0;a=a+8|0}J[a>>2]=c;J[b+4>>2]=c;J[b>>2]=J[b>>2]+1}function ix(a,b){var c=0;c=Fa-16|0;Fa=c;a:{if(!(J[b+8>>2]|J[b+12>>2])){a=0;break a}a=Gb(a,17,c+12|0,0);if(a){break a}a=J[c+12>>2];xb(a,1,J[b+8>>2],J[b+12>>2]);xb(a,2,J[b+24>>2],J[b+28>>2]);qb(a);a=jb(a)}Fa=c+16|0;return a}function bt(a,b,c,d,e){var f=0,g=0;b=Sa(b,0,40);f=c>>31;g=Yb(c,f);J[b+4>>2]=g;if(!g){J[b>>2]=7;return}J[b+32>>2]=a;J[b+8>>2]=c;a=nJ(d,e,c,f);c=d-a|0;J[b+24>>2]=c;J[b+28>>2]=e-(Ia+(a>>>0>d>>>0)|0);J[b+16>>2]=a;J[b+12>>2]=a}function Ln(a,b){var c=0,d=0;c=J[a>>2];if(!c){return 0}if((b|0)>=2){d=b-1|0;c=Ln(a,d);b=J[a>>2];if(!b){return c}J[b+12>>2]=c;J[a>>2]=J[b+8>>2];J[b+8>>2]=Ln(a,d);return b}J[a>>2]=J[c+8>>2];J[c+8>>2]=0;J[c+12>>2]=0;return c}function JH(a){a=a|0;var b=0,c=0;b=wb(a,0);if(b){a:{c=K[b+20|0];if((c|0)!=7){if((c|0)!=18){break a}Rg(a);return}Qb(a);return}c=J[b+16>>2];b:{if(!c){c=0;b=0;break b}H[c+J[b+4>>2]|0]=0;c=J[b+16>>2];b=J[b+4>>2]}lb(a,b,c,-1)}}function wx(a,b){var c=0,d=0;c=Fa-16|0;Fa=c;J[c+12>>2]=0;d=Gb(a,22,c+12|0,0);a=J[c+12>>2];a:{if(d){break a}xb(a,1,0,0);if((qb(a)|0)==100){d=0;if((Og(a,0)|0)==4){break a}}a=jb(a);d=a?a:267;a=0}J[b>>2]=a;Fa=c+16|0;return d}function sz(a,b,c,d,e){var f=0,g=0;f=J[d>>2];J[e>>2]=f;a:{g=f>>31;if(f-1&f|g&g-!f){a=b;break a}a=_c(a,b,lJ(c,0,f?f<<1:1,f?g<<1|f>>>31:0),Ia);if(a){break a}J[e>>2]=-1;return b}Sa(P(c,f)+a|0,0,c);J[d>>2]=J[d>>2]+1;return a}function $e(a,b,c){var d=0,e=0,f=0;while(1){a:{if(J[a+20>>2]<=(e|0)){d=0;break a}d=e>>>0<2^e;f=J[(J[a+16>>2]+(d<<4)|0)+12>>2];b:{if(c){if(!Ik(a,d,c)){break b}}d=Cc(f+24|0,b);if(d){break a}}e=e+1|0;continue}break}return d}function Qe(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;if(!J[a>>2]){J[e+12>>2]=d;c=al(c,d);a:{if(c){d=J[b>>2];if(!d){d=c;break a}J[e+4>>2]=c;J[e>>2]=d;d=ub(6113,e);Oa(c);if(d){break a}}J[a>>2]=7;d=0}Oa(J[b>>2]);J[b>>2]=d}Fa=e+16|0}function ef(a){var b=0;if(a){if(!(M[18285]<=a>>>0|M[18284]>a>>>0)){J[18173]=J[18173]-1;J[a>>2]=J[18287];J[18287]=a;a=J[18288]+1|0;J[18288]=a;J[18289]=(a|0)<J[18283];return}b=Ja[J[16455]](a)|0;J[18174]=J[18174]-b;Oa(a)}}function bz(a,b){var c=0,d=0,e=0,f=0;a:{if(!a){break a}c=J[a>>2];c=(c|0)>0?c:0;f=b&3;while(1){if((c|0)==(d|0)){break a}b=(d<<4)+a|0;e=b+17|0;b=f|(K[b+17|0]|K[b+18|0]<<8)&65532;H[e|0]=b;H[e+1|0]=b>>>8;d=d+1|0;continue}}}function KA(a,b){var c=0,d=0,e=0;e=J[b+12>>2];d=Mc(e);a:{b:{if(!(K[J[a>>2]+87|0]|!(K[b+5|0]&16))){b=J[J[J[b+20>>2]+28>>2]>>2];c=0;if((b|0)==(d|0)){break a}nr(a,b,d);break b}c=0;if((d|0)==1){break a}DA(a,e)}c=1}return c}function ml(a,b){var c=0;a:{if(b){c=J[b+4>>2];J[c+4>>2]=J[b>>2];b=J[c+52>>2];if(!b){b=ib(0,84,0);J[c+56>>2]=22;J[c+52>>2]=b}break a}b=ib(0,84,0)}if(!b){Db(a);return b}if(!K[b+76|0]){Sa(b+8|0,0,64);H[b+77|0]=1}return b}function jl(a){var b=0;b=5;a:{b:{c:{switch(a-6|0){case 0:case 4:break a;case 1:case 2:case 3:break b;default:break c}}if((a|0)==2|(a|0)==27|((a|0)==46|(a|0)==73)){break a}if((a|0)!=63){break b}return 3}b=3850}return b}function Mf(a,b){var c=0;c=K[a+18|0];a:{b:{if((c|0)!=5&(b|0)<=(c|0)){break b}if(!K[a+13|0]){c=J[a+64>>2];c=Ja[J[J[c>>2]+28>>2]](c,b)|0;if(c){break a}c=K[a+18|0]}if((c&255)==5&(b|0)!=4){break b}H[a+18|0]=b}c=0}return c}function Bx(a,b){var c=0,d=0,e=0,f=0;while(1){d=K[a+f|0]-48|0;if((d&255)>>>0<=9){d=d&255;e=lJ(e,c,10,0)+d|0;c=Ia;c=e>>>0<d>>>0?c+1|0:c;if(!c&e>>>0>2147483647|c){return-1}else{f=f+1|0;continue}}break}J[b>>2]=e;return f}function _l(a){var b=0,c=0,d=0;b=J[a+8>>2];J[a+8>>2]=0;Oa(J[a+16>>2]);J[a+12>>2]=0;J[a+16>>2]=0;while(1){if(b){d=J[b>>2];a:{if(!K[a+1|0]){break a}c=J[b+12>>2];if(!c){break a}Oa(c)}Oa(b);b=d;continue}break}J[a+4>>2]=0}function lJ(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=P(e,f);g=c&65535;h=a&65535;i=P(g,h);f=(i>>>16|0)+P(f,g)|0;e=(f&65535)+P(e,h)|0;Ia=(P(b,c)+j|0)+P(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function gs(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=J[b>>2];d=Ya(f);e=d+1|0;if(K[b+10|0]&4){e=(Ya(e+f|0)+d|0)+2|0}d=Ya(c)+1|0;g=d+e|0;h=g>>>0<e>>>0?1:h;a=_c(a,f,g,h);if(a){J[b>>2]=a;Qa(a+e|0,c,d);I[b+10>>1]=L[b+10>>1]|512}}function Xv(a){var b=0,c=0,d=0,e=0,f=0;c=65;while(1){a:{b=(c|0)<(e|0);if(b){break a}d=(c+e|0)/2|0;f=Ub(a,J[(d<<4)+35664>>2]);if(!f){break a}b=(f|0)<0;c=b?d-1|0:c;e=b?e:d+1|0;continue}break}return b?0:(d<<4)+35664|0}function Vz(a,b,c){var d=0;d=Fa-48|0;Fa=d;J[d+24>>2]=0;J[d+28>>2]=0;J[d+32>>2]=0;J[d+36>>2]=0;J[d+16>>2]=0;J[d+20>>2]=0;J[d+20>>2]=88;J[d+12>>2]=b;J[d+8>>2]=c;J[d+40>>2]=d+8;Eb(d+16|0,a);Fa=d+48|0;return!L[d+36>>1]}function yn(a,b){var c=0,d=0,e=0;c=ob(b)+1|0;while(1){a:{d=0;if(!c){break a}c=c-1|0;d=c+b|0;if(K[d|0]!=95){continue}}break}if(!d){return 0}H[d|0]=0;c=tc(a,b,0);H[d|0]=95;if(!(!c|K[c+43|0]!=1)){e=Is(a,c,b)}return e}function pt(a,b,c,d,e,f){if(b){e=J[a+112>>2];d=Qk(e);if(!d){return 7}Ni(e,c,b,d);b=L[d+20>>1];a:{if(!(b>>>0<=L[e+8>>1]?b:0)){b=Ta(70951);break a}b=sh(a,d,f)}Za(J[J[a+112>>2]+12>>2],d);return b}return qh(a,c,d,e,f)}function io(a){var b=0,c=0,d=0;while(1){a:{if(c){break a}b=J[a+116>>2];if(K[b+8|0]){break a}c=J[b+56>>2];d=L[b+26>>1];b=J[b+64>>2]+(L[a+70>>1]<<1)|0;c=zg(a,ab(c+(d&(K[b|0]<<8|K[b+1|0]))|0));continue}break}return c}function bg(a,b,c){var d=0,e=0;if(!c){return 0}d=K[a|0];if(d){a:{while(1){e=K[b|0];if((e|0)!=(d|0)|!e){break a}c=c-1|0;if(!c){break a}b=b+1|0;d=K[a+1|0];a=a+1|0;if(d){continue}break}d=0}}else{d=0}return d-K[b|0]|0}function Th(a){var b=0;a:{switch(a-100|0){case 0:return 14345;case 1:return 14367;default:break a}}b=20255;b:{if((a|0)==516){break b}a=a&255;b=9051;if(a>>>0>28|16842756>>>a&1){break b}b=J[(a<<2)+52736>>2]}return b}function vu(a,b){var c=0;a:{if(!(K[a+12|0]|J[a+232>>2])){if(!uu(a)){return 14}b=J[a+68>>2];c=J[b>>2];if(c){Ja[J[c+4>>2]](b)|0;J[b>>2]=0}b=tu(a);if(b){break a}H[a+17|0]=0;H[a+5|0]=5;return 0}J[b>>2]=1;b=0}return b}function gl(a){var b=0,c=0;b=J[a+24>>2];if((b|0)<0){c=b>>31<<10|b>>>22;b=b<<10;a=J[a+36>>2]+J[a+32>>2]|0;a=mJ(0-b|0,0-(c+((b|0)!=0)|0)|0,a,a>>31);b=Ia;if((b|0)>0){b=1}else{b=(b|0)>=0&a>>>0>=1e9}b=b?1e9:a}return b}function dh(a,b,c){var d=0,e=0;d=Fa-112|0;Fa=d;e=J[a+120>>2];I[d+28>>1]=256;J[d+24>>2]=0;J[d+20>>2]=e;J[d+16>>2]=70;J[d+8>>2]=a;J[d+12>>2]=d+32;e=d+8|0;Lg(e,b,c);b=Ed(e);if(K[d+28|0]==7){Db(a)}Fa=d+112|0;return b}function df(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;b=Ja[J[J[a>>2]+8>>2]](a,e+12|0,4,b,c)|0;if(!b){a=K[e+12|0]|K[e+13|0]<<8|(K[e+14|0]<<16|K[e+15|0]<<24);J[d>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}Fa=e+16|0;return b}function qs(a,b,c){var d=0;a:{if(!a){break a}a=(J[a>>2]-1<<4)+a|0;b=(b|0)!=-1?b:0;H[a+16|0]=b;if((c|0)==-1){break a}d=K[a+17|0]|K[a+18|0]<<8|32;H[a+17|0]=d;H[a+18|0]=d>>>8;if((b|0)==(c|0)){break a}H[a+16|0]=b|2}}function Uj(a){var b=0,c=0;c=J[a>>2];b=J[a+8>>2];if(b){kf(b)}xd(c,J[a+248>>2]);while(1){b=J[a+252>>2];if(b){J[a+252>>2]=J[b+20>>2];Uk(c,b);continue}break}Mh(c,J[a+256>>2]);Ua(c,J[a+4>>2]);mm(c,J[a+280>>2]);ji(a)}function Ev(a,b,c,d,e,f,g,h,i){var j=0;a:{if(i){j=Yb(12,0);if(!j){Db(a);Ja[i|0](e);b=1;break a}J[j+8>>2]=e;J[j+4>>2]=i;J[j>>2]=0}b=nl(a,b,c,d,e,f,g,h,0,0,j);if(J[j>>2]|!j){break a}Ja[i|0](e);Oa(j)}return bd(a,b)}function xf(a,b,c){var d=0,e=0;d=b+c|0;e=P(d,5);c=Ib(a,e+20|0,0);if(c){I[c+8>>1]=d;I[c+6>>1]=b;J[c+16>>2]=(c+(d<<2)|0)+20;b=K[a+84|0];J[c+12>>2]=a;H[c+4|0]=b;J[c>>2]=1;Sa(c+24|0,0,e-4|0);return c}Db(a);return c}function jq(a,b){var c=0,d=0,e=0,f=0;c=J[a+20>>2];d=J[c+56>>2]+(M[a+8>>2]%M[c+52>>2]<<2)|0;while(1){e=d;f=J[e>>2];d=f+16|0;if((a|0)!=(f|0)){continue}break}J[e>>2]=J[a+16>>2];J[c+48>>2]=J[c+48>>2]-1;if(b){iq(a)}}function Rc(a){a=a|0;var b=0,c=0,d=0;if(!a){return 0}c=J[a>>2];if(PA(a)){return Nc(89917)|0}b=J[a+136>>2];d=J[a+140>>2];if((d|0)>0){b=1}else{b=!!b&(d|0)>=0}if(b){Ar(c,a)}b=lr(a);so(a);a=bd(c,b);Im(c);return a|0}function Gy(a){var b=0,c=0,d=0;b=K[a+3|0];c=(b<<1<<24>>24>>>7&9)+b&15;b=K[a+2|0];d=(b<<1<<24>>24>>>7&9)+b<<4&240;b=K[a+1|0];a=K[a|0];return c|(d|(((b<<1<<24>>24>>>7&9)+b&15)<<8|((a<<1<<24>>24>>>7&9)+a&15)<<12))}function Cn(a,b){var c=0,d=0,e=0;e=yg(b);c=I[a+34>>1];c=(c|0)>0?c:0;a=J[a+4>>2];while(1){a:{if((d|0)==(c|0)){d=-1;break a}if(K[a+7|0]==(e|0)){if(!Xa(J[a>>2],b)){break a}}d=d+1|0;a=a+12|0;continue}break}return d}function Cd(a,b,c,d,e){var f=0,g=0;f=J[a+8>>2];if(!K[J[a>>2]+95|0]){rd(a,c,J[d+20>>2],(e|0)==113,J[d>>2])}if(!(K[d+28|0]&128)){bb(f,e,b,J[d+20>>2],c,I[d+36>>1]);return}g=b;b=ec(d);Pa(f,e,g,J[b+44>>2],c);zd(a,b)}function gv(a,b){a=a|0;b=b|0;a:{if(K[a+16|0]==(b|0)){break a}if((b|0)==1){H[a+16|0]=1;return 0}if((Ja[J[16670]](J[a+24>>2])|0)<0){b=J[18304];if((b|0)==44){break a}J[a+20>>2]=b;return 2058}H[a+16|0]=0}return 0}function aw(a,b,c){var d=0,e=0,f=0;d=1;a:{if(a==0){break a}C(+a);e=x(1)|0;f=x(0)|0;C(+(+(b>>>0)+ +(c|0)*4294967296));b=x(1)|0;d=0;if((f|0)!=(x(0)|0)|(b|0)!=(e|0)|(c|0)<-524288){break a}d=(c|0)<524288}return d}function $o(a,b,c){var d=0;a:{if(K[a+20|0]){break a}d=J[a+8>>2];b:{if(b>>>0>d>>>0&(c|0)>=0|(c|0)>0){d=18;if(b>>>0>M[a+12>>2]&(c|0)>=0|(c|0)>0){break b}}d=id(J[a>>2],b,c);if(d){break a}d=7}Jh(a,d);d=0}return d}function di(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);H[e+12|0]=d;H[e+13|0]=d>>>8;H[e+14|0]=d>>>16;H[e+15|0]=d>>>24;a=Ja[J[J[a>>2]+12>>2]](a,e+12|0,4,b,c)|0;Fa=e+16|0;return a}function Sy(a,b){var c=0,d=0,e=0,f=0;c=Fa-16|0;Fa=c;d=Wb(a,b,c+12|0);b=d+b|0;f=b+J[c+12>>2]|0;while(1){if(!(!d|b>>>0>=f>>>0)){e=e+1|0;d=Wb(a,b,c+12|0);b=(d+b|0)+J[c+12>>2]|0;continue}break}Fa=c+16|0;return e}function Cy(a){a=a|0;var b=0,c=0,d=0;b=J[a>>2];if(J[a+48>>2]){By(a,0)}c=J[b+4>>2]-J[a+28>>2]|0;J[b+4>>2]=c;d=J[b+8>>2]-J[a+24>>2]|0;J[b+8>>2]=d;J[b+12>>2]=(c-d|0)+10;kq(a);Oa(J[a+64>>2]);Oa(J[a+56>>2]);Oa(a)}function uG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{if(!c){c=J[a>>2];if(M[c+16>>2]<=M[c+4>>2]){break a}}jq(b,1);return}J[b+28>>2]=c+20;d=J[c+44>>2];J[b+24>>2]=d;J[d+28>>2]=b;J[c+44>>2]=b;J[a+44>>2]=J[a+44>>2]+1}function pm(a,b,c){var d=0,e=0;d=c+-1048576|0;if(!b&(d|0)==-2097152|d>>>0<4292870144){d=b;b=nJ(b,c,16384,0);e=c;c=Ia;gi(a,+(d-b>>>0)+ +(e-(c+(b>>>0>d>>>0)|0)|0)*4294967296)}gi(a,+(b>>>0)+ +(c|0)*4294967296)}function ag(a){var b=0;b=L[a+16>>1];a:{b:{if(!(b&18)){break b}if(b&1024){b=7;if(ie(a)){break a}}if(J[a+8>>2]==J[a+32>>2]?J[a+24>>2]:0){break b}b=qw(a);if(b){break a}}I[a+16>>1]=L[a+16>>1]&49151;b=0}return b}function Fi(a,b,c,d,e){var f=0;f=Fa-48|0;Fa=f;H[a+16|0]=1;J[f+32>>2]=e;J[f+28>>2]=d;J[f+24>>2]=c;J[f+20>>2]=b;J[f+16>>2]=b;fc(a,30066,f+16|0);if(!c){J[f+8>>2]=e;J[f+4>>2]=d;J[f>>2]=b;fc(a,30241,f)}Fa=f+48|0}function nb(a,b,c){var d=0,e=0;d=J[a+16>>2];e=d+c|0;if(e>>>0>=M[a+8>>2]){c=kl(a,c,c>>31);if((c|0)>0){Qa(J[a+4>>2]+J[a+16>>2]|0,b,c);J[a+16>>2]=c+J[a+16>>2]}return}if(c){J[a+16>>2]=e;Qa(J[a+4>>2]+d|0,b,c)}}function kj(a,b,c){var d=0,e=0,f=0;e=L[a+48>>1];d=J[J[a+116>>2]+60>>2];f=J[a+40>>2];J[c+8>>2]=f;d=d-f|0;if(((d|0)<(e|0)?(d|0)>0?d:0:e)>>>0>=b>>>0){J[c+12>>2]=b;I[c+16>>1]=16400;return 0}return tt(a,0,b,c)}function _v(a){var b=0,c=0,d=0;c=J[a>>2];b=Ib(c,240,0);if(b){Sa(b+104|0,0,136);J[b>>2]=c;d=J[c+4>>2];if(d){J[d+4>>2]=b+8}J[b+4>>2]=c+4;J[b+8>>2]=d;J[c+4>>2]=b;J[b+12>>2]=a;J[a+8>>2]=b;Na(b,8,0,1)}return b}function Uz(a,b){var c=0,d=0;Jz(b+80|0);while(1){c=J[b+60>>2];if(c){J[b+60>>2]=J[c+56>>2];Iz(a,c);continue}else{d=J[b+64>>2];while(1){if(d){c=J[d>>2];Sb(a,d);J[b+64>>2]=c;d=c;continue}break}Sb(a,b)}break}}function Sw(a,b){a=a|0;b=b|0;var c=0;c=ib(J[a+12>>2],224,0);if(!c){return 7}a=J[a+12>>2];H[c- -64|0]=1;J[c+56>>2]=0;J[c+60>>2]=0;J[c+48>>2]=100;J[c+52>>2]=0;J[c+44>>2]=c+66;J[c+36>>2]=a;J[b>>2]=c;return 0}function Dm(a,b,c,d,e){var f=0,g=0;f=Fa-16|0;Fa=f;b=J[b+24>>2];g=5021;a:{if(b&32){break a}g=3880;if(b&4){break a}g=b&8?5164:5420}J[f+4>>2]=g;J[f>>2]=c;Ra(a,6668,f);if(d){H[d|0]=121}Ig(J[a>>2],e);Fa=f+16|0}function dz(a,b,c,d){var e=0,f=0;a:{if(!c){break a}while(1){if(J[c>>2]<=(f|0)){break a}e=(f<<4)+c|0;b:{if(K[e+17|0]&3){break b}e=J[e+12>>2];if(!e){break b}if(Ub(e,d)){break b}Qc(a,b,e)}f=f+1|0;continue}}}function cc(a,b,c,d){var e=0,f=0;e=Fa-16|0;Fa=e;a:{if(K[a+219|0]!=2){break a}J[e+12>>2]=d;d=dh(J[a>>2],c,d);f=J[a+8>>2];c=J[f+108>>2];$a(f,188,c,J[a+232>>2],0,d,-6);if(!b){break a}J[a+232>>2]=c}Fa=e+16|0}function UA(a,b,c){var d=0,e=0;d=Ab(J[a>>2],J[b+60>>2]);fd(a,0,d);e=J[a+40>>2];J[a+40>>2]=e+3;a:{if(c){Hq(a,d,e,J[c>>2],1570);break a}Hq(a,d,e,J[b>>2],11753)}jz(a,b,c,e,J[a+44>>2]+1|0,J[a+40>>2]);iz(a,d)}function RG(a,b,c){a=a|0;b=b|0;c=c|0;b=jg(a,J[c>>2],1);if(b){c=jg(a,J[c+4>>2],0);if(c){a:{b:{switch(uq(b,0,c,0)|0){case 0:xq(a,b);break a;case 3:Qb(a);break a;default:break b}}Bb(a,19961,-1)}Wc(c)}Wc(b)}}function Wf(a){a=a|0;var b=0;b=1150;a:{if(!a){break a}b:{if(!sl(a)){b=Nc(180746);break b}if(K[a+87|0]){break a}b=0;if(!J[a+64>>2]){break b}b=Wa(J[a+288>>2]);if(b){break a}b=J[a+64>>2]}b=Th(b)}return b|0}function rz(a,b,c,d){var e=0,f=0,g=0;e=J[b+20>>2];e=(e|0)>0?e:0;while(1){if((e|0)==(f|0)){return 0}g=J[((f<<3)+b|0)+36>>2];if(J[(g<<2)+c>>2]<0){f=f+1|0;if(!d|I[a+32>>1]!=(g|0)){continue}}break}return 1}function gD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=c-1|0;while(1){if(!(!b|K[a+b|0]!=32)){b=b-1|0;continue}break}a=e-1|0;while(1){if(!(!d|K[a+d|0]!=32)){d=d-1|0;continue}break}return yv(d,b,c,d,e)|0}function YD(a){a=a|0;var b=0,c=0;while(1){if((b|0)<I[a+16>>1]){c=P(b,40);Vc(c+J[a+100>>2]|0);I[(J[a+100>>2]+c|0)+16>>1]=1;b=b+1|0;continue}break}if(J[a+228>>2]){I[a+152>>1]=L[a+152>>1]&65532|1}return 0}function Kx(a,b){var c=0;c=Fa-16|0;Fa=c;J[c+12>>2]=0;Sl(a);if(b){Ug(c+12|0,a,2,0)}b=c+12|0;Ug(b,a,3,0);Ug(b,a,4,0);if(K[a+238|0]){Ug(b,a,5,0)}if(K[a+237|0]){Ug(c+12|0,a,6,0)}Fa=c+16|0;return J[c+12>>2]}function Zd(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;J[a+64>>2]=b;Cm(a,b);a:{if(!c){Lc(a,b);break a}if(!J[a+288>>2]){b=ng(a);J[a+288>>2]=b;if(!b){break a}}J[e+12>>2]=d;b=dh(a,c,d);ym(J[a+288>>2],b,5)}Fa=e+16|0}function ht(a){var b=0,c=0;a:{while(1){b=J[a+116>>2];if(!K[b+8|0]){c=ab((J[b+56>>2]+K[b+9|0]|0)+8|0);I[a+70>>1]=L[b+24>>1];b=zg(a,c);if(!b){continue}break a}break}I[a+70>>1]=L[b+24>>1]-1;b=0}return b}function Ng(a){var b=0,c=0,d=0;c=L[a+16>>1];b=c&31;d=c&63;if((c&63)>>>0>=32){b=262144>>>b|0}else{b=((1<<b)-1&262144)<<32-b|262148>>>b}a:{if(!(b&1)){break a}ij(a,0);d=L[a+16>>1]&63}return K[d+31120|0]}function lv(a){var b=0,c=0;b=Fa-96|0;Fa=b;c=0;a:{if(!J[a+8>>2]){break a}c=1;if(Ja[J[16625]](J[a+32>>2],b)|0){break a}a=J[a+8>>2];c=J[a+8>>2]!=J[b+88>>2]|J[b+92>>2]!=J[a+12>>2]}a=c;Fa=b+96|0;return a}function kB(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(K[b|0]!=167){break a}a=J[a+24>>2];if(J[a+40>>2]!=J[b+28>>2]|I[b+32>>1]<0){break a}c=J[a+48>>2];d=J[a+52>>2];J[a+48>>2]=gr(b)|c;J[a+52>>2]=Ia|d}return 0}function jk(a,b,c){var d=0;d=Fa-32|0;Fa=d;J[d+16>>2]=0;J[d+20>>2]=0;J[d+8>>2]=0;J[d+12>>2]=0;J[d>>2]=0;J[d+4>>2]=0;J[d+24>>2]=b;J[d+4>>2]=77;Eb(d,a);Fa=d+32|0;a=L[d+20>>1];return((c?a:a&65533)|0)!=0}function hv(a,b,c,d,e,f){var g=0;g=e&131071;a:{while(1){b:{Ew(a,b,c);if((Ia|0)<0){e=-1;break b}e=Ja[J[16646]](a,d,g)|0;if((e|0)>=0){break a}if(J[18304]==27){continue}}break}J[f>>2]=J[18304]}return e}function YA(a,b){var c=0,d=0,e=0,f=0;e=J[a>>2];d=J[e+16>>2];while(1){if((f|0)<J[e+20>>2]){c=J[d+12>>2]+16|0;while(1){c=J[c>>2];if(c){XA(a,J[c+8>>2],b);continue}break}d=d+16|0;f=f+1|0;continue}break}}function Bn(a,b){var c=0;while(1){if(b){c=J[b+40>>2];_a(a,J[b+20>>2]);kb(a,J[b+24>>2]);ac(a,J[b+8>>2]);ne(a,J[b+28>>2]);Hk(a,J[b+32>>2]);yc(a,J[b+16>>2]);Ua(a,J[b+36>>2]);Za(a,b);b=c;continue}break}}function wd(a,b,c,d){var e=0;e=Fa-32|0;Fa=e;if((a|0)>0){I[e+28>>1]=0;J[e+20>>2]=0;J[e+24>>2]=0;J[e+16>>2]=a;J[e+8>>2]=0;J[e+4>>2]=d;J[e+12>>2]=b;Lg(e+8|0,c,d);H[J[e+24>>2]+b|0]=0}Fa=e+32|0;return b}function nJ(a,b,c,d){var e=0,f=0,g=0;e=b>>31;a=a^e;f=a-e|0;g=(b^e)-((a>>>0<e>>>0)+e|0)|0;b=d>>31;a=b^c;b=pJ(f,g,a-b|0,(b^d)-((a>>>0<b>>>0)+b|0)|0)^e;a=b-e|0;Ia=(e^Ia)-((b>>>0<e>>>0)+e|0)|0;return a}function dI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=Fa-16|0;Fa=b;se(8,b+8|0);c=J[b+8>>2];d=J[b+12>>2];if((d|0)<0){d=0-((d&2147483647)+((c|0)!=0)|0)|0;c=0-c|0;J[b+8>>2]=c;J[b+12>>2]=d}Vb(a,c,d);Fa=b+16|0}function Cv(a,b,c){var d=0,e=0;d=4;e=H[a|0];a:{if((e|0)!=(b|0)){if((b|0)==-2){return J[a+16>>2]?6:0}b=0;if((e|0)>=0){break a}d=1}a=J[a+4>>2];if((a&3)==(c|0)){return d|2}b=((a&c)>>>1&1)+d|0}return b}function aB(a,b){var c=0,d=0;c=K[b+7|0];Tm(a,c?c:1);a:{if(!c){wf(a,0,0,J[b>>2],0);break a}d=K[b+6|0];b=0;while(1){if((b|0)==(c|0)){break a}wf(a,b,0,J[(d<<2)+36720>>2],0);d=d+1|0;b=b+1|0;continue}}}function Tq(a,b){var c=0;c=21804;a:{b:{c:{b=L[J[a+4>>2]+(b<<1)>>1];switch(b-65534|0){case 0:break a;case 1:break c;default:break b}}return 15084}c=J[J[J[a+12>>2]+4>>2]+P(b<<16>>16,12)>>2]}return c}function Dd(a,b,c,d){var e=0,f=0;e=Fa-32|0;Fa=e;f=J[18304];J[e+16>>2]=L[((f>>>0<=153?f:0)<<1)+64944>>1]+63024;J[e+12>>2]=c?c:30620;J[e+8>>2]=b;J[e+4>>2]=f;J[e>>2]=d;Ac(a,8835,e);Fa=e+32|0;return a}function nn(a,b){var c=0,d=0;c=Fa-32|0;Fa=c;d=K[a+220|0];J[c+24>>2]=0;J[c+28>>2]=0;J[c+16>>2]=0;J[c+20>>2]=0;J[c+12>>2]=64;J[c+8>>2]=61;J[c+4>>2]=a;H[a+220|0]=3;Eb(c+4|0,b);H[a+220|0]=d;Fa=c+32|0}function St(a,b,c){var d=0,e=0;e=Fa-16|0;Fa=e;while(1){d=a;a=J[d+12>>2];a:{if(a){St(a,b,e+12|0);J[J[e+12>>2]+8>>2]=d;break a}J[b>>2]=d}b=d+8|0;a=J[d+8>>2];if(a){continue}break}J[c>>2]=d;Fa=e+16|0}function Sl(a){var b=0,c=0,d=0;while(1){if((c|0)<J[a+260>>2]){d=J[a+264>>2]+P(c,24)|0;b=d+12|0;while(1){b=J[b>>2];if(b){Oa(J[b+8>>2]);continue}break}_l(d+4|0);c=c+1|0;continue}break}J[a+272>>2]=0}function Uu(a,b,c,d,e){var f=0,g=0;f=Fa-32|0;Fa=f;g=c;c=J[b+4>>2];Tu(J[a>>2],J[b+24>>2],g,c,f);b=Mu(a,f,24,d,e);if(!b){b=J[a+20>>2];d=d+24|0;e=d>>>0<24?e+1|0:e;b=Mu(a,c,b,d,e)}Fa=f+32|0;return b}function Ec(a,b,c){var d=0;b=Xc(b);a:{if(!K[a+23|0]|!b|K[b|0]==176){break a}if(!Om(b)){break a}J[c>>2]=0;return Nm(a,b,-1)}d=b;b=vb(a);d=Ge(a,d,b);if((b|0)!=(d|0)){mb(a,b);b=0}J[c>>2]=b;return d}function Du(a,b){if(!b){if(!K[a+43|0]){return 0}H[a+43|0]=0;if(!Ih(a,I[a+40>>1]+3|0)){return!K[a+43|0]}H[a+43|0]=1;return 0}if((b|0)>0){Gg(a,I[a+40>>1]+3|0);H[a+43|0]=1;return 1}return!K[a+43|0]}function Xw(a,b,c,d){var e=0,f=0;a:{while(1){f=J[a>>2];if((f|0)!=5){e=Xw(J[a+12>>2],b,c,d);if(e|(f|0)==2){break a}a=J[a+16>>2];continue}break}e=Ja[c|0](a,J[b>>2],d)|0;J[b>>2]=J[b>>2]+1}return e}function Qt(a){var b=0,c=0;b=L[a+24>>1];a:{if(b){c=b-1|0;b=J[a+16>>2];break a}b=Ib(J[a+4>>2],1016,0);if(!b){return 0}J[b>>2]=J[a>>2];J[a>>2]=b;c=62;b=b+8|0}I[a+24>>1]=c;J[a+16>>2]=b+16;return b}function QA(a){var b=0;a:{if(K[J[a>>2]+87|0]){b=73192}else{b=(J[a+104>>2]+P(J[a+108>>2],20)|0)-20|0}if(K[b|0]!=80){break a}b=J[a+108>>2];if((b|0)<=0){break a}I[(J[a+104>>2]+P(b,20)|0)-18>>1]=1}}function Um(a,b){var c=0,d=0;a:{if(!a){break a}while(1){if(J[a>>2]<=(d|0)){break a}c=J[((d<<4)+a|0)+8>>2];b:{if(!c){break b}c=J[c+24>>2];if((c|0)<=J[b>>2]){break b}J[b>>2]=c}d=d+1|0;continue}}}function qe(a,b,c){var d=0,e=0;a:{if(K[a+220|0]==3){break a}d=ib(J[a>>2],16,0);if(!d){break a}J[d>>2]=b;e=J[c+4>>2];J[d+4>>2]=J[c>>2];J[d+8>>2]=e;J[d+12>>2]=J[a+280>>2];J[a+280>>2]=d}return b}function cv(a){a=a|0;var b=0,c=0,d=0;a=J[a+4>>2];b=J[a+448>>2];if(!b){return 0}c=J[a+456>>2];if((c|0)>=0){d=Ja[b|0](J[a+452>>2],c)|0;if(d){b=J[a+456>>2]+1|0}else{b=-1}J[a+456>>2]=b}return d|0}function ay(a,b,c){var d=0;d=J[a+28>>2];if(M[a+24>>2]<b>>>0&(d|0)<=(c|0)|(c|0)>(d|0)){c=c<<1|b>>>31;b=b<<1;J[a+24>>2]=b;J[a+28>>2]=c;b=Bc(J[a+16>>2],b,c);if(!b){return 7}J[a+16>>2]=b}return 0}function Cp(a){var b=0;b=J[a+8>>2];if(b){Ja[J[J[J[a>>2]+12>>2]+16>>2]](b)|0;J[a+8>>2]=0}Oa(J[a+4>>2]);J[a+12>>2]=0;J[a+16>>2]=0;J[a+4>>2]=0;J[a+20>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0;J[a+32>>2]=0}function Sf(a){var b=0,c=0;c=L[a+10>>1];if(c&512){b=J[a>>2];while(1){a=b;b=a+1|0;if(K[a|0]){continue}break}if(c&4){while(1){b=K[a+1|0];a=a+1|0;if(b){continue}break}}a=a+1|0}else{a=0}return a}function mo(a){var b=0,c=0;I[a+50>>1]=0;H[a+1|0]=K[a+1|0]&249;b=H[a+68|0];I[a+70>>1]=L[((b<<1)+a|0)+70>>1];b=b-1|0;H[a+68|0]=b;c=J[a+116>>2];J[a+116>>2]=J[((b<<24>>24<<2)+a|0)+120>>2];Lf(c)}function eE(a){a=a|0;var b=0,c=0,d=0,e=0;b=wb(a,0);a:{if(!b){break a}c=J[b+16>>2];d=J[b+20>>2];if(c>>>0<2&(d|0)<=0|(d|0)<0){break a}e=Y(O[b+8>>3]/(+(c-1>>>0)+ +(d-!c|0)*4294967296))}Nb(a,e)}function Xa(a,b){var c=0,d=0;while(1){a:{d=K[b|0];c=K[a|0];b:{if((d|0)==(c|0)){if(c){break b}c=0;break a}c=K[c+30832|0]-K[d+30832|0]|0;if(c){break a}}b=b+1|0;a=a+1|0;continue}break}return c}function Ks(a,b,c){var d=0,e=0,f=0;d=Fa-16|0;Fa=d;e=K[b+43|0];e=(e|0)==1?14200:(e|0)==2?1851:0;if(e){J[d+8>>2]=J[b>>2];J[d+4>>2]=e;J[d>>2]=c?11424:12621;Ra(a,29358,d);f=1}Fa=d+16|0;return f}function Bi(a,b,c,d,e,f){var g=0;g=ib(a,48,0);if(!g){kb(a,b);_a(a,c);kb(a,d);_a(a,e);Hk(a,f);return g}J[g+12>>2]=e;J[g+8>>2]=d;J[g+4>>2]=c;J[g>>2]=b;J[g+16>>2]=f;H[g+20|0]=(d|0)!=0;return g}function cw(a,b,c){var d=0,e=0,f=0,g=0;if(a){g=J[a+4>>2];d=2;while(1){e=(d<<2)+a|0;f=e+8|0;if(!(bg(f,b,c)|K[c+f|0])){return J[e>>2]}d=J[e+4>>2]+d|0;if((g|0)>(d|0)){continue}break}}return 0}function au(a){var b=0,c=0;b=Fa-16|0;Fa=b;c=qh(J[a+36>>2],J[a+56>>2],J[a+60>>2],0,b+12|0);a:{if(c){break a}if(J[b+12>>2]){c=Ta(88074);break a}c=0;J[a+24>>2]=0;H[a+3|0]=0}Fa=b+16|0;return c}function ur(a){var b=0,c=0,d=0;a:{if(!K[a+85|0]){break a}c=J[a+20>>2];b=J[a+16>>2];while(1){if((c|0)<=0){break a}d=J[b+4>>2];if(d){$n(d,K[b+8|0]|J[a+32>>2]&56)}c=c-1|0;b=b+16|0;continue}}}function JI(a,b){a=a|0;b=b|0;var c=0;a:{if(K[b|0]!=167){break a}c=I[b+32>>1];b:{if((c|0)<0){b=2;break b}b=1;if(J[J[a+24>>2]+((c&65535)<<2)>>2]<0){break a}}I[a+20>>1]=L[a+20>>1]|b}return 0}function dE(a){a=a|0;var b=0,c=0,d=0,e=0;b=wb(a,0);a:{if(!b){break a}c=J[b+16>>2];d=J[b+20>>2];if(c>>>0<2&(d|0)<=0|(d|0)<0){break a}e=O[b+8>>3]/(+(c-1>>>0)+ +(d-!c|0)*4294967296)}Nb(a,e)}function Xu(a,b,c,d,e){c=Sa(c,0,64);if(!e){return Ja[J[a+24>>2]](a,b,c,d&17334143,0)|0}J[c+56>>2]=b;J[c+48>>2]=d;J[c+8>>2]=e;J[c>>2]=33112;J[c+52>>2]=a;J[c+4>>2]=(e|0)<=0?1020:e;return 0}function Ov(a){var b=0,c=0,d=0;while(1){c=K[a|0];if(!(!c|(a|0)==-1)){b=a+1|0;a=b;if(c>>>0>=192){while(1){a=b;b=a+1|0;if((K[a|0]&192)==128){continue}break}}d=d+1|0;continue}break}return d}function Od(a,b,c){var d=0;if(b){if(!c){return b}if(!(((J[c+4>>2]|J[b+4>>2])&536870915)!=536870912|K[a+220|0]>1)){d=J[a>>2];fk(a,b);fk(a,c);return jc(d,155,24878)}c=db(a,44,b,c)}return c}function CA(a,b,c){var d=0;Na(a,71,0,c);d=Va(a,36,b);Pa(a,94,b,0,c);b=J[a+108>>2];if((b|0)>0){I[(J[a+104>>2]+P(b,20)|0)-18>>1]=128}J[(K[J[a>>2]+87|0]?73192:J[a+104>>2]+P(d,20)|0)+8>>2]=b}function zs(a,b,c,d,e){var f=0;f=Fa-16|0;Fa=f;b=Kb(a,b,0);if(!(K[J[a>>2]+177|0]|!d&(e|0)==-1)){J[f>>2]=sJ(J[c>>2],J[c+4>>2],32);J[f+4>>2]=Ia;Ra(a,29307,f)}vg(a,b,c,1);Fa=f+16|0;return b}function ve(a){var b=0,c=0;b=J[a>>2];a:{if(K[b+177|0]){break a}c=Wo(b,a+4|0);if(c){J[a+12>>2]=c;J[a+36>>2]=J[a+36>>2]+1;return c}if(!K[b+95|0]){break a}J[b+24>>2]=J[b+24>>2]|16}return 0}function qw(a){if(ih(a,J[a+12>>2]+3|0,1)){a=7}else{H[J[a+8>>2]+J[a+12>>2]|0]=0;H[(J[a+8>>2]+J[a+12>>2]|0)+1|0]=0;H[(J[a+8>>2]+J[a+12>>2]|0)+2|0]=0;I[a+16>>1]=L[a+16>>1]|512;a=0}return a}function Kc(a,b){var c=0,d=0;c=K[a|0];d=K[b|0];a:{if(!c|(d|0)!=(c|0)){break a}while(1){d=K[b+1|0];c=K[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function Ei(a,b){var c=0,d=0,e=0;d=J[a>>2];while(1){if((c|0)<J[d+20>>2]){e=J[d+16>>2]+(c<<4)|0;a:{if(!J[e+4>>2]){break a}if(b){if(Xa(b,J[e>>2])){break a}}gd(a,c)}c=c+1|0;continue}break}}function st(a){var b=0,c=0;Eg(a);c=J[a+116>>2];b=J[c+4>>2];b=lJ(J[J[a+20>>2]+36>>2],0,b-1|0,0-!b|0);a=J[a+40>>2]-J[c+56>>2]|0;c=a;b=b+a|0;a=Ia+(a>>31)|0;Ia=b>>>0<c>>>0?a+1|0:a;return b}function sH(a,b,c){a=a|0;b=b|0;c=c|0;a:{a=wb(a,24);if(!a){break a}b=J[a+12>>2];c=J[a+8>>2]+1|0;b=c?b:b+1|0;J[a+8>>2]=c;J[a+12>>2]=b;if(J[a>>2]|J[a+4>>2]){break a}J[a>>2]=c;J[a+4>>2]=b}}function LI(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(K[b|0]!=167){break a}c=J[a+24>>2];if(J[b+28>>2]!=J[c+4>>2]){break a}if((Le(J[c>>2],I[b+32>>1])|0)>=0){break a}I[a+20>>1]=1;d=2}return d|0}function al(a,b){var c=0,d=0;c=Fa-112|0;Fa=c;if(!ke()){I[c+28>>1]=0;J[c+24>>2]=0;J[c+16>>2]=70;J[c+20>>2]=1e9;J[c+8>>2]=0;J[c+12>>2]=c+32;d=c+8|0;Lg(d,a,b);d=Ed(d)}Fa=c+112|0;return d}function Tm(a,b){var c=0,d=0;d=J[a>>2];c=L[a+146>>1];if(c){fi(J[a+116>>2],c<<1);Ua(d,J[a+116>>2])}I[a+144>>1]=b;I[a+146>>1]=b;c=a;a=Ib(d,P(b,80),0);J[c+116>>2]=a;if(a){fp(a,b<<1,d,1)}}function Mt(a,b){var c=0,d=0;a:{if(!a|!b){break a}a=uv(a);a=Ya(a)+a|0;while(1){a=a+1|0;if(!a|!K[a|0]){break a}c=Kc(a,b);a=(Ya(a)+a|0)+1|0;if(c){a=Ya(a)+a|0;continue}break}d=a}return d}function Yh(a,b){var c=0,d=0,e=0;c=Fa-16|0;Fa=c;J[a>>2]=uc(J[a>>2],c+8|0)+J[a>>2];a=J[b+4>>2]+J[c+12>>2]|0;d=J[c+8>>2];e=d+J[b>>2]|0;J[b>>2]=e;J[b+4>>2]=d>>>0>e>>>0?a+1|0:a;Fa=c+16|0}function Xb(a,b,c){var d=0,e=0;a:{if(!J[a+8>>2]){break a}e=Ge(a,b,c);if((e|0)==(c|0)){break a}b=Xc(b);b:{if(b){d=80;if(K[b+6|0]&64|K[b|0]==176){break b}}d=81}b=d;Na(J[a+8>>2],b,e,c)}}function jy(a,b){var c=0,d=0;c=J[a>>2];a:{d=J[a+4>>2];if(!(d&15)){c=Bc(c,(d<<2)- -64|0,0);if(!c){break a}J[a>>2]=c;d=J[a+4>>2]}J[a+4>>2]=d+1;J[(d<<2)+c>>2]=b;return 0}oy(b);return 7}function ic(a,b){var c=0;if((b|0)==1){return vb(a)}c=J[a+28>>2];if((c|0)>=(b|0)){J[a+28>>2]=c-b;c=a;a=J[a+32>>2];J[c+32>>2]=a+b;return a}c=a;a=J[a+44>>2];J[c+44>>2]=a+b;return a+1|0}function Xz(a,b,c){var d=0,e=0,f=0;f=(b|0)>0?b:0;while(1){if((d|0)!=(f|0)){e=pg(a,d);b=c+d|0;a:{if((qg(e,H[b|0])|0)!=65){if(!vz(e,H[b|0])){break a}}H[b|0]=65}d=d+1|0;continue}break}}function Lq(a,b){var c=0,d=0,e=0;if(!(!a|!b)){c=J[b>>2];d=(c|0)>0?c:0;c=0;while(1){if((c|0)==(d|0)){return 0}e=c<<4;c=c+1|0;if((og(a,J[(b+e|0)+12>>2])|0)<0){continue}break}}return 1}function CD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Fa-16|0;Fa=d;e=a;a=b;b=d+15|0;a=c?a:b;c=ta(-100,e|0,a|0,(c>>>0<=1?1:c)|0)|0;a=qc((a|0)==(b|0)?(c|0)<=0?c:0:c);Fa=d+16|0;return a|0}function Eg(a){var b=0,c=0;if(!L[a+50>>1]){H[a+1|0]=K[a+1|0]|2;b=J[a+116>>2];c=J[b+64>>2]+(L[a+70>>1]<<1)|0;Ja[J[b+80>>2]](b,J[b+56>>2]+(L[b+26>>1]&(K[c+1|0]|K[c|0]<<8))|0,a+32|0)}}function sq(a,b){var c=0,d=0;c=Fa-16|0;Fa=c;J[c+12>>2]=0;d=J[a+4>>2];J[a+4>>2]=J[a+8>>2];Wb(a,b,c+12|0);J[a+4>>2]=d;J[a+40>>2]=oq(a,b,J[c+12>>2]+J[a+40>>2]|0)+J[a+40>>2];Fa=c+16|0}function qn(a,b,c){var d=0;while(1){d=b;b=d+1|0;if(H[K[d|0]+31216|0]&1){continue}break}b=c-d|0;while(1){c=b;b=c-1|0;if(H[K[d+b|0]+31216|0]&1){continue}break}return yd(a,d,c,c>>31)}function fx(a){var b=0,c=0;a:{if(!a){break a}a=J[a+8>>2];fx(J[a>>2]);while(1){if(!a){break a}c=J[a+4>>2];b=J[a+36>>2];if((b|0)!=(a+40|0)){Oa(b)}Oa(J[a+28>>2]);Oa(a);a=c;continue}}}function ff(a,b){var c=0;a:{b:{if(!a|M[a+360>>2]<=b>>>0){break b}c=128;if(M[a+348>>2]<=b>>>0){break a}if(M[a+352>>2]>b>>>0){break b}return L[a+310>>1]}c=Ja[J[16455]](b)|0}return c}function Uw(a){a=a|0;var b=0;J[a+12>>2]=J[a+12>>2]+1;b=Ja[J[J[J[a>>2]+12>>2]+20>>2]](J[a+8>>2],a+16|0,a+20|0,a+24|0,a+28|0,a+32|0)|0;if(!b){return 0}Cp(a);return((b|0)!=101?b:0)|0}function vg(a,b,c,d){var e=0;a:{if(!b){break a}b=((J[b>>2]<<4)+b|0)-4|0;e=yd(J[a>>2],J[c>>2],J[c+4>>2],0);J[b>>2]=e;if(!d){break a}jf(e);if(K[a+220|0]<2){break a}qe(a,J[b>>2],c)}}function tH(a){a=a|0;var b=0,c=0,d=0;b=wb(a,24);if(b){c=J[b>>2];d=J[b+4>>2];if(J[b+8>>2]|J[b+12>>2]){J[b+8>>2]=0;J[b+12>>2]=0;c=c+1|0;d=c?d:d+1|0;J[b>>2]=c;J[b+4>>2]=d}Vb(a,c,d)}}function Le(a,b){var c=0,d=0;d=L[a+52>>1];b=b&65535;while(1){a:{if((c|0)==(d|0)){c=65535;break a}if((b|0)==L[J[a+4>>2]+(c<<1)>>1]){break a}c=c+1|0;continue}break}return c<<16>>16}function Fg(a,b){var c=0,d=0,e=0;c=J[a+64>>2];d=J[c>>2];a:{if(!d){break a}if(!K[a+13|0]){e=Ja[J[d+32>>2]](c,b)|0}if(K[a+18|0]==5){break a}H[a+18|0]=b}H[a+19|0]=K[a+12|0];return e}function me(a,b){var c=0,d=0,e=0,f=0;d=J[b>>2];c=d;while(1){e=c+1|0;c=H[c|0];if(c|f<<24>>24){f=c&128;c=e;continue}break}if(a){c=a;f=J[a>>2];a=e-d|0;J[c>>2]=Qa(f,d,a)+a}J[b>>2]=e}function hc(a,b,c){var d=0,e=0,f=0,g=0;d=a;while(1){e=d;f=b;H[d|0]=b|128;d=d+1|0;g=!c&b>>>0>127|(c|0)!=0;b=(c&127)<<25|b>>>7;c=c>>>7|0;if(g){continue}break}H[e|0]=f;return d-a|0}function Xh(a){var b=0,c=0;b=J[18170];c=a+7&-8;a=b+c|0;a:{if(!(a>>>0<=b>>>0?c:0)){if(a>>>0<=Ka()<<16>>>0){break a}if(la(a|0)|0){break a}}J[18304]=48;return-1}J[18170]=a;return b}function Nu(a,b,c){var d=0;while(1){d=J[a+28>>2];a:{if(d>>>0>6|!(1<<d&97)|M[a+16>>2]<=b>>>0){break a}d=xz(a,b,c,1);if(!d){break a}J[a+28>>2]=d}a=J[a+44>>2];if(a){continue}break}}function xx(a,b,c){var d=0;a:{b:{while(1){d=b;b=J[b+8>>2];if(!b){break b}if(J[b>>2]<=J[c>>2]){continue}break}J[b+16>>2]=c;J[c+8>>2]=b;break a}J[a>>2]=c}J[c+12>>2]=d;J[d+8>>2]=c}function em(a,b){var c=0,d=0;c=0;a:{if(K[a+35|0]){break a}c=1;if(J[a+8>>2]){break a}d=J[a>>2];J[a>>2]=0;c=0;if(Oj(a,J[a+4>>2]+b|0)){break a}Qa(J[a>>2],d,J[a+4>>2]);c=1}return c}function $c(a){a=a|0;var b=0;b=L[a+16>>1];a:{if(b&18){if(b&1024){b=0;if(ie(a)){break a}b=L[a+16>>1]}I[a+16>>1]=b|16;if(!J[a+12>>2]){return 0}return J[a+8>>2]}b=Wa(a)}return b|0}function _g(a,b,c){var d=0,e=0;d=J[J[J[a>>2]+20>>2]+120>>2];e=b>>>0>d>>>0;d=d>>31;a:{b:{if(e&(d|0)<=(c|0)|(c|0)>(d|0)){Rg(a);break b}b=Yb(b,c);if(b){break a}Qb(a)}b=0}return b}function hr(a,b,c,d){var e=0,f=0;e=nc(J[a>>2],167,0,0);if(e){f=J[c+40>>2];I[e+32>>1]=d;J[e+28>>2]=f;J[e+44>>2]=J[c+16>>2];J[e+4>>2]=J[e+4>>2]|2097152;J[b>>2]=Kb(a,J[b>>2],e)}}function Us(a){a=a|0;var b=0,c=0,d=0;b=J[a+12>>2];c=J[a+8>>2]+1|0;b=c?b:b+1|0;J[a+8>>2]=c;J[a+12>>2]=b;if((qb(J[a+4>>2])|0)!=100){d=Rc(J[a+4>>2]);J[a+4>>2]=0;Jn(a)}return d|0}function Qk(a){var b=0,c=0,d=0;d=J[a+12>>2];c=lJ(L[a+6>>1],0,40,0);b=Ia;c=c+72|0;b=c>>>0<72?b+1|0:b;b=id(d,c,b);if(b){J[b>>2]=a;J[b+4>>2]=b+32;I[b+20>>1]=L[a+6>>1]+1}return b}function sr(a,b,c,d,e){var f=0;f=I[J[b+4>>2]+(d<<1)>>1];if((f|0)==-2){J[a+52>>2]=c+1;bk(a,J[(J[b+40>>2]+(d<<4)|0)+8>>2],e);J[a+52>>2]=0;return}td(J[a+8>>2],J[b+12>>2],c,f,e)}function nf(a,b){var c=0,d=0,e=0,f=0;e=J[b>>2];d=e;while(1){f=c;c=K[d|0];if(f|c&254){c=c&128;d=d+1|0;continue}break}if(a){c=a;f=J[a>>2];a=d-e|0;J[c>>2]=Qa(f,e,a)+a}J[b>>2]=d}function db(a,b,c,d){var e=0;e=Ib(J[a>>2],52,0);if(e){e=Sa(e,0,52);I[e+34>>1]=65535;H[e|0]=b;vs(J[a>>2],e,c,d);sk(a,J[e+24>>2]);return e}_a(J[a>>2],c);_a(J[a>>2],d);return e}function cm(a,b){var c=0;c=J[a+4>>2];if(c>>>0>=M[a+8>>2]){Oj(a,J[a+4>>2]+1|0);if(!K[a+35|0]){c=J[a+4>>2];J[a+4>>2]=c+1;H[c+J[a>>2]|0]=b}return}J[a+4>>2]=c+1;H[c+J[a>>2]|0]=b}function Yn(a,b){var c=0;c=J[a+4>>2];J[c+4>>2]=J[a>>2];a=b&255;a:{if(K[c+24|0]&2){b=8;if(K[c+17|0]!=((a|0)!=0|0)){break a}}H[c+18|0]=(a|0)==2;H[c+17|0]=(a|0)!=0;b=0}return b}function Ml(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+8>>2]=0;J[d+12>>2]=0;J[d+4>>2]=a;a=dg(J[a+16>>2],122,d+4|0);if(b){J[b>>2]=J[d+8>>2]}if(c){J[c>>2]=J[d+12>>2]}Fa=d+16|0;return a}function Eh(a){var b=0,c=0;b=H[a+68|0];if((b|0)>=0){while(1){if((c|0)<b<<24>>24){Lf(J[((c<<2)+a|0)+120>>2]);c=c+1|0;b=K[a+68|0];continue}break}Lf(J[a+116>>2]);H[a+68|0]=255}}function Bj(a){var b=0,c=0;b=Fa-16|0;Fa=b;a:{if(K[a+20|0]==12){J[b+12>>2]=0;c=a+168|0;a=J[a+8>>2];a=(Wb(c,a,b+12|0)+a|0)+J[b+12>>2]|0;break a}a=J[a+8>>2]}Fa=b+16|0;return a}function yu(a,b,c){var d=0,e=0;d=L[a+16>>1];e=((J[c+12>>2]-d>>>0)%(J[J[a+52>>2]+40>>2]-4>>>0)|0)+d|0;a=(e|0)>L[a+14>>1]?d:e;I[c+16>>1]=a;I[c+18>>1]=((a+J[c+8>>2]|0)-b|0)+4}function ue(a){var b=0,c=0,d=0;b=J[a+20>>2];d=(b|0)>0?b:0;while(1){if((c|0)!=(d|0)){b=J[(J[a+16>>2]+(c<<4)|0)+4>>2];if(b){J[J[b+4>>2]+4>>2]=J[b>>2]}c=c+1|0;continue}break}}function rs(a,b,c){var d=0;if(c){d=$m(a,b,J[c>>2],1);if(!d){yc(J[a>>2],c);return b}Qa(d+72|0,c+8|0,J[c>>2]<<6);Za(J[a>>2],c);H[d+44|0]=K[d+44|0]|K[d+108|0]&64;b=d}return b}function jb(a){a=a|0;var b=0,c=0,d=0;if(!a){return 0}c=J[a>>2];b=J[a+136>>2];d=J[a+140>>2];if((d|0)>0){b=1}else{b=!!b&(d|0)>=0}if(b){Ar(c,a)}b=lr(a);Ow(a);return bd(c,b)|0}function jh(a,b,c,d,e,f){var g=0,h=0;g=rb(a);if((c|0)==2){h=J[a+128>>2];H[(h?h:a)+21|0]=1}$a(g,70,b,c,0,d,e);a=J[g+108>>2];if((a|0)>0){I[(J[g+104>>2]+P(a,20)|0)-18>>1]=f}}function el(a,b,c){var d=0;a=cl(a,b,c+4|0);d=J[c+4>>2];if(d){J[c>>2]=d+16384;if(!b){J[c+8>>2]=0;J[c+4>>2]=d+136;return a}J[c+8>>2]=(b<<12)-34;return a}return a>>>0<=1?1:a}function Yg(a){var b=0,c=0;if(a){while(1){c=J[a>>2];if((b|0)<J[a+4>>2]){oy(J[(b<<2)+c>>2]);b=b+1|0;continue}break}Oa(c);Oa(J[a+16>>2]);J[a+16>>2]=0;J[a>>2]=0;J[a+4>>2]=0}}function Mr(a,b,c,d,e){var f=0,g=0;f=rb(a);if(b){g=J[b>>2];a=Ie(a,b,0,0);Pa(f,90,d,c,g);sc(f,a,-8);a=J[f+108>>2]+1|0;Pa(f,14,a,e,a);Pa(f,80,c,d,g-1|0);return}Na(f,9,0,e)}
function xt(a,b){var c=0;a:{if(K[a+64|0]){a=J[a+20>>2];c=J[a+12>>2]+P(J[J[a+8>>2]+4>>2],56)|0;a=c+20|0;c=J[c+32>>2];break a}a=J[a+40>>2];c=a+8|0}J[b>>2]=J[a>>2];return c}function Mc(a){var b=0,c=0;b=K[a|0];if((b|0)==176){b=K[a+2|0]}a:{b:{if((b|0)!=138){c=1;if((b|0)!=177){break a}a=a+20|0;break b}a=J[a+20>>2]+28|0}c=J[J[a>>2]>>2]}return c}function ju(a,b,c,d,e){var f=0;f=J[a+4>>2];f=od(f,f>>31);a:{b:{if(!f){a=7;break b}a=Ja[J[a+24>>2]](a,b,f,d&17334143,e)|0;if(!a){a=0;break a}Oa(f)}f=0}J[c>>2]=f;return a}function Ph(a,b,c){var d=0,e=0,f=0;e=Fa-16|0;Fa=e;d=0;a:{if(Ne(a,b,c,1,0)){break a}J[e>>2]=b;f=ub(8863,e);d=7;if(!f){break a}d=Dv(a,b,c,1,f,14,0,0,1)}Fa=e+16|0;return d}function EE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,1/xw(d));return}Z(23800,17942,422,17601);D()}function AE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,1/vw(d));return}Z(23800,17942,456,17744);D()}function $t(a){var b=0,c=0,d=0;b=J[a+36>>2];c=K[b|0];a:{b:{if(c>>>0>=3){d=hj(b);if(d){J[a+24>>2]=0;break b}c=K[b|0]}d=0;J[a+24>>2]=0;if(!c){break a}}H[a+2|0]=1}return d}function $A(a){var b=0,c=0;b=J[a>>2];c=J[J[b+16>>2]+20>>2];if(!c){return 0}if(!(K[c+8|0]?0:K[b+85|0])){Ra(a,10561,0);return 1}mf(c);J[J[b+16>>2]+20>>2]=0;sf(b);return 0}function bl(a){var b=0,c=0,d=0;if(K[a+28|0]&2){Yi(a,1)}b=J[a+12>>2];c=J[b+16>>2];d=J[b+20>>2]-!c|0;c=c-1|0;J[b+16>>2]=c;J[b+20>>2]=d;Ja[J[16477]](J[b+52>>2],J[a>>2],1)}function Hk(a,b){var c=0;if(b){while(1){c=J[b+16>>2];kb(a,J[b>>2]);_a(a,J[b+4>>2]);kb(a,J[b+8>>2]);_a(a,J[b+12>>2]);Ua(a,J[b+24>>2]);Za(a,b);b=c;if(b){continue}break}}}function zE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,wp(d));return}Z(23800,17942,474,17691);D()}function yE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,zj(d));return}Z(23800,17942,472,17783);D()}function py(a,b){var c=0,d=0;if(J[a+116>>2]<(b|0)){c=Bc(J[a+120>>2],b<<4,0);if(!c){return 7}d=J[a+116>>2];Sa((d<<4)+c|0,0,b-d<<4);J[a+116>>2]=b;J[a+120>>2]=c}return 0}function og(a,b){var c=0,d=0;d=J[a>>2];d=(d|0)>0?d:0;while(1){a:{if((c|0)==(d|0)){c=-1;break a}if(!Xa(J[((c<<3)+a|0)+8>>2],b)){break a}c=c+1|0;continue}break}return c}function PE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,tp(d));return}Z(23800,17942,380,17717);D()}function FE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,xw(d));return}Z(23800,17942,421,17718);D()}function Cb(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){d=K[a|0];e=K[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}f=d-e|0}return f}function BE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,vw(d));return}Z(23800,17942,454,17774);D()}function uE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}d=yb(J[c>>2]);J[18304]=0;Nb(a,Y(d));return}Z(23800,17942,375,17592);D()}function ew(a,b){var c=0,d=0,e=0;if(a){e=J[a+4>>2];c=2;while(1){d=(c<<2)+a|0;if(J[d>>2]==(b|0)){return d+8|0}c=J[d+4>>2]+c|0;if((e|0)>(c|0)){continue}break}}return 0}function II(a,b){a=a|0;b=b|0;a:{if(K[b|0]!=167){break a}b=I[b+32>>1];if((b|0)<0){break a}I[a+20>>1]=L[a+20>>1]|L[(J[J[a+24>>2]+4>>2]+P(b&65535,12)|0)+10>>1]}return 0}function bE(a,b){a=a|0;b=b|0;var c=0,d=0;c=J[a>>2];d=J[b>>2];a=J[a+4>>2];b=J[b+4>>2];return((c|0)!=(d|0)|(a|0)!=(b|0)?c>>>0<d>>>0&(a|0)<=(b|0)|(a|0)<(b|0)?-1:1:0)|0}function Tt(a,b,c,d){var e=0,f=0;e=Fa-96|0;Fa=e;f=1802;if(!(Ja[J[16625]](a,e)|0)){J[b>>2]=J[e+4>>2]&511;J[c>>2]=J[e+12>>2];J[d>>2]=J[e+16>>2];f=0}Fa=e+96|0;return f}function xn(a,b,c){var d=0;a:{if(b){J[b+44>>2]=c;d=J[b+4>>2];J[b+4>>2]=d|16908288;J[c+72>>2]=b;if(!(d&4)|K[c+16|0]==166){break a}Ra(a,4883,0);return}Mk(J[a>>2],c)}}function Xq(a,b){var c=0,d=0;c=b+16|0;d=c>>>0<16;c=Ib(J[J[a>>2]>>2],c,d);if(!c){return 0}d=J[a+64>>2];J[c+8>>2]=b;J[c+12>>2]=0;J[c>>2]=d;J[a+64>>2]=c;return c+16|0}function Xc(a){var b=0;while(1){a:{if(!a){break a}b=J[a+4>>2];if(!(b&532480)){break a}if(b&524288){a=J[a+20>>2]+8|0}else{a=a+12|0}a=J[a>>2];continue}break}return a}function JB(a,b){a=a|0;b=b|0;var c=0;c=gc(24);if(!c){return 7}J[c>>2]=0;J[c+4>>2]=0;J[c+16>>2]=0;J[c+20>>2]=0;J[c+8>>2]=0;J[c+12>>2]=0;J[c>>2]=a;J[b>>2]=c;return 0}function am(a){var b=0,c=0;b=J[a+80>>2];c=J[a+84>>2];if(!(b|c)){Ia=0;return 0}a=J[a+156>>2];c=mJ(b-1|0,c-!b|0,a,0);b=Ia;c=c+1|0;b=c?b:b+1|0;a=lJ(c,b,a,0);return a}function Sp(a){var b=0,c=0,d=0;b=J[a>>2];while(1){c=H[b|0];if(!((c|0)<48|c>>>0>57|(d|0)>214748362)){b=b+1|0;d=(P(d,10)+c|0)-48|0;continue}break}J[a>>2]=b;return d}function Qo(a,b){var c=0,d=0,e=0;while(1){if((c|0)<J[a+104>>2]){d=J[a+100>>2]+P(c,48)|0;if(M[d+20>>2]>=b>>>0){e=Kg(J[d+16>>2],b)|e}c=c+1|0;continue}break}return e}function AB(a,b){a=a|0;b=b|0;var c=0;a=0;while(1){a:{if((a|0)!=29){c=P(a,12);if(Kc(b,J[c+66448>>2])){break a}a=J[c+66452>>2]}else{a=0}return a|0}a=a+1|0;continue}}function kF(a,b,c){a=a|0;b=b|0;c=c|0;a:{b=J[a+40>>2];if(b){break a}b=pb(P(J[c+24>>2],12),0);J[a+40>>2]=b;if(b){break a}return 7}Sa(b,0,P(J[c+24>>2],12));return 0}function Sv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!K[a|0]){return tl(a,b,c,d)|0}e=4;a:{if(K[a|0]==1){break a}e=hj(a);if(e){break a}e=tl(a,b,c,d)}return e|0}function Ot(a){var b=0,c=0;b=J[a>>2];while(1){if(b){c=J[b>>2];Za(J[a+4>>2],b);b=c;continue}break}J[a>>2]=0;J[a+20>>2]=0;J[a+24>>2]=65536;J[a+8>>2]=0;J[a+12>>2]=0}function Oj(a,b){var c=0;c=J[a+8>>2];c=c?c<<1:100;b=b>>>0>c>>>0?b+100|0:c;c=_c(J[a+16>>2],J[a>>2],b,0);if(!c){H[a+35|0]=1;return 1}J[a+8>>2]=b;J[a>>2]=c;return 0}function Kf(a){var b=0,c=0;b=J[a+12>>2]-1|0;J[a+12>>2]=b;if(!b){c=J[a>>2];b=J[a+8>>2];if(b){Ja[J[J[b>>2]+16>>2]](b)|0;b=J[a>>2]}else{b=c}Ap(b,J[a+4>>2]);Za(c,a)}}function xh(a,b,c){var d=0;d=J[a+4>>2];J[d+4>>2]=J[a>>2];if((b|0)==15){a=J[a+20>>2]+J[J[d>>2]+108>>2]|0}else{a=ab((J[J[d+12>>2]+56>>2]+(b<<2)|0)+36|0)}J[c>>2]=a}function So(a){var b=0,c=0,d=0;c=512;a:{if(K[a+12|0]){break a}b=J[a+64>>2];d=J[b>>2];if(d){if(Ja[J[d+48>>2]](b)&4096){break a}b=J[a+64>>2]}c=Yu(b)}J[a+156>>2]=c}function SF(a){a=a|0;var b=0;while(1){b=a;a=a+1|0;if(Wg(b)){continue}break}if(!K[b|0]){return 0}while(1){a=b;b=a+1|0;if(Re(a)){continue}break}return K[a|0]!=0|0}function Bu(a,b){var c=0;b=Hh(a,b);a:{if(!b){break a}if(!J[b+36>>2]&J[b+32>>2]==1){bl(b);break a}c=Iu(b);if(!c){Ja[J[a+216>>2]](b)}vf(b)}vq(J[a+96>>2]);return c}function yo(a,b,c){var d=0,e=0;d=J[a+8>>2];if(J[d+4>>2]!=(b|0)){e=J[a+4>>2];J[d+72>>2]=a;J[d+56>>2]=e;J[d+52>>2]=c;J[d+4>>2]=b;H[d+9|0]=(b|0)==1?100:0}return d}function Gi(a,b,c,d,e){a:{if(b){J[b+12>>2]=d;J[b+8>>2]=c;if(!e){break a}J[b+4>>2]=yd(J[a>>2],J[e>>2],J[e+4>>2],0);return b}kb(J[a>>2],c);kb(J[a>>2],d)}return b}function Dc(a,b,c){var d=0;if(a>>>0<b>>>0){return Qa(a,b,c)}if(c){d=a+c|0;b=b+c|0;while(1){d=d-1|0;b=b-1|0;H[d|0]=K[b|0];c=c-1|0;if(c){continue}break}}return a}function DC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=J[a+4>>2];d=J[a+4>>2];if(b>>>0<=M[a>>2]&(d|0)>=(c|0)|(c|0)<(d|0)){J[a>>2]=b;J[a+4>>2]=c;a=0}else{a=11}return a|0}function $I(a,b){a=a|0;b=b|0;var c=0,d=0;c=J[a+24>>2];a=J[c+8>>2];d=J[c+12>>2];if(a|d){b=J[J[b+32>>2]>>2];J[c+8>>2]=a-b;J[c+12>>2]=d-((b>>31)+(a>>>0<b>>>0)|0)}}function dc(a,b){var c=0,d=0;a:{if(!b){break a}c=b+8|0;b=J[b>>2];while(1){if((b|0)<=0){break a}if(!Eb(a,J[c>>2])){c=c+16|0;b=b-1|0;continue}break}d=2}return d}function aF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;b=fj(a,25942);if(!b){c=ib(a,16,0);J[e>>2]=c;if(!c){return 7}bp(a,2,0);J[c+12>>2]=a;b=0}return b|0}function FG(a){a=a|0;var b=0,c=0;b=Fa-16|0;Fa=b;c=ye(a+8|0);a:{if(c){J[c>>2]=a;J[c+4>>2]=a>>31;a=c+8|0;break a}J[b>>2]=a;Ac(7,1164,b);a=0}Fa=b+16|0;return a|0}function ok(a,b,c){var d=0;d=J[b+52>>2];a:{if(d){d=ok(a,d,c);if(d){break a}}d=0;b=J[b+28>>2];if(J[b>>2]<=(c|0)){break a}d=hd(a,J[(b+(c<<4)|0)+8>>2])}return d}function Ds(a,b,c){var d=0;a:{a=qn(a,b,c);if(!a){break a}c=0;while(1){b=a+c|0;d=K[b|0];if(!d){break a}if(H[d+31216|0]&1){H[b|0]=32}c=c+1|0;continue}}return a}function ry(a,b,c){var d=0,e=0;if(b){c=P(c,20)+b|0;while(1){d=c-20|0;e=H[d+1|0];if((e|0)<=-6){vl(a,e,J[c-4>>2])}c=d;if((c|0)!=(b|0)){continue}break}Sb(a,b)}}function We(a,b){var c=0,d=0,e=0;a:{if(!b){break a}while(1){if(J[b>>2]<=(c|0)){break a}d=Ve(a,J[((c<<4)+b|0)+8>>2])|d;e=e|Ia;c=c+1|0;continue}}Ia=e;return d}function TA(a,b,c){var d=0;d=Fa-16|0;Fa=d;a:{while(1){if(b){if(!Xa(J[b>>2],c)){break a}b=J[b+36>>2];continue}break}J[d>>2]=c;Ra(a,7521,d)}Fa=d+16|0;return b}function Rp(a,b){var c=0,d=0,e=0;c=Fa-16|0;Fa=c;d=J[b+12>>2];e=J[b+20>>2];J[c>>2]=J[b+16>>2];J[c+4>>2]=e;Ae(a,d,22069,c);if(!J[a>>2]){H[b+237|0]=1}Fa=c+16|0}function FB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=K[J[a>>2]+21|0];a:{if((d|0)>(c|0)){ge(b,iw(J[a+4>>2],c));break a}lb(b,J[((c-d<<2)+a|0)+16>>2],-1,-1)}return 0}function tr(a,b){var c=0;c=73192;if(!K[J[a>>2]+87|0]){c=(J[a+104>>2]+P(J[a+108>>2],20)|0)-20|0}if(!(J[c+12>>2]!=(b|0)|K[c|0]!=94)){I[c+2>>1]=L[c+2>>1]|128}}function ru(a){var b=0;b=2835;if(!(K[a+1|0]&64)){a:{if(K[a|0]==2){H[a|0]=0;break a}J[a+4>>2]=0}b=qu(a);if(!b){Eh(a);H[a|0]=3}H[a+1|0]=K[a+1|0]&241}return b}function eg(a,b,c,d,e){var f=0,g=0;g=Fa-16|0;Fa=g;a=Gb(a,9,g+12|0,0);if(!a){f=J[g+12>>2];xb(f,1,b,c);_f(f,2,d,e,0);qb(f);a=jb(f);we(f,1)}Fa=g+16|0;return a}function Vf(a,b){var c=0,d=0,e=0;c=b+8|0;e=J[b>>2];while(1){_a(a,J[c>>2]);d=J[c+4>>2];if(d){Sb(a,d)}c=c+16|0;d=(e|0)>1;e=e-1|0;if(d){continue}break}Sb(a,b)}function Sx(a,b){var c=0;while(1){if(!a){return 0}a:{if((b|0)<0){c=18;break a}b=b-1|0;c=Sx(J[a+12>>2],b);if(c){break a}a=J[a+16>>2];continue}break}return c}function sw(a,b,c,d,e,f,g){var h=0;if((b|0)==1){if((Fb(J[c>>2])|0)==5){Mb(a);return}h=yb(J[c>>2]);J[18304]=0;Nb(a,h*g/f);return}Z(23800,17942,e|0,d|0);D()}function hh(a){var b=0,c=0;c=a;b=J[a+232>>2];if(b){a=J[a+8>>2];if(K[J[a>>2]+87|0]){a=73192}else{a=J[a+104>>2]+P(b,20)|0}a=J[a+8>>2]}else{a=0}J[c+232>>2]=a}function cI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=fb(J[c>>2]);c=Ia;d=c;e=b;b=(c|0)<=0&b>>>0<=1|(c|0)<0;c=b?1:e;b=_g(a,c,b?0:d);if(b){se(c,b);he(a,b,c,1)}}function _u(a){var b=0;a:{if(!K[a+7|0]){b=J[a+68>>2];b=Ja[J[J[b>>2]+20>>2]](b,2)|0;if(b){break a}}b=J[a+68>>2];b=Ja[J[J[b>>2]+24>>2]](b,a+88|0)|0}return b}function uz(a,b,c,d,e){var f=0,g=0,h=0;g=J[b+4>>2];f=J[a+44>>2]+1|0;J[a+44>>2]=f;h=J[a+8>>2];b=J[b+36>>2];if(b){Tz(a,c,b)}Pa(h,97,d+g|0,e-g|0,f);return f}function pf(a){if(K[a+36|0]){Qg(J[a+12>>2]);H[a+36|0]=0;J[a+20>>2]=0;J[a+12>>2]=0}if(J[a+8>>2]){Ua(J[a+16>>2],J[a>>2]);J[a+8>>2]=0;J[a>>2]=0;J[a+4>>2]=0}}function OB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=J[a+16>>2];if(!J[b>>2]){Ni(J[J[a+12>>2]+28>>2],f,e,g);J[b>>2]=1}return Mi(d,c,g)|0}function Fy(a,b,c){var d=0;if(!ei(a,c)){Qa(J[a+4>>2]+J[a+16>>2]|0,b,c);b=J[a+20>>2];d=c;c=J[a+16>>2]+c|0;b=d>>>0>c>>>0?b+1|0:b;J[a+16>>2]=c;J[a+20>>2]=b}}function nj(a,b,c,d,e){var f=0;a:{f=J[a>>2];b=cd(f,b,c,c>>31,d,e);b:{if(b){if((b|0)==18){break b}Qb(a);return}Kd(f,K[a+24|0]);if(!op(f)){break a}}Rg(a)}}function Pr(a,b){var c=0,d=0;c=Fa-16|0;Fa=c;a=J[a>>2];J[c+12>>2]=0;dj(a,b,K[a+84|0],67,c+12|0);a=J[c+12>>2];if(a){d=(fb(a)|0)>0}Pc(a);Fa=c+16|0;return d}function Gn(a,b,c){var d=0;c=oc(J[a>>2],c);if(c){a:{d=rb(a);if(d){if(!Tb(a,32,J[(b<<2)+49756>>2],c,0)){break a}}Za(J[a>>2],c);return}$a(d,0,b,0,0,c,-6)}}function BH(a,b){a=a|0;b=b|0;var c=0;a:{if(K[b+7|0]&3|K[b|0]!=167){break a}c=J[a+24>>2];if(J[c+12>>2]!=J[b+44>>2]){break a}Qc(J[a>>2],c,b+44|0)}return 0}function Ae(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;a:{if(J[a>>2]){break a}J[e+12>>2]=d;c=al(c,d);if(!c){J[a>>2]=7;break a}J[a>>2]=Rd(b,c,0,0,0);Oa(c)}Fa=e+16|0}function nt(a){var b=0,c=0;c=J[a+12>>2]+8|0;while(1){b=J[c>>2];if(!b){return 0}c=b+20|0;if((a|0)==(b|0)|J[b+44>>2]!=J[a+44>>2]){continue}break}return 1}function cz(a,b,c,d){var e=0,f=0;a:{if(!c){break a}while(1){if(J[c>>2]<=(e|0)){break a}f=J[((e<<3)+c|0)+8>>2];if(!Ub(f,d)){Qc(a,b,f)}e=e+1|0;continue}}}function Mk(a,b){if(b){Xn(b);_a(a,J[b+40>>2]);kb(a,J[b+8>>2]);kb(a,J[b+12>>2]);_a(a,J[b+28>>2]);_a(a,J[b+24>>2]);Ua(a,J[b>>2]);Ua(a,J[b+4>>2]);Za(a,b)}}function Gp(a,b,c){Sa(a+8|0,0,40);J[a+4>>2]=c;J[a>>2]=b;if(!b){J[a+8>>2]=1;return 0}if(K[b|0]){b=uc(b+1|0,a+16|0)+1|0}else{b=1}J[a+8>>2]=b;return Ol(a)}function Fj(a,b,c,d){var e=0;b=(b|0)<(d|0)?b:d;b=(b|0)>0?b:0;while(1){a:{if((b|0)!=(e|0)){if(K[a+e|0]==K[c+e|0]){break a}b=e}return b}e=e+1|0;continue}}function Cj(a){pf(a+168|0);ig(a+40|0);Ua(J[a+36>>2],J[a+32>>2]);J[a+32>>2]=0;J[a+4>>2]=0;J[a+8>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0;H[a+20|0]=0;J[a+12>>2]=0}function ly(a,b){a=a|0;b=b|0;var c=0,d=0;c=J[a>>2];a=J[c+16>>2];d=J[b>>2];b=J[d+16>>2];c=Cb(J[c+12>>2],J[d+12>>2],(a|0)<(b|0)?a:b);return(c?c:a-b|0)|0}function lf(a){var b=0,c=0;b=J[a+8>>2];J[a+8>>2]=0;Oa(J[a+12>>2]);J[a>>2]=0;J[a+12>>2]=0;while(1){if(b){c=J[b>>2];Oa(b);b=c;continue}break}J[a+4>>2]=0}function Ow(a){J[a+36>>2]=0;H[a+151|0]=1;J[a+40>>2]=0;J[a+44>>2]=0;I[a+148>>1]=65282;J[a+28>>2]=1;J[a+32>>2]=-1;J[a+64>>2]=0;J[a+68>>2]=0;J[a+48>>2]=0}function DB(a,b){a=a|0;b=b|0;a=Fa-16|0;Fa=a;J[a+8>>2]=0;J[a+12>>2]=0;Ss(a,a+8|0);O[b>>3]=(+M[a+8>>2]+ +J[a+12>>2]*4294967296)/864e5;Fa=a+16|0;return 0}function xD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fa-16|0;Fa=d;J[d+12>>2]=c;J[d+8>>2]=b;a=tj(ra(a|0,d+8|0,1,d+4|0)|0);Fa=d+16|0;return(a?-1:J[d+4>>2])|0}function Yz(a,b,c){if(H[c+11|0]&1){c=73192;if(!K[J[a>>2]+87|0]){c=(J[a+104>>2]+P(J[a+108>>2],20)|0)-20|0}a=J[b+44>>2];I[c+2>>1]=a&1;J[c+12>>2]=a>>>1}}function Ff(a,b){var c=0;c=L[J[a+12>>2]+(b<<1)>>1];if(!c){c=J[a+4>>2];c=Ja[J[c+76>>2]](c,J[J[a+8>>2]+(b<<2)>>2])|0;I[J[a+12>>2]+(b<<1)>>1]=c}return c}function DD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fa-16|0;Fa=d;J[d+12>>2]=c;J[d+8>>2]=b;a=tj(ua(a|0,d+8|0,1,d+4|0)|0);Fa=d+16|0;return(a?-1:J[d+4>>2])|0}function mv(a,b,c){var d=0;d=J[c>>2];if((d|0)<0){J[c>>2]=(L[a+18>>1]&b)!=0;return}if(!d){I[a+18>>1]=L[a+18>>1]&(b^-1);return}I[a+18>>1]=L[a+18>>1]|b}function gG(a){a=a|0;var b=0,c=0;c=J[a+12>>2];while(1){if((b|0)!=40){Rc(J[((b<<2)+c|0)+60>>2]);b=b+1|0;continue}break}Oa(J[c+248>>2]);Oa(a);return 0}function Ui(a,b,c,d){a=ld(a,b,c,d);if(!a){a=J[c>>2];if(J[J[a+72>>2]+32>>2]>=2){zb(a);J[c>>2]=0;return Ta(72528)}H[a|0]=0;return 0}J[c>>2]=0;return a}function Ms(a){var b=0,c=0,d=0,e=0;a:{b=J[a+264>>2];if(!b){break a}c=J[a+248>>2];if(!c){break a}d=a;e=J[a>>2];a=J[a+268>>2];Mg(d,c,yd(e,b,a,a>>31))}}function Ig(a,b){var c=0;a:{while(1){if(!b){break a}b:{if(!(K[b+4|0]&3)){c=J[b+36>>2];if((c|0)>0){break b}}b=J[b+12>>2];continue}break}J[a+68>>2]=c}}function Fl(a,b){var c=0,d=0;a:{if(!a){break a}c=L[a+16>>1];if(!((c&514)!=514|K[a+18|0]!=(b|0))){return J[a+8>>2]}if(c&1){break a}d=rw(a,b)}return d}function Am(a,b,c){var d=0;while(1){d=Xc(b);H[a+8|0]=c;a:{if(d){if(K[d|0]==(c|0)){break a}Yd(a,b,0)}return}Am(a,J[d+12>>2],c);b=J[d+16>>2];continue}}function lu(a){var b=0,c=0,d=0;while(1){if(J[a+24>>2]>(b|0)){c=b<<2;d=J[c+J[a+96>>2]>>2];if(d){Ri(a,d);J[J[a+96>>2]+c>>2]=0}b=b+1|0;continue}break}}function IA(a,b){var c=0;a:{if(!a){break a}b=(J[a+100>>2]+P(b,40)|0)-40|0;if(H[b+16|0]&1){break a}a=ng(J[a>>2]);if(!a){break a}mj(a,b);c=a}return c}function Gv(a,b){var c=0,d=0;b=b+52|0;a:{while(1){d=b;c=J[b>>2];if(!c){break a}b=c+24|0;if(J[c>>2]!=(a|0)){continue}break}J[d>>2]=J[c+24>>2];Kf(c)}}function uu(a){var b=0;b=0;a:{if(K[a+13|0]){break a}b=1;if(K[a+4|0]){break a}a=J[J[a+64>>2]>>2];b=0;if(J[a>>2]<2){break a}b=J[a+52>>2]!=0}return b}function dd(a,b,c){var d=0;d=id(J[a>>2],12,0);if(d){J[d>>2]=J[a+140>>2];J[a+140>>2]=d;J[d+8>>2]=b;J[d+4>>2]=c;return c}Ja[b|0](J[a>>2],c);return 0}function bd(a,b){var c=0;a:{if(!b){c=0;if(!K[a+87|0]){break a}}b:{if(!(!K[a+87|0]&(b|0)!=3082)){Zq(a);Lc(a,7);c=7;break b}c=J[a+72>>2]&b}}return c}function Xi(a,b){var c=0,d=0,e=0,f=0;c=J[a+4>>2];J[c+4>>2]=J[a>>2];a=J[J[c>>2]+228>>2];J[a+24>>2]=b;e=J[a+52>>2],f=gl(a),d=J[16474],Ja[d](e|0,f|0)}function Gz(a){var b=0;b=1;a:{b:{switch(a-45|0){case 5:b=256;break a;case 0:b=128;break a;case 4:break a;default:break b}}b=2<<a-53}return b&65535}function hq(a,b){a=a|0;b=b|0;var c=0;if((b|0)<=0){b=ob(a)}while(1){if((b|0)>0){b=b-1|0;c=H[a|0]^c<<3^c;a=a+1|0;continue}break}return c&2147483647}function gA(a,b,c){var d=0;d=Fa-32|0;Fa=d;J[d+28>>2]=c;J[d+12>>2]=0;J[d+8>>2]=86;I[d+24>>1]=1;J[d+4>>2]=a;Eb(d+4|0,b);Fa=d+32|0;return L[d+24>>1]}function Zq(a){a=a|0;var b=0;if(!(J[a+196>>2]|!K[a+87|0])){J[a+296>>2]=0;H[a+87|0]=0;b=J[a+304>>2]-1|0;J[a+304>>2]=b;I[a+308>>1]=b?0:L[a+310>>1]}}function Tl(a){var b=0;a:{if(ke()){break a}b=72768;while(1){b=J[b>>2];if(!a|!b){break a}if(!Kc(a,J[b+16>>2])){break a}b=b+12|0;continue}}return b}function Lw(a,b,c){var d=0;while(1){if(a){d=J[a>>2];if(d){Lw(d,b,c)}Ja[b|0](J[a+8>>2],J[a+16>>2],J[a+20>>2],c);a=J[a+4>>2];if(a){continue}}break}}function ld(a,b,c,d){var e=0,f=0;e=Fa-16|0;Fa=e;f=J[a>>2];d=Ja[J[f+220>>2]](f,b,e+12|0,d)|0;if(!d){J[c>>2]=yo(J[e+12>>2],b,a)}Fa=e+16|0;return d}function fe(a,b){var c=0;c=1<<b;J[a+156>>2]=c|J[a+156>>2];if(!(!K[J[(J[J[a>>2]+16>>2]+(b<<4)|0)+4>>2]+9|0]|(b|0)==1)){J[a+160>>2]=J[a+160>>2]|c}}function bo(a,b){var c=0,d=0,e=0;d=(b|0)>0?b:0;b=1;a:{while(1){if((c|0)==(d|0)){break a}e=a+c|0;c=c+1|0;if(!K[e|0]){continue}break}b=0}return b}function Tc(a,b){var c=0;c=Ib(a,88,0);if(!c){_a(a,b);return c}J[c>>2]=1;J[c+4>>2]=4;J[c+8>>2]=b;J[c+12>>2]=0;J[c+16>>2]=0;J[c+20>>2]=0;return c}function Rf(a){var b=0,c=0;if(a){a:{if(!J[a+8>>2]){break a}c=a+12|0;while(1){if((b|0)==125){break a}Rf(J[(b<<2)+c>>2]);b=b+1|0;continue}}Oa(a)}}function Ld(a,b){if(b>>>0>=2){b=b-2|0;b=b-((b>>>0)%((M[a+40>>2]/5|0)+1>>>0)|0)|0;a=((b+1|0)==(M[16608]/M[a+36>>2]|0)?3:2)+b|0}else{a=0}return a}function Ab(a,b){var c=0,d=0;if(!b){return-32768}d=J[a+16>>2];a=0;while(1){c=a;a=c+1|0;if(J[((c<<4)+d|0)+12>>2]!=(b|0)){continue}break}return c}function uB(a,b){a=a|0;b=b|0;var c=0;c=Fa-16|0;Fa=c;if(!(J[b+40>>2]|K[b|0]!=168)){a=J[a>>2];J[c>>2]=J[b+8>>2];Ra(a,26667,c)}Fa=c+16|0;return 0}function pF(a){a=a|0;var b=0;b=a;a=a-J[a-4>>2]|0;a:{if((b|0)==(a+20|0)){H[a+1|0]=0;break a}H[a+2|0]=0}if(!(K[a+2|0]|(K[a|0]|K[a+1|0]))){Oa(a)}}function jx(a,b,c,d){var e=0,f=0;f=(a|0)>0?a:0;a=0;while(1){if((e|0)!=(f|0)){a=hc(a+c|0,J[(e<<2)+b>>2],0)+a|0;e=e+1|0;continue}break}J[d>>2]=a}function zp(a){var b=0,c=0;while(1){a:{if((a|0)==-1){break a}b=K[a|0];if(!b){break a}c=c+1|0;a=(K[b+57552|0]+a|0)+1|0;continue}break}return c}function lp(a){a=J[a+12>>2]+236|0;while(1){a:{a=J[a>>2];if(a){if(J[a+4>>2]!=-429938){break a}a=J[a+8>>2]}else{a=0}return a}a=a+16|0;continue}}function _B(a,b){a=a|0;b=b|0;var c=0,d=0;a=4;while(1){a:{c=a+1|0;if(a>>>0>11){break a}d=a+b|0;a=c;if(H[d|0]<0){continue}}break}return c&65535}function Ww(a){var b=0,c=0,d=0,e=0;b=J[a>>2];while(1){c=K[b|0];if(c&254|e){e=c&128;b=b+1|0;d=!(c>>>7|0)+d|0;continue}break}J[a>>2]=b;return d}function vb(a){var b=0;b=K[a+19|0];if(!b){b=a;a=J[a+44>>2]+1|0;J[b+44>>2]=a;return a}b=b-1|0;H[a+19|0]=b;return J[(((b&255)<<2)+a|0)+164>>2]}function pv(a){var b=0,c=0,d=0;c=J[a+8>>2];b=J[c+32>>2];while(1){if(b){d=J[b+8>>2];Gf(a,J[b>>2],39326);Oa(b);b=d;continue}break}J[c+32>>2]=0}function dn(a,b){var c=0;c=Fa-32|0;Fa=c;J[c+28>>2]=a;J[c+20>>2]=0;J[c+16>>2]=50;J[c+12>>2]=49;J[c+8>>2]=73;J[c+4>>2]=0;Eb(c+4|0,b);Fa=c+32|0}function ah(a,b){var c=0,d=0;a:{if(!b){break a}while(1){if(J[b>>2]<=(c|0)){break a}d=(c<<4)+b|0;J[d+8>>2]=ch(a,J[d+8>>2]);c=c+1|0;continue}}}function Re(a){var b=0;b=H[a|0];if(!b){return 0}b=b-97|0;if((b|0)!=24){return H[b+56288|0]}if(K[a+1|0]){a=(Wg(a+1|0)|0)!=0}else{a=1}return a}function us(a,b,c,d){a:{if(!J[c+4>>2]){break a}a=nc(J[a>>2],113,c,d);if(!a){break a}J[a+12>>2]=b;J[a+4>>2]=J[a+4>>2]|8704;return a}return b}function No(a){var b=0,c=0;c=J[J[a+32>>2]>>2];H[a- -64|0]=1;J[a+52>>2]=3007e3;b=a+52|0;Of(1,b,40,0,a+92|0);Qa(c+48|0,b,48);dl(a);Qa(c,b,48)}function Jn(a){var b=0,c=0;Rc(J[a+4>>2]);J[a+4>>2]=0;while(1){if((b|0)!=2){c=(b<<2)+a|0;Oa(J[c+16>>2]);J[c+16>>2]=0;b=b+1|0;continue}break}}function iq(a){var b=0;b=J[a+20>>2];a:{if(L[a+12>>1]){J[a+16>>2]=J[b+60>>2];J[b+60>>2]=a;break a}ef(J[a>>2])}a=J[b+4>>2];J[a>>2]=J[a>>2]-1}function fp(a,b,c,d){var e=0;if((b|0)>0){while(1){J[a+24>>2]=0;J[a+20>>2]=c;I[a+16>>1]=d;a=a+40|0;e=b>>>0>1;b=b-1|0;if(e){continue}break}}}function fA(a,b){var c=0;b=L[J[a+4>>2]+(b<<1)>>1];c=b<<16>>16;if((c|0)>=0){return K[(J[J[a+12>>2]+4>>2]+P(b,12)|0)+4|0]&15}return(c|0)==-1}function dH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=Fa-48|0;Fa=d;if(!kg(a,b,c,d)){vc(d);Nb(a,(+M[d>>2]+ +J[d+4>>2]*4294967296)/864e5)}Fa=d+48|0}function Hc(a,b){var c=0;b=L[b+8>>1];a:{if(K[a+43|0]|!b){break a}a=J[a+52>>2];if(!a|(b|0)>J[a>>2]){break a}c=J[(a+(b<<4)|0)-8>>2]}return c}function zk(a){var b=0,c=0,d=0;b=J[a+4>>2];a:{if(b&67110912){break a}c=Zr(J[a+8>>2]);if(!c){break a}H[a|0]=170;J[a+4>>2]=b|c;d=1}return d}function Ug(a,b,c,d){var e=0,f=0;e=Fa-16|0;Fa=e;if(!J[a>>2]){f=a;a=Gb(b,c,e+12|0,d);if(!a){a=J[e+12>>2];qb(a);a=jb(a)}J[f>>2]=a}Fa=e+16|0}function Rm(a,b){var c=0;if(!a){return 0}c=J[a+4>>2];J[c+4>>2]=J[a>>2];a=L[c+24>>1];if((b|0)>=0){a=a&-13|b<<2;I[c+24>>1]=a}return a>>>2&3}function Dj(a){var b=0;while(1){b=J[a+492>>2];if(b){J[a+492>>2]=J[b+24>>2];Za(a,b);continue}break}H[a+93|0]=0;J[a+504>>2]=0;J[a+508>>2]=0}function $l(a){var b=0,c=0;b=J[a+28>>2];c=J[a+24>>2];J[b+24>>2]=c;J[c+28>>2]=b;J[a+24>>2]=0;b=J[a+20>>2];J[b+44>>2]=J[b+44>>2]-1;return a}function _e(a,b,c){var d=0,e=0;d=J[c>>2];a:{if(d){e=J[a>>2];d=J[e+16>>2]+(Ab(e,d)<<4)|0;break a}d=c+4|0}return hf(a,b,J[c+8>>2],J[d>>2])}function qm(a,b){var c=0;c=K[b+20|0];a:{if(c){Td(a,c);break a}if(K[b+21|0]&4){lb(a,J[b+4>>2],J[b+16>>2],5);return}lb(a,30620,0,0)}Nf(b)}function mG(a){a=a|0;var b=0,c=0;while(1){if(!(c>>>0>1|b)){b=c<<3;b=Nv(a,J[b+56608>>2],J[b+56612>>2]);c=c+1|0;continue}break}return b|0}function bA(a,b){var c=0,d=0;c=J[b+52>>2];d=b+60|0;if((c|0)!=(d|0)){Za(a,c);I[b+48>>1]=3;J[b+52>>2]=d}Az(a,b);J[b+40>>2]=0;I[b+44>>1]=0}function QI(a,b){a=a|0;b=b|0;var c=0,d=0;c=J[a+24>>2];d=J[c+16>>2];if((d|0)==(b|0)){return 0}J[c+16>>2]=b;$b(a,b);J[c+16>>2]=d;return 1}function Ns(a,b){var c=0;a:{if(!b){break a}b=dd(a,38,b);if(!b){break a}if(!J[a+36>>2]){J[b+8>>2]=J[a+276>>2];J[a+276>>2]=b}c=b}return c}function tk(a,b,c){var d=0;d=Fa-32|0;Fa=d;J[d+28>>2]=c;J[d+12>>2]=62;J[d+8>>2]=63;I[d+24>>1]=b;Eb(d+4|0,a);Fa=d+32|0;return L[d+24>>1]}function sk(a,b){var c=0,d=0,e=0;c=Fa-16|0;Fa=c;d=b;b=J[J[a>>2]+132>>2];if((d|0)>(b|0)){J[c>>2]=b;Ra(a,25607,c);e=1}Fa=c+16|0;return e}function mk(a,b){var c=0;c=J[a+108>>2];if((c-1|0)==(b|0)){J[a+108>>2]=b;return}J[(K[J[a>>2]+87|0]?73192:J[a+104>>2]+P(b,20)|0)+8>>2]=c}function fH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b=wb(a,16);if(!b|J[b+8>>2]){break a}d=b;b=pj(J[c>>2]);J[d+8>>2]=b;if(b){break a}Qb(a)}}function Zl(a,b,c){b=b+c|0;c=0;while(1){a:{if(!(!J[a+52>>2]|c)){if(J[a+48>>2]<(b-J[a+40>>2]|0)){break a}c=0}return c}c=ey(a);continue}}function Yr(a){a:{b:{switch(K[a|0]-113|0){case 0:a=J[a+12>>2];if(K[a|0]!=117){break a}break;case 4:break b;default:break a}}H[a|0]=59}}function Dz(a,b){var c=0,d=0,e=0;e=b+92|0;while(1){if((c|0)<J[b>>2]){d=(c<<2)+e|0;Pc(J[d>>2]);J[d>>2]=0;c=c+1|0;continue}break}Za(a,b)}function mz(a,b){if(!b){return 0}return Bi(a,kc(a,J[b>>2],0),eb(a,J[b+4>>2],0),kc(a,J[b+8>>2],0),eb(a,J[b+12>>2],0),mz(a,J[b+16>>2]))}function OA(a,b,c){var d=0;d=Fa-16|0;Fa=d;if(!(!(K[b+7|0]&64)|!(K[J[a>>2]+32|0]&128?K[c+6|0]&8:1))){J[d>>2]=b;Ra(a,26765,d)}Fa=d+16|0}function Bv(a,b){a=(a<<2)+72952|0;while(1){a:{a=J[a>>2];if(!a){break a}if(!Xa(J[a+32>>2],b)){break a}a=a+36|0;continue}break}return a}function sc(a,b,c){var d=0;d=J[a>>2];if(K[d+87|0]){vl(d,c,b);return}a=(J[a+104>>2]+P(J[a+108>>2],20)|0)-20|0;J[a+16>>2]=b;H[a+1|0]=c}function qk(a,b){var c=0,d=0;a:{if(!b){break a}c=b+8|0;while(1){if(J[b>>2]<=(d|0)){break a}dn(a,J[c>>2]);c=c+16|0;d=d+1|0;continue}}}function op(a){var b=0,c=0;c=L[a+16>>1];if(!(c&18)){return 0}b=J[a+12>>2];if(c&1024){b=J[a>>2]+b|0}return J[J[a+20>>2]+120>>2]<(b|0)}function fJ(a,b){a=a|0;b=b|0;a:{a=J[a>>2];if(J[b+52>>2]|!J[a+276>>2]){break a}b=J[bn(b)+64>>2];if(!b){break a}J[a+276>>2]=J[b+8>>2]}}function Rv(a){var b=0;a:{b:{c:{if(!a){b=20228;break c}b=1;if(K[a+97|0]==118){break a}b=15918;if(!sl(a)){break b}}Qv(b)}b=0}return b}function Oz(a,b){var c=0;a:{c=J[b>>2];a=J[a+24>>2];if((c|0)>=J[a>>2]){break a}a=J[(a+(c<<2)|0)+4>>2];if((a|0)<=0){break a}J[b>>2]=a}}function mh(a){var b=0;a:{if(!(J[a+196>>2]|(J[a+404>>2]|!(K[a+35|0]&16)))){b=1;if(J[a+408>>2]|J[a+384>>2]<=0){break a}}b=0}return b}function lH(a,b,c){a=a|0;b=b|0;c=c|0;b=wb(a,8);if(b){Pc(J[b>>2]);c=pj(J[c>>2]);J[b>>2]=c;if(!c){Qb(a);return}J[b+4>>2]=J[b+4>>2]+1}}function TG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)>0){d=J[J[a+4>>2]+8>>2]&4;if(!(b&1)){Qy(a,d?3411:2566);return}Py(a,b,c,d?4:3)}}function Cl(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=J[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=J[c>>2];J[a>>2]=d<<b;J[a+4>>2]=c<<b|d>>>32-b}function ys(a,b,c){if(b){a=(J[b>>2]<<6)+b|0;J[a>>2]=c;a=a-19|0;b=K[a|0]|K[a+1|0]<<8|4;H[a|0]=b;H[a+1|0]=b>>>8;return}kb(J[a>>2],c)}function Tk(a,b,c){var d=0,e=0;d=J[a+4>>2];J[d+4>>2]=J[a>>2];e=gg(d,b,0);if(!e){if(K[a+11|0]){ko(a,b,0,0,1)}e=jo(d,b,0,c)}return e}function El(a,b){var c=0,d=0;c=J[a+4>>2];a:{if(b>>>0<=31){d=J[a>>2];break a}b=b-32|0;d=c;c=0}J[a+4>>2]=c>>>b;J[a>>2]=c<<32-b|d>>>b}function Cm(a,b){var c=0;if(!((b|0)==3082|(b&251)!=10)){c=a;b=J[a>>2];a=J[b+68>>2];if(a){a=Ja[a|0](b,0,0)|0}else{a=0}J[c+76>>2]=a}}function Ai(a,b){var c=0,d=0,e=0;c=J[a>>2];d=K[c+84|0];e=K[c+177|0];c=gf(c,d,b,e);if(!((J[c+12>>2]?c:0)|e)){c=Hn(a,d,c,b)}return c}function yd(a,b,c,d){var e=0,f=0;a:{if(!b){break a}e=c+1|0;d=e?d:d+1|0;a=Ib(a,e,d);if(!a){break a}f=Qa(a,b,c);H[f+c|0]=0}return f}function iH(a,b,c){a=a|0;b=b|0;c=c|0;a:{a=wb(a,8);if(!a){break a}b=J[a+4>>2]-1|0;J[a+4>>2]=b;if(b){break a}Pc(J[a>>2]);J[a>>2]=0}}function Md(a,b){var c=0,d=0;while(1){c=c+1|0;d=!b&a>>>0>127|(b|0)!=0;a=(b&127)<<25|a>>>7;b=b>>>7|0;if(d){continue}break}return c}function Jj(a,b){a:{switch((b&255)-10|0){case 0:case 3:H[a+17|0]=6;J[a+44>>2]=b;J[a+220>>2]=b?6:7;break;default:break a}}return b}function Ii(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;J[e+12>>2]=d;d=dh(a,c,d);a:{if(!d){c=7;break a}c=_n(a,b,d);Za(a,d)}Fa=e+16|0;return c}function vf(a){var b=0;if(K[a+28|0]&32){b=J[a+20>>2];J[b+128>>2]=J[b+128>>2]-1;J[a+16>>2]=J[b+144>>2];J[b+144>>2]=a;return}il(a)}function oA(a,b,c){var d=0;d=Fa-32|0;Fa=d;J[d+16>>2]=0;J[d+12>>2]=76;J[d+8>>2]=75;J[d+28>>2]=c;J[d+4>>2]=a;$b(d+4|0,b);Fa=d+32|0}function mr(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;if(b){Hd(b,e+8|0,Ya(b),1);if(c){O[e+8>>3]=-O[e+8>>3]}kr(a,153,d,e+8|0,-12)}Fa=e+16|0}function _o(a){var b=0;b=7;a:{if(!a){break a}if(!sl(a)){return Nc(180825)}if(K[a+87|0]){break a}b=J[a+72>>2]&J[a+64>>2]}return b}function _k(a){var b=0,c=0;a:{b=L[a+28>>1];if(!(b&17)){break a}c=b&65519;I[a+28>>1]=c;if(!(b&1)){break a}I[a+28>>1]=c^3;Yi(a,2)}}function Rj(a,b){var c=0;c=Fa-16|0;Fa=c;J[c>>2]=b;b=ub(19906,c);a:{if(!a){break a}if(b){Bb(a,b,-1);Oa(b);break a}Qb(a)}Fa=c+16|0}function yg(a){var b=0,c=0;a:{if(!a){break a}while(1){b=K[a|0];if(!b){break a}a=a+1|0;c=K[b+30832|0]+c|0;continue}}return c&255}function vr(a,b){var c=0;a:{if(K[a+12|0]|(b|0)<0){break a}c=J[a+232>>2];if(K[c+43|0]==2?c:0){break a}H[a+4|0]=b}return K[a+4|0]}function pl(a){var b=0;b=J[a+4>>2];if((b|0)<J[a>>2]){J[a+4>>2]=b+1;a=fb(J[J[a+8>>2]+(b<<2)>>2]);b=Ia}else{a=0;b=0}Ia=b;return a}function bI(a,b,c){a=a|0;b=b|0;c=c|0;if(zh(J[c>>2],J[c+4>>2],J[(J[J[a+12>>2]+104>>2]+P(J[a+16>>2],20)|0)-4>>2])){ge(a,J[c>>2])}}function Tw(a,b){var c=0;a:{b=J[b+36>>2];if(!b){break a}c=J[b>>2]-1|0;J[b>>2]=c;if(c){break a}Ja[J[b+4>>2]](J[b+8>>2]);Za(a,b)}}function uF(a){a=a|0;var b=0,c=0;while(1){if((b|0)==5){return 0}c=b<<2;b=b+1|0;if(Ub(a,J[c+56480>>2])){continue}break}return 1}function qx(a,b,c,d){var e=0;e=J[b>>2];J[a>>2]=hc(J[a>>2],c-e|0,d-(J[b+4>>2]+(c>>>0<e>>>0)|0)|0)+J[a>>2];J[b>>2]=c;J[b+4>>2]=d}function pg(a,b){if(Ee(a)){if(K[a|0]!=138&K[a+2|0]!=138){a=a+20|0}else{a=J[a+20>>2]+28|0}a=J[(J[a>>2]+(b<<4)|0)+8>>2]}return a}function pH(a){a=a|0;var b=0;b=wb(a,0);if(b){Nb(a,(+M[b+8>>2]+ +J[b+12>>2]*4294967296)/(+M[b+16>>2]+ +J[b+20>>2]*4294967296))}}function ak(a,b){if(K[a+38|0]&32){a=J[J[a+20>>2]+28>>2]+(b<<4)|0;b=a+17|0;a=K[a+17|0]|K[a+18|0]<<8|64;H[b|0]=a;H[b+1|0]=a>>>8}}function Vd(a,b,c){var d=0;if(!(J[c>>2]|J[a+8>>2]>=(b|0))){d=Bc(J[a>>2],b,b>>31);if(d){J[a>>2]=d;J[a+8>>2]=b;return}J[c>>2]=7}}function Mh(a,b){if(!(K[b+10|0]|!b)){Bn(a,J[b+28>>2]);Ua(a,J[b>>2]);Ua(a,J[b+4>>2]);_a(a,J[b+12>>2]);ne(a,J[b+16>>2]);Za(a,b)}}function wz(a,b){var c=0;a:{if(!a){break a}c=I[a+8>>1];if((c|0)<=0){b=b+c|0;break a}b=K[a+10|0]&128?b:b-20|0}return b<<16>>16}function wm(a,b){Sa(a+4|0,0,160);Sa(a+208|0,0,76);J[a+196>>2]=J[b+264>>2];J[b+264>>2]=a;J[a>>2]=b;if(K[b+87|0]){Ra(a,1150,0)}}function rB(a,b){a=a|0;b=b|0;var c=0;a:{if(K[b|0]!=168){break a}c=K[b+2|0];if((c|0)<J[a+16>>2]){break a}H[b+2|0]=c+1}return 0}function lz(a,b){if(!J[a+36>>2]){J[a+4>>2]=J[b+4>>2];J[a+36>>2]=J[b+36>>2];J[a+12>>2]=J[b+12>>2];return}Ua(J[b>>2],J[b+4>>2])}function WD(a){a=a|0;var b=0;b=wb(a,0);if(b){O[b+24>>3]=(+(lJ(J[b+16>>2],J[b+20>>2],3,0)>>>0)+ +(Ia|0)*4294967296)*.25;yp(a)}}function Fz(a,b){if(L[a+12>>1]!=1024){return b?0:a}a=J[a+24>>2];if(J[a+12>>2]>(b|0)){a=J[a+24>>2]+P(b,48)|0}else{a=0}return a}function Dg(a){var b=0;a:{if(!a){break a}while(1){if(J[a>>2]<=(b|0)){break a}hu(J[a+12>>2]+P(b,56)|0);b=b+1|0;continue}}Oa(a)}function $d(a,b){var c=0;c=J[a>>2];if(!K[c+87|0]){a=J[a+104>>2]+P(b,20)|0;vl(c,H[a+1|0],J[a+16>>2]);J[a+16>>2]=0;I[a>>1]=187}}function yl(a){var b=0;b=I[a+16>>1];if((b|0)<0){eu(a,J[a>>2]);b=L[a+16>>1]}if(b&4096){Ja[J[a+36>>2]](J[a+8>>2])}I[a+16>>1]=1}function mB(a,b){a=a|0;b=b|0;var c=0;c=K[b|0];if(!((c|0)!=179&(c|0)!=167)){Oz(a,b+28|0)}if(H[b+4|0]&1){Oz(a,b+36|0)}return 0}function gq(a,b){a=a|0;b=b|0;var c=0;while(1){if((b|0)>0){b=b-1|0;c=H[a|0]^c<<3^c;a=a+1|0;continue}break}return c&2147483647}function fs(a,b,c){var d=0;while(1){if((b|0)<=0){return 0}b=b-1|0;d=I[a>>1];a=a+2|0;if((c|0)!=(d|0)){continue}break}return 1}function Oa(a){a=a|0;var b=0;if(a){if(J[16444]){b=Ja[J[16455]](a)|0;J[18172]=J[18172]-b;J[18181]=J[18181]-1}Ja[J[16453]](a)}}function zn(a,b){var c=0,d=0;c=Fa-80|0;Fa=c;if(b){d=c+4|0;Sa(d,0,76);J[c+36>>2]=b;a=$b(a+4|0,d)}else{a=0}Fa=c+80|0;return a}function uA(a,b){var c=0;c=52;a:{if(!b|K[a+6|0]&2){break a}c=16412;if(J[a+12>>2]){break a}c=J[a+20>>2]?16412:65548}return c}function nw(a,b){var c=0;Rb(a);C(+b);c=x(1)|0;if(!((c&2146435072)==2146435072&(c&1048575|x(0))!=0)){I[a+16>>1]=8;O[a>>3]=b}}function nI(a,b,c){a=a|0;b=b|0;c=c|0;b=Fa-16|0;Fa=b;c=Wa(J[c>>2]);J[b+12>>2]=c;if(!(!c|!K[c|0])){pc(a,kd(b+12|0))}Fa=b+16|0}function mH(a,b,c){a=a|0;b=b|0;c=c|0;a=wb(a,24);b=a;c=J[a+16>>2];a=J[a+20>>2];c=c+1|0;a=c?a:a+1|0;J[b+16>>2]=c;J[b+20>>2]=a}function ll(a,b){if(K[a+10|0]&4){a=J[a>>2];return(ob(a)+a|0)+1|0}a=K[a+4|0];if(a>>>0>=16){b=J[(a>>>2&60)+66908>>2]}return b}function ky(a,b,c){var d=0;if(!(!a|!J[a+16>>2])){if(K[a|0]==1){d=hq(b,c)}else{d=gq(b,c)}d=yy(a,b,c,d&J[a+12>>2]-1)}return d}function ig(a){if(!K[a+24|0]){Qg(J[a+4>>2])}H[a+24|0]=1;J[a+16>>2]=0;J[a+20>>2]=0;J[a+8>>2]=100;J[a+12>>2]=0;J[a+4>>2]=a+26}function Zk(a,b,c,d,e){var f=0;a:{while(1){f=Pf(a,d,e);if(!b|(f|0)!=5){break a}if(Ja[b|0](c)|0){continue}break}f=5}return f}function az(a,b,c){a=a|0;b=b|0;c=c|0;a=wb(a,24);if(a){b=J[a+20>>2];c=J[a+16>>2]+1|0;b=c?b:b+1|0;J[a+16>>2]=c;J[a+20>>2]=b}}function as(a){var b=0,c=0;while(1){c=K[a|0];a:{if((c|0)!=34){if(c){break a}return b+2|0}b=b+1|0}a=a+1|0;b=b+1|0;continue}}function kD(a,b,c){a=a|0;b=b|0;c=c|0;b=Fa-16|0;Fa=b;J[b>>2]=J[J[a+4>>2]+8>>2];c=a;a=ub(2169,b);Bb(c,a,-1);Oa(a);Fa=b+16|0}function bf(a,b){var c=0;if(J[b+8>>2]){c=J[a>>2];Ua(c,J[a+124>>2]);J[a+124>>2]=Ob(c,J[b+8>>2]);Oa(J[b+8>>2]);J[b+8>>2]=0}}function Rq(a,b){var c=0,d=0;a=J[a>>2];c=J[a+4>>2];if(!(!(c&3)|J[a+36>>2]!=J[b+40>>2])){d=!(c&2)|!(K[b+36|0]&24)}return d}function Au(a,b){var c=0;c=J[a+168>>2];a=J[a+52>>2];while(1){c=c-200|0;if((c|0)>0){a=K[b+c|0]+a|0;continue}break}return a}function $y(a,b,c){a=a|0;b=b|0;c=c|0;a=wb(a,24);b=a;c=J[a+8>>2];a=J[a+12>>2];c=c+1|0;a=c?a:a+1|0;J[b+8>>2]=c;J[b+12>>2]=a}function sg(a,b){var c=0;if(a){c=J[a+120>>2];if(!(!c|L[a+144>>1]<=b>>>0)){return P(b,40)+c|0}Lc(J[a>>2],25)}return 34424}function fy(a,b,c){var d=0;if(!J[a+40>>2]){return 0}d=J[a+64>>2];a=J[a+60>>2];b=Cb(d,b,(a|0)<(c|0)?a:c);return b?b:a-c|0}function Qg(a){a=a|0;var b=0,c=0;b=a-8|0;a=J[b>>2];c=J[b+4>>2];if(!c&a>>>0>=2|c){J[b>>2]=a-1;J[b+4>>2]=c-!a;return}Oa(b)}function Iy(a){a=a|0;var b=0;while(1){if((b|0)<J[a+4>>2]){Wc(J[((b<<2)+a|0)+8>>2]);b=b+1|0;continue}break}Za(J[a>>2],a)}
function xc(a,b,c){if(K[a+17|0]&144){Rb(a);I[a+16>>1]=4;J[a>>2]=b;J[a+4>>2]=c;return}I[a+16>>1]=4;J[a>>2]=b;J[a+4>>2]=c}function rh(a,b){var c=0;c=1;while(1){if(!(!b&a>>>0<128)){c=c+1|0;a=(b&127)<<25|a>>>7;b=b>>>7|0;continue}break}return c}function bx(a,b,c,d){var e=0;a:{if(!(!c|!a)){e=(b|0)<(d|0)?b:d;if(e){break a}}return b-d|0}a=Cb(a,c,e);return a?a:b-d|0}function Zc(a,b,c){a=a+280|0;while(1){a:{a=J[a>>2];if(a){if(J[a>>2]!=(c|0)){break a}J[a>>2]=b}return}a=a+12|0;continue}}function Mv(a){var b=0,c=0;c=a+8|0;b=J[a+4>>2];while(1){if(c>>>0<M[a>>2]){Kv(a);continue}break}Ra(b,1694,0);J[a+4>>2]=b}function Ki(a,b){var c=0;if(b){c=J[b+28>>2];_a(a,J[c+20>>2]);kb(a,J[c+24>>2]);ac(a,J[c+8>>2]);_a(a,J[b+12>>2]);Za(a,b)}}function hx(a,b,c,d){var e=0,f=0,g=0;g=J[a+36>>2];e=Md(c,d);f=10-e|0;H[g+f|0]=b;hc((J[a+36>>2]-e|0)+11|0,c,d);return f}function Xx(a){var b=0;a:{if(!Re(a)|(K[a|0]-119&255)>>>0<3){break a}if(!Wg(a+1|0)){break a}b=(Re(a+2|0)|0)!=0}return b}function NI(a,b){a=a|0;b=b|0;var c=0;while(1){c=J[b>>2];if(c){J[b>>2]=J[c+20>>2];_a(a,J[c>>2]);Za(a,c);continue}break}}function fr(a,b,c,d,e){var f=0;f=Fa-16|0;Fa=f;J[f+8>>2]=d;J[f+4>>2]=b;J[f>>2]=c;Ra(a,17259,f);Ig(J[a>>2],e);Fa=f+16|0}function eq(a){if(a-818>>>0>=4294967246){if(a>>>0<=799){return 1<<a-768&134389727}a=1<<a-800&221688}else{a=0}return a}function Tf(a,b,c){if(K[b+5|0]&2){return hd(a,b)}a:{if(!(K[c+5|0]&2?c:0)){b=hd(a,b);if(b){break a}}b=hd(a,c)}return b}function $s(a,b,c,d,e,f){var g=0;g=J[a+16>>2];if(!J[b>>2]){Ni(J[J[a+12>>2]+28>>2],f,e,g);J[b>>2]=1}return vh(d,c,g,1)}function wq(a){var b=0,c=0;bc(a,0);b=J[a+16>>2];c=J[a+20>>2]-!b|0;b=b-1|0;J[a+16>>2]=b;J[a+20>>2]=c;return!K[a+25|0]}function ne(a,b){var c=0;if(b){while(1){if((c|0)<J[b>>2]){Ua(a,J[((c<<3)+b|0)+8>>2]);c=c+1|0;continue}break}Sb(a,b)}}function kH(a){a=a|0;var b=0,c=0;a:{b=wb(a,8);if(!b){break a}c=J[b>>2];if(!c){break a}ge(a,c);Pc(J[b>>2]);J[b>>2]=0}}function ec(a){a=a+8|0;while(1){a=J[a>>2];if(!(!a|((K[a+55|0]|K[a+56|0]<<8)&3)==2)){a=a+20|0;continue}break}return a}function _j(a,b){var c=0;a:{if(!a){break a}c=J[b+4>>2]&3;if(!c){break a}J[a+4>>2]=J[a+4>>2]|c;J[a+36>>2]=J[b+36>>2]}}function On(a){var b=0,c=0;while(1){b=K[a|0];if(b){a=a+1|0;c=P(K[b+30832|0]+c|0,-1640531535);continue}break}return c}function Kp(a,b){var c=0,d=0;if(!b){return 0}c=J[a>>2];b=hc(c+1|0,b,b>>31);H[c|0]=1;d=a;a=b+1|0;J[d>>2]=a+c;return a}function Go(a,b){var c=0;while(1){c=Mf(a,b);if((c|0)==5){if(Ja[J[a+192>>2]](J[a+196>>2])|0){continue}}break}return c}function Fc(a,b,c){var d=0;d=Fa-16|0;Fa=d;Ua(J[a>>2],J[a+124>>2]);J[d+12>>2]=c;J[a+124>>2]=dh(J[a>>2],b,c);Fa=d+16|0}function zc(a,b){a=J[a+88>>2]+P(J[b+8>>2],40)|0;if(K[a+17|0]&144){Rb(a);I[a+16>>1]=4;return a}I[a+16>>1]=4;return a}function Yu(a){var b=0;b=J[J[a>>2]+44>>2];if(!b){return 4096}a=Ja[b|0](a)|0;return(a|0)<32?512:(a|0)>=65536?65536:a}function Dv(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;return Ev(a,b,c,d,e,f,g,h,i)|0}function tw(a,b){var c=0;a:{b=wb(a,b);if(!b){break a}c=J[b+8>>2];if(!c){break a}ge(a,c);Pc(J[b+8>>2]);J[b+8>>2]=0}}function mb(a,b){var c=0;a:{if(!b){break a}c=K[a+19|0];if(c>>>0>7){break a}H[a+19|0]=c+1;J[((c<<2)+a|0)+164>>2]=b}}function lg(a,b,c){a=J[a+24>>2];b=a+P(b,48)|0;J[b+16>>2]=c;a=a+P(c,48)|0;I[b+8>>1]=L[a+8>>1];H[a+14|0]=K[a+14|0]+1}function kA(a,b){var c=0,d=0;c=Fa-16|0;Fa=c;if(K[b+37|0]&4){J[c>>2]=J[b+8>>2];Ra(a,10429,c);d=1}Fa=c+16|0;return d}function Xn(a){var b=0,c=0;b=J[a+32>>2];if(b){c=b;b=J[a+36>>2];J[c>>2]=b;if(b){J[b+32>>2]=J[a+32>>2]}J[a+32>>2]=0}}function Qa(a,b,c){var d=0;if(c){d=a;while(1){H[d|0]=K[b|0];d=d+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}return a}function Kk(a,b){var c=0;if(b){while(1){if((c|0)<J[b>>2]){kt(a,(P(c,24)+b|0)+12|0);c=c+1|0;continue}break}Za(a,b)}}function Fk(a,b,c){a:{if(!J[a+8>>2]){break a}Df(a,b);kh(J[a+8>>2],b,0,c);if((b|0)==1){break a}kh(J[a+8>>2],1,0,c)}}function wH(a,b,c){a=a|0;b=b|0;c=c|0;a=wb(a,8);if(a){b=J[a+4>>2];c=J[a>>2]+1|0;b=c?b:b+1|0;J[a>>2]=c;J[a+4>>2]=b}}function Zo(a){var b=0;b=J[a+4>>2];if((b|0)<J[a>>2]){J[a+4>>2]=b+1;a=Wa(J[J[a+8>>2]+(b<<2)>>2])}else{a=0}return a}function Uf(a,b){a=a+4|0;b=b+1&3;while(1){a=J[a>>2];if(a){I[a+152>>1]=b|L[a+152>>1]&65532;a=a+8|0;continue}break}}function Nf(a){if(K[a+21|0]&4){Ua(J[a>>2],J[a+4>>2]);H[a+21|0]=K[a+21|0]&251}J[a+16>>2]=0;J[a+4>>2]=0;J[a+8>>2]=0}function Hh(a,b){var c=0;c=Ja[J[16476]](J[J[a+228>>2]+52>>2],b,0)|0;if(c){a=Fo(J[a+228>>2],b,c)}else{a=0}return a}function AG(a){a=a|0;Sa(73060,0,100);J[18278]=1;J[18268]=10;a=J[16490];J[18279]=!a;J[18280]=a?0:J[16492];return 0}function wv(a){var b=0;b=J[a+4>>2];J[b+4>>2]=J[a>>2];a=J[b+36>>2]-J[b+40>>2]|0;b=K[b+22|0];return(a|0)>(b|0)?a:b}function eG(a){a=a|0;Se(J[J[a>>2]+12>>2]);Yg(a+8|0);Oa(J[a+72>>2]);Oa(J[a+88>>2]);Oa(J[a+120>>2]);Oa(a);return 0}function ss(a,b,c){var d=0;d=Fa-16|0;Fa=d;if(!(!b|J[b>>2]<=J[J[a>>2]+128>>2])){J[d>>2]=c;Ra(a,6645,d)}Fa=d+16|0}function lm(a){var b=0;b=J[a+412>>2];if(b){J[a+412>>2]=0;while(1){a=J[b+24>>2];Kf(b);b=a;if(b){continue}break}}}function lF(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a+20>>2];J[c+4>>2]=J[c+4>>2]+1;J[c+8>>2]=J[c+8>>2]+J[a+64>>2];return 0}function Wg(a){var b=0;b=H[a|0];if(!b){return 0}b=b-97|0;if((b|0)!=24){return 1-H[b+56288|0]|0}return Re(a+1|0)}function pd(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+8>>2]=b;J[d+12>>2]=c;kr(a,72,1,d+8|0,-13);Na(a,84,1,1);Fa=d+16|0}function ab(a){a=K[a|0]|K[a+1|0]<<8|(K[a+2|0]<<16|K[a+3|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function Lc(a,b){var c=0;J[a+64>>2]=b;if(b|J[a+288>>2]){c=J[a+288>>2];if(c){Rb(c)}Cm(a,b);return}J[a+68>>2]=-1}function HH(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(Ng(J[c>>2])-3>>>0>=4294967294){d=yb(J[c>>2]);pc(a,d<0?-1:d>0)}}function AA(a,b){var c=0,d=0;a:{c=J[a+92>>2];d=1<<b;if(c&d){break a}J[a+92>>2]=c|d;if((b|0)!=1){break a}Pz(a)}}function $H(a,b,c){a=a|0;b=b|0;c=c|0;a=Fa-16|0;Fa=a;b=fb(J[c>>2]);J[a>>2]=Wa(J[c+4>>2]);Ac(b,8863,a);Fa=a+16|0}function wf(a,b,c,d,e){if(!K[J[a>>2]+87|0]){cd((J[a+116>>2]+P(P(L[a+146>>1],c),40)|0)+P(b,40)|0,d,-1,-1,1,e)}}function kw(a,b){var c=0;c=Jf(a);a:{if((c|0)!=16){if(c){break a}J[b>>2]=0;return io(a)}J[b>>2]=1;c=0}return c}function Uk(a,b){_a(a,J[b+36>>2]);kb(a,J[b+40>>2]);Ua(a,J[b+16>>2]);if(K[b+55|0]&16){Ua(a,J[b+32>>2])}Za(a,b)}function Uh(a,b){if(J[a+24>>2]<(b|0)){return ih(a,b,0)}J[a+8>>2]=J[a+32>>2];I[a+16>>1]=L[a+16>>1]&45;return 0}function xk(a,b,c,d){if(!(!b|!c|K[b|0]!=121|K[a+220|0]>1)){a=J[a>>2];H[c|0]=d;_a(a,J[c+16>>2]);J[c+16>>2]=0}}function nv(a,b,c){var d=0;while(1){d=Ja[J[16631]](a,b,c)|0;if((d|0)<0&J[18304]==27){continue}break}return d}function Js(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+4>>2]=b;J[d>>2]=b;fc(a,28816,d);if(!c){fc(a,28963,0)}Fa=d+16|0}function zI(a,b,c){a=a|0;b=b|0;c=c|0;b=fb(J[c>>2]);if(b>>>0<=41){b=J[(b<<2)+56640>>2]}else{b=0}lb(a,b,-1,0)}function uv(a){var b=0;while(1){b=a;a=b-1|0;if(K[a|0]|K[b-2|0]|(K[b-3|0]|K[b-4|0])){continue}break}return b}function rb(a){var b=0;b=J[a+8>>2];if(!b){if(!(J[a+128>>2]|K[J[a>>2]+80|0]&8)){H[a+23|0]=1}b=_v(a)}return b}function qg(a,b){a=mc(a);if(!((b|0)<65|(a|0)<65)){return b>>>0>66?67:a>>>0>66?67:65}return((a|0)<65?b:a)|64}function li(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+8>>2]=c;J[d+12>>2]=Ya(c);a=us(a,b,d+8|0,0);Fa=d+16|0;return a}function jc(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+8>>2]=c;J[d+12>>2]=Ya(c);a=nc(a,b,d+8|0,0);Fa=d+16|0;return a}function gw(a,b,c){a=a|0;b=b|0;c=+c;var d=0;b=b-1|0;d=we(a,b);if(!d){nw(J[a+100>>2]+P(b,40)|0,c)}return d|0}function Ap(a,b){var c=0;c=J[b+8>>2]-1|0;J[b+8>>2]=c;if(!c){c=J[b+16>>2];if(c){Ja[c|0](J[b+12>>2])}Ua(a,b)}}function $B(a,b,c){a=a|0;b=b|0;c=c|0;a=Gh(b+4|0,c);I[c+16>>1]=0;J[c+8>>2]=0;J[c+12>>2]=0;I[c+18>>1]=a+4&255}function yh(a,b){var c=0;c=L[a+16>>1];if(c&36){return(J[a>>2]|J[a+4>>2])!=0}if(!(c&1)){b=yb(a)!=0}return b}function Ob(a,b){var c=0,d=0;a:{if(!b){break a}c=ob(b)+1|0;a=id(a,c,0);if(!a){break a}d=Qa(a,b,c)}return d}function fd(a,b,c){var d=0;d=J[a+128>>2];a=d?d:a;AA(a,c);J[a+88>>2]=J[a+88>>2]|1<<c;H[a+20|0]=K[a+20|0]|b}function eI(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=sb(J[c>>2]);d=Wa(J[c>>2]);if(d){fz(a,b-1|0,c+4|0,e,d)}}function Wt(a,b){var c=0;c=J[a+384>>2];J[a+384>>2]=c+1;J[J[a+408>>2]+(c<<2)>>2]=b;J[b+12>>2]=J[b+12>>2]+1}function vp(a){if(K[a+17|0]&144){yl(a)}if(J[a+24>>2]){Za(J[a+20>>2],J[a+32>>2]);J[a+24>>2]=0}J[a+8>>2]=0}function vC(a){a=a|0;var b=0;a:{b=J[a+8>>2];if(!K[b|0]){break a}H[b|0]=0;if(J[a+32>>2]<2){break a}Kh(b)}}function XD(a){a=a|0;var b=0;b=wb(a,0);if(b){O[b+24>>3]=(+M[b+16>>2]+ +J[b+20>>2]*4294967296)*.25;yp(a)}}function zl(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+8>>2]=16568;J[d+4>>2]=b;J[d>>2]=c;Ac(a,18330,d);Fa=d+16|0}function sv(a){var b=0;b=33108;a=J[J[a+4>>2]>>2];if(!(K[a+15|0]|J[a>>2]==66824)){b=J[a+184>>2]}return b}function qC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Fa-16|0;Fa=a;J[a>>2]=b;wd(c,d,8863,a);Fa=a+16|0;return 0}function nr(a,b,c){var d=0;d=Fa-16|0;Fa=d;if(!J[a+36>>2]){J[d+4>>2]=c;J[d>>2]=b;Ra(a,17315,d)}Fa=d+16|0}function mw(a,b,c,d){vp(a);J[a+36>>2]=d?d:8;H[a+19|0]=112;I[a+16>>1]=6657;J[a+8>>2]=b;J[a>>2]=c?c:30620}function lo(a,b){a=a+9|0;b=a>>>0<9?b+1|0:b;a=pb(a,b);if(!a){return 0}J[a>>2]=1;J[a+4>>2]=0;return a+8|0}function aj(a){var b=0;b=1;a:{if(!Xa(a,18322)){break a}if(!Xa(a,20441)){break a}b=!Xa(a,20447)}return b}function _r(a){var b=0,c=0;b=a;c=J[a+4>>2];a=J[a+8>>2];J[b+4>>2]=c|(K[a|0]==34?67108992:67108864);jf(a)}function ZD(a){a=a|0;var b=0;b=wb(a,0);if(b){O[b+24>>3]=(+M[b+16>>2]+ +J[b+20>>2]*4294967296)*.5;yp(a)}}function ud(a,b){b=b+52|0;while(1){b=J[b>>2];if(!(!b|J[b>>2]==(a|0))){b=b+24|0;continue}break}return b}function To(a){var b=0;b=J[a+12>>2];if((b|0)>=0){Gf(a,b,40110);J[a+12>>2]=-1}Oa(J[a+28>>2]);Sa(a,0,52)}function Ew(a,b,c){var d=0;d=Fa-16|0;Fa=d;a=tj(ja(a|0,b|0,c|0,0,d+8|0)|0);Fa=d+16|0;Ia=a?-1:J[d+12>>2]}function np(a,b){a:{if(!a){break a}a=J[a+264>>2];if(!a){break a}J[a+12>>2]=b;J[a+36>>2]=J[a+36>>2]+1}}function jm(a){var b=0;b=J[a+16>>2];if(!(!(b|J[a+20>>2])|(K[(b+J[a+4>>2]|0)-1|0]&223)==91)){bc(a,44)}}function Sa(a,b,c){var d=0;if(c){d=a;while(1){H[d|0]=b;d=d+1|0;c=c-1|0;if(c){continue}break}}return a}function Ek(a,b,c,d){var e=0;e=Fa-16|0;Fa=e;J[e+8>>2]=c;J[e+4>>2]=b;J[e>>2]=d;fc(a,29163,e);Fa=e+16|0}function rG(a){a=a|0;var b=0,c=0;if(J[a+20>>2]){b=J[a>>2];c=J[b+4>>2];J[b+4>>2]=0;kq(a);J[b+4>>2]=c}}function hp(a){var b=0;b=J[a+16>>2];if(!(!b|!(K[K[(J[a+4>>2]+b|0)-1|0]+31216|0]&70))){nb(a,30595,1)}}function Wc(a){var b=0;if(a){b=J[a+24>>2];if(b>>>0>=2){J[a+24>>2]=b-1;return}pf(a);Za(J[a+16>>2],a)}}function Ik(a,b,c){if(!Xa(J[J[a+16>>2]+(b<<4)>>2],c)){return 1}if(b){a=1}else{a=Xa(11276,c)}return!a}function ks(a,b){a:{a=J[a+248>>2];if(!a|K[a+43|0]){break a}a=J[a+48>>2];if(!a){break a}H[a+24|0]=b}}function Qu(a){var b=0;b=J[a+44>>2];a:{if(b){break a}b=0;if(J[a+232>>2]){break a}b=Go(a,4)}return b}function Jq(a,b){while(1){if(!(!a|!J[a>>2]|J[a+28>>2]==(b|0))){a=J[a+16>>2];continue}break}return a}function yv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Cb(c,e,(b|0)<(d|0)?b:d);return(a?a:b-d|0)|0}function iw(a,b){var c=0;b=sg(a,b);c=L[b+16>>1];if(c&8192){I[b+16>>1]=c&40959|16384}rg(a);return b}function hD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=tb(c,e,(b|0)<(d|0)?b:d);return(a?a:b-d|0)|0}function SA(a,b){if(!be(b)){if(K[a+220|0]>=2){nn(a,b)}_a(J[a>>2],b);b=nc(J[a>>2],121,0,0)}return b}function EA(a,b,c){a:{if(L[a+20>>1]){break a}Eb(a,b);if(!L[a+20>>1]){break a}I[a+20>>1]=0;Eb(a,c)}}function xH(a,b){a=a|0;b=b|0;if(!(!(K[b+4|0]&128)|K[b|0]!=117)){Qc(J[a>>2],J[a+24>>2],b)}return 0}function vH(a){a=a|0;var b=0,c=0;c=a;b=wb(a,8);if(b){a=J[b>>2];b=J[b+4>>2]}else{a=0;b=0}Vb(c,a,b)}function tI(a,b,c){a=a|0;b=b|0;c=c|0;lb(a,J[(K[(L[J[c>>2]+16>>1]&63)+31120|0]<<2)+51740>>2],-1,0)}function Zn(a){var b=0;b=J[a+4>>2];J[b+4>>2]=J[a>>2];if(!K[b+17|0]){return 0}return K[b+18|0]?2:1}function RA(a,b){a=Xc(a);if(a){J[a+28>>2]=b;H[a+2|0]=K[a|0];H[a|0]=176;J[a+4>>2]=J[a+4>>2]&-8193}}function Pf(a,b,c){if(K[a+43|0]){a=0}else{a=J[a+4>>2];a=Ja[J[J[a>>2]+56>>2]](a,b,c,10)|0}return a}function NH(a){a=a|0;var b=0,c=0;c=a;b=wb(a,0);if(b){a=J[b>>2];b=J[b+4>>2]}else{a=0;b=0}Vb(c,a,b)}function Hy(a,b){var c=0;a:{if(K[a|0]!=117){break a}if(!qq(a+1|0)){break a}J[b>>2]=8;c=1}return c}function CC(a,b){a=a|0;b=b|0;var c=0;a=J[a+4>>2];c=J[a+4>>2];J[b>>2]=J[a>>2];J[b+4>>2]=c;return 0}function Ay(a){if(!(!J[18282]|J[18281]<(J[a+12>>2]+J[a+8>>2]|0))){return J[18289]}return J[18200]}function gz(a,b){var c=0;a:{c=wb(a,0);if(!c){break a}if(L[c+16>>1]){ge(a,c)}if(b){break a}Vc(c)}}function cJ(a,b){a=a|0;b=b|0;if(!(!(H[b+7|0]&1)|K[b|0]!=172)){wA(J[a+24>>2],J[b+44>>2])}return 0}function Si(a){var b=0;a:{if(!a){break a}b=J[a>>2]-1|0;J[a>>2]=b;if(b){break a}Sb(J[a+12>>2],a)}}function xp(a){var b=0;if(a){xe(J[a+8>>2]);b=J[a>>2];if(b){xp(b)}b=J[a+4>>2];if(b){xp(b)}xe(a)}}function ub(a,b){var c=0,d=0;c=Fa-16|0;Fa=c;if(!ke()){J[c+12>>2]=b;d=al(a,b)}Fa=c+16|0;return d}function sl(a){a=K[a+97|0];if((a|0)==109|(a|0)==118|(a|0)==186){a=1}else{Qv(15126);a=0}return a}function mp(a,b){Vc(a);I[a+16>>1]=1040;H[a+18|0]=1;J[a+8>>2]=0;J[a+12>>2]=0;J[a>>2]=(b|0)>0?b:0}function SI(a,b){a=a|0;b=b|0;var c=0;if(!(K[b+6|0]&16|K[b|0]!=172)){I[a+20>>1]=0;c=2}return c|0}function Ao(a){var b=0;a:{if(K[a+20|0]){break a}b=J[a+12>>2];if(!b){break a}J[a+12>>2]=0;Gj(b)}}function wg(a,b,c){if(b){J[b+20>>2]=c;J[b+4>>2]=J[b+4>>2]|4198400;Ak(a,b);return}ac(J[a>>2],c)}function Qh(a,b){var c=0;c=a;a=J[b+4>>2]&1024;return Tf(c,J[(a?16:12)+b>>2],J[(a?12:16)+b>>2])}function Oc(a,b,c){if((c|0)==1){mb(a,b);return}if(J[a+28>>2]<(c|0)){J[a+32>>2]=b;J[a+28>>2]=c}}function Ih(a,b){if(K[a+43|0]){a=0}else{a=J[a+4>>2];a=Ja[J[J[a>>2]+56>>2]](a,b,1,6)|0}return a}function $p(a){a=a+8|0;while(1){a=J[a>>2];if(a){H[a+1|0]=K[a+1|0]&251;a=a+24|0;continue}break}}function _F(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)==(d|0)){a=Cb(a,c,b)}else{a=1}return a|0}function Zx(a){a=a|0;var b=0;while(1){b=a;a=b+1|0;if(Re(b)){continue}break}return K[b|0]!=0|0}function Qy(a,b){var c=0;c=Fa-16|0;Fa=c;J[c>>2]=b;b=a;a=ub(4010,c);Bb(b,a,-1);Oa(a);Fa=c+16|0}function Iw(a,b){return b*2247116418577895e292*wp(a+-1416.0996898839683)*2247116418577895e292}function Bp(a,b){var c=0;c=J[b+20>>2];if(c){J[c+28>>2]=J[c+28>>2]|16384;xd(a,c);J[b+20>>2]=0}}function $F(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)==(d|0)){a=bg(a,c,b)}else{a=1}return a|0}function xb(a,b,c,d){var e=0;b=b-1|0;e=we(a,b);if(!e){xc(J[a+100>>2]+P(b,40)|0,c,d)}return e}function rH(a){a=a|0;var b=0;b=wb(a,24);if(b){Vb(a,J[b>>2],J[b+4>>2]);J[b>>2]=0;J[b+4>>2]=0}}function dg(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+12>>2]=0;a=Xw(a,d+12|0,b,c);Fa=d+16|0;return a}function Nd(a,b,c){var d=0;d=Fa-16|0;Fa=d;Oa(J[a>>2]);J[d+12>>2]=c;J[a>>2]=al(b,c);Fa=d+16|0}function $q(a,b){var c=0;c=J[b+12>>2];while(1){if((c|0)>0){c=c-1|0;mg(a,b,c);continue}break}}function $f(a,b,c,d,e){if(!d&c>>>0>=2147483648|d){pw(b,e,a);return}nj(a,b,c,1,e);lw(J[a>>2])}function sI(a,b,c){a=a|0;b=b|0;c=c|0;b=J[c>>2];if(K[b+17|0]&8){b=K[b+19|0]}else{b=0}pc(a,b)}function kv(a){if(!J[a+44>>2]){if(K[a+18|0]&16){J[a+48>>2]=J[a+48>>2]|4096}J[a+44>>2]=4096}}function jB(a,b){a=a|0;b=b|0;jd(J[J[a+16>>2]+28>>2]+40|0,b+104|0,0);kb(a,J[b+4>>2]);Ua(a,b)}function aG(a,b){a=a|0;b=b|0;var c=0;c=J[a+108>>2];J[b>>2]=J[a+104>>2];J[b+4>>2]=c;return 0}function Rr(a){var b=0;b=Fa-16|0;Fa=b;J[b+12>>2]=0;bB(a,b+12|0);Fa=b+16|0;return J[b+12>>2]}function PG(a,b,c){a=a|0;b=b|0;c=c|0;if((b|0)>0){if(!(b&1)){Qy(a,14781);return}Py(a,b,c,2)}}function Me(a){var b=0;b=Fa-16|0;Fa=b;J[b+12>>2]=0;Zf(a,b+12|0);Fa=b+16|0;return J[b+12>>2]}function jH(a){a=a|0;var b=0;a:{b=wb(a,0);if(!b){break a}b=J[b>>2];if(!b){break a}ge(a,b)}}function gk(a,b,c){a:{if(!K[a+23|0]){break a}if(!Om(b)){break a}Nm(a,b,c);return}bk(a,b,c)}function TI(a,b){a=a|0;b=b|0;a=J[a>>2];Zc(a,0,b);if(!(K[b+7|0]&3)){Zc(a,0,b+44|0)}return 0}function Bk(a){var b=0;b=J[a+44>>2]+1|0;J[a+44>>2]=b;a=rb(a);if(a){Pa(a,4,0,b,-1);fe(a,0)}}function wC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=J[a+4>>2];J[a+32>>2]=J[a+32>>2]-1;return 0}function fC(a,b){a=a|0;b=b|0;var c=0;c=J[a+20>>2];J[b>>2]=J[a+16>>2];J[b+4>>2]=c;return 0}function UF(a,b,c){a=a|0;b=b|0;c=c|0;a=gc(4);if(!a){return 7}J[a>>2]=0;J[c>>2]=a;return 0}function IF(a,b){a=a|0;b=b|0;var c=0;c=J[a+36>>2];J[b>>2]=J[a+32>>2];J[b+4>>2]=c;return 0}function _w(a,b,c,d){H[J[a>>2]]=b;if(c|d){b=hc(J[a>>2]+1|0,c,d)+1|0}else{b=1}J[a+4>>2]=b}function Ux(a,b,c){a:{if(!a){break a}if((Ng(a)|0)!=1){break a}b=fb(a);c=Ia}Ia=c;return b}function Ro(a){Yi(a,1);I[a+28>>1]=L[a+28>>1]&65520|1;if(!(J[a+32>>2]|J[a+36>>2])){fv(a)}}function Jo(a){var b=0;Ho(a);b=I[a+40>>1];if((b|0)>=0){Gg(a,b+3&65535);I[a+40>>1]=65535}}function EB(a,b){a=a|0;b=b|0;var c=0;c=J[a+12>>2];J[b>>2]=J[a+8>>2];J[b+4>>2]=c;return 0}function rJ(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<<c;c=a;a=0-b&31;return d|(c&-1<<a)>>>a}function RF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Vx(1,a,b,c,d,e,f)|0}function QF(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return Vx(0,a,b,c,d,e,f)|0}function Er(a){var b=0;while(1){b=a;a=J[a+52>>2];if(a){continue}break}return J[b+28>>2]}function DA(a,b){if(K[b+5|0]&16){nr(a,J[J[J[b+20>>2]+28>>2]>>2],1);return}Ra(a,15608,0)}function aE(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a>>3];d=O[b>>3];return(c!=d?c<d?-1:1:0)|0}function Rs(a){H[a+24|0]=K[a+24|0]+1;a=J[a>>2];I[a+308>>1]=0;J[a+304>>2]=J[a+304>>2]+1}function oy(a){if(a){Oa(J[a+64>>2]);if(!K[a+5|0]){Oa(J[a+40>>2])}ul(J[a+52>>2])}Oa(a)}function hb(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+12>>2]=c;a=dh(a,b,c);Fa=d+16|0;return a}function fv(a){var b=0;b=J[a+12>>2];if(K[b+40|0]){Ja[J[16477]](J[b+52>>2],J[a>>2],0)}}function YH(a,b,c){a=a|0;b=b|0;c=c|0;b=J[J[a>>2]+20>>2];Vb(a,J[b+104>>2],J[b+108>>2])}function XH(a,b,c){a=a|0;b=b|0;c=c|0;b=J[J[a>>2]+20>>2];Vb(a,J[b+112>>2],J[b+116>>2])}function Tn(a,b,c){var d=0,e=0;d=Fa-16|0;Fa=d;e=a;a=d+6|0;Rn(e,a,af(a,b,c));Fa=d+16|0}function Df(a,b){Pa(J[a+8>>2],100,b,1,J[J[(J[J[a>>2]+16>>2]+(b<<4)|0)+12>>2]>>2]+1|0)}function Cf(a){while(1){if(!(!a|!(K[a+5|0]&32))){a=J[a+12>>2];continue}break}return a}function pq(a){if(K[K[a|0]+31216|0]&8){a=K[K[a+1|0]+31216|0]>>>3&1}else{a=0}return a}function hA(a,b,c){var d=0;d=J[a>>2];b=eb(d,b,0);if(!K[d+87|0]){rc(a,b,c,16)}_a(d,b)}function eh(a){var b=0;Na(a,84,3,1);b=Pa(a,59,1,J[a+108>>2]+2|0,1);Hb(a,70);return b}function aq(a){if(!K[a+5|0]){Oa(J[a+40>>2]);ul(J[a+52>>2]);J[a+52>>2]=0}J[a+40>>2]=0}function ao(a){var b=0;J[J[a+4>>2]+4>>2]=J[a>>2];b=om(a,0);if(!b){b=Wj(a,0)}return b}function KD(a,b){a=a|0;b=b|0;if((a|0)<0){return qc(-8)|0}return rp(a,30620,b,4096)|0}function fw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return kp(a,b,c,d,d>>31,e,1)|0}function fG(a,b){a=a|0;b=b|0;a=gc(128);if(!a){return 7}J[b>>2]=Sa(a,0,128);return 0}function _h(a){if(J[a+24>>2]){Oa(J[a+28>>2])}J[a+32>>2]=0;J[a+24>>2]=0;J[a+28>>2]=0}function _f(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return kp(a,b,c,d,d>>31,e,0)|0}function ZH(a,b,c){a=a|0;b=b|0;c=c|0;b=J[J[a>>2]+20>>2];Vb(a,J[b+40>>2],J[b+44>>2])}function NF(a,b){a=a|0;b=b|0;a=gc(96);J[b>>2]=a;if(!a){return 7}Sa(a,0,96);return 0}function oG(a){a=a|0;var b=0;b=J[a+20>>2];J[a+20>>2]=b-1;if((b|0)<=1){_l(a);Oa(a)}}function Uo(a){var b=0;b=J[a+84>>2];if(b){b=b-4|0;J[a+84>>2]=b;ef(b);J[a+84>>2]=0}}function lh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return vk(a,b,c,128,0,d,e)|0}function gF(a,b){a=a|0;b=b|0;a=gc(36);if(!a){return 7}J[b>>2]=Sa(a,0,36);return 0}function bk(a,b,c){var d=0;d=J[a>>2];b=eb(d,b,0);if(!K[d+87|0]){Xb(a,b,c)}_a(d,b)}function ZI(a,b){a=a|0;b=b|0;if(K[b|0]==168){H[b+2|0]=K[b+2|0]+K[a+24|0]}return 0}function qi(a){a=a-135|0;if(a>>>0<=2){a=J[(a<<2)+56808>>2]}else{a=20006}return a}function nC(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a+20>>2];return Ja[J[a+48>>2]](a,b,c)|0}function mn(a,b){var c=0;c=b;b=L[b+10>>1];I[c+10>>1]=b|1;if(b&96){Ra(a,18478,0)}}function mm(a,b){var c=0;while(1){if(b){c=J[b+12>>2];Za(a,b);b=c;continue}break}}function lC(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a+20>>2];return Ja[J[a+56>>2]](a,b,c)|0}function jC(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a+20>>2];return Ja[J[a+68>>2]](a,b,c)|0}function _A(a){a=a-7&255;if(a>>>0<=3){a=J[(a<<2)+56820>>2]}else{a=19976}return a}function Wn(a,b){var c=0;while(1){if(b){c=J[b+36>>2];Mk(a,b);b=c;continue}break}}function uo(a,b){var c=0;while(1){if(b){c=J[b+4>>2];Za(a,b);b=c;continue}break}}function uH(a,b,c){a=a|0;b=b|0;c=c|0;a=wb(a,24);if(a){J[a+8>>2]=1;J[a+12>>2]=0}}function rl(a,b,c,d,e){Wv(a,b,c,d,e);a=bd(a,0);if(!(!e|!a)){Ja[e|0](d)}return a}function Lk(a){var b=0;while(1){if(a){b=b+1|0;a=J[a>>2];continue}break}return b}function Jh(a,b){H[a+20|0]=b;if(J[a+12>>2]){Nf(a)}if((b|0)==18){np(J[a>>2],18)}}function FH(a,b){a=a|0;b=b|0;if(L[b+6>>1]&1056){a=1}else{cr(a,b);a=0}return a|0}function yx(a){a:{if(!a){break a}H[a|0]=0;if(K[a+1|0]|K[a+2|0]){break a}Oa(a)}}function te(a,b,c){if(!K[a+43|0]){a=J[a+4>>2];Ja[J[J[a>>2]+56>>2]](a,b,c,9)|0}}function ep(a,b){if(!b){return(a|0)!=0}if(!a){return 1}return Rh(a,b,31208,91)}function bn(a){var b=0;while(1){b=a;a=J[a+56>>2];if(a){continue}break}return b}function Og(a,b){a=a|0;b=b|0;b=L[sg(a,b)+16>>1];rg(a);return K[(b&63)+31120|0]}function JE(a,b,c){a=a|0;b=b|0;c=c|0;sw(a,b,c,17791,498,3.141592653589793,180)}function IE(a,b,c){a=a|0;b=b|0;c=c|0;sw(a,b,c,17850,499,180,3.141592653589793)}function qJ(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function ox(a,b){b=ab(J[b+56>>2]+28|0);if(!b){b=J[J[a>>2]+28>>2]}J[a+48>>2]=b}function os(a,b,c){if(b){J[b+64>>2]=c;yk(a,b);return b}Kk(J[a>>2],c);return b}function JC(a,b){a=a|0;b=b|0;J[b>>2]=!(Ja[J[16619]](J[a+24>>2],0)|0);return 0}function Ho(a){if(K[a+44|0]){te(a,0,1);J[a+104>>2]=0;H[a+44|0]=0;H[a+47|0]=0}}function Hl(a){var b=0;b=a;a=ye(a);if(!(!a|!(K[a-4|0]&3))){Sa(a,0,b)}return a}function qF(a,b,c){a=a|0;b=b|0;c=c|0;J[c>>2]=J[c>>2]+1;J[a+36>>2]=b;return 0}function ng(a){var b=0;b=ib(a,40,0);if(b){J[b+20>>2]=a;I[b+16>>1]=1}return b}function bF(a,b){a=a|0;b=b|0;a=J[a+12>>2];J[b>>2]=a;J[b+4>>2]=a>>31;return 0}function Td(a,b){J[a+20>>2]=b?b:-1;if(H[J[a>>2]+16|0]&1){nj(a,Th(b),-1,1,0)}}function Gg(a,b){if(!K[a+43|0]){a=J[a+4>>2];Ja[J[J[a>>2]+56>>2]](a,b,1,5)|0}}function Bb(a,b,c){a=a|0;b=b|0;c=c|0;J[a+20>>2]=1;cd(J[a>>2],b,c,c>>31,1,-1)}function um(a){if((a|0)>=11){a=Fd(a&65535,0)-33|0}else{a=0}return a<<16>>16}function oc(a,b){if(!b){return 0}a=yd(a,J[b>>2],J[b+4>>2],0);jf(a);return a}function ge(a,b){var c=0;c=J[a>>2];mj(c,b);Kd(c,K[a+24|0]);if(op(c)){Rg(a)}}function $a(a,b,c,d,e,f,g){var h=0;h=a;a=Pa(a,b,c,d,e);Sd(h,a,f,g);return a}function sG(a,b){a=a|0;b=b|0;if(M[a+36>>2]>=b>>>0){By(a,b);J[a+36>>2]=b-1}}function nG(a){a=a|0;a=J[16508];if(a){a=Ja[a|0](500)|0}else{a=0}return a|0}function gb(a,b,c){var d=0;d=Fa-16|0;Fa=d;J[d+12>>2]=c;Lg(a,b,c);Fa=d+16|0}function YB(a){a=a|0;var b=0;b=J[a>>2];J[a+4>>2]=J[b+220>>2];J[b+220>>2]=a}function TE(a,b){a=a|0;b=b|0;a=Sw(a,b);if(!a){H[J[b>>2]+21|0]=1}return a|0}function jt(a,b){var c=0;c=Hh(J[a>>2],b);if(!c){return 0}return yo(c,b,a)}function cB(a,b){var c=0;c=Fa-16|0;Fa=c;J[c>>2]=b;Ra(a,26785,c);Fa=c+16|0}function Mo(a){var b=0;while(1){if(a){b=J[a>>2];Oa(a);a=b;continue}break}}function Hg(a){J[a+108>>2]=J[a+108>>2]+1;vq(J[a+96>>2]);Eu(J[a+228>>2],0)}function Gf(a,b,c){if(Ja[J[16616]](b)|0){Dd(4106,13481,a?J[a+32>>2]:0,c)}}function Ch(a){var b=0;b=J[a>>2];if(b){Ja[J[b+4>>2]](a)|0;J[a>>2]=0}Oa(a)}function ul(a){var b=0;if(!a){return}b=J[a+16>>2];Za(J[a+20>>2],a);Rc(b)}function uC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;J[c>>2]=0;return J[a+44>>2]}function hF(a){a=a|0;Ja[J[J[a+12>>2]+8>>2]](J[a+16>>2])|0;Oa(a);return 0}function Iq(a,b){if(b){if(K[b|0]!=59){return Yc(a,b)}H[b|0]=117}return 0}function Hu(a){var b=0;b=J[a+228>>2];if(!(J[b+16>>2]|J[b+20>>2])){Zu(a)}}function vq(a){while(1){if(a){J[a+16>>2]=1;a=J[a+44>>2];continue}break}}function su(a){var b=0,c=0;c=K[a+18|0];b=Mf(a,4);if(b){Fg(a,c)}return b}function oC(a,b,c){a=a|0;b=b|0;c=c|0;a=J[a+20>>2];Ja[J[a+44>>2]](a,b,c)}function Zr(a){if(!Xa(a,12960)){return 268435456}return!Xa(a,13493)<<29}function SC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;J[e>>2]=0;return 0}function Rk(a,b,c){a=Mt(a,b);if(a){return _i(a,(c|0)!=0)}return(c|0)!=0}function Qv(a){var b=0;b=Fa-16|0;Fa=b;J[b>>2]=a;Ac(21,9254,b);Fa=b+16|0}function Ah(a){J[a>>2]=fb(a);J[a+4>>2]=Ia;I[a+16>>1]=L[a+16>>1]&62016|4}function pC(a,b){a=a|0;b=b|0;a=J[a+20>>2];return Ja[J[a+40>>2]](a,b)|0}function pB(a,b){a=a|0;b=b|0;Ua(a,J[b+20>>2]);Ua(a,J[b+32>>2]);Za(a,b)}function kC(a,b){a=a|0;b=b|0;a=J[a+20>>2];return Ja[J[a+60>>2]](a,b)|0}function iC(a,b){a=a|0;b=b|0;a=J[a+20>>2];return Ja[J[a+72>>2]](a,b)|0}function hu(a){Oa(J[a+28>>2]);Oa(J[a+36>>2]);gu(J[a+48>>2]);Sa(a,0,56)}function rq(a){var b=0;while(1){b=J[a>>2];if(b){Ro(b);continue}break}}function ow(){var a=0;a=Fa-16|0;Fa=a;J[a>>2]=52676;Iv(18,a);Fa=a+16|0}function kf(a){var b=0;if(K[a+151|0]){b=lr(a)}else{b=0}so(a);return b}function Tp(a,b){if(!J[a+44>>2]){return 0}return Ad(b,J[a+24>>2]+1|0)}function KF(a){a=a|0;if(!K[a+6|0]){return 0}Zp(a);H[a+6|0]=1;return 1}function tD(a){a=a|0;var b=0;return(!a|!J[a+120>>2]?b:L[a+144>>1])|0}function dw(a,b,c){if(!a|!b){a=0}else{a=cw(J[a+128>>2],b,c)}return a}function dl(a){if(K[a+43|0]!=2){a=J[a+4>>2];Ja[J[J[a>>2]+60>>2]](a)}}function bi(a,b,c,d,e,f,g,h,i){return ny(a,b,c,d,e,f,g,h,Sa(i,0,64))}function Ub(a,b){if(!a){return b?-1:0}if(!b){return 1}return Xa(a,b)}function KH(a){a=a|0;var b=0;b=wb(a,0);if(b){qm(a,b);Oa(J[b+32>>2])}}function Jw(){var a=0;a=Fa-16|0;Fa=a;J[a>>2]=52644;Iv(4,a);Fa=a+16|0}function $n(a,b){var c=0;c=J[a+4>>2];J[c+4>>2]=J[a>>2];dv(J[c>>2],b)}function VI(a,b){a=a|0;b=b|0;if(H[b+7|0]&1){Xn(J[b+44>>2])}return 0}function UE(a,b){a=a|0;b=b|0;J[b>>2]=J[a+4>>2];J[b+4>>2]=0;return 0}function MD(a,b,c){a=a|0;b=b|0;c=c|0;return qc(da(a|0,b|0,c|0)|0)|0}function Kv(a){var b=0;b=J[a>>2];J[a>>2]=b-12;Lv(a,L[b+2>>1],b+4|0)}function JD(a,b,c){a=a|0;b=b|0;c=c|0;return qc(ka(a|0,b|0,c|0)|0)|0}function xi(a,b){Va(a,68,b);a=J[a+12>>2];J[a+28>>2]=0;H[a+19|0]=0}function wh(a,b){if(!J[b>>2]){J[b>>2]=it(J[a+52>>2],a,J[a+4>>2])}}function vF(a,b){a=a|0;b=b|0;if(J[a+256>>2]>(b|0)){Sl(a)}return 0}function sD(a,b){a=a|0;b=b|0;var c=0;c=yb(sg(a,b));rg(a);return+c}function Cw(a,b){a=zw(a-1|0);if(!a){a=zw(b);a=a?a+32|0:0}return a}function zd(a,b){var c=0;c=J[a+8>>2];a=pk(a,b);if(a){sc(c,a,-8)}}function Lj(a,b,c){J[b+12>>2]=c;return my(a,b,J[c>>2],J[c+4>>2])}function xs(a,b){if(b){if(K[a+220|0]>=2){nn(a,b)}ce(J[a>>2],b)}}function rC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;J[d>>2]=0;return 0}function qc(a){if(a>>>0>=4294963201){J[18304]=0-a;a=-1}return a}function Wl(a,b,c){a=ky(a,b,c);if(!a){return 0}return J[a+8>>2]}function Sc(a,b){var c=0;b=fb(sg(a,b));c=Ia;rg(a);Ia=c;return b}function Hw(a){var b=0;b=Fa-16|0;O[b+8>>3]=a;return O[b+8>>3]*a}function mF(a,b,c){a=a|0;b=b|0;c=c|0;J[(b<<4)+c>>2]=a;return 0}function kt(a,b){kb(a,J[b+4>>2]);ac(a,J[b+8>>2]);Ua(a,J[b>>2])}function Yo(a,b){H[a+84|0]=b;J[a+8>>2]=gf(a,b,33312,0);Uf(a,1)}function Xm(a,b,c){Hb(a,83);Na(a,84,b,1);Tm(a,1);wf(a,0,0,c,0)}function PD(a,b){a=a|0;b=b|0;return qc(Ea(-100,a|0,b|0,0)|0)|0}function PA(a){if(J[a>>2]){a=0}else{Ac(21,2905,0);a=1}return a}function tB(a,b){a=a|0;b=b|0;J[a+16>>2]=J[a+16>>2]+1;return 0}function mC(a,b){a=a|0;b=b|0;a=J[a+20>>2];Ja[J[a+52>>2]](a,b)}function ik(a,b){a=db(a,75,0,0);if(a){I[a+32>>1]=b+1}return a}function VA(a,b){var c=0;b=oc(a,b);c=xg(a,b);Ua(a,b);return c}function Uc(a,b,c){a=a|0;b=b|0;c=c|0;return xb(a,b,c,c>>31)|0}function yj(a){var b=0;C(+a);b=x(1)|0;x(0)|0;return b>>>20|0}function uf(a,b){b=hd(a,b);if(!b){b=J[J[a>>2]+8>>2]}return b}function qE(a,b,c){a=a|0;b=b|0;c=c|0;Nb(a,3.141592653589793)}function gc(a){if(ke()|(a|0)<=0){a=0}else{a=Yb(a,0)}return a}function dj(a,b,c,d,e){if(!b){return 0}return ap(a,b,c,d,e)}
function Qb(a){Rb(J[a>>2]);J[a+20>>2]=7;Db(J[J[a>>2]+20>>2])}function MA(a,b){if(K[b|0]==138){a=ek(a,b)}else{a=0}return a}function Gj(a){var b=0;a=J[a+72>>2];b=J[a+20>>2];il(a);Hu(b)}function GD(a,b){a=a|0;b=b|0;return qc(wa(-100,a|0,b|0)|0)|0}function zw(a){var b=0,c=0,d=0;return b=kJ(a),c=0,d=a,d?b:c}function ov(a,b,c,d,e){return hv(J[a+12>>2],b,c,d,e,a+20|0)}function bw(a,b){Vc(a);Qa(a,b,40);J[b+24>>2]=0;I[b+16>>1]=1}function Pe(a,b){a=a|0;b=b|0;b=$c(sg(a,b));rg(a);return b|0}function Oe(a,b){a=a|0;b=b|0;b=Wa(sg(a,b));rg(a);return b|0}function OD(a){a=a|0;a=ba(a|0)|0;return tj((a|0)!=27?a:0)|0}function Id(a,b){a=a|0;b=b|0;b=sb(sg(a,b));rg(a);return b|0}function $i(a){var b=0;b=od(512,0);if(b){J[b>>2]=a}return b}function rv(a,b){b=ff(a,b);a=J[a+528>>2];J[a>>2]=b+J[a>>2]}function lb(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;nj(a,b,c,1,d)}function he(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;nj(a,b,c,0,d)}function cu(a){O[a>>3]=yb(a);I[a+16>>1]=L[a+16>>1]&62016|8}function Rb(a){if(K[a+17|0]&144){yl(a);return}I[a+16>>1]=1}function Oi(a,b,c,d){c=_c(a,b,c,d);if(!c){Ua(a,b)}return c}function LC(a){a=a|0;gv(a,0);Oa(J[a+24>>2]);To(a);return 0}function ol(a,b,c,d,e,f,g,h){return Ev(a,b,c,d,e,f,g,h,0)}function bs(a){if(!a){Ac(21,2950,0);return 1}return PA(a)}function Mi(a,b,c){a=a|0;b=b|0;c=c|0;return vh(a,b,c,0)|0}function Bc(a,b,c){if(ke()){a=0}else{a=Gd(a,b,c)}return a}function ty(a){a=a|0;if(a){Oa(J[a+12>>2]);Oa(a)}return 0}function id(a,b,c){if(a){return Ib(a,b,c)}return Yb(b,c)}function Ve(a,b){if(!b){Ia=0;return 0}a=tm(a,b);return a}function Rg(a){J[a+20>>2]=18;cd(J[a>>2],12519,-1,-1,1,0)}function uD(a){a=a|0;if(!a){return 0}return L[a+144>>1]}function rg(a){if(a){J[a+36>>2]=bd(J[a>>2],J[a+36>>2])}}function qD(a){a=a|0;if(!a){return 0}return J[a+200>>2]}function ib(a,b,c){a=id(a,b,c);if(a){Sa(a,0,b)}return a}function dJ(a,b){a=a|0;b=b|0;return J[a+24>>2]!=(b|0)|0}function Ht(a){if(!K[J[a+36>>2]]){return 0}return $t(a)}function fI(a,b,c){a=a|0;b=b|0;c=c|0;fz(a,b,c,0,30620)}function Ya(a){if(!a){return 0}return ob(a)&1073741823}function Tz(a,b,c){zf(a,J[b+28>>2],J[c>>2],0,K[c+4|0])}function HD(a,b){a=a|0;b=b|0;return rp(-100,a,b,256)|0}function Fb(a){a=a|0;return K[(L[a+16>>1]&63)+31120|0]}function vv(a,b){if(!a){return 0}return(fl(a,b)|0)!=0}function pb(a,b){if(ke()){a=0}else{a=Yb(a,b)}return a}function eb(a,b,c){if(!b){return 0}return jr(a,b,c,0)}function dB(a,b,c){if((b|0)>0){Na(J[a+8>>2],159,b,c)}}function cp(a,b,c,d){return vk(a,b,-1,c&15|128,0,d,0)}function aI(a,b,c){a=a|0;b=b|0;c=c|0;lb(a,16548,-1,0)}function RC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function sB(a,b){a=a|0;b=b|0;J[a+16>>2]=J[a+16>>2]-1}function ZE(a){a=a|0;Cj(a);Ua(J[a+36>>2],a);return 0}function Yk(a){Eg(a);Ia=J[a+36>>2];return J[a+32>>2]}function Lp(a,b,c){b=Bc(a,b,c);if(!b){Oa(a)}return b}function Hf(a,b,c){c=Ob(b,c);Ua(b,J[a>>2]);J[a>>2]=c}function CB(a,b,c){a=a|0;b=b|0;c=c|0;return J[18304]}function BI(a,b,c){a=a|0;b=b|0;c=c|0;lb(a,1024,-1,0)}function AD(a,b){a=a|0;b=b|0;return rp(-100,a,b,0)|0}function wF(a,b){a=a|0;b=b|0;J[a+256>>2]=b;return 0}function rD(a,b){a=a|0;b=b|0;return dw(a,b,Ya(b))|0}function qq(a){if(!pq(a)){return 0}return pq(a+2|0)}function od(a,b){b=Yb(a,b);if(b){Sa(b,0,a)}return b}function kJ(a){if(a){return 31-S(a-1^a)|0}return 32}function Xk(a){Oa(J[a+16>>2]);H[a|0]=1;J[a+16>>2]=0}function WE(a){a=a|0;return M[a+8>>2]>=M[a+12>>2]|0}function Be(a,b){b=pb(a,b);if(b){Sa(b,0,a)}return b}function yD(a){a=a|0;return qc(oa(-100,a|0,0)|0)|0}function tj(a){if(!a){return 0}J[18304]=a;return-1}function pw(a,b,c){if(b+1>>>0>=2){Ja[b|0](a)}Rg(c)}function gd(a,b){var c=0;c=J[a+128>>2];AA(c?c:a,b)}function gJ(a,b){a=a|0;b=b|0;I[a+20>>1]=0;return 2}function fq(a){a=a|0;Oa(J[a+20>>2]);Oa(a);return 0}function Vc(a){if(K[a+17|0]&144|J[a+24>>2]){vp(a)}}function Lt(a){return Cc(J[a+24>>2]+8|0,J[a+4>>2])}function tg(a){return Cc(J[a+60>>2]+56|0,J[a>>2])}function GF(a){a=a|0;J[a+52>>2]=0;return Dx(a)|0}
function pc(a,b){a=a|0;b=b|0;xc(J[a>>2],b,b>>31)}function pJ(a,b,c,d){jJ(a,b,c,d);Ia=Ha;return Ga}function QD(a){a=a|0;a=Fa-a&-16;Fa=a;return a|0}function MC(a,b){a=a|0;b=b|0;J[b>>2]=0;return 0}function Eb(a,b){if(!b){return 0}return Hm(a,b)}function wD(a,b,c){a=a|0;b=b|0;c=c|0;Vb(a,b,c)}function ti(a,b,c){if((b|0)>0){Pa(a,59,b,c,1)}}function _G(a,b,c){a=a|0;b=b|0;c=c|0;Xy(a,0,0)}function _E(a){a=a|0;Ua(J[a+12>>2],a);return 0}function ZG(a,b,c){a=a|0;b=b|0;c=c|0;_y(a,0,0)}function Sm(a,b){if(b){Ic(a,1,b);Na(a,84,1,1)}}function $G(a,b,c){a=a|0;b=b|0;c=c|0;Zy(a,0,0)}function sm(a,b,c){return Zb(0,Cf(a),Cf(b),c)}function ac(a,b){a=a|0;b=b|0;if(b){lt(a,b,1)}}function Op(a){return a&128?1:K[a+56320|0]!=0}function Ic(a,b,c){return $a(a,117,0,b,0,c,0)}function Ad(a,b){b=fb(sg(a,b));rg(a);return b}function dp(a,b,c){return vk(a,b,-1,0,0,c,0)}function XC(a){a=a|0;kv(a);return J[a+44>>2]}function WC(a){a=a|0;kv(a);return J[a+48>>2]}function Se(a){ul(J[a+252>>2]);J[a+252>>2]=0}function Pc(a){if(a){Vc(a);Za(J[a+20>>2],a)}}function Ou(a){a=a|0;Mo(J[a+12>>2]);return 0}function ym(a,b,c){if(a){cd(a,b,-1,-1,1,c)}}function ri(a,b,c,d){Pa(J[a+8>>2],79,b,c,d)}function oJ(a,b,c,d){a=jJ(a,b,c,d);return a}function kb(a,b){a=a|0;b=b|0;if(b){Vf(a,b)}}function iz(a,b){a=rb(a);if(a){Va(a,150,b)}}function _a(a,b){a=a|0;b=b|0;if(b){ce(a,b)}}function Ua(a,b){a=a|0;b=b|0;if(b){Za(a,b)}}function BD(a){a=a|0;return qc(sa(a|0)|0)|0}function hy(a){Rf(J[a+64>>2]);J[a+64>>2]=0}function ck(a){return!K[J[Xc(a)+8>>2]+4|0]}function UB(a){a=a|0;Ot(a);Ua(J[a+4>>2],a)}function vo(a,b){if(K[b+4|0]&16){Sb(a,b)}}function tA(a){Ra(a,10363,0);J[a+12>>2]=1}function gu(a){if(a){Dg(J[a+4>>2]);Oa(a)}}function fF(a){a=a|0;Cp(a);Oa(a);return 0}function fD(a,b){a=a|0;b=b|0;return 32800}function Nb(a,b){a=a|0;b=+b;nw(J[a>>2],b)}function Na(a,b,c,d){return Pa(a,b,c,d,0)}function MF(a){a=a|0;Zp(a);Oa(a);return 0}function Jl(a){return Sg(gc(ob(a)+1|0),a)}function IC(a,b){a=a|0;b=b|0;return 32876}function IB(a){a=a|0;Jn(a);Oa(a);return 0}function HC(a,b){a=a|0;b=b|0;return 32952}function Cc(a,b){return J[Ys(a,b,0)+8>>2]}function uw(a){return a-97>>>0<26?a&95:a}function dF(a){a=a|0;return!J[a+16>>2]|0}function wo(a,b,c,d){return tl(a,b,c,d)}function rr(a,b){if(b){cb(J[a+8>>2],b)}}function nD(a){a=a|0;return J[a+104>>2]}function de(a){zl(14,a,14057);return 14}function cG(a){a=a|0;return J[a+100>>2]}function _i(a,b){return(tv(a,1,b)|0)!=0}function Va(a,b,c){return Pa(a,b,c,0,0)}function Ta(a){zl(11,a,10229);return 11}function Nv(a,b,c){return rl(a,b,c,0,0)}function Nc(a){zl(21,a,13234);return 21}function GB(a){a=a|0;return!J[a+4>>2]|0}function wG(a){a=a|0;return J[a+48>>2]}function Sh(a){Eg(a);return J[a+44>>2]}function sb(a){a=a|0;return Aw(a,1)|0}function pu(a,b,c){Qa(b,a,c);return 0}function mD(a){a=a|0;return Hv(a,1)|0}function Wa(a){a=a|0;return Fl(a,1)|0}function Lh(a,b){a=a|0;b=b|0;return 0}function Lb(a,b){return Pa(a,9,0,b,0)}function Hb(a,b){return Pa(a,b,0,0,0)}function CG(a){a=a|0;return J[a-8>>2]}function zG(a){a=a|0;Sa(73060,0,100)}function uh(a){if(J[a+24>>2]){vp(a)}}function lB(a,b){a=a|0;b=b|0;xd(a,b)}function hJ(a,b){a=a|0;b=b|0;Kk(a,b)}function KI(a,b,c){a=a|0;b=b|0;c=c|0}function qp(a){return tj(Aa(a|0)|0)}function Xo(a){if(a){Oa(uv(a)-4|0)}}function Ru(a,b,c){if(a){Nu(a,b,c)}}function NC(a){a=a|0;To(a);return 0}function Kn(a){a=a|0;Oa(a);return 0}function EF(a){a=a|0;Sl(a);return 0}function Al(a){a=a|0;return fb(a)|0}function Vb(a,b,c){xc(J[a>>2],b,c)}function Nw(a,b,c){Lw(J[a>>2],b,c)}function EI(a){a=a|0;Za(J[a>>2],a)}function BG(a){a=a|0;return a+7&-8}function zD(a){a=a|0;return+yb(a)}function yC(a){a=a|0;return 5633}function Mb(a){a=a|0;Rb(J[a>>2])}function Iz(a,b){bA(a,b);Sb(a,b)}function Ee(a){return(Mc(a)|0)>1}function be(a){return tk(a,1,0)}function Vh(a,b){return ly(a,b)}function Om(a){return tk(a,2,0)}function Qd(a,b){nb(a,b,Ya(b))}function EG(a){a=a|0;xe(a-8|0)}function eH(a){a=a|0;tw(a,16)}function Lf(a){vf(J[a+72>>2])}function Ey(a){a=a|0;return 0}function wB(a,b){a=a|0;b=b|0}function vI(a){a=a|0;gz(a,0)}function uI(a){a=a|0;gz(a,1)}function gH(a){a=a|0;tw(a,0)}function LG(a){a=a|0;Oy(a,1)}function KG(a){a=a|0;Oy(a,0)}function HG(a){a=a|0;Ny(a,1)}function GG(a){a=a|0;Ny(a,0)}function zb(a){if(a){Lf(a)}}function fk(a,b){dd(a,79,b)}function ed(a){if(a){vf(a)}}function vD(a){a=a|0;Oa(a)}function Ue(a){Aq(a);Yy(a)}function UD(){return 73216}function Mw(a){xp(J[a>>2])}function Mp(a){Yg(a);Oa(a)}function SD(){return Fa|0}function RD(a){a=a|0;Fa=a}function Fv(a){fu(a,68)}function TD(){return 0}function xl(a){a=a|0}
// EMSCRIPTEN_END_FUNCS
g=K;r(s);var Ja=e([null,Oa,vD,YB,Jt,Zq,uC,tC,xl,Qg,Sv,yB,xB,wB,kD,yv,hD,gD,jD,oD,vC,cv,Tj,eC,dC,cC,bC,aC,$B,_B,UB,VB,Mi,XB,WB,QB,PB,OB,hJ,dJ,cJ,fJ,lD,iJ,kb,jB,Lh,vB,uB,tB,sB,rB,Ua,qB,pB,oB,nB,ac,mB,lB,kB,TI,gJ,GA,UI,Lh,YI,XI,WI,QI,PI,eJ,SI,RI,rc,sA,bJ,JI,II,_a,Fe,aJ,$I,_I,ZI,VI,OI,NI,LI,MI,KI,EI,FH,EH,CH,BH,xH,Iy,pG,oG,hq,gq,$F,_F,YF,XF,ZF,ly,SF,Zx,Xd,CF,BF,AF,zF,qF,pF,oF,nF,mF,rF,sF,lF,kF,ZB,TB,SB,RB,NB,KB,DB,CB,Ss,BB,AB,zB,fD,IC,HC,eD,dD,cD,bD,aD,$C,_C,qv,ZC,YC,XC,WC,VC,UC,xl,TC,SC,RC,QC,OD,PD,ID,AD,KD,JD,LD,DD,xD,ND,yD,PC,GD,BD,MD,TD,FD,ED,OC,CD,HD,NC,Lh,Lh,MC,LC,KC,gv,JC,GC,FC,EC,DC,Lh,CC,BC,AC,zC,yC,xC,wC,sC,rC,qC,pC,oC,nC,mC,lC,kC,jC,iC,Ou,hC,gC,Lo,Lh,fC,MB,LB,Kn,JB,IB,HB,Us,GB,FB,EB,HI,GI,FI,DI,CI,BI,AI,zI,yI,xI,wI,vI,uI,tI,sI,rI,qI,pI,oI,nI,mI,lI,kI,jI,iI,hI,gI,fI,eI,dI,cI,bI,aI,$H,_H,ZH,YH,XH,WH,VH,UH,TH,SH,RH,QH,PH,OH,NH,MH,LH,KH,JH,IH,HH,GH,DH,AH,zH,yH,wH,vH,uH,tH,sH,rH,az,qH,$y,az,pH,$y,oH,nH,mH,lH,kH,jH,iH,hH,gH,xl,fH,eH,dH,cH,_y,Zy,Xy,bH,aH,$G,_G,ZG,YG,XG,WG,VG,UG,TG,SG,RG,QG,PG,OG,NG,MG,LG,KG,JG,IG,HG,GG,FG,EG,DG,CG,BG,Ey,xl,AG,zG,yG,xG,wG,vG,uG,tG,sG,Cy,rG,qG,nG,mG,RF,QF,PF,_p,OF,NF,MF,LF,Mx,KF,JF,IF,HF,GF,FF,Ey,EF,DF,yF,xF,wF,vF,uF,tF,lG,ty,kG,fq,jG,iG,hG,gG,fG,eG,dG,qy,cG,bG,aG,WF,Kn,_x,fq,VF,UF,Kn,_x,fq,TF,jF,iF,hF,gF,fF,eF,Uw,dF,cF,bF,aF,$E,_E,Sw,ZE,YE,XE,WE,VE,UE,TE,bE,aE,_D,VD,RE,QE,PE,OE,NE,ME,LE,KE,JE,IE,HE,GE,FE,EE,DE,CE,BE,AE,zE,yE,xE,wE,vE,uE,tE,sE,rE,qE,pE,oE,nE,mE,lE,kE,jE,iE,hE,gE,fE,eE,dE,cE,$D,ZD,XD,WD]);function Ka(){return G.byteLength/65536|0}return{"J":iB,"K":Oa,"L":Wa,"M":UD,"N":lh,"O":qb,"P":Rc,"Q":jb,"R":YD,"S":$c,"T":sb,"U":zD,"V":Al,"W":Fb,"X":he,"Y":Nb,"Z":Bb,"_":pc,"$":wD,"aa":Mb,"ba":lb,"ca":wb,"da":uD,"ea":tD,"fa":Pe,"ga":Id,"ha":sD,"ia":Oe,"ja":Og,"ka":wl,"la":_f,"ma":gw,"na":Uc,"oa":fw,"pa":rD,"qa":qD,"ra":pD,"sa":Wf,"ta":Rd,"ua":nD,"va":mD,"wa":Dv,"xa":iD,"ya":ye,"za":xe,"Aa":Ja,"Ba":SE,"Ca":Kw,"Da":SD,"Ea":RD,"Fa":QD}}return La(Ma)}
// EMSCRIPTEN_END_ASM


)(a)}function Oa(a){return{then:function(b){b({instance:new Na(a)})}}}
var Pa=Error,WebAssembly={};Ka=[];"object"!=typeof WebAssembly&&C("no native wasm support detected");var Qa,Ra=!1,p,q,Sa,D,E,Ta,Ua,Ma=f.INITIAL_MEMORY||16777216;f.wasmMemory?Qa=f.wasmMemory:Qa=new La;var H=Qa.buffer;f.HEAP8=p=new Int8Array(H);f.HEAP16=Sa=new Int16Array(H);f.HEAPU8=q=new Uint8Array(H);f.HEAPU16=new Uint16Array(H);f.HEAP32=D=new Int32Array(H);f.HEAPU32=E=new Uint32Array(H);f.HEAPF32=Ta=new Float32Array(H);f.HEAPF64=Ua=new Float64Array(H);Ma=Qa.buffer.byteLength;var Va=[],Xa=[],Ya=[];
function Za(){var a=f.preRun.shift();Va.unshift(a)}var $a=0,ab=null,bb=null;function C(a){f.onAbort?.(a);a="Aborted("+a+")";B(a);Ra=!0;throw new Pa(a+". Build with -sASSERTIONS for more info.");}var cb=a=>a.startsWith("data:application/octet-stream;base64,"),Ia=a=>a.startsWith("file://"),db;db="sql-asm.wasm";if(!cb(db)){var eb=db;db=f.locateFile?f.locateFile(eb,A):A+eb}
function fb(a){if(a==db&&Ka)return new Uint8Array(Ka);if(cb(a)){var b=a.slice(37);if("undefined"!=typeof Ca&&Ca)b=Buffer.from(b,"base64"),b=new Uint8Array(b.buffer,b.byteOffset,b.length);else{b=atob(b);for(var c=new Uint8Array(b.length),d=0;d<b.length;++d)c[d]=b.charCodeAt(d);b=c}}else b=void 0;if(b)return b;if(Ga)return Ga(a);throw"both async and sync fetching of the wasm failed";}
function gb(a){if(!Ka&&!cb(a)&&(Aa||Ba)){if("function"==typeof fetch&&!Ia(a))return fetch(a,{credentials:"same-origin"}).then(b=>{if(!b.ok)throw"failed to load wasm binary file at '"+a+"'";return b.arrayBuffer()}).catch(()=>fb(a));if(Fa)return new Promise((b,c)=>{Fa(a,d=>b(new Uint8Array(d)),c)})}return Promise.resolve().then(()=>fb(a))}function hb(a,b,c){return gb(a).then(()=>Oa(b)).then(d=>d).then(c,d=>{B(`failed to asynchronously prepare wasm: ${d}`);C(d)})}
function ib(a,b){var c=db;Ka||"function"!=typeof WebAssembly.instantiateStreaming||cb(c)||Ia(c)||Ca||"function"!=typeof fetch?hb(c,a,b):fetch(c,{credentials:"same-origin"}).then(d=>WebAssembly.instantiateStreaming(d,a).then(b,function(e){B(`wasm streaming compile failed: ${e}`);B("falling back to ArrayBuffer instantiation");return hb(c,a,b)}))}var I,J,jb=a=>{for(;0<a.length;)a.shift()(f)};
function m(a,b="i8"){b.endsWith("*")&&(b="*");switch(b){case "i1":return p[a>>0];case "i8":return p[a>>0];case "i16":return Sa[a>>1];case "i32":return D[a>>2];case "i64":C("to do getValue(i64) use WASM_BIGINT");case "float":return Ta[a>>2];case "double":return Ua[a>>3];case "*":return E[a>>2];default:C(`invalid type for getValue: ${b}`)}}
function qa(a){var b="i32";b.endsWith("*")&&(b="*");switch(b){case "i1":p[a>>0]=0;break;case "i8":p[a>>0]=0;break;case "i16":Sa[a>>1]=0;break;case "i32":D[a>>2]=0;break;case "i64":C("to do setValue(i64) use WASM_BIGINT");case "float":Ta[a>>2]=0;break;case "double":Ua[a>>3]=0;break;case "*":E[a>>2]=0;break;default:C(`invalid type for setValue: ${b}`)}}
var kb="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,M=(a,b,c)=>{var d=b+c;for(c=b;a[c]&&!(c>=d);)++c;if(16<c-b&&a.buffer&&kb)return kb.decode(a.subarray(b,c));for(d="";b<c;){var e=a[b++];if(e&128){var h=a[b++]&63;if(192==(e&224))d+=String.fromCharCode((e&31)<<6|h);else{var l=a[b++]&63;e=224==(e&240)?(e&15)<<12|h<<6|l:(e&7)<<18|h<<12|l<<6|a[b++]&63;65536>e?d+=String.fromCharCode(e):(e-=65536,d+=String.fromCharCode(55296|e>>10,56320|e&1023))}}else d+=String.fromCharCode(e)}return d},
ra=(a,b)=>a?M(q,a,b):"",lb=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a},t=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=lb(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},mb=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&=b.substr(0,b.length-1);return a+
b},ob=a=>{if("/"===a)return"/";a=t(a);a=a.replace(/\/$/,"");var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)},pb=()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return c=>crypto.getRandomValues(c);if(Ca)try{var a=require("crypto");if(a.randomFillSync)return c=>a.randomFillSync(c);var b=a.randomBytes;return c=>(c.set(b(c.byteLength)),c)}catch(c){}C("initRandomDevice")},xb=a=>(xb=pb())(a);
function yb(){for(var a="",b=!1,c=arguments.length-1;-1<=c&&!b;c--){b=0<=c?arguments[c]:"/";if("string"!=typeof b)throw new TypeError("Arguments to path.resolve must be strings");if(!b)return"";a=b+"/"+a;b="/"===b.charAt(0)}a=lb(a.split("/").filter(d=>!!d),!b).join("/");return(b?"/":"")+a||"."}
var zb=[],da=a=>{for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);127>=d?b++:2047>=d?b+=2:55296<=d&&57343>=d?(b+=4,++c):b+=3}return b},fa=(a,b,c,d)=>{if(!(0<d))return 0;var e=c;d=c+d-1;for(var h=0;h<a.length;++h){var l=a.charCodeAt(h);if(55296<=l&&57343>=l){var u=a.charCodeAt(++h);l=65536+((l&1023)<<10)|u&1023}if(127>=l){if(c>=d)break;b[c++]=l}else{if(2047>=l){if(c+1>=d)break;b[c++]=192|l>>6}else{if(65535>=l){if(c+2>=d)break;b[c++]=224|l>>12}else{if(c+3>=d)break;b[c++]=240|l>>18;b[c++]=128|l>>
12&63}b[c++]=128|l>>6&63}b[c++]=128|l&63}}b[c]=0;return c-e};function oa(a,b){var c=Array(da(a)+1);a=fa(a,c,0,c.length);b&&(c.length=a);return c}var Ab=[];function Bb(a,b){Ab[a]={input:[],output:[],Xa:b};Cb(a,Db)}
var Db={open(a){var b=Ab[a.node.rdev];if(!b)throw new P(43);a.tty=b;a.seekable=!1},close(a){a.tty.Xa.fsync(a.tty)},fsync(a){a.tty.Xa.fsync(a.tty)},read(a,b,c,d){if(!a.tty||!a.tty.Xa.sb)throw new P(60);for(var e=0,h=0;h<d;h++){try{var l=a.tty.Xa.sb(a.tty)}catch(u){throw new P(29);}if(void 0===l&&0===e)throw new P(6);if(null===l||void 0===l)break;e++;b[c+h]=l}e&&(a.node.timestamp=Date.now());return e},write(a,b,c,d){if(!a.tty||!a.tty.Xa.jb)throw new P(60);try{for(var e=0;e<d;e++)a.tty.Xa.jb(a.tty,b[c+
e])}catch(h){throw new P(29);}d&&(a.node.timestamp=Date.now());return e}},Eb={sb(){a:{if(!zb.length){var a=null;if(Ca){var b=Buffer.alloc(256),c=0,d=process.stdin.fd;try{c=fs.readSync(d,b)}catch(e){if(e.toString().includes("EOF"))c=0;else throw e;}0<c?a=b.slice(0,c).toString("utf-8"):a=null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(a=window.prompt("Input: "),null!==a&&(a+="\n")):"function"==typeof readline&&(a=readline(),null!==a&&(a+="\n"));if(!a){a=null;break a}zb=oa(a,!0)}a=
zb.shift()}return a},jb(a,b){null===b||10===b?(Ja(M(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},fsync(a){a.output&&0<a.output.length&&(Ja(M(a.output,0)),a.output=[])},Mb(){return{Ib:25856,Kb:5,Hb:191,Jb:35387,Gb:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},Nb(){return 0},Ob(){return[24,80]}},Fb={jb(a,b){null===b||10===b?(B(M(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},fsync(a){a.output&&0<a.output.length&&(B(M(a.output,0)),a.output=[])}};
function Gb(a,b){var c=a.Ia?a.Ia.length:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)>>>0),0!=c&&(b=Math.max(b,256)),c=a.Ia,a.Ia=new Uint8Array(b),0<a.Ma&&a.Ia.set(c.subarray(0,a.Ma),0))}
var Q={Qa:null,Ra(){return Q.createNode(null,"/",16895,0)},createNode(a,b,c,d){if(24576===(c&61440)||4096===(c&61440))throw new P(63);Q.Qa||(Q.Qa={dir:{node:{Pa:Q.Ga.Pa,Oa:Q.Ga.Oa,lookup:Q.Ga.lookup,ab:Q.Ga.ab,rename:Q.Ga.rename,unlink:Q.Ga.unlink,rmdir:Q.Ga.rmdir,readdir:Q.Ga.readdir,symlink:Q.Ga.symlink},stream:{Ta:Q.Ha.Ta}},file:{node:{Pa:Q.Ga.Pa,Oa:Q.Ga.Oa},stream:{Ta:Q.Ha.Ta,read:Q.Ha.read,write:Q.Ha.write,lb:Q.Ha.lb,bb:Q.Ha.bb,cb:Q.Ha.cb}},link:{node:{Pa:Q.Ga.Pa,Oa:Q.Ga.Oa,readlink:Q.Ga.readlink},
stream:{}},pb:{node:{Pa:Q.Ga.Pa,Oa:Q.Ga.Oa},stream:Hb}});c=Ib(a,b,c,d);R(c.mode)?(c.Ga=Q.Qa.dir.node,c.Ha=Q.Qa.dir.stream,c.Ia={}):32768===(c.mode&61440)?(c.Ga=Q.Qa.file.node,c.Ha=Q.Qa.file.stream,c.Ma=0,c.Ia=null):40960===(c.mode&61440)?(c.Ga=Q.Qa.link.node,c.Ha=Q.Qa.link.stream):8192===(c.mode&61440)&&(c.Ga=Q.Qa.pb.node,c.Ha=Q.Qa.pb.stream);c.timestamp=Date.now();a&&(a.Ia[b]=c,a.timestamp=c.timestamp);return c},Lb(a){return a.Ia?a.Ia.subarray?a.Ia.subarray(0,a.Ma):new Uint8Array(a.Ia):new Uint8Array(0)},
Ga:{Pa(a){var b={};b.dev=8192===(a.mode&61440)?a.id:1;b.ino=a.id;b.mode=a.mode;b.nlink=1;b.uid=0;b.gid=0;b.rdev=a.rdev;R(a.mode)?b.size=4096:32768===(a.mode&61440)?b.size=a.Ma:40960===(a.mode&61440)?b.size=a.link.length:b.size=0;b.atime=new Date(a.timestamp);b.mtime=new Date(a.timestamp);b.ctime=new Date(a.timestamp);b.zb=4096;b.blocks=Math.ceil(b.size/b.zb);return b},Oa(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);if(void 0!==b.size&&(b=b.size,a.Ma!=b))if(0==
b)a.Ia=null,a.Ma=0;else{var c=a.Ia;a.Ia=new Uint8Array(b);c&&a.Ia.set(c.subarray(0,Math.min(b,a.Ma)));a.Ma=b}},lookup(){throw Jb[44];},ab(a,b,c,d){return Q.createNode(a,b,c,d)},rename(a,b,c){if(R(a.mode)){try{var d=Kb(b,c)}catch(h){}if(d)for(var e in d.Ia)throw new P(55);}delete a.parent.Ia[a.name];a.parent.timestamp=Date.now();a.name=c;b.Ia[c]=a;b.timestamp=a.parent.timestamp;a.parent=b},unlink(a,b){delete a.Ia[b];a.timestamp=Date.now()},rmdir(a,b){var c=Kb(a,b),d;for(d in c.Ia)throw new P(55);delete a.Ia[b];
a.timestamp=Date.now()},readdir(a){var b=[".",".."],c;for(c of Object.keys(a.Ia))b.push(c);return b},symlink(a,b,c){a=Q.createNode(a,b,41471,0);a.link=c;return a},readlink(a){if(40960!==(a.mode&61440))throw new P(28);return a.link}},Ha:{read(a,b,c,d,e){var h=a.node.Ia;if(e>=a.node.Ma)return 0;a=Math.min(a.node.Ma-e,d);if(8<a&&h.subarray)b.set(h.subarray(e,e+a),c);else for(d=0;d<a;d++)b[c+d]=h[e+d];return a},write(a,b,c,d,e,h){if(!d)return 0;a=a.node;a.timestamp=Date.now();if(b.subarray&&(!a.Ia||a.Ia.subarray)){if(h)return a.Ia=
b.subarray(c,c+d),a.Ma=d;if(0===a.Ma&&0===e)return a.Ia=b.slice(c,c+d),a.Ma=d;if(e+d<=a.Ma)return a.Ia.set(b.subarray(c,c+d),e),d}Gb(a,e+d);if(a.Ia.subarray&&b.subarray)a.Ia.set(b.subarray(c,c+d),e);else for(h=0;h<d;h++)a.Ia[e+h]=b[c+h];a.Ma=Math.max(a.Ma,e+d);return d},Ta(a,b,c){1===c?b+=a.position:2===c&&32768===(a.node.mode&61440)&&(b+=a.node.Ma);if(0>b)throw new P(28);return b},lb(a,b,c){Gb(a.node,b+c);a.node.Ma=Math.max(a.node.Ma,b+c)},bb(a,b,c,d,e){if(32768!==(a.node.mode&61440))throw new P(43);
a=a.node.Ia;if(e&2||a.buffer!==p.buffer){if(0<c||c+b<a.length)a.subarray?a=a.subarray(c,c+b):a=Array.prototype.slice.call(a,c,c+b);c=!0;b=65536*Math.ceil(b/65536);(e=Lb(65536,b))?(q.fill(0,e,e+b),b=e):b=0;if(!b)throw new P(48);p.set(a,b)}else c=!1,b=a.byteOffset;return{Db:b,ub:c}},cb(a,b,c,d){Q.Ha.write(a,b,0,d,c,!1);return 0}}},ia=(a,b)=>{var c=0;a&&(c|=365);b&&(c|=146);return c},Mb=null,Nb={},Ob=[],Pb=1,S=null,Qb=!0,P=null,Jb={};
function T(a,b={}){a=yb(a);if(!a)return{path:"",node:null};b=Object.assign({qb:!0,kb:0},b);if(8<b.kb)throw new P(32);a=a.split("/").filter(l=>!!l);for(var c=Mb,d="/",e=0;e<a.length;e++){var h=e===a.length-1;if(h&&b.parent)break;c=Kb(c,a[e]);d=t(d+"/"+a[e]);c.Va&&(!h||h&&b.qb)&&(c=c.Va.root);if(!h||b.Sa)for(h=0;40960===(c.mode&61440);)if(c=Rb(d),d=yb(mb(d),c),c=T(d,{kb:b.kb+1}).node,40<h++)throw new P(32);}return{path:d,node:c}}
function ha(a){for(var b;;){if(a===a.parent)return a=a.Ra.tb,b?"/"!==a[a.length-1]?`${a}/${b}`:a+b:a;b=b?`${a.name}/${b}`:a.name;a=a.parent}}function Sb(a,b){for(var c=0,d=0;d<b.length;d++)c=(c<<5)-c+b.charCodeAt(d)|0;return(a+c>>>0)%S.length}function Tb(a){var b=Sb(a.parent.id,a.name);if(S[b]===a)S[b]=a.Wa;else for(b=S[b];b;){if(b.Wa===a){b.Wa=a.Wa;break}b=b.Wa}}
function Kb(a,b){var c;if(c=(c=Ub(a,"x"))?c:a.Ga.lookup?0:2)throw new P(c,a);for(c=S[Sb(a.id,b)];c;c=c.Wa){var d=c.name;if(c.parent.id===a.id&&d===b)return c}return a.Ga.lookup(a,b)}function Ib(a,b,c,d){a=new Vb(a,b,c,d);b=Sb(a.parent.id,a.name);a.Wa=S[b];return S[b]=a}function R(a){return 16384===(a&61440)}function Wb(a){var b=["r","w","rw"][a&3];a&512&&(b+="w");return b}
function Ub(a,b){if(Qb)return 0;if(!b.includes("r")||a.mode&292){if(b.includes("w")&&!(a.mode&146)||b.includes("x")&&!(a.mode&73))return 2}else return 2;return 0}function Xb(a,b){try{return Kb(a,b),20}catch(c){}return Ub(a,"wx")}function Yb(a,b,c){try{var d=Kb(a,b)}catch(e){return e.Ka}if(a=Ub(a,"wx"))return a;if(c){if(!R(d.mode))return 54;if(d===d.parent||"/"===ha(d))return 10}else if(R(d.mode))return 31;return 0}function Zb(){for(var a=0;4096>=a;a++)if(!Ob[a])return a;throw new P(33);}
function U(a){a=Ob[a];if(!a)throw new P(8);return a}function $b(a,b=-1){ac||(ac=function(){this.$a={}},ac.prototype={},Object.defineProperties(ac.prototype,{object:{get(){return this.node},set(c){this.node=c}},flags:{get(){return this.$a.flags},set(c){this.$a.flags=c}},position:{get(){return this.$a.position},set(c){this.$a.position=c}}}));a=Object.assign(new ac,a);-1==b&&(b=Zb());a.fd=b;return Ob[b]=a}var Hb={open(a){a.Ha=Nb[a.node.rdev].Ha;a.Ha.open?.(a)},Ta(){throw new P(70);}};
function Cb(a,b){Nb[a]={Ha:b}}function bc(a,b){var c="/"===b,d=!b;if(c&&Mb)throw new P(10);if(!c&&!d){var e=T(b,{qb:!1});b=e.path;e=e.node;if(e.Va)throw new P(10);if(!R(e.mode))throw new P(54);}b={type:a,Pb:{},tb:b,Cb:[]};a=a.Ra(b);a.Ra=b;b.root=a;c?Mb=a:e&&(e.Va=b,e.Ra&&e.Ra.Cb.push(b))}function ja(a,b,c){var d=T(a,{parent:!0}).node;a=ob(a);if(!a||"."===a||".."===a)throw new P(28);var e=Xb(d,a);if(e)throw new P(e);if(!d.Ga.ab)throw new P(63);return d.Ga.ab(d,a,b,c)}
function V(a,b){return ja(a,(void 0!==b?b:511)&1023|16384,0)}function cc(a,b,c){"undefined"==typeof c&&(c=b,b=438);ja(a,b|8192,c)}function dc(a,b){if(!yb(a))throw new P(44);var c=T(b,{parent:!0}).node;if(!c)throw new P(44);b=ob(b);var d=Xb(c,b);if(d)throw new P(d);if(!c.Ga.symlink)throw new P(63);c.Ga.symlink(c,b,a)}function ec(a){var b=T(a,{parent:!0}).node;a=ob(a);var c=Kb(b,a),d=Yb(b,a,!0);if(d)throw new P(d);if(!b.Ga.rmdir)throw new P(63);if(c.Va)throw new P(10);b.Ga.rmdir(b,a);Tb(c)}
function wa(a){var b=T(a,{parent:!0}).node;if(!b)throw new P(44);a=ob(a);var c=Kb(b,a),d=Yb(b,a,!1);if(d)throw new P(d);if(!b.Ga.unlink)throw new P(63);if(c.Va)throw new P(10);b.Ga.unlink(b,a);Tb(c)}function Rb(a){a=T(a).node;if(!a)throw new P(44);if(!a.Ga.readlink)throw new P(28);return yb(ha(a.parent),a.Ga.readlink(a))}function fc(a,b){a=T(a,{Sa:!b}).node;if(!a)throw new P(44);if(!a.Ga.Pa)throw new P(63);return a.Ga.Pa(a)}function gc(a){return fc(a,!0)}
function ka(a,b){a="string"==typeof a?T(a,{Sa:!0}).node:a;if(!a.Ga.Oa)throw new P(63);a.Ga.Oa(a,{mode:b&4095|a.mode&-4096,timestamp:Date.now()})}function hc(a,b){if(0>b)throw new P(28);a="string"==typeof a?T(a,{Sa:!0}).node:a;if(!a.Ga.Oa)throw new P(63);if(R(a.mode))throw new P(31);if(32768!==(a.mode&61440))throw new P(28);var c=Ub(a,"w");if(c)throw new P(c);a.Ga.Oa(a,{size:b,timestamp:Date.now()})}
function la(a,b,c){if(""===a)throw new P(44);if("string"==typeof b){var d={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[b];if("undefined"==typeof d)throw Error(`Unknown file open mode: ${b}`);b=d}c=b&64?("undefined"==typeof c?438:c)&4095|32768:0;if("object"==typeof a)var e=a;else{a=t(a);try{e=T(a,{Sa:!(b&131072)}).node}catch(h){}}d=!1;if(b&64)if(e){if(b&128)throw new P(20);}else e=ja(a,c,0),d=!0;if(!e)throw new P(44);8192===(e.mode&61440)&&(b&=-513);if(b&65536&&!R(e.mode))throw new P(54);if(!d&&(c=
e?40960===(e.mode&61440)?32:R(e.mode)&&("r"!==Wb(b)||b&512)?31:Ub(e,Wb(b)):44))throw new P(c);b&512&&!d&&hc(e,0);b&=-131713;e=$b({node:e,path:ha(e),flags:b,seekable:!0,position:0,Ha:e.Ha,Fb:[],error:!1});e.Ha.open&&e.Ha.open(e);!f.logReadFiles||b&1||(ic||={},a in ic||(ic[a]=1));return e}function na(a){if(null===a.fd)throw new P(8);a.hb&&(a.hb=null);try{a.Ha.close&&a.Ha.close(a)}catch(b){throw b;}finally{Ob[a.fd]=null}a.fd=null}
function jc(a,b,c){if(null===a.fd)throw new P(8);if(!a.seekable||!a.Ha.Ta)throw new P(70);if(0!=c&&1!=c&&2!=c)throw new P(28);a.position=a.Ha.Ta(a,b,c);a.Fb=[]}function kc(a,b,c,d,e){if(0>d||0>e)throw new P(28);if(null===a.fd)throw new P(8);if(1===(a.flags&2097155))throw new P(8);if(R(a.node.mode))throw new P(31);if(!a.Ha.read)throw new P(28);var h="undefined"!=typeof e;if(!h)e=a.position;else if(!a.seekable)throw new P(70);b=a.Ha.read(a,b,c,d,e);h||(a.position+=b);return b}
function ma(a,b,c,d,e){if(0>d||0>e)throw new P(28);if(null===a.fd)throw new P(8);if(0===(a.flags&2097155))throw new P(8);if(R(a.node.mode))throw new P(31);if(!a.Ha.write)throw new P(28);a.seekable&&a.flags&1024&&jc(a,0,2);var h="undefined"!=typeof e;if(!h)e=a.position;else if(!a.seekable)throw new P(70);b=a.Ha.write(a,b,c,d,e,void 0);h||(a.position+=b);return b}
function va(a){var b="binary";if("utf8"!==b&&"binary"!==b)throw Error(`Invalid encoding type "${b}"`);var c;var d=la(a,d||0);a=fc(a).size;var e=new Uint8Array(a);kc(d,e,0,a,0);"utf8"===b?c=M(e,0):"binary"===b&&(c=e);na(d);return c}function lc(){P||(P=function(a,b){this.name="ErrnoError";this.node=b;this.Eb=function(c){this.Ka=c};this.Eb(a);this.message="FS error"},P.prototype=Error(),P.prototype.constructor=P,[44].forEach(a=>{Jb[a]=new P(a);Jb[a].stack="<generic error, no stack>"}))}var mc;
function Nc(a,b,c){a=t("/dev/"+a);var d=ia(!!b,!!c);Pc||=64;var e=Pc++<<8|0;Cb(e,{open(h){h.seekable=!1},close(){c?.buffer?.length&&c(10)},read(h,l,u,y){for(var v=0,F=0;F<y;F++){try{var G=b()}catch(rb){throw new P(29);}if(void 0===G&&0===v)throw new P(6);if(null===G||void 0===G)break;v++;l[u+F]=G}v&&(h.node.timestamp=Date.now());return v},write(h,l,u,y){for(var v=0;v<y;v++)try{c(l[u+v])}catch(F){throw new P(29);}y&&(h.node.timestamp=Date.now());return v}});cc(a,d,e)}var Pc,W={},ac,ic;
function Qc(a,b,c){if("/"===b.charAt(0))return b;a=-100===a?"/":U(a).path;if(0==b.length){if(!c)throw new P(44);return a}return t(a+"/"+b)}
function Rc(a,b,c){try{var d=a(b)}catch(h){if(h&&h.node&&t(b)!==t(ha(h.node)))return-54;throw h;}D[c>>2]=d.dev;D[c+4>>2]=d.mode;E[c+8>>2]=d.nlink;D[c+12>>2]=d.uid;D[c+16>>2]=d.gid;D[c+20>>2]=d.rdev;J=[d.size>>>0,(I=d.size,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+24>>2]=J[0];D[c+28>>2]=J[1];D[c+32>>2]=4096;D[c+36>>2]=d.blocks;a=d.atime.getTime();b=d.mtime.getTime();var e=d.ctime.getTime();J=[Math.floor(a/1E3)>>>0,(I=Math.floor(a/1E3),1<=
+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+40>>2]=J[0];D[c+44>>2]=J[1];E[c+48>>2]=a%1E3*1E3;J=[Math.floor(b/1E3)>>>0,(I=Math.floor(b/1E3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+56>>2]=J[0];D[c+60>>2]=J[1];E[c+64>>2]=b%1E3*1E3;J=[Math.floor(e/1E3)>>>0,(I=Math.floor(e/1E3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+72>>2]=J[0];
D[c+76>>2]=J[1];E[c+80>>2]=e%1E3*1E3;J=[d.ino>>>0,(I=d.ino,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+88>>2]=J[0];D[c+92>>2]=J[1];return 0}var Sc=void 0;function Tc(){var a=D[+Sc>>2];Sc+=4;return a}
var Uc=(a,b)=>b+2097152>>>0<4194305-!!a?(a>>>0)+4294967296*b:NaN,Vc=[0,31,60,91,121,152,182,213,244,274,305,335],Wc=[0,31,59,90,120,151,181,212,243,273,304,334],Xc=a=>{var b=da(a)+1,c=ea(b);c&&fa(a,q,c,b);return c},Yc={},$c=()=>{if(!Zc){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:za||"./this.program"},b;for(b in Yc)void 0===Yc[b]?delete a[b]:a[b]=Yc[b];
var c=[];for(b in a)c.push(`${b}=${a[b]}`);Zc=c}return Zc},Zc,ta=a=>{var b=da(a)+1,c=x(b);fa(a,q,c,b);return c},ad=(a,b,c,d)=>{var e={string:v=>{var F=0;null!==v&&void 0!==v&&0!==v&&(F=ta(v));return F},array:v=>{var F=x(v.length);p.set(v,F);return F}};a=f["_"+a];var h=[],l=0;if(d)for(var u=0;u<d.length;u++){var y=e[c[u]];y?(0===l&&(l=pa()),h[u]=y(d[u])):h[u]=d[u]}c=a.apply(null,h);return c=function(v){0!==l&&sa(l);return"string"===b?v?M(q,v):"":"boolean"===b?!!v:v}(c)},ba=0,aa=(a,b)=>{b=1==b?x(a.length):
ea(a.length);a.subarray||a.slice||(a=new Uint8Array(a));q.set(a,b);return b},bd,cd=[],X,ua=a=>{bd.delete(X.get(a));X.set(a,null);cd.push(a)},xa=a=>{if(!bd){bd=new WeakMap;var b=X.length;if(bd)for(var c=0;c<0+b;c++){var d=X.get(c);d&&bd.set(d,c)}}if(b=bd.get(a)||0)return b;if(cd.length)b=cd.pop();else{try{X.grow(1)}catch(e){if(!(e instanceof RangeError))throw e;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.";}b=X.length-1}try{X.set(b,a)}catch(e){if(!(e instanceof TypeError))throw e;X.set(b,
void 0)}bd.set(a,b);return b};function Vb(a,b,c,d){a||=this;this.parent=a;this.Ra=a.Ra;this.Va=null;this.id=Pb++;this.name=b;this.mode=c;this.Ga={};this.Ha={};this.rdev=d}Object.defineProperties(Vb.prototype,{read:{get:function(){return 365===(this.mode&365)},set:function(a){a?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146===(this.mode&146)},set:function(a){a?this.mode|=146:this.mode&=-147}}});lc();S=Array(4096);bc(Q,"/");V("/tmp");V("/home");V("/home/web_user");
(function(){V("/dev");Cb(259,{read:()=>0,write:(d,e,h,l)=>l});cc("/dev/null",259);Bb(1280,Eb);Bb(1536,Fb);cc("/dev/tty",1280);cc("/dev/tty1",1536);var a=new Uint8Array(1024),b=0,c=()=>{0===b&&(b=xb(a).byteLength);return a[--b]};Nc("random",c);Nc("urandom",c);V("/dev/shm");V("/dev/shm/tmp")})();
(function(){V("/proc");var a=V("/proc/self");V("/proc/self/fd");bc({Ra(){var b=Ib(a,"fd",16895,73);b.Ga={lookup(c,d){var e=U(+d);c={parent:null,Ra:{tb:"fake"},Ga:{readlink:()=>e.path}};return c.parent=c}};return b}},"/proc/self/fd")})();
var ed={b:(a,b,c,d)=>{C(`Assertion failed: ${a?M(q,a):""}, at: `+[b?b?M(q,b):"":"unknown filename",c,d?d?M(q,d):"":"unknown function"])},i:function(a,b){try{return a=a?M(q,a):"",ka(a,b),0}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return-c.Ka}},I:function(a,b,c){try{b=b?M(q,b):"";b=Qc(a,b);if(c&-8)return-28;var d=T(b,{Sa:!0}).node;if(!d)return-44;a="";c&4&&(a+="r");c&2&&(a+="w");c&1&&(a+="x");return a&&Ub(d,a)?-2:0}catch(e){if("undefined"==typeof W||"ErrnoError"!==e.name)throw e;
return-e.Ka}},j:function(a,b){try{var c=U(a);ka(c.node,b);return 0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ka}},h:function(a){try{var b=U(a).node;var c="string"==typeof b?T(b,{Sa:!0}).node:b;if(!c.Ga.Oa)throw new P(63);c.Ga.Oa(c,{timestamp:Date.now()});return 0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ka}},c:function(a,b,c){Sc=c;try{var d=U(a);switch(b){case 0:var e=Tc();if(0>e)return-28;for(;Ob[e];)e++;return $b(d,e).fd;case 1:case 2:return 0;
case 3:return d.flags;case 4:return e=Tc(),d.flags|=e,0;case 5:return e=Tc(),Sa[e+0>>1]=2,0;case 6:case 7:return 0;case 16:case 8:return-28;case 9:return D[dd()>>2]=28,-1;default:return-28}}catch(h){if("undefined"==typeof W||"ErrnoError"!==h.name)throw h;return-h.Ka}},g:function(a,b){try{var c=U(a);return Rc(fc,c.path,b)}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ka}},o:function(a,b,c){b=Uc(b,c);try{if(isNaN(b))return 61;var d=U(a);if(0===(d.flags&2097155))throw new P(28);
hc(d.node,b);return 0}catch(e){if("undefined"==typeof W||"ErrnoError"!==e.name)throw e;return-e.Ka}},D:function(a,b){try{if(0===b)return-28;var c=da("/")+1;if(b<c)return-68;fa("/",q,a,b);return c}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ka}},G:function(a,b){try{return a=a?M(q,a):"",Rc(gc,a,b)}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return-c.Ka}},A:function(a,b,c){try{return b=b?M(q,b):"",b=Qc(a,b),b=t(b),"/"===b[b.length-1]&&(b=b.substr(0,
b.length-1)),V(b,c),0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ka}},F:function(a,b,c,d){try{b=b?M(q,b):"";var e=d&256;b=Qc(a,b,d&4096);return Rc(e?gc:fc,b,c)}catch(h){if("undefined"==typeof W||"ErrnoError"!==h.name)throw h;return-h.Ka}},z:function(a,b,c,d){Sc=d;try{b=b?M(q,b):"";b=Qc(a,b);var e=d?Tc():0;return la(b,c,e).fd}catch(h){if("undefined"==typeof W||"ErrnoError"!==h.name)throw h;return-h.Ka}},x:function(a,b,c,d){try{b=b?M(q,b):"";b=Qc(a,b);if(0>=d)return-28;
var e=Rb(b),h=Math.min(d,da(e)),l=p[c+h];fa(e,q,c,d+1);p[c+h]=l;return h}catch(u){if("undefined"==typeof W||"ErrnoError"!==u.name)throw u;return-u.Ka}},w:function(a){try{return a=a?M(q,a):"",ec(a),0}catch(b){if("undefined"==typeof W||"ErrnoError"!==b.name)throw b;return-b.Ka}},H:function(a,b){try{return a=a?M(q,a):"",Rc(fc,a,b)}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return-c.Ka}},s:function(a,b,c){try{return b=b?M(q,b):"",b=Qc(a,b),0===c?wa(b):512===c?ec(b):C("Invalid flags passed to unlinkat"),
0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ka}},r:function(a,b,c){try{b=b?M(q,b):"";b=Qc(a,b,!0);if(c){var d=E[c>>2]+4294967296*D[c+4>>2],e=D[c+8>>2];h=1E3*d+e/1E6;c+=16;d=E[c>>2]+4294967296*D[c+4>>2];e=D[c+8>>2];l=1E3*d+e/1E6}else var h=Date.now(),l=h;a=h;var u=T(b,{Sa:!0}).node;u.Ga.Oa(u,{timestamp:Math.max(a,l)});return 0}catch(y){if("undefined"==typeof W||"ErrnoError"!==y.name)throw y;return-y.Ka}},m:function(a,b,c){a=new Date(1E3*Uc(a,b));D[c>>2]=a.getSeconds();
D[c+4>>2]=a.getMinutes();D[c+8>>2]=a.getHours();D[c+12>>2]=a.getDate();D[c+16>>2]=a.getMonth();D[c+20>>2]=a.getFullYear()-1900;D[c+24>>2]=a.getDay();b=a.getFullYear();D[c+28>>2]=(0!==b%4||0===b%100&&0!==b%400?Wc:Vc)[a.getMonth()]+a.getDate()-1|0;D[c+36>>2]=-(60*a.getTimezoneOffset());b=(new Date(a.getFullYear(),6,1)).getTimezoneOffset();var d=(new Date(a.getFullYear(),0,1)).getTimezoneOffset();D[c+32>>2]=(b!=d&&a.getTimezoneOffset()==Math.min(d,b))|0},k:function(a,b,c,d,e,h,l,u){e=Uc(e,h);try{if(isNaN(e))return 61;
var y=U(d);if(0!==(b&2)&&0===(c&2)&&2!==(y.flags&2097155))throw new P(2);if(1===(y.flags&2097155))throw new P(2);if(!y.Ha.bb)throw new P(43);var v=y.Ha.bb(y,a,e,b,c);var F=v.Db;D[l>>2]=v.ub;E[u>>2]=F;return 0}catch(G){if("undefined"==typeof W||"ErrnoError"!==G.name)throw G;return-G.Ka}},l:function(a,b,c,d,e,h,l){h=Uc(h,l);try{if(isNaN(h))return 61;var u=U(e);if(c&2){if(32768!==(u.node.mode&61440))throw new P(43);if(!(d&2)){var y=q.slice(a,a+b);u.Ha.cb&&u.Ha.cb(u,y,h,b,d)}}}catch(v){if("undefined"==
typeof W||"ErrnoError"!==v.name)throw v;return-v.Ka}},t:(a,b,c)=>{function d(y){return(y=y.toTimeString().match(/\(([A-Za-z ]+)\)$/))?y[1]:"GMT"}var e=(new Date).getFullYear(),h=new Date(e,0,1),l=new Date(e,6,1);e=h.getTimezoneOffset();var u=l.getTimezoneOffset();E[a>>2]=60*Math.max(e,u);D[b>>2]=Number(e!=u);a=d(h);b=d(l);a=Xc(a);b=Xc(b);u<e?(E[c>>2]=a,E[c+4>>2]=b):(E[c>>2]=b,E[c+4>>2]=a)},e:()=>Date.now(),u:()=>q.length,d:()=>performance.now(),p:()=>{C("OOM")},B:(a,b)=>{var c=0;$c().forEach((d,e)=>
{var h=b+c;e=E[a+4*e>>2]=h;for(h=0;h<d.length;++h)p[e++>>0]=d.charCodeAt(h);p[e>>0]=0;c+=d.length+1});return 0},C:(a,b)=>{var c=$c();E[a>>2]=c.length;var d=0;c.forEach(e=>d+=e.length+1);E[b>>2]=d;return 0},f:function(a){try{var b=U(a);na(b);return 0}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return c.Ka}},q:function(a,b){try{var c=U(a);p[b>>0]=c.tty?2:R(c.mode)?3:40960===(c.mode&61440)?7:4;Sa[b+2>>1]=0;J=[0,(I=0,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-
+(~~I>>>0))/4294967296)>>>0:0)];D[b+8>>2]=J[0];D[b+12>>2]=J[1];J=[0,(I=0,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[b+16>>2]=J[0];D[b+20>>2]=J[1];return 0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return d.Ka}},y:function(a,b,c,d){try{a:{var e=U(a);a=b;for(var h,l=b=0;l<c;l++){var u=E[a>>2],y=E[a+4>>2];a+=8;var v=kc(e,p,u,y,h);if(0>v){var F=-1;break a}b+=v;if(v<y)break;"undefined"!==typeof h&&(h+=v)}F=b}E[d>>2]=F;return 0}catch(G){if("undefined"==
typeof W||"ErrnoError"!==G.name)throw G;return G.Ka}},n:function(a,b,c,d,e){b=Uc(b,c);try{if(isNaN(b))return 61;var h=U(a);jc(h,b,d);J=[h.position>>>0,(I=h.position,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[e>>2]=J[0];D[e+4>>2]=J[1];h.hb&&0===b&&0===d&&(h.hb=null);return 0}catch(l){if("undefined"==typeof W||"ErrnoError"!==l.name)throw l;return l.Ka}},E:function(a){try{var b=U(a);return b.Ha?.fsync?b.Ha.fsync(b):0}catch(c){if("undefined"==typeof W||
"ErrnoError"!==c.name)throw c;return c.Ka}},v:function(a,b,c,d){try{a:{var e=U(a);a=b;for(var h,l=b=0;l<c;l++){var u=E[a>>2],y=E[a+4>>2];a+=8;var v=ma(e,p,u,y,h);if(0>v){var F=-1;break a}b+=v;"undefined"!==typeof h&&(h+=v)}F=b}E[d>>2]=F;return 0}catch(G){if("undefined"==typeof W||"ErrnoError"!==G.name)throw G;return G.Ka}},a:Qa},Z=function(){function a(c){Z=c.exports;X=Z.Aa;Xa.unshift(Z.J);$a--;f.monitorRunDependencies?.($a);0==$a&&(null!==ab&&(clearInterval(ab),ab=null),bb&&(c=bb,bb=null,c()));return Z}
var b={a:ed};$a++;f.monitorRunDependencies?.($a);if(f.instantiateWasm)try{return f.instantiateWasm(b,a)}catch(c){return B(`Module.instantiateWasm callback failed with error: ${c}`),!1}ib(b,function(c){a(c.instance)});return{}}();f._sqlite3_free=a=>(f._sqlite3_free=Z.K)(a);f._sqlite3_value_text=a=>(f._sqlite3_value_text=Z.L)(a);var dd=()=>(dd=Z.M)();f._sqlite3_prepare_v2=(a,b,c,d,e)=>(f._sqlite3_prepare_v2=Z.N)(a,b,c,d,e);f._sqlite3_step=a=>(f._sqlite3_step=Z.O)(a);
f._sqlite3_finalize=a=>(f._sqlite3_finalize=Z.P)(a);f._sqlite3_reset=a=>(f._sqlite3_reset=Z.Q)(a);f._sqlite3_clear_bindings=a=>(f._sqlite3_clear_bindings=Z.R)(a);f._sqlite3_value_blob=a=>(f._sqlite3_value_blob=Z.S)(a);f._sqlite3_value_bytes=a=>(f._sqlite3_value_bytes=Z.T)(a);f._sqlite3_value_double=a=>(f._sqlite3_value_double=Z.U)(a);f._sqlite3_value_int=a=>(f._sqlite3_value_int=Z.V)(a);f._sqlite3_value_type=a=>(f._sqlite3_value_type=Z.W)(a);
f._sqlite3_result_blob=(a,b,c,d)=>(f._sqlite3_result_blob=Z.X)(a,b,c,d);f._sqlite3_result_double=(a,b)=>(f._sqlite3_result_double=Z.Y)(a,b);f._sqlite3_result_error=(a,b,c)=>(f._sqlite3_result_error=Z.Z)(a,b,c);f._sqlite3_result_int=(a,b)=>(f._sqlite3_result_int=Z._)(a,b);f._sqlite3_result_int64=(a,b,c)=>(f._sqlite3_result_int64=Z.$)(a,b,c);f._sqlite3_result_null=a=>(f._sqlite3_result_null=Z.aa)(a);f._sqlite3_result_text=(a,b,c,d)=>(f._sqlite3_result_text=Z.ba)(a,b,c,d);
f._sqlite3_aggregate_context=(a,b)=>(f._sqlite3_aggregate_context=Z.ca)(a,b);f._sqlite3_column_count=a=>(f._sqlite3_column_count=Z.da)(a);f._sqlite3_data_count=a=>(f._sqlite3_data_count=Z.ea)(a);f._sqlite3_column_blob=(a,b)=>(f._sqlite3_column_blob=Z.fa)(a,b);f._sqlite3_column_bytes=(a,b)=>(f._sqlite3_column_bytes=Z.ga)(a,b);f._sqlite3_column_double=(a,b)=>(f._sqlite3_column_double=Z.ha)(a,b);f._sqlite3_column_text=(a,b)=>(f._sqlite3_column_text=Z.ia)(a,b);
f._sqlite3_column_type=(a,b)=>(f._sqlite3_column_type=Z.ja)(a,b);f._sqlite3_column_name=(a,b)=>(f._sqlite3_column_name=Z.ka)(a,b);f._sqlite3_bind_blob=(a,b,c,d,e)=>(f._sqlite3_bind_blob=Z.la)(a,b,c,d,e);f._sqlite3_bind_double=(a,b,c)=>(f._sqlite3_bind_double=Z.ma)(a,b,c);f._sqlite3_bind_int=(a,b,c)=>(f._sqlite3_bind_int=Z.na)(a,b,c);f._sqlite3_bind_text=(a,b,c,d,e)=>(f._sqlite3_bind_text=Z.oa)(a,b,c,d,e);f._sqlite3_bind_parameter_index=(a,b)=>(f._sqlite3_bind_parameter_index=Z.pa)(a,b);
f._sqlite3_sql=a=>(f._sqlite3_sql=Z.qa)(a);f._sqlite3_normalized_sql=a=>(f._sqlite3_normalized_sql=Z.ra)(a);f._sqlite3_errmsg=a=>(f._sqlite3_errmsg=Z.sa)(a);f._sqlite3_exec=(a,b,c,d,e)=>(f._sqlite3_exec=Z.ta)(a,b,c,d,e);f._sqlite3_changes=a=>(f._sqlite3_changes=Z.ua)(a);f._sqlite3_close_v2=a=>(f._sqlite3_close_v2=Z.va)(a);f._sqlite3_create_function_v2=(a,b,c,d,e,h,l,u,y)=>(f._sqlite3_create_function_v2=Z.wa)(a,b,c,d,e,h,l,u,y);f._sqlite3_open=(a,b)=>(f._sqlite3_open=Z.xa)(a,b);
var ea=f._malloc=a=>(ea=f._malloc=Z.ya)(a),ca=f._free=a=>(ca=f._free=Z.za)(a);f._RegisterExtensionFunctions=a=>(f._RegisterExtensionFunctions=Z.Ba)(a);var Lb=(a,b)=>(Lb=Z.Ca)(a,b),pa=()=>(pa=Z.Da)(),sa=a=>(sa=Z.Ea)(a),x=a=>(x=Z.Fa)(a);f.stackAlloc=x;f.stackSave=pa;f.stackRestore=sa;f.cwrap=(a,b,c,d)=>{var e=!c||c.every(h=>"number"===h||"boolean"===h);return"string"!==b&&e&&!d?f["_"+a]:function(){return ad(a,b,c,arguments)}};f.addFunction=xa;f.removeFunction=ua;f.UTF8ToString=ra;f.ALLOC_NORMAL=ba;
f.allocate=aa;f.allocateUTF8OnStack=ta;var fd;bb=function gd(){fd||hd();fd||(bb=gd)};
function hd(){function a(){if(!fd&&(fd=!0,f.calledRun=!0,!Ra)){f.noFSInit||mc||(mc=!0,lc(),f.stdin=f.stdin,f.stdout=f.stdout,f.stderr=f.stderr,f.stdin?Nc("stdin",f.stdin):dc("/dev/tty","/dev/stdin"),f.stdout?Nc("stdout",null,f.stdout):dc("/dev/tty","/dev/stdout"),f.stderr?Nc("stderr",null,f.stderr):dc("/dev/tty1","/dev/stderr"),la("/dev/stdin",0),la("/dev/stdout",1),la("/dev/stderr",1));Qb=!1;jb(Xa);if(f.onRuntimeInitialized)f.onRuntimeInitialized();if(f.postRun)for("function"==typeof f.postRun&&
(f.postRun=[f.postRun]);f.postRun.length;){var b=f.postRun.shift();Ya.unshift(b)}jb(Ya)}}if(!(0<$a)){if(f.preRun)for("function"==typeof f.preRun&&(f.preRun=[f.preRun]);f.preRun.length;)Za();jb(Va);0<$a||(f.setStatus?(f.setStatus("Running..."),setTimeout(function(){setTimeout(function(){f.setStatus("")},1);a()},1)):a())}}if(f.preInit)for("function"==typeof f.preInit&&(f.preInit=[f.preInit]);0<f.preInit.length;)f.preInit.pop()();hd();


        // The shell-pre.js and emcc-generated code goes above
        return Module;
    }); // The end of the promise being returned

  return initSqlJsPromise;
} // The end of our initSqlJs function

// This bit below is copied almost exactly from what you get when you use the MODULARIZE=1 flag with emcc
// However, we don't want to use the emcc modularization. See shell-pre.js
if (typeof exports === 'object' && typeof module === 'object'){
    module.exports = initSqlJs;
    // This will allow the module to be used in ES6 or CommonJS
    module.exports.default = initSqlJs;
}
else if (typeof define === 'function' && define['amd']) {
    define([], function() { return initSqlJs; });
}
else if (typeof exports === 'object'){
    exports["Module"] = initSqlJs;
}
/* global initSqlJs */
/* eslint-env worker */
/* eslint no-restricted-globals: ["error"] */

"use strict";

var db;

function onModuleReady(SQL) {
    function createDb(data) {
        if (db != null) db.close();
        db = new SQL.Database(data);
        return db;
    }

    var buff; var data; var result;
    data = this["data"];
    var config = data["config"] ? data["config"] : {};
    switch (data && data["action"]) {
        case "open":
            buff = data["buffer"];
            createDb(buff && new Uint8Array(buff));
            return postMessage({
                id: data["id"],
                ready: true
            });
        case "exec":
            if (db === null) {
                createDb();
            }
            if (!data["sql"]) {
                throw "exec: Missing query string";
            }
            return postMessage({
                id: data["id"],
                results: db.exec(data["sql"], data["params"], config)
            });
        case "each":
            if (db === null) {
                createDb();
            }
            var callback = function callback(row) {
                return postMessage({
                    id: data["id"],
                    row: row,
                    finished: false
                });
            };
            var done = function done() {
                return postMessage({
                    id: data["id"],
                    finished: true
                });
            };
            return db.each(data["sql"], data["params"], callback, done, config);
        case "export":
            buff = db["export"]();
            result = {
                id: data["id"],
                buffer: buff
            };
            try {
                return postMessage(result, [result]);
            } catch (error) {
                return postMessage(result);
            }
        case "close":
            if (db) {
                db.close();
            }
            return postMessage({
                id: data["id"]
            });
        default:
            throw new Error("Invalid action : " + (data && data["action"]));
    }
}

function onError(err) {
    return postMessage({
        id: this["data"]["id"],
        error: err["message"]
    });
}

if (typeof importScripts === "function") {
    db = null;
    var sqlModuleReady = initSqlJs();
    self.onmessage = function onmessage(event) {
        return sqlModuleReady
            .then(onModuleReady.bind(event))
            .catch(onError.bind(event));
    };
}
